SitePoint forum

johnyboy-curl-testing

HomeBBC ProgrammesBBC ProblemGoogle UKGoogle USAThis page
14:27:58

http://www.bbc.co.uk/programmes/



Status:

urlhttps://www.bbc.co.uk/programmes
content_typetext/html; charset=UTF-8
http_code200
header_size2564
request_size281
filetime-1
ssl_verify_result0
redirect_count2
total_time2.495811
namelookup_time0.002811
connect_time0.317823
pretransfer_time0.646458
size_upload0
size_download91859
speed_download36817
speed_upload0
download_content_length-1
upload_content_length-1
starttransfer_time1.364329
redirect_time0.662353
redirect_url
primary_ip212.58.233.254
certinfoArray
primary_port443
local_ip167.71.222.214
local_port43558
http_version3
protocol2
ssl_verifyresult0
schemeHTTPS
appconnect_time_us491317
connect_time_us317823
namelookup_time_us2811
pretransfer_time_us646458
redirect_time_us662353
starttransfer_time_us1364329
total_time_us2495811


File:

Source: htmlspecialchars($tmp)
string(108487) "<!DOCTYPE html>
<html class="b-reith-sans-font b-header--dark-grey--grey b-footer--black--white " lang="en-GB">
    <head>
        <meta charset="UTF-8">
        <title>BBC - Programmes</title>
        <link rel="icon" href="https://www.bbc.co.uk/favicon.ico" type="image/x-icon"><link rel="shortcut icon" sizes="196x196" href="https://ichef.bbci.co.uk/images/ic/208x208/p01tqv8z.png">
        <link rel="shortcut icon" sizes="128x128" href="https://ichef.bbci.co.uk/images/ic/128x128/p01tqv8z.png">
        <link rel="apple-touch-icon" href="https://ichef.bbci.co.uk/images/ic/80x80/p01tqv8z.png" >
        <link rel="apple-touch-icon" sizes="120x120" href="https://ichef.bbci.co.uk/images/ic/128x128/p01tqv8z.png">
        <link rel="apple-touch-icon" sizes="152x152" href="https://ichef.bbci.co.uk/images/ic/160x160/p01tqv8z.png">

                        
        <script>document.documentElement.className += ' has-js';</script>
        <!-- iSite2 Project (Tenant space): none -->
                        
<!-- Orbit [legacy]: 3.0.0-1192.68e5cda1 -->
<!-- Environment: live -->
<!-- istats Web Module: 0.0.2-527.9c2a9a9 -->
<!-- navid Web Module: 0.2.0-37.c443dcf -->
<!-- useractivityhelper Web Module: 1.0.0-96.82b7659 -->
<!-- cookiebanner Web Module: 0.0.2-527.9c2a9a9 -->
<!-- searchbox Web Module: 3.0.0-188.4770c89 -->
<!-- navpromo Web Module: 3.0.0-165.669bcf8 -->
<!-- reverb Web Module: 1.6.0 -->
<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/3ea556b3c4acb986a0cc517b7d8568f7/css/orb-ltr.min.css"><!--[if (lt IE 9) & (!IEMobile)]>
    <link rel="stylesheet" href="https://nav.files.bbci.co.uk/orbit/3ea556b3c4acb986a0cc517b7d8568f7/css/orb-ie-ltr.min.css">
    <![endif]--><script type="text/javascript">/*<![CDATA[*/
        window.orb = {
            lang: 'en',
            bbcBaseUrl: 'https://www.bbc.co.uk',
            bbcUrlPrefix: 'https://www.',
            staticHost: 'https://nav.files.bbci.co.uk/orbit/3ea556b3c4acb986a0cc517b7d8568f7',
            figUrl: 'https://fig.bbc.co.uk/frameworks/fig/2/fig.js',
            partialCookieOvenUrl: 'https://cookie-oven.api.bbc'
        };

        document.documentElement.className += (document.documentElement.className? ' ' : '') + 'orb-js';
        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>';


     /*]]>*/</script><script>// Promise polyfill from https://github.com/bramstein/promis
        (function(){'use strict';var f,g=[];function l(a){g.push(a);1==g.length&&f()}function m(){for(;g.length;)g[0](),g.shift()}f=function(){setTimeout(m)};function n(a){this.a=p;this.b=void 0;this.f=[];var b=this;try{a(function(a){q(b,a)},function(a){r(b,a)})}catch(c){r(b,c)}}var p=2;function t(a){return new n(function(b,c){c(a)})}function u(a){return new n(function(b){b(a)})}function q(a,b){if(a.a==p){if(b==a)throw new TypeError;var c=!1;try{var d=b&&b.then;if(null!=b&&"object"==typeof b&&"function"==typeof d){d.call(b,function(b){c||q(a,b);c=!0},function(b){c||r(a,b);c=!0});return}}catch(e){c||r(a,e);return}a.a=0;a.b=b;v(a)}} function r(a,b){if(a.a==p){if(b==a)throw new TypeError;a.a=1;a.b=b;v(a)}}function v(a){l(function(){if(a.a!=p)for(;a.f.length;){var b=a.f.shift(),c=b[0],d=b[1],e=b[2],b=b[3];try{0==a.a?"function"==typeof c?e(c.call(void 0,a.b)):e(a.b):1==a.a&&("function"==typeof d?e(d.call(void 0,a.b)):b(a.b))}catch(h){b(h)}}})}n.prototype.g=function(a){return this.c(void 0,a)};n.prototype.c=function(a,b){var c=this;return new n(function(d,e){c.f.push([a,b,d,e]);v(c)})}; function w(a){return new n(function(b,c){function d(c){return function(d){h[c]=d;e+=1;e==a.length&&b(h)}}var e=0,h=[];0==a.length&&b(h);for(var k=0;k<a.length;k+=1)u(a[k]).c(d(k),c)})}function x(a){return new n(function(b,c){for(var d=0;d<a.length;d+=1)u(a[d]).c(b,c)})};window.Promise||(window.Promise=n,window.Promise.resolve=u,window.Promise.reject=t,window.Promise.race=x,window.Promise.all=w,window.Promise.prototype.then=n.prototype.c,window.Promise.prototype["catch"]=n.prototype.g);}());
    
    
        // Polyfill Event constructor for IE ref: https://jira.dev.bbc.co.uk/browse/ORBITEN-919
        // see: https://stackoverflow.com/questions/26596123
        (function () {
          if (typeof window.CustomEvent === "function") {
            return false;
          }
          function CustomEvent(event, params) {
            params = params || { bubbles: false, cancelable: false, detail: undefined };
            var evt = document.createEvent('CustomEvent');
            evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);
            return evt;
          }
          CustomEvent.prototype = window.Event.prototype;
          window.Event = CustomEvent;
        })();
    
    
        //Element.prototype.matches polyfill
        //from https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill
        if (!Element.prototype.matches) {
          Element.prototype.matches = Element.prototype.msMatchesSelector ||
                                      Element.prototype.webkitMatchesSelector;
        }
        //NodeList.forEach Polyfill
        //from https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill
        if (window.NodeList && !NodeList.prototype.forEach) {
          NodeList.prototype.forEach = Array.prototype.forEach;
        }
    
        // Object.assign polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill
        if (typeof Object.assign != 'function') {
          // Must be writable: true, enumerable: false, configurable: true
          Object.defineProperty(Object, "assign", {
            value: function assign(target, varArgs) { // .length of function is 2
              'use strict';
              if (target == null) { // TypeError if undefined or null
                throw new TypeError('Cannot convert undefined or null to object');
              }
    
              var to = Object(target);
    
              for (var index = 1; index < arguments.length; index++) {
                var nextSource = arguments[index];
    
                if (nextSource != null) { // Skip over if undefined or null
                  for (var nextKey in nextSource) {
                    // Avoid bugs when hasOwnProperty is shadowed
                    if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
                      to[nextKey] = nextSource[nextKey];
                    }
                  }
                }
              }
              return to;
            },
            writable: true,
            configurable: true
          });
        }
    
        // window.fetch polyfill https://github.com/github/fetch/blob/v0.11.0/fetch.js - chosen for IE9 compatibility
        if(typeof window.fetch !== 'function') {
          (function(self){"use strict";if(self.fetch){return}function normalizeName(name){if(typeof name!=="string"){name=String(name)}if(/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(name)){throw new TypeError("Invalid character in header field name")}return name.toLowerCase()}function normalizeValue(value){if(typeof value!=="string"){value=String(value)}return value}function Headers(headers){this.map={};if(headers instanceof Headers){headers.forEach(function(value,name){this.append(name,value)},this)}else if(headers){Object.getOwnPropertyNames(headers).forEach(function(name){this.append(name,headers[name])},this)}}Headers.prototype.append=function(name,value){name=normalizeName(name);value=normalizeValue(value);var list=this.map[name];if(!list){list=[];this.map[name]=list}list.push(value)};Headers.prototype["delete"]=function(name){delete this.map[normalizeName(name)]};Headers.prototype.get=function(name){var values=this.map[normalizeName(name)];return values?values[0]:null};Headers.prototype.getAll=function(name){return this.map[normalizeName(name)]||[]};Headers.prototype.has=function(name){return this.map.hasOwnProperty(normalizeName(name))};Headers.prototype.set=function(name,value){this.map[normalizeName(name)]=[normalizeValue(value)]};Headers.prototype.forEach=function(callback,thisArg){Object.getOwnPropertyNames(this.map).forEach(function(name){this.map[name].forEach(function(value){callback.call(thisArg,value,name,this)},this)},this)};function consumed(body){if(body.bodyUsed){return Promise.reject(new TypeError("Already read"))}body.bodyUsed=true}function fileReaderReady(reader){return new Promise(function(resolve,reject){reader.onload=function(){resolve(reader.result)};reader.onerror=function(){reject(reader.error)}})}function readBlobAsArrayBuffer(blob){var reader=new FileReader;reader.readAsArrayBuffer(blob);return fileReaderReady(reader)}function readBlobAsText(blob){var reader=new FileReader;reader.readAsText(blob);return fileReaderReady(reader)}var support={blob:"FileReader"in self&&"Blob"in self&&function(){try{new Blob;return true}catch(e){return false}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};function Body(){this.bodyUsed=false;this._initBody=function(body){this._bodyInit=body;if(typeof body==="string"){this._bodyText=body}else if(support.blob&&Blob.prototype.isPrototypeOf(body)){this._bodyBlob=body}else if(support.formData&&FormData.prototype.isPrototypeOf(body)){this._bodyFormData=body}else if(!body){this._bodyText=""}else if(support.arrayBuffer&&ArrayBuffer.prototype.isPrototypeOf(body)){}else{throw new Error("unsupported BodyInit type")}if(!this.headers.get("content-type")){if(typeof body==="string"){this.headers.set("content-type","text/plain;charset=UTF-8")}else if(this._bodyBlob&&this._bodyBlob.type){this.headers.set("content-type",this._bodyBlob.type)}}};if(support.blob){this.blob=function(){var rejected=consumed(this);if(rejected){return rejected}if(this._bodyBlob){return Promise.resolve(this._bodyBlob)}else if(this._bodyFormData){throw new Error("could not read FormData body as blob")}else{return Promise.resolve(new Blob([this._bodyText]))}};this.arrayBuffer=function(){return this.blob().then(readBlobAsArrayBuffer)};this.text=function(){var rejected=consumed(this);if(rejected){return rejected}if(this._bodyBlob){return readBlobAsText(this._bodyBlob)}else if(this._bodyFormData){throw new Error("could not read FormData body as text")}else{return Promise.resolve(this._bodyText)}}}else{this.text=function(){var rejected=consumed(this);return rejected?rejected:Promise.resolve(this._bodyText)}}if(support.formData){this.formData=function(){return this.text().then(decode)}}this.json=function(){return this.text().then(JSON.parse)};return this}var methods=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function normalizeMethod(method){var upcased=method.toUpperCase();return methods.indexOf(upcased)>-1?upcased:method}function Request(input,options){options=options||{};var body=options.body;if(Request.prototype.isPrototypeOf(input)){if(input.bodyUsed){throw new TypeError("Already read")}this.url=input.url;this.credentials=input.credentials;if(!options.headers){this.headers=new Headers(input.headers)}this.method=input.method;this.mode=input.mode;if(!body){body=input._bodyInit;input.bodyUsed=true}}else{this.url=input}this.credentials=options.credentials||this.credentials||"omit";if(options.headers||!this.headers){this.headers=new Headers(options.headers)}this.method=normalizeMethod(options.method||this.method||"GET");this.mode=options.mode||this.mode||null;this.referrer=null;if((this.method==="GET"||this.method==="HEAD")&&body){throw new TypeError("Body not allowed for GET or HEAD requests")}this._initBody(body)}Request.prototype.clone=function(){return new Request(this)};function decode(body){var form=new FormData;body.trim().split("&").forEach(function(bytes){if(bytes){var split=bytes.split("=");var name=split.shift().replace(/\+/g," ");var value=split.join("=").replace(/\+/g," ");form.append(decodeURIComponent(name),decodeURIComponent(value))}});return form}function headers(xhr){var head=new Headers;var pairs=xhr.getAllResponseHeaders().trim().split("\n");pairs.forEach(function(header){var split=header.trim().split(":");var key=split.shift().trim();var value=split.join(":").trim();head.append(key,value)});return head}Body.call(Request.prototype);function Response(bodyInit,options){if(!options){options={}}this.type="default";this.status=options.status;this.ok=this.status>=200&&this.status<300;this.statusText=options.statusText;this.headers=options.headers instanceof Headers?options.headers:new Headers(options.headers);this.url=options.url||"";this._initBody(bodyInit)}Body.call(Response.prototype);Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url})};Response.error=function(){var response=new Response(null,{status:0,statusText:""});response.type="error";return response};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(url,status){if(redirectStatuses.indexOf(status)===-1){throw new RangeError("Invalid status code")}return new Response(null,{status:status,headers:{location:url}})};self.Headers=Headers;self.Request=Request;self.Response=Response;self.fetch=function(input,init){return new Promise(function(resolve,reject){var request;if(Request.prototype.isPrototypeOf(input)&&!init){request=input}else{request=new Request(input,init)}var xhr=new XMLHttpRequest;function responseURL(){if("responseURL"in xhr){return xhr.responseURL}if(/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())){return xhr.getResponseHeader("X-Request-URL")}return}xhr.onload=function(){var status=xhr.status===1223?204:xhr.status;if(status<100||status>599){reject(new TypeError("Network request failed"));return}var options={status:status,statusText:xhr.statusText,headers:headers(xhr),url:responseURL()};var body="response"in xhr?xhr.response:xhr.responseText;resolve(new Response(body,options))};xhr.onerror=function(){reject(new TypeError("Network request failed"))};xhr.open(request.method,request.url,true);if(request.credentials==="include"){xhr.withCredentials=true}if("responseType"in xhr&&support.blob){xhr.responseType="blob"}request.headers.forEach(function(value,name){xhr.setRequestHeader(name,value)});xhr.send(typeof request._bodyInit==="undefined"?null:request._bodyInit)})};self.fetch.polyfill=true})(typeof self!=="undefined"?self:this);
        }
    
        if (typeof window.CustomEvent !== 'function') {
    
          function CustomEvent(event, params) {
            params = params || { bubbles: false, cancelable: false, detail: null };
            var evt = document.createEvent('CustomEvent');
            evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);
            return evt;
          }
    
          CustomEvent.prototype = window.Event.prototype;
    
          window.CustomEvent = CustomEvent;
    
        }
    
        (function() {
    
            var language = 'en';
                language = 'en';
    
            var modal = false;
    
    
            var istatsLabels = {name: '' || undefined};
    
            function getMetaValue(propertyName) {
              var metaTag = document.querySelector(
                "meta[property='" + propertyName + "'], " +
                "meta[name='" + propertyName + "']");
              if (metaTag) {
                return metaTag.getAttribute("content");
              } else {
                throw new Error('No meta tag called: ' + propertyName)
              }
            }
    
            function generateCountername() {
                if (window.location.protocol === 'file:') {
                  return 'local.file';
                }
    
                var pathName = window.location.pathname
                    .replace(/\/$/, "")
                    .replace(/^\//, "")
                    .replace(/\//g, '.');
                return pathName + '.page';
            }
    
            var additionalPageProperties = {};
                additionalPageProperties['app_name'] = 'programmes';
                additionalPageProperties['custom_var_1'] = '';
                additionalPageProperties['custom_var_2'] = '';
                additionalPageProperties['custom_var_4'] = '';
                additionalPageProperties['custom_var_6'] = 'false';
    
            var page = {
                name: '' || istatsLabels.name || generateCountername(),
                destination: 'programmes_ps' || null,
                producer: 'BBC' || null,
                section: 'programmes-index' || null,
                site: '' || istatsLabels.bbc_site || istatsLabels.app_name || istatsLabels.prod_name || null,
                contentId: 'urn:bbc:pips' || null,
                contentType: 'index-home' || null,
                edition: '' || null,
                additionalProperties: additionalPageProperties
            };
    
            function updatePageData(newData) {
                page = Object.assign(page, newData);
            }
    
            document.addEventListener('bbc-page-reset', function(event) {
                if (event.detail && event.detail.page) {
                    updatePageData(event.detail.page);
                }
                document.dispatchEvent(new Event('bbc-page-updated'));
            });
    
            window.bbcpage = {
                loadModule: function(deps) {
                    return new Promise(function (resolve, reject) {
                        window.require(deps, function () {
                            resolve.apply(this, arguments);
                        },
                        function (error) {
                            reject(error);
                        });
                    })
                },
                loadCSS: function (url, timeout) {
                    return window.bbcpage.loadModule(['orb/lib/_$'])
                        .then(function($) {
                            return new Promise(function(resolve, reject) {
                                var stylesheet = loadCSS(url);
                                $.onloadCSS(stylesheet, function() {
                                    resolve();
                                });
                                if (timeout) {
                                    setTimeout(function () { reject(); }, timeout);
                                }
                            });
                    });
                },
                isModal: function () {
                    return Promise.resolve(modal);
                },
                getLanguage: function () {
                    return new Promise(function(resolve, reject) {
                        resolve(language);
                    });
                },
                trackRegion: function (region, labels) {
                    return window.bbcpage.loadModule(['istats-1'])
                        .then(function(istats) {
    
                            var trackLabels = {
                                region: region
                            };
    
                            for (var label in labels) {
                                trackLabels[label] = labels[label];
                            }
    
                            var linkType = labels.linkType || 'internal';
    
                            istats.track(linkType, trackLabels);
                        });
                },
                getName: function() {
                    return Promise.resolve(page.name);
                },
                getDestination: function() {
                    return Promise.resolve(page.destination);
                },
                getProducer: function() {
                    return Promise.resolve(page.producer);
                },
                getSite: function() {
                    return Promise.resolve(page.site);
                },
                getSection: function() {
                    return Promise.resolve(page.section);
                },
                getContentType: function() {
                    return Promise.resolve(page.contentType);
                },
                getContentId: function() {
                    return Promise.resolve(page.contentId);
                },
                getEdition: function() {
                  return new Promise(function (resolve, reject) {
                    if (page.edition) {
                      resolve(page.edition);
                      return;
                    }
                    try {
                      resolve(getMetaValue('x-audience').toLowerCase());
                    } catch (err){
                      // This property is related to Chartbeat; see http://support.chartbeat.com/docs/
                      if (window._sf_async_config) {
                        resolve(window._sf_async_config.region || null);
                      }
                    }
                    resolve(null);
                  });
                },
                getReferrer: function() {
                  return Promise.resolve(window.orb && window.orb.referrer !== null && window.orb.referrer !== undefined ? window.orb.referrer : document.referrer);
                },
                getAdditionalProperties: function() {
                  return Promise.resolve(page.additionalProperties);
                }
            };
    
            var USERINFO_PREFIX = "www." || "www.";
    
            function initUserCache(orbitUser) {
              var availableAttr = [
                'X-Country',
                'X-Ip_is_advertise_combined',
                'X-Ip_is_uk_combined'
              ];
              var userCache = availableAttr.reduce(function(user, curr, i) {
                if (!orbitUser[curr]) {
                  return user;
                }
                var res = Object.assign({}, user);
                res[curr] = orbitUser[curr];
                return res;
              }, {});
              if (Object.keys(userCache).length !== availableAttr.length) {
                userCache._partial = true;
              }
              return userCache;
            }
    
            var user = initUserCache({
            });
    
            function checkStatus(response) {
              if (response.status >= 200 && response.status < 300) {
                return response;
              } else {
                var error = new Error(response.statusText);
                error.response = response;
                throw error;
              }
            }
    
            function parseJSON(response) {
              return response.json();
            }
    
            var supportsCors = function() {
              return typeof XMLHttpRequest !== 'undefined' &&
                'withCredentials' in new XMLHttpRequest();
            };
    
            var getUserInfoFallback = function() {
              return window.bbcpage.loadModule(['orb/fig'])
                .then(function(orbFig) {
                  return new Promise(function(resolve, reject) {
                    orbFig.load(function(fig) {
                      var getCountryFallback = function() {
                        if (fig.geo.isUK()) {
                          return 'GB';
                        } else if (fig.geo.isEU()) {
                          return 'EU';
                        }
                      };
                      resolve({
                        'X-Country': user.country || getCountryFallback(),
                        'X-Ip_is_uk_combined': fig().uk ? 'yes' : 'no',
                        'X-Ip_is_advertise_combined': fig().ad ? 'yes' : 'no'
                      });
                    }, function () {
                      reject('Error determining country. Timeout?');
                    });
                  });
                });
            };
    
            var _userInfoRequest;
            var getUserInfo = function() {
    
              var host = window.location.host.toString().match(/bbc\.com$/) ? 'bbc.com' : 'bbc.co.uk';
              var userInfoUrl = "https://" + USERINFO_PREFIX + host + '/userinfo';
    
              if (!user._partial) {
                return Promise.resolve(user);
              }
    
              if (!_userInfoRequest) {
                if (typeof window.fetch === 'undefined' || !supportsCors()) {
                  _userInfoRequest = getUserInfoFallback();
                } else {
                  _userInfoRequest = window.fetch(userInfoUrl, { credentials: 'same-origin' })
                    .then(checkStatus)
                    .then(parseJSON)
                    .then(function(userInfo) {
                      user = userInfo;
                      return user;
                    });
                }
              }
    
              return _userInfoRequest;
            };
    
            var USER_PROFILE_URL = "https://www.bbc.co.uk/userprofile";;
            var _helloRequest;
            var getSegmentations = function() {
    
              if (user.ageBand) {
                return Promise.resolve(user);
              }
    
              if (!_helloRequest) {
                if (typeof window.fetch === 'undefined' || !supportsCors()) {
                  return Promise.resolve(user);
                } else {
    
                  _helloRequest = window.bbcpage.loadModule(['idcta-v2/idcta-1']).then(function(idcta) {
                    return idcta.initiateTokenRefresh().then(function() {
                      return window.fetch(USER_PROFILE_URL, { credentials: 'include' })
                        .then(checkStatus)
                        .then(parseJSON)
                        .then(function(profileInfo) {
                          Object.assign(user, profileInfo);
                          return user;
                        });
                      });
                  });
    
                }
              }
    
              return _helloRequest;
            };
    
            window.bbcuser = {
                getHashedId: function() {
                    return window.bbcpage.loadModule(['idcta-v2/idcta-1'])
                        .then(function(idcta) {
                            return idcta.getCookieInstance().getHidFromCookie();
                    });
                },
    
                getAgeBand: function() {
                    if (user['X-Age-Band']) {
                        return Promise.resolve(user['X-Age-Band']);
                    }
    
                    return bbcuser.isSignedIn().then(function(isSignedIn) {
                        if (isSignedIn) {
                            return window.bbcpage.loadModule(['idcta-v2/idcta-1'])
                                .then(function(idcta) {
                                    user['X-Age-Band'] = idcta.getUserDetailsFromCookie().ab;
                                    if (user['X-Age-Band'] === 'u13') {
                                        user['X-Age-Band'] = '0-12';
                                        return user['X-Age-Band'];
                                    } else if (user['X-Age-Band'] === 'u16') {
                                        user['X-Age-Band'] = '13-15';
                                        return user['X-Age-Band'];
                                    } else if (user['X-Age-Band'] === 'u18') {
                                        user['X-Age-Band'] = '16-17';
                                        return user['X-Age-Band'];
                                    } else {
                                        user['X-Age-Band'] = undefined;
                                        return getSegmentations().then(function(userInfo) {
                                            user['X-Age-Band'] = userInfo['X-Age-Band'];
                                            return user['X-Age-Band'] || undefined;
                                        }).catch(function(error) {
                                            return user['X-Age-Band'] || undefined;
                                        });
                                    }
                                });
    
                        } else {
                            return undefined;
                        }
                    });
                },
    
                getCountry: function() {
                    if (user['X-Country']) {
                        return Promise.resolve(user['X-Country']);
                    }
                    return getUserInfo().then(function(userInfo) {
                        return userInfo['X-Country'] || 'GB';
                    });
                },
    
                isUKCombined: function() {
                    return getUserInfo().then(function(userInfo) {
                        if (!userInfo['X-Ip_is_uk_combined']) {
                            throw new Error('missing isUKCombined from userinfo response');
                        }
                        return userInfo['X-Ip_is_uk_combined'].toLowerCase() === 'yes';
                    })
                },
    
                canSeeAdverts: function() {
                    return getUserInfo().then(function(userInfo) {
                        if (!userInfo['X-Ip_is_advertise_combined']) {
                            throw new Error('missing canSeeAdverts from userinfo response');
                        }
                        return userInfo['X-Ip_is_advertise_combined'].toLowerCase() === "yes";
                    });
                },
    
                isSignedIn: function() {
                    return window.bbcpage.loadModule(['idcta-v2/idcta-1'])
                        .then(function(idcta) {
                            return (idcta && idcta.getCookieInstance().hasCookie());
                        });
                },
                allowsPerformanceCookies: function() {
                    return window.bbcpage.loadModule(['orb/cookies'])
                            .then(function(bbccookies) {
                                return !!bbccookies.cookiesEnabled() && !!bbccookies.readPolicy('performance');
                            });
                },
                allowsFunctionalCookies: function() {
                    return window.bbcpage.loadModule(['orb/cookies'])
                            .then(function(bbccookies) {
                                return !!bbccookies.cookiesEnabled() && !!bbccookies.readPolicy('personalisation');
                            });
                },
                getCookieValue: function(cookieName) {
                    return window.bbcpage.loadModule(['orb/cookies'])
                            .then(function(bbccookies) {
                                return bbccookies.get(cookieName);
                            });
                },
                resetCookiesPreferences: function() {
                    return window.bbcpage.loadModule(['orb/cookies'])
                            .then(function(bbccookies) {
                                bbccookies.setDefaultCookiesSingleDomain();
                            });
                },
                hasCookiesEnabled: function() {
                    return window.bbcpage.loadModule(['orb/cookies'])
                            .then(function(bbccookies) {
                                return !!bbccookies.cookiesEnabled();
                            });
                },
                hasSeenCookieBanner: function() {
                    return window.bbcpage.loadModule(['orb/cookies'])
                            .then(function (bbccookies) {
                                return !!bbccookies.isCookiePolicySet();
                            });
                },
                logEvent: function (verb, noun, extraLabels) {
                    return window.bbcuser.hasCookiesEnabled()
                        .then(function(allowsCookies) {
                            if (allowsCookies) {
                                return window.bbcpage.loadModule(['istats-1'])
                                    .then(function(istats) {
                                        istats.log(verb, noun, extraLabels);
                                    });
                            } else {
                                throw new Error('User cannot be tracked due to cookies preferences.');
                            }
                        });
                },
            };
    
        }());</script><script src="https://nav.files.bbci.co.uk/orbit/3ea556b3c4acb986a0cc517b7d8568f7/js/require.min.js"></script>   <script src="https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-527.9c2a9a9/cookie-banner/cookie-library.min.js"></script><script type="text/javascript">if (window.define !==  undefined) {
        define('orb/cookies', function() {
          return window.bbccookies;
        });
      }</script>     <script src="https://nav.files.bbci.co.uk/orbit/3ea556b3c4acb986a0cc517b7d8568f7/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-527.9c2a9a9/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="unknown";a.setCountername(s),window.istats_countername&&a.setCountername(window.istats_countername),a.addLabels("ml_name=webmodule&ml_version=0.0.2-527.9c2a9a9&blq_e=orbit&blq_r=orbit&blq_s=orbit&blq_v=default&language=en")}var o});</script><link rel="stylesheet" href="https://static.files.bbci.co.uk/account/id-cta/1.50.0/style/id-cta.css"><!--[if IE 8]><link href="https://static.files.bbci.co.uk/account/id-cta/1.50.0/style/ie8.css" rel="stylesheet"/> <![endif]--><script type="text/javascript">(function() {if (!window.require) {throw new Error('idcta: could not find require module');}if (typeof(map) == 'undefined') {var map = {};}if (!!document.createElementNS && !!document.createElementNS('http://www.w3.org/2000/svg', 'svg').createSVGRect) {document.documentElement.className += ' id-svg';}var ptrt = new RegExp("[\\?&]ptrt=([^&]*)").exec(document.location.href);var ENDPOINT_URL = 'https://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://static.files.bbci.co.uk/account/id-cta/1.50.0/modules/idcta-v2';map['idcta-v2/config'] = ENDPOINT_URL + ENDPOINT_CONFIG;map['idcta-v2/translations'] = ENDPOINT_URL + ENDPOINT_TRANSLATIONS;map['idcta'] = 'https://static.files.bbci.co.uk/account/id-cta/1.8.2/modules/idcta';map['idcta-v2/idcta-1'] = 'https://static.files.bbci.co.uk/account/id-cta/1.50.0/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 --><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/4.8.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() {}, isThirdPartyDisabled: function() {}, isThirdPartyDisabledEU: function() {}, setEU: function() {} }, survey: { init: function(){ return false; } }, data: {}, init: function() {}, objects: function(str) { return false; }, locale: { set: function() {}, get: function() {} }, setAdKeyValue: function() {}, utils: { addEvent: function() {}, addHtmlTagClass: function() {}, log: function () {} }, addLoadEvent: function() {} }; /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function(){ if (typeof orb !== 'undefined' && typeof orb.fig === 'function') { if (orb.fig('ad') && orb.fig('uk') == 0) { bbcdotcom.data = { ads: (orb.fig('ad') ? 1 : 0), stats: (orb.fig('uk') == 0 ? 1 : 0), statsProvider: orb.fig('ap') }; } } else { document.write('<script type="text/javascript" src="https://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/4.8.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/4.8.0/script/dist/bbcdotcom.dev.js">\x3C/script>'); } else { document.write('<script type="text/javascript" src="https://static.bbc.co.uk/bbcdotcom/4.8.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,"thirdPartyDisabled":false,"sherlockEnabled":false,"permutiveEnabled":false,"appName":"","assetPrefix":"https:\/\/static.bbc.co.uk\/bbcdotcom\/4.8.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":"4.8.0","staticPrefix":"https:\/\/static.bbc.co.uk\/bbcdotcom\/4.8.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/4.8.0/"); bbcdotcom.config.setVersion("4.8.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">/*<![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[*/ if (window.bbcdotcom && bbcdotcom.config && bbcdotcom.config.isPermutiveEnabled && bbcdotcom.config.isPermutiveEnabled() && bbcdotcom.config.isWorldService && !bbcdotcom.config.isWorldService()){ (function () { !function(n,e,o,r,i){if(!e){e=e||{},window.permutive=e,e.q=[],e.config=i||{},e.config.projectId=o,e.config.apiKey=r,e.config.environment=e.config.environment||"production";for(var t=["addon","identify","track","trigger","query","segment","segments","ready","on","once","user","consent"],c=0;c<t.length;c++){var f=t[c];e[f]=function(n){return function(){var o=Array.prototype.slice.call(arguments,0);e.q.push({functionName:n,arguments:o})}}(f)}}}(document,window.permutive,"e488cdb0-e7cb-4d91-9648-60d437d8e491","1bb84885-9325-4fef-adda-a208032b2715",{"consentRequired":true}); bbcdotcomScripts.push({src:'https://cdn.permutive.com/e488cdb0-e7cb-4d91-9648-60d437d8e491-web.js'}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ /** * ASYNC waits to make any gpt requests until the bottom of the page */ if ( window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.ads && bbcdotcom.data.ads == 1 && bbcdotcom.config && bbcdotcom.config.isAsync && bbcdotcom.config.isAsync() && bbcdotcom.config.isAdsEnabled && bbcdotcom.config.isAdsEnabled() ) { (function () { bbcdotcomScripts.push({src:'https://securepubads.g.doubleclick.net/tag/js/gpt.js'}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ /* Load Lotame, Grapeshot and GPT without blocking rendering but executing in order */ if ( window.bbcdotcom && bbcdotcom.config && bbcdotcomScripts.length > 0 ) { (function () { bbcdotcom.checkThirdPartyFirst(function(){ if (!bbcdotcom.config.isThirdPartyDisabledEU()){ bbcdotcomScripts.forEach(function(item) { var script = document.createElement('script'); script.async = false; if(item.id) script.id = item.id; script.src = item.src; document.head.appendChild(script); }); } }); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.head = true; }()); /*]]>*/</script>     <script type="text/javascript">// Globally available search context
  window.SEARCHBOX={"variant":"default","locale":"en","feature":"legacy,","navSearchboxStaticPrefix":"https://nav.files.bbci.co.uk/searchbox/8d701d9ddfac3cf2ef53d86ac7eda36c/","searchboxAppStaticPrefix":"https://nav.files.bbci.co.uk/searchbox/8d701d9ddfac3cf2ef53d86ac7eda36c/drawer","searchFormHtml":"<div tabindex=\"-1\"><div><section class=\"se-searchbox-panel\"><div class=\"se-g-wrap\"><div class=\"se-g-layout\"><div class=\"se-g-layout__item se-searchbox-title\" aria-hidden=\"true\">search</div><div class=\"se-g-layout__item se-searchbox\"><form accept-charset=\"utf-8\" id=\"searchboxDrawerForm\" method=\"get\" action=\"https://search.bbc.co.uk/search\"><label class=\"se-searchbox__input\" for=\"se-searchbox-input-field\"><span class=\"se-sr-only\">Search Term</span><div><input type=\"text\" name=\"q\" value=\"\" id=\"se-searchbox-input-field\" class=\"se-searchbox__input__field\" maxLength=\"100\" autoComplete=\"off\" autoCorrect=\"off\" autoCapitalize=\"off\" spellcheck=\"false\" tabindex=\"0\"/></div></label><input type=\"hidden\" name=\"scope\" value=\"\"/><button type=\"submit\" class=\"se-searchbox__submit\" tabindex=\"0\" data-bbc-container=\"se-searchbox-panel\" data-bbc-title=\"search-icon\" data-bbc-metadata=\"{&quot;PAR&quot;:&quot;form::1&quot;,&quot;CHD&quot;:&quot;button::1&quot;}\" data-bbc-personalisation=\"{&quot;QRY&quot;:&quot;&quot;}\">Search</button><button type=\"button\" class=\"se-searchbox__clear se-searchbox__clear--visible\" tabindex=\"0\" data-bbc-container=\"se-searchbox-panel\" data-bbc-title=\"clear-icon\" data-bbc-metadata=\"{&quot;PAR&quot;:&quot;form::1&quot;,&quot;CHD&quot;:&quot;button::2&quot;}\" data-bbc-personalisation=\"{&quot;QRY&quot;:&quot;&quot;}\">Close</button></form></div></div></div></section><div aria-live=\"polite\" aria-atomic=\"true\" class=\"se-suggestions-container\"><section class=\"se-g-wrap\"></section></div></div></div>","searchScopePlaceholder":"","searchScopeParam":"","searchScopeTemplate":"","searchPlaceholderWrapperStart":"","searchPlaceholderWrapperEnd":""};
  window.SEARCHBOX.suppress = false;
  window.SEARCHBOX.searchScope = SEARCHBOX.searchScopeTemplate.split('-')[0];</script><link rel="stylesheet" href="https://nav.files.bbci.co.uk/searchbox/8d701d9ddfac3cf2ef53d86ac7eda36c/css/main.css"><!--[if IE 8]>
  <script type="text/javascript" src="https://nav.files.bbci.co.uk/searchbox/8d701d9ddfac3cf2ef53d86ac7eda36c/script/html5shiv.min.js"></script>
  <script type="text/javascript">window['searchboxIEVersion'] = 8;</script>
  <link rel="stylesheet" href="https://nav.files.bbci.co.uk/searchbox/8d701d9ddfac3cf2ef53d86ac7eda36c/css/ie8.css">
<![endif]--><!--[if IE 9]>
  <script type="text/javascript">window['searchboxIEVersion'] = 9;</script>
<![endif]-->   <script type="text/javascript">"use strict";!function(){window.__reverbStaticLocation="https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/",window.__smarttagVersion="5.22.0",window.__reverb={},window.__reverb.__reverbLoadedPromise=new Promise(function(e,n){window.__reverb.__resolveReverbLoaded=e,window.__reverb.__rejectReverbLoaded=n}),window.__reverb.__reverbTimeout=setTimeout(function(){window.__reverb.__rejectReverbLoaded()},5e3);var n=function(r,d){window.__reverb.__reverbLoadedPromise.then(function(e){if(r&&r.detail){var n=r.detail.label,t=r.detail.type,i=r.detail.elem,o=r.detail.originalEvent;r.detail.isClick&&(d=r.detail.isClick),e.userActionEvent(t,n,r.detail,i,o,d)}},function(){console.log("Reverb failed to load. Event not sent")})};document.addEventListener("bbc-user-event",function(e){n(e,!1)}),document.addEventListener("bbc-user-click",function(e){n(e,!0)}),document.addEventListener("bbc-page-updated",function(){window.__reverb.__reverbLoadedPromise.then(function(e){e.initialise().then(function(){return e.viewEvent()})},function(){console.log("Reverb failed to load. Event not sent")})})}();</script><script type="text/javascript" src="https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/reverb-1.6.0.js" async=""></script><script type="text/javascript">window.__detectview={clickManagementEnabled:false};</script>
                <!-- BRANDINGID: br-00001 -->
        <!--[if (gt IE 8)|!(IE)]><!-->
        <link rel="stylesheet" href="//branding.files.bbci.co.uk/branding/live/css/3873b0eafbe744ce318dd297440755e7.css" />
        <!--<![endif]-->

        <!--[if (lt IE 9)&(!IEMobile)]>
        <link rel="stylesheet" href="//branding.files.bbci.co.uk/branding/live/css/d1ac58194e455e894a833774f15c08d1.css" />
        <![endif]-->

        <script>require({paths: {'msi/content-loader': "//rmp.files.bbci.co.uk/radio-msi/latest"}});</script>

        <script>
            requirejs.config({
                "paths": {
                    'jquery-1.9': "https://static.bbci.co.uk/frameworks/jquery/0.4.1/sharedmodules/jquery-1.9.1",
                    'rv-bootstrap': "https://programmes.files.bbci.co.uk/programmes-frontend/js/rv-bootstrap-5faf60a64a",
                    'timezone-notification': "https://programmes.files.bbci.co.uk/programmes-frontend/js/timezone-notification-9476b56a8c",
                    'episode-guide': "https://programmes.files.bbci.co.uk/programmes-frontend/js/episode-guide-4b10409449",
                    'gallery': "https://programmes.files.bbci.co.uk/programmes-frontend/js/gallery-ad3f898914",
                    'picturefill': "https://programmes.files.bbci.co.uk/programmes-frontend/js/picturefill-29a13ac5b6",
                    'popup': "https://programmes.files.bbci.co.uk/programmes-frontend/js/popup-e49f2a49fe",
                    'snippets': "https://programmes.files.bbci.co.uk/programmes-frontend/js/snippets-880261e455",
                    'bump-3': "//emp.bbci.co.uk/emp/bump-3/bump-3",
                    'smp/smpFactory': "https://programmes.files.bbci.co.uk/programmes-frontend/js/smp/smpFactory-f57a2ab390",
                    'stream': "https://programmes.files.bbci.co.uk/programmes-frontend/js/stream-39232e1207",
                    'smp/smp': "https://programmes.files.bbci.co.uk/programmes-frontend/js/smp/smp-b7f0d4bec6",
                    'smp/recommendationsBump': "https://programmes.files.bbci.co.uk/programmes-frontend/js/smp/recommendationsBump-0c44d8e33c",
                    'smp/uasService': "https://programmes.files.bbci.co.uk/programmes-frontend/js/smp/uasService-8116e5dab1",
                    'cookieStore': "https://programmes.files.bbci.co.uk/programmes-frontend/js/cookieStore",
                    'uasclient': "https://static.bbc.co.uk/uasclient/0.1.42/modules/uasclient",
                    'relay-1': "https://static.bbc.co.uk/frameworks/relay/0.2.6/sharedmodules/relay-1",
                    'policy-service': "https://programmes.files.bbci.co.uk/programmes-frontend/js/policy-service-c495418b29",
                    'third-party': "https://programmes.files.bbci.co.uk/programmes-frontend/js/third-party-4cc5ca32e8",
                    'kite': 'https://downloads.bbc.co.uk/interactive/embed/',
                },
                "priority": ['jquery-1.9', 'rv-bootstrap', 'timezone-notification'],
                "map": {
                    "*": {
                        "jquery": "jquery-1.9"
                    }
                }
            });
        </script>

        <!--[if (gt IE 8)|!(IE)]><!-->
            <link rel="stylesheet" href="https://programmes.files.bbci.co.uk/programmes-frontend/css/ds2013-f937429cb4.css" />
        <!--<![endif]-->
        <!--[if (lt IE 9)&(!IEMobile)]>
            <link rel="stylesheet" href="https://programmes.files.bbci.co.uk/programmes-frontend/css/ds2013-ie-d7a1cef88d.css" />
        <![endif]-->
        <style>
    @-webkit-keyframes FLASH {
        0%   { color: inherit; }
        10%   { color: #ffffff; }
        100% { color: inherit }
    }

    @keyframes FLASH {
        0%   { color: inherit; }
        10%   { color: #ffffff; }
        100% { color: inherit }
    }

    .js-flash {
        -webkit-animation: FLASH 2s ease-in;
        animation: FLASH 2s ease-in;
    }

    @media (min-width: 600px) {
        .home-intro { padding-top: 64px; }
    }
</style>

        
                <link rel="canonical" href="https://www.bbc.co.uk/programmes">        <meta name="theme-color" content="#2B2B2B">
                    <meta name="description" content="">
            <meta property="og:description" content="">
        <meta property="fb:pages" content="6025943146,7397061762,7519460786,7833211321,8244244903,8251776107,8585725981,21750735380,80758950658,125309456546,130593816777,154344434967,228735667216,260212261199,260967092113,294662213128,295830058648,304314573046,401538510458,107909022566650,118883634811868,129044383774217,156060587793370,156400551056385,163571453661989,168895963122035,185246968166196,193022337414607,193435954068976,194575130577797,215504865453262,239931389545417,273726292719943,283348121682053,286567251709437,292291897588734,310719525611571,317278538359186,413132078795966,470911516262605,512423982152360,647687225371774,658551547588605,742734325867560,944295152308991,958681370814419,1143803202301544,1159932557403143,1392506827668140,1411916919051820,1477945425811579,1659215157653827,1731770190373618"><meta property="og:site_name" content="BBC">
        <meta property="og:title" content="BBC - Programmes">
        <meta property="og:type" content="website">
        <meta property="og:url" content="https://www.bbc.co.uk/programmes">        <meta property="og:image" content="https://ichef.bbci.co.uk/images/ic/1200x675/p01tqv8z.png">            <meta name="twitter:card" content="summary_large_image">
        <meta name="msapplication-square150x150logo" content="https://ichef.bbci.co.uk/images/ic/272x272/p01tqv8z.png">
    </head>
    <body id="top">
        <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=programmes-index::unknown&x1=[urn:bbc:pips]&x2=[responsive]&x3=[bbc_website]&x4=[en]&x7=[index-home]&x8=[reverb-1.6.0-nojs]&x11=[programmes_ps]&x12=[BBC]" height="1" width="1" alt=""></p></noscript>   <!-- BBCDOTCOM bodyFirst --><div id="bbccom_interstitial_ad" class="bbccom_display_none"></div><div id="bbccom_interstitial" class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ (function() { if (window.bbcdotcom && bbcdotcom.config.isAdsEnabled()) { googletag.cmd.push(function() { googletag.display('bbccom_interstitial'); }); } }()); /*]]>*/</script></div><div id="bbccom_wallpaper_ad" class="bbccom_display_none"></div><div id="bbccom_wallpaper" class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ (function() { var wallpaper; if (window.bbcdotcom && bbcdotcom.config.isAdsEnabled()) { if (bbcdotcom.config.isAsync()) { googletag.cmd.push(function() { googletag.display('bbccom_wallpaper'); }); } else if (typeof googletag !== "undefined" && typeof googletag.display === "function") { googletag.display("wallpaper"); } wallpaper = bbcdotcom.adverts.adRegister.getAd('wallpaper'); } }()); /*]]>*/</script></div><script type="text/javascript">/*<![CDATA[*/ (function() { if (window.bbcdotcom && bbcdotcom.config.isAdsEnabled()) { document.write(unescape('%3Cscript id="gnlAdsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } if (window.bbcdotcom && bbcdotcom.config.isAnalyticsEnabled()) { document.write(unescape('%3Cscript id="gnlAnalyticsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } }()); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.bodyFirst = true; }()); /*]]>*/</script>   <div id="cookiePrompt"></div>   <!--[if (gt IE 8) | (IEMobile)]><!--><header id="orb-banner" role="banner" aria-label="BBC"><!--<![endif]--><!--[if (lt IE 9) & (!IEMobile)]>
            <![if (IE 8)]>
                <header id="orb-banner" role="banner" class="orb-old-ie orb-ie8" aria-label="BBC">
            <![endif]>

            <![if (IE 7)]>
                <header id="orb-banner" role="banner" class="orb-old-ie orb-ie7" aria-label="BBC">
            <![endif]>

            <![if (IE 6)]>
                <header id="orb-banner" role="banner" class="orb-old-ie orb-ie6" aria-label="BBC">
            <![endif]>
        <![endif]--><div id="orb-header" class="orb-nav-pri orb-nav-pri-white orb-nav-empty" dir="ltr"><div class="orb-nav-pri-container b-r b-g-p"><div class="orb-nav-section orb-nav-blocks"><a href="https://www.bbc.co.uk">Homepage</a></div><section><div class="orb-skip-links"><h2>Accessibility links</h2><ul><li><a href="#programmes-content">Skip to content</a></li><li><a id="orb-accessibility-help" href="https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li></ul></div></section><div id="mybbc-wrapper" class="orb-nav-section orb-nav-id orb-nav-focus orb-nav-id-default">  <div id="idcta-statusbar" class="orb-nav-section orb-nav-focus" data-bbc-container="id-cta" data-bbc-event-type="click" data-bbc-ignore-views="1" data-bbc-metadata="{&quot;id-cta-type&quot;: &quot;statusbar-orb&quot;}" data-bbc-source="responsive_web" data-bbc-title="id-cta-sign-in"><a id="idcta-link" href="https://account.bbc.com/account"><span id="idcta-username">BBC Account</span></a></div><script type="text/javascript">require(['idcta/statusbar'], function (statusbar) {new statusbar.Statusbar({id: 'idcta-statusbar', publiclyCacheable: true});});</script><!-- Because we are now loading the notification bell CSS asynchronously, we need this inline style hack to ensure that the notification div 
		 is hidden by default, and shown only if and when the bell code is loaded from notification-ui --><a id="notification-link" class="js-notification-link animated three" href="#" style="display: none"><span class="hidden-span">Notifications</span><div class="notification-link--triangle"></div><div class="notification-link--triangle"></div><span id="not-num"></span></a>   </div><nav role="navigation" aria-label="BBC" class="orb-nav"><div class="orb-nav-section orb-nav-links orb-nav-focus" id="orb-nav-links"><ul><li class="orb-nav-home"><a href="https://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-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" 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><label for="orb-search-q">Search the BBC</label><input id="orb-search-q" type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" maxlength="100" name="q" placeholder="Search"><button id="orb-search-button" class="orb-search__button">Search the BBC</button><input type="hidden" name="suggid" id="orb-search-suggid"></div></form> </div></div><div id="orb-panels"></div></div></header>  <!-- Styling hook for shared modules only -->
<div id="orb-modules">
    

                <div class="br-container">
                        <div class="br-container__inner">
                                    <div class="br-masthead" id="br-masthead"><div class="br-masthead__inner">
                                
        
    <div class="b-g-p br-masthead__main br-masthead__main--small">
        <div class="br-masthead__title">
            <a href="/programmes">
                <span class="br-masthead__pagetitle">Programmes</span>
            </a>
        </div>
    </div>                            <div class="b-g-p"><div id="br-nav-programme" class="br-nav br-box-highlight br-highlight-bg-onbg080"><ul class="br-nav__list"><li class="br-nav__item"><a class="br-nav__link" href="/programmes">Home</a></li><li class="br-nav__item"><a class="br-nav__link" href="/programmes/a-z">A-Z</a></li><li class="br-nav__item"><a class="br-nav__link" href="/programmes/genres">Genres</a></li><li class="br-nav__item"><a class="br-nav__link" href="/programmes/formats">Formats</a></li><!--BRANDING_PLACEHOLDER_NAV_END--></ul></div></div><script type="text/javascript">
        define("branding-responsive-nav",[],function(){var e=function(e){this.setOptions(e)};return e.prototype={options:{},setOptions:function(e){var t={more_link_text:e&&e.more_link_text?e.more_link_text:"More"};this.options=t},getOptions:function(){return this.options},init:function(){function e(){var e=t.getWindowWidth(),n=t.getWindowHeight();(e!=i||n!=o)&&null!==t.local_nav_bar&&(t.processingNavigation=!1,t.processNavigation()),i=e,o=n}var t=this,n=null,i=this.getWindowWidth(),o=this.getWindowHeight();t.setupNavigation(),this.addListener(window,"resize",function(){clearTimeout(n),n=setTimeout(e,300)})},getWindowWidth:function(){var e=0;return"number"==typeof window.innerWidth?e=window.innerWidth:document.documentElement&&document.documentElement.clientWidth?e=document.documentElement.clientWidth:document.body&&document.body.clientWidth&&(e=document.body.clientWidth),e},getWindowHeight:function(){var e=0;return"number"==typeof window.innerHeight?e=window.innerHeight:document.documentElement&&document.documentElement.clientHeight?e=document.documentElement.clientHeight:document.body&&document.body.clientHeight&&(e=document.body.clientHeight),e},addListener:function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},setupNavigation:function(){if(this.local_nav_bar=document.getElementById("br-nav-programme"),null!==this.local_nav_bar){var e=document.createElement("button");e.className="br-nav__morelink br-box-highlight";var t=document.createTextNode(this.getOptions().more_link_text);e.appendChild(t),e.id="more-link",this.local_nav_bar.insertBefore(e,this.local_nav_bar.firstChild);var n=document.createElement("ul");n.id="more-list",n.className="br-nav__more br-nav__list",this.local_nav_bar.appendChild(n),this.addListener(e,"click",function(){-1!==e.className.indexOf("open")?(e.className=e.className.replace("open",""),n.className=n.className.replace("open","")):(e.className+=" open",n.className+=" open")}),t=null,this.processNavigation()}},processingNavigation:!1,processNavigation:function(){if(null!==this.local_nav_bar){var e=document.getElementById("more-link"),t=this.local_nav_bar.getElementsByTagName("ul");t=t[0];var n=t.getElementsByTagName("li"),i=n[0];this.processingNavigation=!0;var o=document.getElementById("more-list");if(null!==o)for(;o.hasChildNodes();)t.appendChild(o.firstChild);if(!this._navIsTooLong(t,i))return e.className=e.className.replace("visible",""),void(e=t=n=i=o=null);for(e.className=e.className.replace("visible",""),e.className+=" visible";this._navIsTooLong(t,i)&&this.processingNavigation;)this._moveLastNavItem();e=t=n=i=o=null}},_moveLastNavItem:function(){var e=this.local_nav_bar.getElementsByTagName("ul")[0],t=document.getElementById("more-list");t.insertBefore(e.lastChild,t.firstChild),e=nav_items=last_item=t=null},_navIsTooLong:function(e,t){var n=e.getElementsByTagName("li"),i=n.length>1&&e.offsetHeight>t.scrollHeight;return n=null,i}},e});
        /*<![CDATA[*/
        require(['branding-responsive-nav'],function(responsiveNav){
            var nav = new responsiveNav({
                'more_link_text' : 'More'
            });
            nav.init();
        });
        /*]]>*/
    </script>                    </div></div>
                

        <div class="programmes-page text-base programmes-page--flush br-box-page" role="main">
            <div id="programmes-content" class="skip-to-content-destination" tabindex="-1">Main content</div>
            <h1 class="visually-hidden">Programmes</h1>

<div class="delta no-margin">
    <div class="br-box-highlight">
        <div class="programmes-page b-g-p home-intro">
            <p class="alpha deemphasize text--center"><span data-count="6245288">6,245,288</span> total programmes & groups</p>
        </div>

        <div class="programmes-page g-c-l">
            <div class="br-box-highlight island text--prose component">
                <p>Welcome to BBC Programmes, a permanent rolling record of <strong>everything</strong> on BBC Television and Radio.
                    Since October 2007 this site has created a permanent, findable web presence for every programme the BBC has broadcast,
                    with some programmes being populated as far back as <a href="/programmes/b006qnmr/broadcasts/1942/01">1942</a>.</p>
                <p>Whether you're looking for <a href="/programmes/b006qpgr">the world's longest running soap opera</a>,
                    want to know about <a href="/programmes/p026vg04">nature</a>,
                    to find a <a href="/programmes/b04v1zq9">tracklist</a>,
                    or some <a href="/programmes/b008ncn6">classic comedy</a> it's all here. With <a href="/programmes/p021x88c">clips</a>,
                    <a href="/programmes/p01nw9wb">galleries</a>,
                    <a href="/programmes/b00vk2lp/episodes/guide">episode guides</a>,
                    <a href="/programmes/profiles/4LHmt9VKqXq37pHWlQ38vsS/the-twelfth-doctor">character profiles</a> and even <a href="/programmes/articles/1g84m0sXpnNCv84GpN2PLZG/the-hitchhikers-guide-to-the-galaxy-game-30th-anniversary-edition">games</a>
                    there's a lifetime of content to explore.</p>
                <p>Get started by searching for a programme, browsing the <a href="/programmes/a-z/by/a">A-Z</a>, or choosing a <a href="/programmes/genres">genre</a>.</p>
            </div>
        </div>
    </div>

    <div class="b-g-p programmes-page" id="services">
        <h2>Schedules</h2>

        <div class="grid-wrapper">
            <div class="grid 1/4@bpw2 1/4@bpe">
                <h3 class="gamma--keyline br-keyline">TV</h3>
                <ul class="list-unindented columns columns--2@bpb2 columns--2@bpw columns--1@bpw2 columns--1@bpe" data-list="tv-networks">
                                            <li><a href="/schedules/p00fzl6p">BBC One</a></li>
                                            <li><a href="/schedules/p00fzl97">BBC Two</a></li>
                                            <li><a href="/schedules/p00fzl95">BBC Three</a></li>
                                            <li><a href="/schedules/p00fzl6b">BBC Four</a></li>
                                            <li><a href="/schedules/p00fzl9r">CBBC</a></li>
                                            <li><a href="/schedules/p00fzl9s">CBeebies</a></li>
                                            <li><a href="/schedules/p00fzl6g">BBC News Channel</a></li>
                                            <li><a href="/schedules/p00fzl73">BBC Parliament</a></li>
                                            <li><a href="/schedules/p00fzl67">BBC ALBA</a></li>
                                            <li><a href="/schedules/p00fzl9j">BBC World News</a></li>
                                            <li><a href="/schedules/p020dmkf">S4C</a></li>
                                            <li><a href="/schedules/p082fsm3">BBC Hindi TV</a></li>
                                            <li><a href="/schedules/p071wj53">BBC Marathi TV</a></li>
                                            <li><a href="/schedules/p06kvypx">BBC Scotland</a></li>
                                    </ul>
            </div>
            <div class="grid 1/2@bpw2 1/2@bpe">
                <h3 class="gamma--keyline br-keyline">National Radio</h3>
                <ul class="list-unindented columns columns--2@bpb2 columns--2@bpw" data-list="national-radio-networks">
                                            <li><a href="/schedules/p078jk57">Radio Glastonbury</a></li>
                                            <li><a href="/schedules/p00fzl86">Radio 1</a></li>
                                            <li><a href="/schedules/p00fzl64">Radio 1Xtra</a></li>
                                            <li><a href="/schedules/p00fzl8v">Radio 2</a></li>
                                            <li><a href="/schedules/p02hyyrj">Radio 2 Country</a></li>
                                            <li><a href="/schedules/p02q2ldk">Radio 2 Eurovision</a></li>
                                            <li><a href="/schedules/p031h0bc">Music Jazz</a></li>
                                            <li><a href="/schedules/p00fzl8t">Radio 3</a></li>
                                            <li><a href="/schedules/p00fzl7j">Radio 4</a></li>
                                            <li><a href="/schedules/p00fzl7l">Radio 4 Extra</a></li>
                                            <li><a href="/schedules/p00fzl7g">Radio 5 live</a></li>
                                            <li><a href="/schedules/p00fzl7h">Radio 5 live sports extra</a></li>
                                            <li><a href="/schedules/p00fzl65">Radio 6 Music</a></li>
                                            <li><a href="/schedules/p00fzl68">Asian Network</a></li>
                                            <li><a href="/schedules/p00fzl9p">World Service</a></li>
                                            <li><a href="/schedules/p0572jvl">Radio 1 Vintage</a></li>
                                            <li><a href="/schedules/p02jf21y">CBeebies Radio</a></li>
                                    </ul>
            </div>
            <div class="grid 1/4@bpw2 1/4@bpe">
                <h3 class="gamma--keyline br-keyline">Nations Radio</h3>
                <ul class="list-unindented columns columns--2@bpb2 columns--2@bpw columns--1@bpw2 columns--1@bpe" data-list="regional-radio-networks">
                                            <li><a href="/schedules/p00fzl8d">Radio Scotland</a></li>
                                            <li><a href="/schedules/p05pkt1d">Radio Cymru 2</a></li>
                                            <li><a href="/schedules/p048pnmp">Radio Scotland Music Extra</a></li>
                                            <li><a href="/schedules/p00fzl81">Radio nan GĂ idheal</a></li>
                                            <li><a href="/schedules/p00fzl8w">Radio Ulster</a></li>
                                            <li><a href="/schedules/p00fzl7m">Radio Foyle</a></li>
                                            <li><a href="/schedules/p00fzl8y">Radio Wales</a></li>
                                            <li><a href="/schedules/p00fzl7b">Radio Cymru</a></li>
                                    </ul>
            </div>
            <div class="grid">
                <h3 class="gamma--keyline br-keyline">Local Radio</h3>
                <ul class="list-unindented columns columns--2@bpb2 columns--2@bpw columns--4@bpw2 columns--4@bpe" data-list="local-radio-networks">
                                            <li><a href="/schedules/p00fzl74">Radio Berkshire</a></li>
                                            <li><a href="/schedules/p00fzl75">Radio Bristol</a></li>
                                            <li><a href="/schedules/p00fzl76">Radio Cambridgeshire</a></li>
                                            <li><a href="/schedules/p00fzl77">Radio Cornwall</a></li>
                                            <li><a href="/schedules/p00fzl78">CWR</a></li>
                                            <li><a href="/schedules/p00fzl79">Radio Cumbria</a></li>
                                            <li><a href="/schedules/p00fzl7c">Radio Derby</a></li>
                                            <li><a href="/schedules/p00fzl7d">Radio Devon</a></li>
                                            <li><a href="/schedules/p00fzl7f">Essex</a></li>
                                            <li><a href="/schedules/p00fzl7n">Radio Gloucestershire</a></li>
                                            <li><a href="/schedules/p00fzl7p">Radio Guernsey</a></li>
                                            <li><a href="/schedules/p00fzl7q">Hereford &amp; Worcester</a></li>
                                            <li><a href="/schedules/p00fzl7r">Radio Humberside</a></li>
                                            <li><a href="/schedules/p00fzl7s">Radio Jersey</a></li>
                                            <li><a href="/schedules/p00fzl7t">Radio Kent</a></li>
                                            <li><a href="/schedules/p00fzl7v">Radio Lancashire</a></li>
                                            <li><a href="/schedules/p00fzl7w">Radio Leeds</a></li>
                                            <li><a href="/schedules/p00fzl7x">Radio Leicester</a></li>
                                            <li><a href="/schedules/p00fzl7y">Radio Lincolnshire</a></li>
                                            <li><a href="/schedules/p00fzl6f">Radio London</a></li>
                                            <li><a href="/schedules/p00fzl7z">Radio Manchester</a></li>
                                            <li><a href="/schedules/p00fzl80">Radio Merseyside</a></li>
                                            <li><a href="/schedules/p00fzl82">Radio Newcastle</a></li>
                                            <li><a href="/schedules/p00fzl83">Radio Norfolk</a></li>
                                            <li><a href="/schedules/p00fzl84">Radio Northampton</a></li>
                                            <li><a href="/schedules/p00fzl85">Radio Nottingham</a></li>
                                            <li><a href="/schedules/p00fzl8c">Radio Oxford</a></li>
                                            <li><a href="/schedules/p00fzl8h">Radio Sheffield</a></li>
                                            <li><a href="/schedules/p00fzl8k">Radio Shropshire</a></li>
                                            <li><a href="/schedules/p00fzl8l">Radio Solent</a></li>
                                            <li><a href="/schedules/p00fzl8m">Radio Somerset</a></li>
                                            <li><a href="/schedules/p00fzl8n">Radio Stoke</a></li>
                                            <li><a href="/schedules/p00fzl8p">Radio Suffolk</a></li>
                                            <li><a href="/schedules/p00fzl8q">Radio Surrey</a></li>
                                            <li><a href="/schedules/p00fzl8r">Radio Sussex</a></li>
                                            <li><a href="/schedules/p00fzl93">Radio Tees</a></li>
                                            <li><a href="/schedules/p00fzl96">Three Counties Radio</a></li>
                                            <li><a href="/schedules/p00fzl8z">Radio Wiltshire</a></li>
                                            <li><a href="/schedules/p00fzl9f">Radio WM</a></li>
                                            <li><a href="/schedules/p00fzl90">Radio York</a></li>
                                    </ul>
            </div>
        </div>
    </div>
</div>

<script>
(function() {
    if(!('querySelector' in document && 'classList' in document.body)) {
        return;
    }

    var count = document.querySelector('[data-count]'),
        updatesComplete = 0,
        estimatedCount,
        interval = 4000;

    var increase = function() {
        count.classList.remove('js-flash');
        updatesComplete++;
        estimatedCount++;
        count.innerHTML = estimatedCount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
        setTimeout(function() { count.classList.add('js-flash') }, 10);

        if (updatesComplete > 10) {
            interval = 20000;
        }

        setTimeout(increase, interval);
    };

    if (count) {
        estimatedCount = parseInt(count.getAttribute('data-count'), 10);
        increase();
    }
})();
</script>
        </div>
                <script>
            require(['rv-bootstrap']);
        </script>
                    <script type="application/ld+json">
                {"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Programmes","item":"https:\/\/www.bbc.co.uk\/programmes"}],"@context":"https:\/\/schema.org"}
            </script>
                                
                </div>                     </div> 
<!-- BrandingProjectId: "1", ThemeVersionId: "8", NavigationVersionId: "1". Published on 2020-10-21T01:20:21+00:00 -->
                </div>
<div id="orb-footer" class="orb-footer" dir="ltr"> <div id="navp-orb-footer-promo"></div><aside role="complementary"><div id="orb-aside" class="orb-nav-sec b-r b-g-p"><div class="orb-footer-inner" role="navigation" aria-label="BBC"><h2 class="orb-footer-lead">Explore the BBC</h2><div class="orb-footer-primary-links"><ul><li class="orb-nav-home"><a href="https://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-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-can-i-change-my-bbc-cookie-settings/">AdChoices / Do Not Sell My Info<'+'/a><'+'/li>';</script><div class="orb-footer-inner"> <ul><li class="orb-footer-terms"><a href="https://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; 2020 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/3ea556b3c4acb986a0cc517b7d8568f7/" src="https://nav.files.bbci.co.uk/orbit/3ea556b3c4acb986a0cc517b7d8568f7/js/orb.min.js"></script>   <script type="text/javascript">/*<![CDATA[*/
                    require(['orb/nav'], function(nav) {
                        window.bbcuser.isUKCombined().then(function(isUK) {
                            if (isUK) {
                                nav.loadJs('https://nav.files.bbci.co.uk/orbit/3ea556b3c4acb986a0cc517b7d8568f7/js/edr.min.js');
                            }
                        });
                    });
                /*]]>*/</script> <!-- BBCDOTCOM bodyLast --><div class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && window.bbcdotcom.analytics && bbcdotcom.config && !bbcdotcom.config.isSportApp() && !bbcdotcom.config.isReel()) { bbcdotcom.checkThirdPartyFirst(bbcdotcom.analytics.page, bbcdotcom.analytics); } /*]]>*/</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.checkThirdPartyFirst(bbcdotcom.currencyProviders.write, bbcdotcom.currencyProviders); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.currencyProviders) { bbcdotcom.checkThirdPartyFirst(bbcdotcom.currencyProviders.postWrite, bbcdotcom.currencyProviders); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.bodyLast = true; }()); /*]]>*/</script></div><!-- BBCDOTCOM all code in page -->     <script type="text/javascript">require.config({
    "paths": {
        "orb/async/_footerpromo": 'https://nav.files.bbci.co.uk/navpromo/4745be14d971db946fed75ccf103d382/js/async/_footerpromo'
    }
});
(function() {


    document.addEventListener("DOMContentLoaded", function(event) {
      initialiseFooter();
    });

    var scrollCheckTimer;
    var didScroll;
    var previousPosition = 0;
    var delta = 5;
    var PROMO_SHOW_BREAKPOINT = 1500;
    var pageLength = 0;

    function getCookie(key) {
        if (!key) {
            return document.cookie;
        }
        return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent(key).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null;
    }

    function initialiseFooter() {
        // Suppress this feature on browsers we no longer test
        var myNav = navigator.userAgent.toLowerCase();
        var oldIE = (myNav.indexOf('msie') !== -1) && parseInt(myNav.split('msie')[1], 10) <= 10;
        if (!oldIE) {
            var disabledByCookie = (parseInt(getCookie('ckns_nav_promofail')) || 0) >= 3;
            if (!disabledByCookie) {
                window.bbcpage.getLanguage().then(function(language) {
                    if (language === 'en') {
                        window.bbcuser.isUKCombined().then(function(isUK) {
                            if (isUK) {
                                setUpLazyLoading();
                            }
                        });
                    }
                });
            }
        }
    }

    function setUpLazyLoading() {
        // offsetHeight is expensive to calculate, only do it once.
        pageLength = Math.abs(document.body.offsetHeight);

        if (pageLength < getViewportHeight() + 300 || pageLength - getCurrentPosition() < PROMO_SHOW_BREAKPOINT) {
            loadPromo();

        } else {
            window.onscroll = function () {
                didScroll = true;
            };

            scrollCheckTimer = setInterval(function () {
                if (didScroll) {
                    hasScrolled();
                    didScroll = false;
                }
            }, 250);
        }
    }

    function loadPromo() {
        clearInterval(scrollCheckTimer);

        require(['orb/async/_footerpromo'], function(promo) {
            promo.init('https://navpromo.api.bbci.co.uk', '');
        });
    }

    function getViewportHeight() {
        return window.innerHeight;
    }

    function getCurrentPosition() {
        return Math.abs(window.scrollY || document.body.scrollTop || document.documentElement.scrollTop);
    }

    function hasScrolled() {
        var currentPosition = getCurrentPosition();

        if (Math.abs(previousPosition - currentPosition) <= delta) {
            return;
        }
        if (currentPosition > previousPosition) {
            if ((pageLength - currentPosition) <= PROMO_SHOW_BREAKPOINT) {
                loadPromo();
            }
        }
        previousPosition = currentPosition;
    }
})();</script>     <script type="text/javascript">require.config({
            paths: {
                "mybbc/templates": '//mybbc.files.bbci.co.uk/notification-ui/4.2.4/templates',
                "mybbc/notifications": '//mybbc.files.bbci.co.uk/notification-ui/4.2.4/js'
            }
        });

        require(['mybbc/notifications/NotificationsMain', 'idcta/idcta-1'], function (NotificationsMain, idcta) {

            var loadNotifications = function (isUK) {
                if (isUK) {
                    window.bbcpage.loadCSS('//mybbc.files.bbci.co.uk/notification-ui/4.2.4/css/main.min.css').then(function() {
                        NotificationsMain.run(idcta, '//mybbc.files.bbci.co.uk/notification-ui/4.2.4/');
                    });
                }
            };
            
            window.bbcuser.isUKCombined().then(function(isUK) {
                loadNotifications(isUK);
            });
        });</script>     <script type="text/javascript">if (window.SEARCHBOX.suppress === false && window.SEARCHBOX.locale) {
    require.config({
      paths: {
        "search/searchbox": window.SEARCHBOX.searchboxAppStaticPrefix,
      }
    });

    if (bbcuser && bbcuser.isUKCombined) {
        bbcuser.isUKCombined().then(function (isUK) {
            if (isUK) {
                require(['search/searchbox/searchboxDrawer'], function (SearchboxDrawer) {
                  SearchboxDrawer.run(window.SEARCHBOX);
                });
            }
        });
    }

  }</script>   <script type="text/javascript">window.COOKIES_STATIC_HOST = 'https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-527.9c2a9a9/cookie-banner/cookie-prompt/';</script><script src="https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-527.9c2a9a9/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//user-activity-helper/9c997d009cb66789369c524505d78067/js/detectview.bundle.js" async=""></script>
                    <!-- Programmes Version: 1500 -->
            </body>
    </html>
"
Source: strip_tags($tmp)
string(1524) "

    
        
        BBC - Programmes
        
        
        
        
        

                        
        document.documentElement.className += ' has-js';
        
                        









/**/// Promise polyfill from https://github.com/bramstein/promis
        (function(){'use strict';var f,g=[];function l(a){g.push(a);1==g.length&&f()}function m(){for(;g.length;)g[0](),g.shift()}f=function(){setTimeout(m)};function n(a){this.a=p;this.b=void 0;this.f=[];var b=this;try{a(function(a){q(b,a)},function(a){r(b,a)})}catch(c){r(b,c)}}var p=2;function t(a){return new n(function(b,c){c(a)})}function u(a){return new n(function(b){b(a)})}function q(a,b){if(a.a==p){if(b==a)throw new TypeError;var c=!1;try{var d=b&&b.then;if(null!=b&&"object"==typeof b&&"function"==typeof d){d.call(b,function(b){c||q(a,b);c=!0},function(b){c||r(a,b);c=!0});return}}catch(e){c||r(a,e);return}a.a=0;a.b=b;v(a)}} function r(a,b){if(a.a==p){if(b==a)throw new TypeError;a.a=1;a.b=b;v(a)}}function v(a){l(function(){if(a.a!=p)for(;a.f.length;){var b=a.f.shift(),c=b[0],d=b[1],e=b[2],b=b[3];try{0==a.a?"function"==typeof c?e(c.call(void 0,a.b)):e(a.b):1==a.a&&("function"==typeof d?e(d.call(void 0,a.b)):b(a.b))}catch(h){b(h)}}})}n.prototype.g=function(a){return this.c(void 0,a)};n.prototype.c=function(a,b){var c=this;return new n(function(d,e){c.f.push([a,b,d,e]);v(c)})}; function w(a){return new n(function(b,c){function d(c){return function(d){h[c]=d;e+=1;e==a.length&&b(h)}}var e=0,h=[];0==a.length&&b(h);for(var k=0;k"
Source: htmlentities($tmp)
string(108493) "<!DOCTYPE html>
<html class="b-reith-sans-font b-header--dark-grey--grey b-footer--black--white " lang="en-GB">
    <head>
        <meta charset="UTF-8">
        <title>BBC - Programmes</title>
        <link rel="icon" href="https://www.bbc.co.uk/favicon.ico" type="image/x-icon"><link rel="shortcut icon" sizes="196x196" href="https://ichef.bbci.co.uk/images/ic/208x208/p01tqv8z.png">
        <link rel="shortcut icon" sizes="128x128" href="https://ichef.bbci.co.uk/images/ic/128x128/p01tqv8z.png">
        <link rel="apple-touch-icon" href="https://ichef.bbci.co.uk/images/ic/80x80/p01tqv8z.png" >
        <link rel="apple-touch-icon" sizes="120x120" href="https://ichef.bbci.co.uk/images/ic/128x128/p01tqv8z.png">
        <link rel="apple-touch-icon" sizes="152x152" href="https://ichef.bbci.co.uk/images/ic/160x160/p01tqv8z.png">

                        
        <script>document.documentElement.className += ' has-js';</script>
        <!-- iSite2 Project (Tenant space): none -->
                        
<!-- Orbit [legacy]: 3.0.0-1192.68e5cda1 -->
<!-- Environment: live -->
<!-- istats Web Module: 0.0.2-527.9c2a9a9 -->
<!-- navid Web Module: 0.2.0-37.c443dcf -->
<!-- useractivityhelper Web Module: 1.0.0-96.82b7659 -->
<!-- cookiebanner Web Module: 0.0.2-527.9c2a9a9 -->
<!-- searchbox Web Module: 3.0.0-188.4770c89 -->
<!-- navpromo Web Module: 3.0.0-165.669bcf8 -->
<!-- reverb Web Module: 1.6.0 -->
<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/3ea556b3c4acb986a0cc517b7d8568f7/css/orb-ltr.min.css"><!--[if (lt IE 9) & (!IEMobile)]>
    <link rel="stylesheet" href="https://nav.files.bbci.co.uk/orbit/3ea556b3c4acb986a0cc517b7d8568f7/css/orb-ie-ltr.min.css">
    <![endif]--><script type="text/javascript">/*<![CDATA[*/
        window.orb = {
            lang: 'en',
            bbcBaseUrl: 'https://www.bbc.co.uk',
            bbcUrlPrefix: 'https://www.',
            staticHost: 'https://nav.files.bbci.co.uk/orbit/3ea556b3c4acb986a0cc517b7d8568f7',
            figUrl: 'https://fig.bbc.co.uk/frameworks/fig/2/fig.js',
            partialCookieOvenUrl: 'https://cookie-oven.api.bbc'
        };

        document.documentElement.className += (document.documentElement.className? ' ' : '') + 'orb-js';
        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>';


     /*]]>*/</script><script>// Promise polyfill from https://github.com/bramstein/promis
        (function(){'use strict';var f,g=[];function l(a){g.push(a);1==g.length&&f()}function m(){for(;g.length;)g[0](),g.shift()}f=function(){setTimeout(m)};function n(a){this.a=p;this.b=void 0;this.f=[];var b=this;try{a(function(a){q(b,a)},function(a){r(b,a)})}catch(c){r(b,c)}}var p=2;function t(a){return new n(function(b,c){c(a)})}function u(a){return new n(function(b){b(a)})}function q(a,b){if(a.a==p){if(b==a)throw new TypeError;var c=!1;try{var d=b&&b.then;if(null!=b&&"object"==typeof b&&"function"==typeof d){d.call(b,function(b){c||q(a,b);c=!0},function(b){c||r(a,b);c=!0});return}}catch(e){c||r(a,e);return}a.a=0;a.b=b;v(a)}} function r(a,b){if(a.a==p){if(b==a)throw new TypeError;a.a=1;a.b=b;v(a)}}function v(a){l(function(){if(a.a!=p)for(;a.f.length;){var b=a.f.shift(),c=b[0],d=b[1],e=b[2],b=b[3];try{0==a.a?"function"==typeof c?e(c.call(void 0,a.b)):e(a.b):1==a.a&&("function"==typeof d?e(d.call(void 0,a.b)):b(a.b))}catch(h){b(h)}}})}n.prototype.g=function(a){return this.c(void 0,a)};n.prototype.c=function(a,b){var c=this;return new n(function(d,e){c.f.push([a,b,d,e]);v(c)})}; function w(a){return new n(function(b,c){function d(c){return function(d){h[c]=d;e+=1;e==a.length&&b(h)}}var e=0,h=[];0==a.length&&b(h);for(var k=0;k<a.length;k+=1)u(a[k]).c(d(k),c)})}function x(a){return new n(function(b,c){for(var d=0;d<a.length;d+=1)u(a[d]).c(b,c)})};window.Promise||(window.Promise=n,window.Promise.resolve=u,window.Promise.reject=t,window.Promise.race=x,window.Promise.all=w,window.Promise.prototype.then=n.prototype.c,window.Promise.prototype["catch"]=n.prototype.g);}());
    
    
        // Polyfill Event constructor for IE ref: https://jira.dev.bbc.co.uk/browse/ORBITEN-919
        // see: https://stackoverflow.com/questions/26596123
        (function () {
          if (typeof window.CustomEvent === "function") {
            return false;
          }
          function CustomEvent(event, params) {
            params = params || { bubbles: false, cancelable: false, detail: undefined };
            var evt = document.createEvent('CustomEvent');
            evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);
            return evt;
          }
          CustomEvent.prototype = window.Event.prototype;
          window.Event = CustomEvent;
        })();
    
    
        //Element.prototype.matches polyfill
        //from https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill
        if (!Element.prototype.matches) {
          Element.prototype.matches = Element.prototype.msMatchesSelector ||
                                      Element.prototype.webkitMatchesSelector;
        }
        //NodeList.forEach Polyfill
        //from https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill
        if (window.NodeList && !NodeList.prototype.forEach) {
          NodeList.prototype.forEach = Array.prototype.forEach;
        }
    
        // Object.assign polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill
        if (typeof Object.assign != 'function') {
          // Must be writable: true, enumerable: false, configurable: true
          Object.defineProperty(Object, "assign", {
            value: function assign(target, varArgs) { // .length of function is 2
              'use strict';
              if (target == null) { // TypeError if undefined or null
                throw new TypeError('Cannot convert undefined or null to object');
              }
    
              var to = Object(target);
    
              for (var index = 1; index < arguments.length; index++) {
                var nextSource = arguments[index];
    
                if (nextSource != null) { // Skip over if undefined or null
                  for (var nextKey in nextSource) {
                    // Avoid bugs when hasOwnProperty is shadowed
                    if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
                      to[nextKey] = nextSource[nextKey];
                    }
                  }
                }
              }
              return to;
            },
            writable: true,
            configurable: true
          });
        }
    
        // window.fetch polyfill https://github.com/github/fetch/blob/v0.11.0/fetch.js - chosen for IE9 compatibility
        if(typeof window.fetch !== 'function') {
          (function(self){"use strict";if(self.fetch){return}function normalizeName(name){if(typeof name!=="string"){name=String(name)}if(/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(name)){throw new TypeError("Invalid character in header field name")}return name.toLowerCase()}function normalizeValue(value){if(typeof value!=="string"){value=String(value)}return value}function Headers(headers){this.map={};if(headers instanceof Headers){headers.forEach(function(value,name){this.append(name,value)},this)}else if(headers){Object.getOwnPropertyNames(headers).forEach(function(name){this.append(name,headers[name])},this)}}Headers.prototype.append=function(name,value){name=normalizeName(name);value=normalizeValue(value);var list=this.map[name];if(!list){list=[];this.map[name]=list}list.push(value)};Headers.prototype["delete"]=function(name){delete this.map[normalizeName(name)]};Headers.prototype.get=function(name){var values=this.map[normalizeName(name)];return values?values[0]:null};Headers.prototype.getAll=function(name){return this.map[normalizeName(name)]||[]};Headers.prototype.has=function(name){return this.map.hasOwnProperty(normalizeName(name))};Headers.prototype.set=function(name,value){this.map[normalizeName(name)]=[normalizeValue(value)]};Headers.prototype.forEach=function(callback,thisArg){Object.getOwnPropertyNames(this.map).forEach(function(name){this.map[name].forEach(function(value){callback.call(thisArg,value,name,this)},this)},this)};function consumed(body){if(body.bodyUsed){return Promise.reject(new TypeError("Already read"))}body.bodyUsed=true}function fileReaderReady(reader){return new Promise(function(resolve,reject){reader.onload=function(){resolve(reader.result)};reader.onerror=function(){reject(reader.error)}})}function readBlobAsArrayBuffer(blob){var reader=new FileReader;reader.readAsArrayBuffer(blob);return fileReaderReady(reader)}function readBlobAsText(blob){var reader=new FileReader;reader.readAsText(blob);return fileReaderReady(reader)}var support={blob:"FileReader"in self&&"Blob"in self&&function(){try{new Blob;return true}catch(e){return false}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};function Body(){this.bodyUsed=false;this._initBody=function(body){this._bodyInit=body;if(typeof body==="string"){this._bodyText=body}else if(support.blob&&Blob.prototype.isPrototypeOf(body)){this._bodyBlob=body}else if(support.formData&&FormData.prototype.isPrototypeOf(body)){this._bodyFormData=body}else if(!body){this._bodyText=""}else if(support.arrayBuffer&&ArrayBuffer.prototype.isPrototypeOf(body)){}else{throw new Error("unsupported BodyInit type")}if(!this.headers.get("content-type")){if(typeof body==="string"){this.headers.set("content-type","text/plain;charset=UTF-8")}else if(this._bodyBlob&&this._bodyBlob.type){this.headers.set("content-type",this._bodyBlob.type)}}};if(support.blob){this.blob=function(){var rejected=consumed(this);if(rejected){return rejected}if(this._bodyBlob){return Promise.resolve(this._bodyBlob)}else if(this._bodyFormData){throw new Error("could not read FormData body as blob")}else{return Promise.resolve(new Blob([this._bodyText]))}};this.arrayBuffer=function(){return this.blob().then(readBlobAsArrayBuffer)};this.text=function(){var rejected=consumed(this);if(rejected){return rejected}if(this._bodyBlob){return readBlobAsText(this._bodyBlob)}else if(this._bodyFormData){throw new Error("could not read FormData body as text")}else{return Promise.resolve(this._bodyText)}}}else{this.text=function(){var rejected=consumed(this);return rejected?rejected:Promise.resolve(this._bodyText)}}if(support.formData){this.formData=function(){return this.text().then(decode)}}this.json=function(){return this.text().then(JSON.parse)};return this}var methods=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function normalizeMethod(method){var upcased=method.toUpperCase();return methods.indexOf(upcased)>-1?upcased:method}function Request(input,options){options=options||{};var body=options.body;if(Request.prototype.isPrototypeOf(input)){if(input.bodyUsed){throw new TypeError("Already read")}this.url=input.url;this.credentials=input.credentials;if(!options.headers){this.headers=new Headers(input.headers)}this.method=input.method;this.mode=input.mode;if(!body){body=input._bodyInit;input.bodyUsed=true}}else{this.url=input}this.credentials=options.credentials||this.credentials||"omit";if(options.headers||!this.headers){this.headers=new Headers(options.headers)}this.method=normalizeMethod(options.method||this.method||"GET");this.mode=options.mode||this.mode||null;this.referrer=null;if((this.method==="GET"||this.method==="HEAD")&&body){throw new TypeError("Body not allowed for GET or HEAD requests")}this._initBody(body)}Request.prototype.clone=function(){return new Request(this)};function decode(body){var form=new FormData;body.trim().split("&").forEach(function(bytes){if(bytes){var split=bytes.split("=");var name=split.shift().replace(/\+/g," ");var value=split.join("=").replace(/\+/g," ");form.append(decodeURIComponent(name),decodeURIComponent(value))}});return form}function headers(xhr){var head=new Headers;var pairs=xhr.getAllResponseHeaders().trim().split("\n");pairs.forEach(function(header){var split=header.trim().split(":");var key=split.shift().trim();var value=split.join(":").trim();head.append(key,value)});return head}Body.call(Request.prototype);function Response(bodyInit,options){if(!options){options={}}this.type="default";this.status=options.status;this.ok=this.status>=200&&this.status<300;this.statusText=options.statusText;this.headers=options.headers instanceof Headers?options.headers:new Headers(options.headers);this.url=options.url||"";this._initBody(bodyInit)}Body.call(Response.prototype);Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url})};Response.error=function(){var response=new Response(null,{status:0,statusText:""});response.type="error";return response};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(url,status){if(redirectStatuses.indexOf(status)===-1){throw new RangeError("Invalid status code")}return new Response(null,{status:status,headers:{location:url}})};self.Headers=Headers;self.Request=Request;self.Response=Response;self.fetch=function(input,init){return new Promise(function(resolve,reject){var request;if(Request.prototype.isPrototypeOf(input)&&!init){request=input}else{request=new Request(input,init)}var xhr=new XMLHttpRequest;function responseURL(){if("responseURL"in xhr){return xhr.responseURL}if(/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())){return xhr.getResponseHeader("X-Request-URL")}return}xhr.onload=function(){var status=xhr.status===1223?204:xhr.status;if(status<100||status>599){reject(new TypeError("Network request failed"));return}var options={status:status,statusText:xhr.statusText,headers:headers(xhr),url:responseURL()};var body="response"in xhr?xhr.response:xhr.responseText;resolve(new Response(body,options))};xhr.onerror=function(){reject(new TypeError("Network request failed"))};xhr.open(request.method,request.url,true);if(request.credentials==="include"){xhr.withCredentials=true}if("responseType"in xhr&&support.blob){xhr.responseType="blob"}request.headers.forEach(function(value,name){xhr.setRequestHeader(name,value)});xhr.send(typeof request._bodyInit==="undefined"?null:request._bodyInit)})};self.fetch.polyfill=true})(typeof self!=="undefined"?self:this);
        }
    
        if (typeof window.CustomEvent !== 'function') {
    
          function CustomEvent(event, params) {
            params = params || { bubbles: false, cancelable: false, detail: null };
            var evt = document.createEvent('CustomEvent');
            evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);
            return evt;
          }
    
          CustomEvent.prototype = window.Event.prototype;
    
          window.CustomEvent = CustomEvent;
    
        }
    
        (function() {
    
            var language = 'en';
                language = 'en';
    
            var modal = false;
    
    
            var istatsLabels = {name: '' || undefined};
    
            function getMetaValue(propertyName) {
              var metaTag = document.querySelector(
                "meta[property='" + propertyName + "'], " +
                "meta[name='" + propertyName + "']");
              if (metaTag) {
                return metaTag.getAttribute("content");
              } else {
                throw new Error('No meta tag called: ' + propertyName)
              }
            }
    
            function generateCountername() {
                if (window.location.protocol === 'file:') {
                  return 'local.file';
                }
    
                var pathName = window.location.pathname
                    .replace(/\/$/, "")
                    .replace(/^\//, "")
                    .replace(/\//g, '.');
                return pathName + '.page';
            }
    
            var additionalPageProperties = {};
                additionalPageProperties['app_name'] = 'programmes';
                additionalPageProperties['custom_var_1'] = '';
                additionalPageProperties['custom_var_2'] = '';
                additionalPageProperties['custom_var_4'] = '';
                additionalPageProperties['custom_var_6'] = 'false';
    
            var page = {
                name: '' || istatsLabels.name || generateCountername(),
                destination: 'programmes_ps' || null,
                producer: 'BBC' || null,
                section: 'programmes-index' || null,
                site: '' || istatsLabels.bbc_site || istatsLabels.app_name || istatsLabels.prod_name || null,
                contentId: 'urn:bbc:pips' || null,
                contentType: 'index-home' || null,
                edition: '' || null,
                additionalProperties: additionalPageProperties
            };
    
            function updatePageData(newData) {
                page = Object.assign(page, newData);
            }
    
            document.addEventListener('bbc-page-reset', function(event) {
                if (event.detail && event.detail.page) {
                    updatePageData(event.detail.page);
                }
                document.dispatchEvent(new Event('bbc-page-updated'));
            });
    
            window.bbcpage = {
                loadModule: function(deps) {
                    return new Promise(function (resolve, reject) {
                        window.require(deps, function () {
                            resolve.apply(this, arguments);
                        },
                        function (error) {
                            reject(error);
                        });
                    })
                },
                loadCSS: function (url, timeout) {
                    return window.bbcpage.loadModule(['orb/lib/_$'])
                        .then(function($) {
                            return new Promise(function(resolve, reject) {
                                var stylesheet = loadCSS(url);
                                $.onloadCSS(stylesheet, function() {
                                    resolve();
                                });
                                if (timeout) {
                                    setTimeout(function () { reject(); }, timeout);
                                }
                            });
                    });
                },
                isModal: function () {
                    return Promise.resolve(modal);
                },
                getLanguage: function () {
                    return new Promise(function(resolve, reject) {
                        resolve(language);
                    });
                },
                trackRegion: function (region, labels) {
                    return window.bbcpage.loadModule(['istats-1'])
                        .then(function(istats) {
    
                            var trackLabels = {
                                region: region
                            };
    
                            for (var label in labels) {
                                trackLabels[label] = labels[label];
                            }
    
                            var linkType = labels.linkType || 'internal';
    
                            istats.track(linkType, trackLabels);
                        });
                },
                getName: function() {
                    return Promise.resolve(page.name);
                },
                getDestination: function() {
                    return Promise.resolve(page.destination);
                },
                getProducer: function() {
                    return Promise.resolve(page.producer);
                },
                getSite: function() {
                    return Promise.resolve(page.site);
                },
                getSection: function() {
                    return Promise.resolve(page.section);
                },
                getContentType: function() {
                    return Promise.resolve(page.contentType);
                },
                getContentId: function() {
                    return Promise.resolve(page.contentId);
                },
                getEdition: function() {
                  return new Promise(function (resolve, reject) {
                    if (page.edition) {
                      resolve(page.edition);
                      return;
                    }
                    try {
                      resolve(getMetaValue('x-audience').toLowerCase());
                    } catch (err){
                      // This property is related to Chartbeat; see http://support.chartbeat.com/docs/
                      if (window._sf_async_config) {
                        resolve(window._sf_async_config.region || null);
                      }
                    }
                    resolve(null);
                  });
                },
                getReferrer: function() {
                  return Promise.resolve(window.orb && window.orb.referrer !== null && window.orb.referrer !== undefined ? window.orb.referrer : document.referrer);
                },
                getAdditionalProperties: function() {
                  return Promise.resolve(page.additionalProperties);
                }
            };
    
            var USERINFO_PREFIX = "www." || "www.";
    
            function initUserCache(orbitUser) {
              var availableAttr = [
                'X-Country',
                'X-Ip_is_advertise_combined',
                'X-Ip_is_uk_combined'
              ];
              var userCache = availableAttr.reduce(function(user, curr, i) {
                if (!orbitUser[curr]) {
                  return user;
                }
                var res = Object.assign({}, user);
                res[curr] = orbitUser[curr];
                return res;
              }, {});
              if (Object.keys(userCache).length !== availableAttr.length) {
                userCache._partial = true;
              }
              return userCache;
            }
    
            var user = initUserCache({
            });
    
            function checkStatus(response) {
              if (response.status >= 200 && response.status < 300) {
                return response;
              } else {
                var error = new Error(response.statusText);
                error.response = response;
                throw error;
              }
            }
    
            function parseJSON(response) {
              return response.json();
            }
    
            var supportsCors = function() {
              return typeof XMLHttpRequest !== 'undefined' &&
                'withCredentials' in new XMLHttpRequest();
            };
    
            var getUserInfoFallback = function() {
              return window.bbcpage.loadModule(['orb/fig'])
                .then(function(orbFig) {
                  return new Promise(function(resolve, reject) {
                    orbFig.load(function(fig) {
                      var getCountryFallback = function() {
                        if (fig.geo.isUK()) {
                          return 'GB';
                        } else if (fig.geo.isEU()) {
                          return 'EU';
                        }
                      };
                      resolve({
                        'X-Country': user.country || getCountryFallback(),
                        'X-Ip_is_uk_combined': fig().uk ? 'yes' : 'no',
                        'X-Ip_is_advertise_combined': fig().ad ? 'yes' : 'no'
                      });
                    }, function () {
                      reject('Error determining country. Timeout?');
                    });
                  });
                });
            };
    
            var _userInfoRequest;
            var getUserInfo = function() {
    
              var host = window.location.host.toString().match(/bbc\.com$/) ? 'bbc.com' : 'bbc.co.uk';
              var userInfoUrl = "https://" + USERINFO_PREFIX + host + '/userinfo';
    
              if (!user._partial) {
                return Promise.resolve(user);
              }
    
              if (!_userInfoRequest) {
                if (typeof window.fetch === 'undefined' || !supportsCors()) {
                  _userInfoRequest = getUserInfoFallback();
                } else {
                  _userInfoRequest = window.fetch(userInfoUrl, { credentials: 'same-origin' })
                    .then(checkStatus)
                    .then(parseJSON)
                    .then(function(userInfo) {
                      user = userInfo;
                      return user;
                    });
                }
              }
    
              return _userInfoRequest;
            };
    
            var USER_PROFILE_URL = "https://www.bbc.co.uk/userprofile";;
            var _helloRequest;
            var getSegmentations = function() {
    
              if (user.ageBand) {
                return Promise.resolve(user);
              }
    
              if (!_helloRequest) {
                if (typeof window.fetch === 'undefined' || !supportsCors()) {
                  return Promise.resolve(user);
                } else {
    
                  _helloRequest = window.bbcpage.loadModule(['idcta-v2/idcta-1']).then(function(idcta) {
                    return idcta.initiateTokenRefresh().then(function() {
                      return window.fetch(USER_PROFILE_URL, { credentials: 'include' })
                        .then(checkStatus)
                        .then(parseJSON)
                        .then(function(profileInfo) {
                          Object.assign(user, profileInfo);
                          return user;
                        });
                      });
                  });
    
                }
              }
    
              return _helloRequest;
            };
    
            window.bbcuser = {
                getHashedId: function() {
                    return window.bbcpage.loadModule(['idcta-v2/idcta-1'])
                        .then(function(idcta) {
                            return idcta.getCookieInstance().getHidFromCookie();
                    });
                },
    
                getAgeBand: function() {
                    if (user['X-Age-Band']) {
                        return Promise.resolve(user['X-Age-Band']);
                    }
    
                    return bbcuser.isSignedIn().then(function(isSignedIn) {
                        if (isSignedIn) {
                            return window.bbcpage.loadModule(['idcta-v2/idcta-1'])
                                .then(function(idcta) {
                                    user['X-Age-Band'] = idcta.getUserDetailsFromCookie().ab;
                                    if (user['X-Age-Band'] === 'u13') {
                                        user['X-Age-Band'] = '0-12';
                                        return user['X-Age-Band'];
                                    } else if (user['X-Age-Band'] === 'u16') {
                                        user['X-Age-Band'] = '13-15';
                                        return user['X-Age-Band'];
                                    } else if (user['X-Age-Band'] === 'u18') {
                                        user['X-Age-Band'] = '16-17';
                                        return user['X-Age-Band'];
                                    } else {
                                        user['X-Age-Band'] = undefined;
                                        return getSegmentations().then(function(userInfo) {
                                            user['X-Age-Band'] = userInfo['X-Age-Band'];
                                            return user['X-Age-Band'] || undefined;
                                        }).catch(function(error) {
                                            return user['X-Age-Band'] || undefined;
                                        });
                                    }
                                });
    
                        } else {
                            return undefined;
                        }
                    });
                },
    
                getCountry: function() {
                    if (user['X-Country']) {
                        return Promise.resolve(user['X-Country']);
                    }
                    return getUserInfo().then(function(userInfo) {
                        return userInfo['X-Country'] || 'GB';
                    });
                },
    
                isUKCombined: function() {
                    return getUserInfo().then(function(userInfo) {
                        if (!userInfo['X-Ip_is_uk_combined']) {
                            throw new Error('missing isUKCombined from userinfo response');
                        }
                        return userInfo['X-Ip_is_uk_combined'].toLowerCase() === 'yes';
                    })
                },
    
                canSeeAdverts: function() {
                    return getUserInfo().then(function(userInfo) {
                        if (!userInfo['X-Ip_is_advertise_combined']) {
                            throw new Error('missing canSeeAdverts from userinfo response');
                        }
                        return userInfo['X-Ip_is_advertise_combined'].toLowerCase() === "yes";
                    });
                },
    
                isSignedIn: function() {
                    return window.bbcpage.loadModule(['idcta-v2/idcta-1'])
                        .then(function(idcta) {
                            return (idcta && idcta.getCookieInstance().hasCookie());
                        });
                },
                allowsPerformanceCookies: function() {
                    return window.bbcpage.loadModule(['orb/cookies'])
                            .then(function(bbccookies) {
                                return !!bbccookies.cookiesEnabled() && !!bbccookies.readPolicy('performance');
                            });
                },
                allowsFunctionalCookies: function() {
                    return window.bbcpage.loadModule(['orb/cookies'])
                            .then(function(bbccookies) {
                                return !!bbccookies.cookiesEnabled() && !!bbccookies.readPolicy('personalisation');
                            });
                },
                getCookieValue: function(cookieName) {
                    return window.bbcpage.loadModule(['orb/cookies'])
                            .then(function(bbccookies) {
                                return bbccookies.get(cookieName);
                            });
                },
                resetCookiesPreferences: function() {
                    return window.bbcpage.loadModule(['orb/cookies'])
                            .then(function(bbccookies) {
                                bbccookies.setDefaultCookiesSingleDomain();
                            });
                },
                hasCookiesEnabled: function() {
                    return window.bbcpage.loadModule(['orb/cookies'])
                            .then(function(bbccookies) {
                                return !!bbccookies.cookiesEnabled();
                            });
                },
                hasSeenCookieBanner: function() {
                    return window.bbcpage.loadModule(['orb/cookies'])
                            .then(function (bbccookies) {
                                return !!bbccookies.isCookiePolicySet();
                            });
                },
                logEvent: function (verb, noun, extraLabels) {
                    return window.bbcuser.hasCookiesEnabled()
                        .then(function(allowsCookies) {
                            if (allowsCookies) {
                                return window.bbcpage.loadModule(['istats-1'])
                                    .then(function(istats) {
                                        istats.log(verb, noun, extraLabels);
                                    });
                            } else {
                                throw new Error('User cannot be tracked due to cookies preferences.');
                            }
                        });
                },
            };
    
        }());</script><script src="https://nav.files.bbci.co.uk/orbit/3ea556b3c4acb986a0cc517b7d8568f7/js/require.min.js"></script>   <script src="https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-527.9c2a9a9/cookie-banner/cookie-library.min.js"></script><script type="text/javascript">if (window.define !==  undefined) {
        define('orb/cookies', function() {
          return window.bbccookies;
        });
      }</script>     <script src="https://nav.files.bbci.co.uk/orbit/3ea556b3c4acb986a0cc517b7d8568f7/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-527.9c2a9a9/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="unknown";a.setCountername(s),window.istats_countername&&a.setCountername(window.istats_countername),a.addLabels("ml_name=webmodule&ml_version=0.0.2-527.9c2a9a9&blq_e=orbit&blq_r=orbit&blq_s=orbit&blq_v=default&language=en")}var o});</script><link rel="stylesheet" href="https://static.files.bbci.co.uk/account/id-cta/1.50.0/style/id-cta.css"><!--[if IE 8]><link href="https://static.files.bbci.co.uk/account/id-cta/1.50.0/style/ie8.css" rel="stylesheet"/> <![endif]--><script type="text/javascript">(function() {if (!window.require) {throw new Error('idcta: could not find require module');}if (typeof(map) == 'undefined') {var map = {};}if (!!document.createElementNS && !!document.createElementNS('http://www.w3.org/2000/svg', 'svg').createSVGRect) {document.documentElement.className += ' id-svg';}var ptrt = new RegExp("[\\?&]ptrt=([^&]*)").exec(document.location.href);var ENDPOINT_URL = 'https://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://static.files.bbci.co.uk/account/id-cta/1.50.0/modules/idcta-v2';map['idcta-v2/config'] = ENDPOINT_URL + ENDPOINT_CONFIG;map['idcta-v2/translations'] = ENDPOINT_URL + ENDPOINT_TRANSLATIONS;map['idcta'] = 'https://static.files.bbci.co.uk/account/id-cta/1.8.2/modules/idcta';map['idcta-v2/idcta-1'] = 'https://static.files.bbci.co.uk/account/id-cta/1.50.0/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 --><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/4.8.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() {}, isThirdPartyDisabled: function() {}, isThirdPartyDisabledEU: function() {}, setEU: function() {} }, survey: { init: function(){ return false; } }, data: {}, init: function() {}, objects: function(str) { return false; }, locale: { set: function() {}, get: function() {} }, setAdKeyValue: function() {}, utils: { addEvent: function() {}, addHtmlTagClass: function() {}, log: function () {} }, addLoadEvent: function() {} }; /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function(){ if (typeof orb !== 'undefined' && typeof orb.fig === 'function') { if (orb.fig('ad') && orb.fig('uk') == 0) { bbcdotcom.data = { ads: (orb.fig('ad') ? 1 : 0), stats: (orb.fig('uk') == 0 ? 1 : 0), statsProvider: orb.fig('ap') }; } } else { document.write('<script type="text/javascript" src="https://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/4.8.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/4.8.0/script/dist/bbcdotcom.dev.js">\x3C/script>'); } else { document.write('<script type="text/javascript" src="https://static.bbc.co.uk/bbcdotcom/4.8.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,"thirdPartyDisabled":false,"sherlockEnabled":false,"permutiveEnabled":false,"appName":"","assetPrefix":"https:\/\/static.bbc.co.uk\/bbcdotcom\/4.8.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":"4.8.0","staticPrefix":"https:\/\/static.bbc.co.uk\/bbcdotcom\/4.8.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/4.8.0/"); bbcdotcom.config.setVersion("4.8.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">/*<![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[*/ if (window.bbcdotcom && bbcdotcom.config && bbcdotcom.config.isPermutiveEnabled && bbcdotcom.config.isPermutiveEnabled() && bbcdotcom.config.isWorldService && !bbcdotcom.config.isWorldService()){ (function () { !function(n,e,o,r,i){if(!e){e=e||{},window.permutive=e,e.q=[],e.config=i||{},e.config.projectId=o,e.config.apiKey=r,e.config.environment=e.config.environment||"production";for(var t=["addon","identify","track","trigger","query","segment","segments","ready","on","once","user","consent"],c=0;c<t.length;c++){var f=t[c];e[f]=function(n){return function(){var o=Array.prototype.slice.call(arguments,0);e.q.push({functionName:n,arguments:o})}}(f)}}}(document,window.permutive,"e488cdb0-e7cb-4d91-9648-60d437d8e491","1bb84885-9325-4fef-adda-a208032b2715",{"consentRequired":true}); bbcdotcomScripts.push({src:'https://cdn.permutive.com/e488cdb0-e7cb-4d91-9648-60d437d8e491-web.js'}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ /** * ASYNC waits to make any gpt requests until the bottom of the page */ if ( window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.ads && bbcdotcom.data.ads == 1 && bbcdotcom.config && bbcdotcom.config.isAsync && bbcdotcom.config.isAsync() && bbcdotcom.config.isAdsEnabled && bbcdotcom.config.isAdsEnabled() ) { (function () { bbcdotcomScripts.push({src:'https://securepubads.g.doubleclick.net/tag/js/gpt.js'}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ /* Load Lotame, Grapeshot and GPT without blocking rendering but executing in order */ if ( window.bbcdotcom && bbcdotcom.config && bbcdotcomScripts.length > 0 ) { (function () { bbcdotcom.checkThirdPartyFirst(function(){ if (!bbcdotcom.config.isThirdPartyDisabledEU()){ bbcdotcomScripts.forEach(function(item) { var script = document.createElement('script'); script.async = false; if(item.id) script.id = item.id; script.src = item.src; document.head.appendChild(script); }); } }); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.head = true; }()); /*]]>*/</script>     <script type="text/javascript">// Globally available search context
  window.SEARCHBOX={"variant":"default","locale":"en","feature":"legacy,","navSearchboxStaticPrefix":"https://nav.files.bbci.co.uk/searchbox/8d701d9ddfac3cf2ef53d86ac7eda36c/","searchboxAppStaticPrefix":"https://nav.files.bbci.co.uk/searchbox/8d701d9ddfac3cf2ef53d86ac7eda36c/drawer","searchFormHtml":"<div tabindex=\"-1\"><div><section class=\"se-searchbox-panel\"><div class=\"se-g-wrap\"><div class=\"se-g-layout\"><div class=\"se-g-layout__item se-searchbox-title\" aria-hidden=\"true\">search</div><div class=\"se-g-layout__item se-searchbox\"><form accept-charset=\"utf-8\" id=\"searchboxDrawerForm\" method=\"get\" action=\"https://search.bbc.co.uk/search\"><label class=\"se-searchbox__input\" for=\"se-searchbox-input-field\"><span class=\"se-sr-only\">Search Term</span><div><input type=\"text\" name=\"q\" value=\"\" id=\"se-searchbox-input-field\" class=\"se-searchbox__input__field\" maxLength=\"100\" autoComplete=\"off\" autoCorrect=\"off\" autoCapitalize=\"off\" spellcheck=\"false\" tabindex=\"0\"/></div></label><input type=\"hidden\" name=\"scope\" value=\"\"/><button type=\"submit\" class=\"se-searchbox__submit\" tabindex=\"0\" data-bbc-container=\"se-searchbox-panel\" data-bbc-title=\"search-icon\" data-bbc-metadata=\"{&quot;PAR&quot;:&quot;form::1&quot;,&quot;CHD&quot;:&quot;button::1&quot;}\" data-bbc-personalisation=\"{&quot;QRY&quot;:&quot;&quot;}\">Search</button><button type=\"button\" class=\"se-searchbox__clear se-searchbox__clear--visible\" tabindex=\"0\" data-bbc-container=\"se-searchbox-panel\" data-bbc-title=\"clear-icon\" data-bbc-metadata=\"{&quot;PAR&quot;:&quot;form::1&quot;,&quot;CHD&quot;:&quot;button::2&quot;}\" data-bbc-personalisation=\"{&quot;QRY&quot;:&quot;&quot;}\">Close</button></form></div></div></div></section><div aria-live=\"polite\" aria-atomic=\"true\" class=\"se-suggestions-container\"><section class=\"se-g-wrap\"></section></div></div></div>","searchScopePlaceholder":"","searchScopeParam":"","searchScopeTemplate":"","searchPlaceholderWrapperStart":"","searchPlaceholderWrapperEnd":""};
  window.SEARCHBOX.suppress = false;
  window.SEARCHBOX.searchScope = SEARCHBOX.searchScopeTemplate.split('-')[0];</script><link rel="stylesheet" href="https://nav.files.bbci.co.uk/searchbox/8d701d9ddfac3cf2ef53d86ac7eda36c/css/main.css"><!--[if IE 8]>
  <script type="text/javascript" src="https://nav.files.bbci.co.uk/searchbox/8d701d9ddfac3cf2ef53d86ac7eda36c/script/html5shiv.min.js"></script>
  <script type="text/javascript">window['searchboxIEVersion'] = 8;</script>
  <link rel="stylesheet" href="https://nav.files.bbci.co.uk/searchbox/8d701d9ddfac3cf2ef53d86ac7eda36c/css/ie8.css">
<![endif]--><!--[if IE 9]>
  <script type="text/javascript">window['searchboxIEVersion'] = 9;</script>
<![endif]-->   <script type="text/javascript">"use strict";!function(){window.__reverbStaticLocation="https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/",window.__smarttagVersion="5.22.0",window.__reverb={},window.__reverb.__reverbLoadedPromise=new Promise(function(e,n){window.__reverb.__resolveReverbLoaded=e,window.__reverb.__rejectReverbLoaded=n}),window.__reverb.__reverbTimeout=setTimeout(function(){window.__reverb.__rejectReverbLoaded()},5e3);var n=function(r,d){window.__reverb.__reverbLoadedPromise.then(function(e){if(r&&r.detail){var n=r.detail.label,t=r.detail.type,i=r.detail.elem,o=r.detail.originalEvent;r.detail.isClick&&(d=r.detail.isClick),e.userActionEvent(t,n,r.detail,i,o,d)}},function(){console.log("Reverb failed to load. Event not sent")})};document.addEventListener("bbc-user-event",function(e){n(e,!1)}),document.addEventListener("bbc-user-click",function(e){n(e,!0)}),document.addEventListener("bbc-page-updated",function(){window.__reverb.__reverbLoadedPromise.then(function(e){e.initialise().then(function(){return e.viewEvent()})},function(){console.log("Reverb failed to load. Event not sent")})})}();</script><script type="text/javascript" src="https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/reverb-1.6.0.js" async=""></script><script type="text/javascript">window.__detectview={clickManagementEnabled:false};</script>
                <!-- BRANDINGID: br-00001 -->
        <!--[if (gt IE 8)|!(IE)]><!-->
        <link rel="stylesheet" href="//branding.files.bbci.co.uk/branding/live/css/3873b0eafbe744ce318dd297440755e7.css" />
        <!--<![endif]-->

        <!--[if (lt IE 9)&(!IEMobile)]>
        <link rel="stylesheet" href="//branding.files.bbci.co.uk/branding/live/css/d1ac58194e455e894a833774f15c08d1.css" />
        <![endif]-->

        <script>require({paths: {'msi/content-loader': "//rmp.files.bbci.co.uk/radio-msi/latest"}});</script>

        <script>
            requirejs.config({
                "paths": {
                    'jquery-1.9': "https://static.bbci.co.uk/frameworks/jquery/0.4.1/sharedmodules/jquery-1.9.1",
                    'rv-bootstrap': "https://programmes.files.bbci.co.uk/programmes-frontend/js/rv-bootstrap-5faf60a64a",
                    'timezone-notification': "https://programmes.files.bbci.co.uk/programmes-frontend/js/timezone-notification-9476b56a8c",
                    'episode-guide': "https://programmes.files.bbci.co.uk/programmes-frontend/js/episode-guide-4b10409449",
                    'gallery': "https://programmes.files.bbci.co.uk/programmes-frontend/js/gallery-ad3f898914",
                    'picturefill': "https://programmes.files.bbci.co.uk/programmes-frontend/js/picturefill-29a13ac5b6",
                    'popup': "https://programmes.files.bbci.co.uk/programmes-frontend/js/popup-e49f2a49fe",
                    'snippets': "https://programmes.files.bbci.co.uk/programmes-frontend/js/snippets-880261e455",
                    'bump-3': "//emp.bbci.co.uk/emp/bump-3/bump-3",
                    'smp/smpFactory': "https://programmes.files.bbci.co.uk/programmes-frontend/js/smp/smpFactory-f57a2ab390",
                    'stream': "https://programmes.files.bbci.co.uk/programmes-frontend/js/stream-39232e1207",
                    'smp/smp': "https://programmes.files.bbci.co.uk/programmes-frontend/js/smp/smp-b7f0d4bec6",
                    'smp/recommendationsBump': "https://programmes.files.bbci.co.uk/programmes-frontend/js/smp/recommendationsBump-0c44d8e33c",
                    'smp/uasService': "https://programmes.files.bbci.co.uk/programmes-frontend/js/smp/uasService-8116e5dab1",
                    'cookieStore': "https://programmes.files.bbci.co.uk/programmes-frontend/js/cookieStore",
                    'uasclient': "https://static.bbc.co.uk/uasclient/0.1.42/modules/uasclient",
                    'relay-1': "https://static.bbc.co.uk/frameworks/relay/0.2.6/sharedmodules/relay-1",
                    'policy-service': "https://programmes.files.bbci.co.uk/programmes-frontend/js/policy-service-c495418b29",
                    'third-party': "https://programmes.files.bbci.co.uk/programmes-frontend/js/third-party-4cc5ca32e8",
                    'kite': 'https://downloads.bbc.co.uk/interactive/embed/',
                },
                "priority": ['jquery-1.9', 'rv-bootstrap', 'timezone-notification'],
                "map": {
                    "*": {
                        "jquery": "jquery-1.9"
                    }
                }
            });
        </script>

        <!--[if (gt IE 8)|!(IE)]><!-->
            <link rel="stylesheet" href="https://programmes.files.bbci.co.uk/programmes-frontend/css/ds2013-f937429cb4.css" />
        <!--<![endif]-->
        <!--[if (lt IE 9)&(!IEMobile)]>
            <link rel="stylesheet" href="https://programmes.files.bbci.co.uk/programmes-frontend/css/ds2013-ie-d7a1cef88d.css" />
        <![endif]-->
        <style>
    @-webkit-keyframes FLASH {
        0%   { color: inherit; }
        10%   { color: #ffffff; }
        100% { color: inherit }
    }

    @keyframes FLASH {
        0%   { color: inherit; }
        10%   { color: #ffffff; }
        100% { color: inherit }
    }

    .js-flash {
        -webkit-animation: FLASH 2s ease-in;
        animation: FLASH 2s ease-in;
    }

    @media (min-width: 600px) {
        .home-intro { padding-top: 64px; }
    }
</style>

        
                <link rel="canonical" href="https://www.bbc.co.uk/programmes">        <meta name="theme-color" content="#2B2B2B">
                    <meta name="description" content="">
            <meta property="og:description" content="">
        <meta property="fb:pages" content="6025943146,7397061762,7519460786,7833211321,8244244903,8251776107,8585725981,21750735380,80758950658,125309456546,130593816777,154344434967,228735667216,260212261199,260967092113,294662213128,295830058648,304314573046,401538510458,107909022566650,118883634811868,129044383774217,156060587793370,156400551056385,163571453661989,168895963122035,185246968166196,193022337414607,193435954068976,194575130577797,215504865453262,239931389545417,273726292719943,283348121682053,286567251709437,292291897588734,310719525611571,317278538359186,413132078795966,470911516262605,512423982152360,647687225371774,658551547588605,742734325867560,944295152308991,958681370814419,1143803202301544,1159932557403143,1392506827668140,1411916919051820,1477945425811579,1659215157653827,1731770190373618"><meta property="og:site_name" content="BBC">
        <meta property="og:title" content="BBC - Programmes">
        <meta property="og:type" content="website">
        <meta property="og:url" content="https://www.bbc.co.uk/programmes">        <meta property="og:image" content="https://ichef.bbci.co.uk/images/ic/1200x675/p01tqv8z.png">            <meta name="twitter:card" content="summary_large_image">
        <meta name="msapplication-square150x150logo" content="https://ichef.bbci.co.uk/images/ic/272x272/p01tqv8z.png">
    </head>
    <body id="top">
        <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=programmes-index::unknown&x1=[urn:bbc:pips]&x2=[responsive]&x3=[bbc_website]&x4=[en]&x7=[index-home]&x8=[reverb-1.6.0-nojs]&x11=[programmes_ps]&x12=[BBC]" height="1" width="1" alt=""></p></noscript>   <!-- BBCDOTCOM bodyFirst --><div id="bbccom_interstitial_ad" class="bbccom_display_none"></div><div id="bbccom_interstitial" class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ (function() { if (window.bbcdotcom && bbcdotcom.config.isAdsEnabled()) { googletag.cmd.push(function() { googletag.display('bbccom_interstitial'); }); } }()); /*]]>*/</script></div><div id="bbccom_wallpaper_ad" class="bbccom_display_none"></div><div id="bbccom_wallpaper" class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ (function() { var wallpaper; if (window.bbcdotcom && bbcdotcom.config.isAdsEnabled()) { if (bbcdotcom.config.isAsync()) { googletag.cmd.push(function() { googletag.display('bbccom_wallpaper'); }); } else if (typeof googletag !== "undefined" && typeof googletag.display === "function") { googletag.display("wallpaper"); } wallpaper = bbcdotcom.adverts.adRegister.getAd('wallpaper'); } }()); /*]]>*/</script></div><script type="text/javascript">/*<![CDATA[*/ (function() { if (window.bbcdotcom && bbcdotcom.config.isAdsEnabled()) { document.write(unescape('%3Cscript id="gnlAdsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } if (window.bbcdotcom && bbcdotcom.config.isAnalyticsEnabled()) { document.write(unescape('%3Cscript id="gnlAnalyticsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } }()); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.bodyFirst = true; }()); /*]]>*/</script>   <div id="cookiePrompt"></div>   <!--[if (gt IE 8) | (IEMobile)]><!--><header id="orb-banner" role="banner" aria-label="BBC"><!--<![endif]--><!--[if (lt IE 9) & (!IEMobile)]>
            <![if (IE 8)]>
                <header id="orb-banner" role="banner" class="orb-old-ie orb-ie8" aria-label="BBC">
            <![endif]>

            <![if (IE 7)]>
                <header id="orb-banner" role="banner" class="orb-old-ie orb-ie7" aria-label="BBC">
            <![endif]>

            <![if (IE 6)]>
                <header id="orb-banner" role="banner" class="orb-old-ie orb-ie6" aria-label="BBC">
            <![endif]>
        <![endif]--><div id="orb-header" class="orb-nav-pri orb-nav-pri-white orb-nav-empty" dir="ltr"><div class="orb-nav-pri-container b-r b-g-p"><div class="orb-nav-section orb-nav-blocks"><a href="https://www.bbc.co.uk">Homepage</a></div><section><div class="orb-skip-links"><h2>Accessibility links</h2><ul><li><a href="#programmes-content">Skip to content</a></li><li><a id="orb-accessibility-help" href="https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li></ul></div></section><div id="mybbc-wrapper" class="orb-nav-section orb-nav-id orb-nav-focus orb-nav-id-default">  <div id="idcta-statusbar" class="orb-nav-section orb-nav-focus" data-bbc-container="id-cta" data-bbc-event-type="click" data-bbc-ignore-views="1" data-bbc-metadata="{&quot;id-cta-type&quot;: &quot;statusbar-orb&quot;}" data-bbc-source="responsive_web" data-bbc-title="id-cta-sign-in"><a id="idcta-link" href="https://account.bbc.com/account"><span id="idcta-username">BBC Account</span></a></div><script type="text/javascript">require(['idcta/statusbar'], function (statusbar) {new statusbar.Statusbar({id: 'idcta-statusbar', publiclyCacheable: true});});</script><!-- Because we are now loading the notification bell CSS asynchronously, we need this inline style hack to ensure that the notification div 
		 is hidden by default, and shown only if and when the bell code is loaded from notification-ui --><a id="notification-link" class="js-notification-link animated three" href="#" style="display: none"><span class="hidden-span">Notifications</span><div class="notification-link--triangle"></div><div class="notification-link--triangle"></div><span id="not-num"></span></a>   </div><nav role="navigation" aria-label="BBC" class="orb-nav"><div class="orb-nav-section orb-nav-links orb-nav-focus" id="orb-nav-links"><ul><li class="orb-nav-home"><a href="https://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-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" 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><label for="orb-search-q">Search the BBC</label><input id="orb-search-q" type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" maxlength="100" name="q" placeholder="Search"><button id="orb-search-button" class="orb-search__button">Search the BBC</button><input type="hidden" name="suggid" id="orb-search-suggid"></div></form> </div></div><div id="orb-panels"></div></div></header>  <!-- Styling hook for shared modules only -->
<div id="orb-modules">
    

                <div class="br-container">
                        <div class="br-container__inner">
                                    <div class="br-masthead" id="br-masthead"><div class="br-masthead__inner">
                                
        
    <div class="b-g-p br-masthead__main br-masthead__main--small">
        <div class="br-masthead__title">
            <a href="/programmes">
                <span class="br-masthead__pagetitle">Programmes</span>
            </a>
        </div>
    </div>                            <div class="b-g-p"><div id="br-nav-programme" class="br-nav br-box-highlight br-highlight-bg-onbg080"><ul class="br-nav__list"><li class="br-nav__item"><a class="br-nav__link" href="/programmes">Home</a></li><li class="br-nav__item"><a class="br-nav__link" href="/programmes/a-z">A-Z</a></li><li class="br-nav__item"><a class="br-nav__link" href="/programmes/genres">Genres</a></li><li class="br-nav__item"><a class="br-nav__link" href="/programmes/formats">Formats</a></li><!--BRANDING_PLACEHOLDER_NAV_END--></ul></div></div><script type="text/javascript">
        define("branding-responsive-nav",[],function(){var e=function(e){this.setOptions(e)};return e.prototype={options:{},setOptions:function(e){var t={more_link_text:e&&e.more_link_text?e.more_link_text:"More"};this.options=t},getOptions:function(){return this.options},init:function(){function e(){var e=t.getWindowWidth(),n=t.getWindowHeight();(e!=i||n!=o)&&null!==t.local_nav_bar&&(t.processingNavigation=!1,t.processNavigation()),i=e,o=n}var t=this,n=null,i=this.getWindowWidth(),o=this.getWindowHeight();t.setupNavigation(),this.addListener(window,"resize",function(){clearTimeout(n),n=setTimeout(e,300)})},getWindowWidth:function(){var e=0;return"number"==typeof window.innerWidth?e=window.innerWidth:document.documentElement&&document.documentElement.clientWidth?e=document.documentElement.clientWidth:document.body&&document.body.clientWidth&&(e=document.body.clientWidth),e},getWindowHeight:function(){var e=0;return"number"==typeof window.innerHeight?e=window.innerHeight:document.documentElement&&document.documentElement.clientHeight?e=document.documentElement.clientHeight:document.body&&document.body.clientHeight&&(e=document.body.clientHeight),e},addListener:function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},setupNavigation:function(){if(this.local_nav_bar=document.getElementById("br-nav-programme"),null!==this.local_nav_bar){var e=document.createElement("button");e.className="br-nav__morelink br-box-highlight";var t=document.createTextNode(this.getOptions().more_link_text);e.appendChild(t),e.id="more-link",this.local_nav_bar.insertBefore(e,this.local_nav_bar.firstChild);var n=document.createElement("ul");n.id="more-list",n.className="br-nav__more br-nav__list",this.local_nav_bar.appendChild(n),this.addListener(e,"click",function(){-1!==e.className.indexOf("open")?(e.className=e.className.replace("open",""),n.className=n.className.replace("open","")):(e.className+=" open",n.className+=" open")}),t=null,this.processNavigation()}},processingNavigation:!1,processNavigation:function(){if(null!==this.local_nav_bar){var e=document.getElementById("more-link"),t=this.local_nav_bar.getElementsByTagName("ul");t=t[0];var n=t.getElementsByTagName("li"),i=n[0];this.processingNavigation=!0;var o=document.getElementById("more-list");if(null!==o)for(;o.hasChildNodes();)t.appendChild(o.firstChild);if(!this._navIsTooLong(t,i))return e.className=e.className.replace("visible",""),void(e=t=n=i=o=null);for(e.className=e.className.replace("visible",""),e.className+=" visible";this._navIsTooLong(t,i)&&this.processingNavigation;)this._moveLastNavItem();e=t=n=i=o=null}},_moveLastNavItem:function(){var e=this.local_nav_bar.getElementsByTagName("ul")[0],t=document.getElementById("more-list");t.insertBefore(e.lastChild,t.firstChild),e=nav_items=last_item=t=null},_navIsTooLong:function(e,t){var n=e.getElementsByTagName("li"),i=n.length>1&&e.offsetHeight>t.scrollHeight;return n=null,i}},e});
        /*<![CDATA[*/
        require(['branding-responsive-nav'],function(responsiveNav){
            var nav = new responsiveNav({
                'more_link_text' : 'More'
            });
            nav.init();
        });
        /*]]>*/
    </script>                    </div></div>
                

        <div class="programmes-page text-base programmes-page--flush br-box-page" role="main">
            <div id="programmes-content" class="skip-to-content-destination" tabindex="-1">Main content</div>
            <h1 class="visually-hidden">Programmes</h1>

<div class="delta no-margin">
    <div class="br-box-highlight">
        <div class="programmes-page b-g-p home-intro">
            <p class="alpha deemphasize text--center"><span data-count="6245288">6,245,288</span> total programmes & groups</p>
        </div>

        <div class="programmes-page g-c-l">
            <div class="br-box-highlight island text--prose component">
                <p>Welcome to BBC Programmes, a permanent rolling record of <strong>everything</strong> on BBC Television and Radio.
                    Since October 2007 this site has created a permanent, findable web presence for every programme the BBC has broadcast,
                    with some programmes being populated as far back as <a href="/programmes/b006qnmr/broadcasts/1942/01">1942</a>.</p>
                <p>Whether you're looking for <a href="/programmes/b006qpgr">the world's longest running soap opera</a>,
                    want to know about <a href="/programmes/p026vg04">nature</a>,
                    to find a <a href="/programmes/b04v1zq9">tracklist</a>,
                    or some <a href="/programmes/b008ncn6">classic comedy</a> it's all here. With <a href="/programmes/p021x88c">clips</a>,
                    <a href="/programmes/p01nw9wb">galleries</a>,
                    <a href="/programmes/b00vk2lp/episodes/guide">episode guides</a>,
                    <a href="/programmes/profiles/4LHmt9VKqXq37pHWlQ38vsS/the-twelfth-doctor">character profiles</a> and even <a href="/programmes/articles/1g84m0sXpnNCv84GpN2PLZG/the-hitchhikers-guide-to-the-galaxy-game-30th-anniversary-edition">games</a>
                    there's a lifetime of content to explore.</p>
                <p>Get started by searching for a programme, browsing the <a href="/programmes/a-z/by/a">A-Z</a>, or choosing a <a href="/programmes/genres">genre</a>.</p>
            </div>
        </div>
    </div>

    <div class="b-g-p programmes-page" id="services">
        <h2>Schedules</h2>

        <div class="grid-wrapper">
            <div class="grid 1/4@bpw2 1/4@bpe">
                <h3 class="gamma--keyline br-keyline">TV</h3>
                <ul class="list-unindented columns columns--2@bpb2 columns--2@bpw columns--1@bpw2 columns--1@bpe" data-list="tv-networks">
                                            <li><a href="/schedules/p00fzl6p">BBC One</a></li>
                                            <li><a href="/schedules/p00fzl97">BBC Two</a></li>
                                            <li><a href="/schedules/p00fzl95">BBC Three</a></li>
                                            <li><a href="/schedules/p00fzl6b">BBC Four</a></li>
                                            <li><a href="/schedules/p00fzl9r">CBBC</a></li>
                                            <li><a href="/schedules/p00fzl9s">CBeebies</a></li>
                                            <li><a href="/schedules/p00fzl6g">BBC News Channel</a></li>
                                            <li><a href="/schedules/p00fzl73">BBC Parliament</a></li>
                                            <li><a href="/schedules/p00fzl67">BBC ALBA</a></li>
                                            <li><a href="/schedules/p00fzl9j">BBC World News</a></li>
                                            <li><a href="/schedules/p020dmkf">S4C</a></li>
                                            <li><a href="/schedules/p082fsm3">BBC Hindi TV</a></li>
                                            <li><a href="/schedules/p071wj53">BBC Marathi TV</a></li>
                                            <li><a href="/schedules/p06kvypx">BBC Scotland</a></li>
                                    </ul>
            </div>
            <div class="grid 1/2@bpw2 1/2@bpe">
                <h3 class="gamma--keyline br-keyline">National Radio</h3>
                <ul class="list-unindented columns columns--2@bpb2 columns--2@bpw" data-list="national-radio-networks">
                                            <li><a href="/schedules/p078jk57">Radio Glastonbury</a></li>
                                            <li><a href="/schedules/p00fzl86">Radio 1</a></li>
                                            <li><a href="/schedules/p00fzl64">Radio 1Xtra</a></li>
                                            <li><a href="/schedules/p00fzl8v">Radio 2</a></li>
                                            <li><a href="/schedules/p02hyyrj">Radio 2 Country</a></li>
                                            <li><a href="/schedules/p02q2ldk">Radio 2 Eurovision</a></li>
                                            <li><a href="/schedules/p031h0bc">Music Jazz</a></li>
                                            <li><a href="/schedules/p00fzl8t">Radio 3</a></li>
                                            <li><a href="/schedules/p00fzl7j">Radio 4</a></li>
                                            <li><a href="/schedules/p00fzl7l">Radio 4 Extra</a></li>
                                            <li><a href="/schedules/p00fzl7g">Radio 5 live</a></li>
                                            <li><a href="/schedules/p00fzl7h">Radio 5 live sports extra</a></li>
                                            <li><a href="/schedules/p00fzl65">Radio 6 Music</a></li>
                                            <li><a href="/schedules/p00fzl68">Asian Network</a></li>
                                            <li><a href="/schedules/p00fzl9p">World Service</a></li>
                                            <li><a href="/schedules/p0572jvl">Radio 1 Vintage</a></li>
                                            <li><a href="/schedules/p02jf21y">CBeebies Radio</a></li>
                                    </ul>
            </div>
            <div class="grid 1/4@bpw2 1/4@bpe">
                <h3 class="gamma--keyline br-keyline">Nations Radio</h3>
                <ul class="list-unindented columns columns--2@bpb2 columns--2@bpw columns--1@bpw2 columns--1@bpe" data-list="regional-radio-networks">
                                            <li><a href="/schedules/p00fzl8d">Radio Scotland</a></li>
                                            <li><a href="/schedules/p05pkt1d">Radio Cymru 2</a></li>
                                            <li><a href="/schedules/p048pnmp">Radio Scotland Music Extra</a></li>
                                            <li><a href="/schedules/p00fzl81">Radio nan Gàidheal</a></li>
                                            <li><a href="/schedules/p00fzl8w">Radio Ulster</a></li>
                                            <li><a href="/schedules/p00fzl7m">Radio Foyle</a></li>
                                            <li><a href="/schedules/p00fzl8y">Radio Wales</a></li>
                                            <li><a href="/schedules/p00fzl7b">Radio Cymru</a></li>
                                    </ul>
            </div>
            <div class="grid">
                <h3 class="gamma--keyline br-keyline">Local Radio</h3>
                <ul class="list-unindented columns columns--2@bpb2 columns--2@bpw columns--4@bpw2 columns--4@bpe" data-list="local-radio-networks">
                                            <li><a href="/schedules/p00fzl74">Radio Berkshire</a></li>
                                            <li><a href="/schedules/p00fzl75">Radio Bristol</a></li>
                                            <li><a href="/schedules/p00fzl76">Radio Cambridgeshire</a></li>
                                            <li><a href="/schedules/p00fzl77">Radio Cornwall</a></li>
                                            <li><a href="/schedules/p00fzl78">CWR</a></li>
                                            <li><a href="/schedules/p00fzl79">Radio Cumbria</a></li>
                                            <li><a href="/schedules/p00fzl7c">Radio Derby</a></li>
                                            <li><a href="/schedules/p00fzl7d">Radio Devon</a></li>
                                            <li><a href="/schedules/p00fzl7f">Essex</a></li>
                                            <li><a href="/schedules/p00fzl7n">Radio Gloucestershire</a></li>
                                            <li><a href="/schedules/p00fzl7p">Radio Guernsey</a></li>
                                            <li><a href="/schedules/p00fzl7q">Hereford &amp; Worcester</a></li>
                                            <li><a href="/schedules/p00fzl7r">Radio Humberside</a></li>
                                            <li><a href="/schedules/p00fzl7s">Radio Jersey</a></li>
                                            <li><a href="/schedules/p00fzl7t">Radio Kent</a></li>
                                            <li><a href="/schedules/p00fzl7v">Radio Lancashire</a></li>
                                            <li><a href="/schedules/p00fzl7w">Radio Leeds</a></li>
                                            <li><a href="/schedules/p00fzl7x">Radio Leicester</a></li>
                                            <li><a href="/schedules/p00fzl7y">Radio Lincolnshire</a></li>
                                            <li><a href="/schedules/p00fzl6f">Radio London</a></li>
                                            <li><a href="/schedules/p00fzl7z">Radio Manchester</a></li>
                                            <li><a href="/schedules/p00fzl80">Radio Merseyside</a></li>
                                            <li><a href="/schedules/p00fzl82">Radio Newcastle</a></li>
                                            <li><a href="/schedules/p00fzl83">Radio Norfolk</a></li>
                                            <li><a href="/schedules/p00fzl84">Radio Northampton</a></li>
                                            <li><a href="/schedules/p00fzl85">Radio Nottingham</a></li>
                                            <li><a href="/schedules/p00fzl8c">Radio Oxford</a></li>
                                            <li><a href="/schedules/p00fzl8h">Radio Sheffield</a></li>
                                            <li><a href="/schedules/p00fzl8k">Radio Shropshire</a></li>
                                            <li><a href="/schedules/p00fzl8l">Radio Solent</a></li>
                                            <li><a href="/schedules/p00fzl8m">Radio Somerset</a></li>
                                            <li><a href="/schedules/p00fzl8n">Radio Stoke</a></li>
                                            <li><a href="/schedules/p00fzl8p">Radio Suffolk</a></li>
                                            <li><a href="/schedules/p00fzl8q">Radio Surrey</a></li>
                                            <li><a href="/schedules/p00fzl8r">Radio Sussex</a></li>
                                            <li><a href="/schedules/p00fzl93">Radio Tees</a></li>
                                            <li><a href="/schedules/p00fzl96">Three Counties Radio</a></li>
                                            <li><a href="/schedules/p00fzl8z">Radio Wiltshire</a></li>
                                            <li><a href="/schedules/p00fzl9f">Radio WM</a></li>
                                            <li><a href="/schedules/p00fzl90">Radio York</a></li>
                                    </ul>
            </div>
        </div>
    </div>
</div>

<script>
(function() {
    if(!('querySelector' in document && 'classList' in document.body)) {
        return;
    }

    var count = document.querySelector('[data-count]'),
        updatesComplete = 0,
        estimatedCount,
        interval = 4000;

    var increase = function() {
        count.classList.remove('js-flash');
        updatesComplete++;
        estimatedCount++;
        count.innerHTML = estimatedCount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
        setTimeout(function() { count.classList.add('js-flash') }, 10);

        if (updatesComplete > 10) {
            interval = 20000;
        }

        setTimeout(increase, interval);
    };

    if (count) {
        estimatedCount = parseInt(count.getAttribute('data-count'), 10);
        increase();
    }
})();
</script>
        </div>
                <script>
            require(['rv-bootstrap']);
        </script>
                    <script type="application/ld+json">
                {"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Programmes","item":"https:\/\/www.bbc.co.uk\/programmes"}],"@context":"https:\/\/schema.org"}
            </script>
                                
                </div>                     </div> 
<!-- BrandingProjectId: "1", ThemeVersionId: "8", NavigationVersionId: "1". Published on 2020-10-21T01:20:21+00:00 -->
                </div>
<div id="orb-footer" class="orb-footer" dir="ltr"> <div id="navp-orb-footer-promo"></div><aside role="complementary"><div id="orb-aside" class="orb-nav-sec b-r b-g-p"><div class="orb-footer-inner" role="navigation" aria-label="BBC"><h2 class="orb-footer-lead">Explore the BBC</h2><div class="orb-footer-primary-links"><ul><li class="orb-nav-home"><a href="https://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-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-can-i-change-my-bbc-cookie-settings/">AdChoices / Do Not Sell My Info<'+'/a><'+'/li>';</script><div class="orb-footer-inner"> <ul><li class="orb-footer-terms"><a href="https://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; 2020 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/3ea556b3c4acb986a0cc517b7d8568f7/" src="https://nav.files.bbci.co.uk/orbit/3ea556b3c4acb986a0cc517b7d8568f7/js/orb.min.js"></script>   <script type="text/javascript">/*<![CDATA[*/
                    require(['orb/nav'], function(nav) {
                        window.bbcuser.isUKCombined().then(function(isUK) {
                            if (isUK) {
                                nav.loadJs('https://nav.files.bbci.co.uk/orbit/3ea556b3c4acb986a0cc517b7d8568f7/js/edr.min.js');
                            }
                        });
                    });
                /*]]>*/</script> <!-- BBCDOTCOM bodyLast --><div class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && window.bbcdotcom.analytics && bbcdotcom.config && !bbcdotcom.config.isSportApp() && !bbcdotcom.config.isReel()) { bbcdotcom.checkThirdPartyFirst(bbcdotcom.analytics.page, bbcdotcom.analytics); } /*]]>*/</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.checkThirdPartyFirst(bbcdotcom.currencyProviders.write, bbcdotcom.currencyProviders); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.currencyProviders) { bbcdotcom.checkThirdPartyFirst(bbcdotcom.currencyProviders.postWrite, bbcdotcom.currencyProviders); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.bodyLast = true; }()); /*]]>*/</script></div><!-- BBCDOTCOM all code in page -->     <script type="text/javascript">require.config({
    "paths": {
        "orb/async/_footerpromo": 'https://nav.files.bbci.co.uk/navpromo/4745be14d971db946fed75ccf103d382/js/async/_footerpromo'
    }
});
(function() {


    document.addEventListener("DOMContentLoaded", function(event) {
      initialiseFooter();
    });

    var scrollCheckTimer;
    var didScroll;
    var previousPosition = 0;
    var delta = 5;
    var PROMO_SHOW_BREAKPOINT = 1500;
    var pageLength = 0;

    function getCookie(key) {
        if (!key) {
            return document.cookie;
        }
        return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent(key).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null;
    }

    function initialiseFooter() {
        // Suppress this feature on browsers we no longer test
        var myNav = navigator.userAgent.toLowerCase();
        var oldIE = (myNav.indexOf('msie') !== -1) && parseInt(myNav.split('msie')[1], 10) <= 10;
        if (!oldIE) {
            var disabledByCookie = (parseInt(getCookie('ckns_nav_promofail')) || 0) >= 3;
            if (!disabledByCookie) {
                window.bbcpage.getLanguage().then(function(language) {
                    if (language === 'en') {
                        window.bbcuser.isUKCombined().then(function(isUK) {
                            if (isUK) {
                                setUpLazyLoading();
                            }
                        });
                    }
                });
            }
        }
    }

    function setUpLazyLoading() {
        // offsetHeight is expensive to calculate, only do it once.
        pageLength = Math.abs(document.body.offsetHeight);

        if (pageLength < getViewportHeight() + 300 || pageLength - getCurrentPosition() < PROMO_SHOW_BREAKPOINT) {
            loadPromo();

        } else {
            window.onscroll = function () {
                didScroll = true;
            };

            scrollCheckTimer = setInterval(function () {
                if (didScroll) {
                    hasScrolled();
                    didScroll = false;
                }
            }, 250);
        }
    }

    function loadPromo() {
        clearInterval(scrollCheckTimer);

        require(['orb/async/_footerpromo'], function(promo) {
            promo.init('https://navpromo.api.bbci.co.uk', '');
        });
    }

    function getViewportHeight() {
        return window.innerHeight;
    }

    function getCurrentPosition() {
        return Math.abs(window.scrollY || document.body.scrollTop || document.documentElement.scrollTop);
    }

    function hasScrolled() {
        var currentPosition = getCurrentPosition();

        if (Math.abs(previousPosition - currentPosition) <= delta) {
            return;
        }
        if (currentPosition > previousPosition) {
            if ((pageLength - currentPosition) <= PROMO_SHOW_BREAKPOINT) {
                loadPromo();
            }
        }
        previousPosition = currentPosition;
    }
})();</script>     <script type="text/javascript">require.config({
            paths: {
                "mybbc/templates": '//mybbc.files.bbci.co.uk/notification-ui/4.2.4/templates',
                "mybbc/notifications": '//mybbc.files.bbci.co.uk/notification-ui/4.2.4/js'
            }
        });

        require(['mybbc/notifications/NotificationsMain', 'idcta/idcta-1'], function (NotificationsMain, idcta) {

            var loadNotifications = function (isUK) {
                if (isUK) {
                    window.bbcpage.loadCSS('//mybbc.files.bbci.co.uk/notification-ui/4.2.4/css/main.min.css').then(function() {
                        NotificationsMain.run(idcta, '//mybbc.files.bbci.co.uk/notification-ui/4.2.4/');
                    });
                }
            };
            
            window.bbcuser.isUKCombined().then(function(isUK) {
                loadNotifications(isUK);
            });
        });</script>     <script type="text/javascript">if (window.SEARCHBOX.suppress === false && window.SEARCHBOX.locale) {
    require.config({
      paths: {
        "search/searchbox": window.SEARCHBOX.searchboxAppStaticPrefix,
      }
    });

    if (bbcuser && bbcuser.isUKCombined) {
        bbcuser.isUKCombined().then(function (isUK) {
            if (isUK) {
                require(['search/searchbox/searchboxDrawer'], function (SearchboxDrawer) {
                  SearchboxDrawer.run(window.SEARCHBOX);
                });
            }
        });
    }

  }</script>   <script type="text/javascript">window.COOKIES_STATIC_HOST = 'https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-527.9c2a9a9/cookie-banner/cookie-prompt/';</script><script src="https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-527.9c2a9a9/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//user-activity-helper/9c997d009cb66789369c524505d78067/js/detectview.bundle.js" async=""></script>
                    <!-- Programmes Version: 1500 -->
            </body>
    </html>
"