(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{100:function(e,n,t){"use strict";t.d(n,"a",function(){return o});var i=t(4),a=t(30),r=t.n(a)()(function(){return Object(i.g)()}),o={id:"CommercialAppnexusUsAdapter",start:"2019-10-7",expiry:"2020-07-30",author:"Ioanna Kyprianou",description:"Test new us placement id for appnexus in US",audience:0,audienceOffset:0,successMeasure:"Appnexus adapter works in US",audienceCriteria:"n/a",dataLinkNames:"n/a",idealOutcome:"Appnexus adapter delivers in US",showForSensitive:!0,canRun:function(){return["US","CA"].includes(r())},variants:[{id:"control",test:function(){}},{id:"variant",test:function(){}}]}},101:function(e,n,t){"use strict";t.d(n,"a",function(){return o});var i=t(4),a=t(30),r=t.n(a)()(function(){return Object(i.g)()}),o={id:"CommercialPangaeaAdapter",start:"2019-10-08",expiry:"2020-07-30",author:"Ioanna Kyprianou",description:"Test adding pangaea in prebid in US & AU regions",audience:0,audienceOffset:0,successMeasure:"Pangaea adapter works in prebid for US & AU regions",audienceCriteria:"n/a",dataLinkNames:"n/a",idealOutcome:"Pangaea adapter delivers in prebid for US & AU regions",showForSensitive:!0,canRun:function(){return["US","CA","AU","NZ"].includes(r())},variants:[{id:"control",test:function(){}},{id:"variant",test:function(){}}]}},116:function(e,n){e.exports={markup:''}},122:function(e,n,t){"use strict";t.d(n,"a",function(){return i});var i={id:"CommercialCmpUiIab",start:"2019-10-14",expiry:"2020-01-08",author:"George Haberis",description:"1% participation AB test for the new CMP UI",audience:.01,audienceOffset:.5,successMeasure:"Our new CMP UI obtains target consent rates",audienceCriteria:"n/a",dataLinkNames:"n/a",idealOutcome:"Our new CMP UI obtains target consent rates",showForSensitive:!0,canRun:function(){return!0},variants:[{id:"variant",test:function(){}}]}},123:function(e,n,t){"use strict";t.d(n,"a",function(){return i});var i={id:"CommercialPrebidSafeframe",start:"2018-06-29",expiry:"2019-10-18",author:"Jerome Eteve",description:"This test will serve prebid ads via safeframe line items",audience:.01,audienceOffset:0,successMeasure:"Measurement of prebid ads yield",audienceCriteria:"n/a",dataLinkNames:"n/a",idealOutcome:"No difference between safeframe and standard",canRun:function(){return!0},variants:[{id:"control",test:function(){}},{id:"variant",test:function(){}}]}},124:function(e,n,t){"use strict";t.d(n,"a",function(){return i});var i={id:"CommercialXaxisAdapter",start:"2019-09-24",expiry:"2020-07-30",author:"Ioanna Kyprianou",description:"Test new implementation of xaxis adapter with multiple placement ids",audience:0,audienceOffset:0,successMeasure:"Xaxis adapter works with multiple placement ids",audienceCriteria:"n/a",dataLinkNames:"n/a",idealOutcome:"No significant impact to performance as well as higher ad yield",showForSensitive:!0,canRun:function(){return!0},variants:[{id:"control",test:function(){}},{id:"variant",test:function(){}}]}},130:function(e,n,t){"use strict";t.d(n,"d",function(){return c}),t.d(n,"b",function(){return s}),t.d(n,"c",function(){return u}),t.d(n,"a",function(){return o}),t.d(n,"e",function(){return r});var i=t(2),a=t(350),r={label:"Third party tracking",cookie:"GU_TK"},o=[r],c=function(e,n){var t=[n?"1":"0",Date.now()].join(".");Object(i.a)(e.cookie,t,540,!0),Object(a.a)(e,n)},s=function(e){var n=Object(i.d)(e.cookie);if(!n)return null;var t=n.split(".")[0];return"1"===t||"0"!==t&&null},u=function(){return o.map(function(e){return{consent:e,state:s(e)}})}},160:function(e,n,t){"use strict";t.d(n,"c",function(){return r}),t.d(n,"e",function(){return o}),t.d(n,"d",function(){return c}),t.d(n,"a",function(){return s}),t.d(n,"b",function(){return u});var i=t(2),a=function(e){return Object(i.a)("GU_mvt_id",String(e),365)},r=function(){return Number(Object(i.d)("GU_mvt_id"))},o=function(){Object(i.d)("GU_mvt_id")||Object(i.a)("GU_mvt_id","1")},c=function(){var e=parseInt(Object(i.d)("GU_mvt_id"),10);e&&a(1e6===e?1:e+1)},s=function(){var e=parseInt(Object(i.d)("GU_mvt_id"),10);e&&a(0===e?1e6:e-1)},u=function(){return Number(1e6)}},170:function(e,n,t){"use strict";t.d(n,"a",function(){return i});var i={id:"CommercialConsentOptionsButton",start:"2019-11-21",expiry:"2020-01-08",author:"George Haberis",description:"0.5% AB test for a bottom consent banner with an options button instead of a link",audience:.005,audienceOffset:.85,successMeasure:"Change does not adversely affect consent rates",audienceCriteria:"n/a",dataLinkNames:"n/a",idealOutcome:"Consent rates stay the same.",showForSensitive:!0,canRun:function(){return!0},variants:[{id:"control",test:function(){}},{id:"variant",test:function(){}}]}},171:function(e,n,t){"use strict";t.d(n,"a",function(){return l});var i,a,r=t(4),o=t(15),c={},s=function(){return a>=i},u=function(e,n){var t=document.querySelector(e);t&&t instanceof HTMLElement&&(s()&&t.classList.add("epic-ticker__goal-reached"),function(e,n){var t=e.querySelector(".js-ticker-goal");if(t){var o=t.querySelector(".js-ticker-count"),c=t.querySelector(".js-ticker-label");if(o&&c){var u=s()&&"unlimited"===n?a:i;o.innerHTML="".concat(Object(r.f)()).concat(u.toLocaleString()),s()&&(c.innerHTML="contributed")}}}(t,n),window.setTimeout(function(){c[e]=0,window.requestAnimationFrame(function(){return function(e,n,t){var i=n.querySelector(".js-ticker-amounts .js-ticker-count"),o=n.querySelector(".js-ticker-amounts .js-ticker-label");i&&o&&(s()?(i.innerHTML="We’ve met our goal — thank you","unlimited"===t&&(o.innerHTML="Contributions are still being accepted",o.classList.remove("is-hidden"))):(o.classList.remove("is-hidden"),function e(n,t){var i=c[n]+Math.floor(a/100);i<=c[n]||i>=a?t.innerHTML="".concat(Object(r.f)()).concat(a.toLocaleString()):(c[n]=i,t.innerHTML="".concat(Object(r.f)()).concat(c[n].toLocaleString()),window.requestAnimationFrame(function(){return e(n,t)}))}(e,i)))}(e,t,n)}),function(e,n){var t=e.querySelector(".js-ticker-filled-progress");if(t&&t instanceof HTMLElement){var r="unlimited"===n&&a>i?a+.15*a:i,o=function(e){var n=a/r*100-100;return n>=0?0:n}();if(t.style.transform="translate3d(".concat(o,"%, 0, 0)"),r>i){var c=e.querySelector(".js-ticker-goal-marker");if(c){c.classList.remove("is-hidden");var s=i/r*100-100;c.style.transform="translate3d(".concat(s,"%, 0, 0)")}}}}(t,n)},500),t.classList.add("epic-ticker__".concat(n)),t.classList.remove("is-hidden"))},d=function(){return!(Number.isNaN(Number(a))||Number.isNaN(Number(i)))},l=function(e,n){!function(e,n){d()?u(e,n):Object(o.a)("https://support.theguardian.com/ticker.json",{mode:"cors"}).then(function(t){a=parseInt(t.total,10),i=parseInt(t.goal,10),d()&&u(e,n)})}(e,n||"unlimited")}},173:function(e,n,t){"use strict";t.d(n,"a",function(){return i});var i={id:"SignInGatePrius",start:"2019-12-02",expiry:"2019-12-17",author:"Mahesh Makani, Dominic Kendrick",description:"Test adding a sign in component on the 2nd pageview of simple article templates, with higher priority over banners and epic.",audience:.015,audienceOffset:.9,successMeasure:"Users sign in or create a Guardian account",audienceCriteria:"The contributions epic is not shown, The consent banner is not shown, The contributions banner is not shown, Should only appear on simple article template, Should not show if they are already signed in, Users will not need to go through the marketing consents as part of signup flow",dataLinkNames:"n/a",idealOutcome:"60% of users sign in, and bounce rate is below 40%",showForSensitive:!1,canRun:function(){return!0},variants:[{id:"control",test:function(){}},{id:"variant",test:function(){}}]}},174:function(e,n,t){"use strict";t.d(n,"a",function(){return i});var i={id:"CommercialCmpUiNoOverlay",start:"2019-11-21",expiry:"2020-01-08",author:"Ricardo Costa",description:"0.5% AB test for an IAB compliant consent banner with no overlay",audience:.005,audienceOffset:.8,successMeasure:"Consent rates improve",audienceCriteria:"n/a",dataLinkNames:"n/a",idealOutcome:"Consent rates improve massively",showForSensitive:!0,canRun:function(){return!0},variants:[{id:"control",test:function(){}},{id:"variant",test:function(){}}]}},175:function(e,n){e.exports={markup:''}},184:function(e,n){e.exports={markup:''}},202:function(e,n,t){"use strict";t.d(n,"a",function(){return i});var i=function(e,n,t){var i=e;return n&&(Array.isArray(n)?i=i.replace(/class="/,'class="'.concat(n.join(" ")," ")):window.console&&window.console.error&&window.console.error("Classes for inlineSvg must be an array: ".concat(n))),t?i.replace(/'}},216:function(e,n,t){"use strict";t.d(n,"a",function(){return r}),t.d(n,"b",function(){return o});var i=t(5),a=t(26),r=function(e){if(i.a.isAvailable()&&!1!==e){var n=i.a.get("gu.ads.userSegmentsData");if(n){var t=Object(a.i)();if(t&&n.userHash===t.id%9999)return n.segments;i.a.remove("gu.ads.userSegmentsData")}}return[]},o=function(){i.a.isAvailable()&&null===i.a.get("gu.ads.userSegmentsData")&&Object(a.i)()&&Object(a.g)(function(e){if(e&&e.adData){var n=[];Object.keys(e.adData).forEach(function(t){n.push(t+e.adData[t])}),i.a.set("gu.ads.userSegmentsData",{segments:n,userHash:e.id%9999},{expires:(new Date).getTime()+864e5})}})}},246:function(e,n){e.exports={markup:''}},247:function(e,n){e.exports={markup:''}},25:function(e,n,t){"use strict";var i=t(17),a=t.n(i),r=t(0),o=function(e){return e.trim().toLowerCase()},c=t(45),s=t(37),u=t(8),d=t(5),l=t(61),p=t(3),f=t(13),h=t(6),m=t(4),g=function(e,n){return e?function(e,n){return e.split(n).map(function(e){return e.trim()}).filter(Boolean)}(e,n):[]},v=t(29),b='\n
\n \n
\n
\n \n
contributed
\n
\n \n
\n
'.concat(Object(m.f)(),'0
\n
our goal
\n
\n
\n \n
\n
\n \n
\n \n
\n
\n'),y=t(42),w=t(52),_=t(72),k={heading:"Since you’re here …",paragraphs:["… we have a small favour to ask. More people are reading the Guardian than ever but advertising revenues across the media are falling fast. And unlike many news organisations, we haven’t put up a paywall – we want to keep our journalism as open as we can. So you can see why we need to ask for your help.","The Guardian is editorially independent, meaning we set our own agenda. Our journalism is free from commercial bias and not influenced by billionaire owners, politicians or shareholders. No one edits our Editor. No one steers our opinion. This is important because it enables us to give a voice to the voiceless, challenge the powerful and hold them to account. It’s what makes us different to so many others in the media, at a time when factual, honest reporting is critical.","If everyone who reads our reporting, who likes it, helps to support it, our future would be much more secure."],highlightedText:"For as little as ".concat(Object(m.f)(),"1, you can support the Guardian – and it only takes a minute. Thank you.")},T=t(28),O=t.n(T),C=!1,j=function(e,n,t){var i=function(){var e=document.getElementsByClassName("block"),n=document.getElementsByClassName("js-insert-epic-after"),t=document.getElementsByClassName("is-epic"),i=e.length>4;if(n.length||t.length||!i)return Array.from(n);var a=e[Math.floor(3*Math.random())];return Array.from(n).concat(a)}().map(function(e){return[e,function(e){var n=e.querySelector("time"),t=e.querySelector(".block-time__absolute");if(n&&t){var i=n.parentNode,a=i instanceof HTMLAnchorElement?i.href:"";return{datetime:n.getAttribute("datetime")||"",title:n.getAttribute("title")||"",date:n.innerHTML,time:t.innerHTML,blockHref:a}}}(e)]});return p.a.write(function(){i.forEach(function(i){var a=O()(i,2),r=a[0],o=a[1];if(o){var s=u.a.create(e);s.insertAfter(r),h.a.emit(t.insertEvent),Object(u.a)(r).removeClass("js-insert-epic-after"),function(e,n){var t=e.querySelector("time"),i=e.querySelector(".block-time__absolute");if(t&&i){var a=t.parentNode;a instanceof HTMLAnchorElement&&(a.href=n.blockHref),t.setAttribute("datetime",n.datetime),t.setAttribute("title",n.title),t.innerHTML=n.date,i.innerHTML=n.time}}(s[0],o),function(e,n,t){Object(l.a)(e,window,{top:18}).on("firstview",function(){Object(c.b)(n.id),h.a.emit(t.viewEvent,{componentType:t.componentType,campaignCode:n.campaignCode})})}(r,n,t)}})})},A=function(e,n,t){j(e,n,t),C||(h.a.on("modules:autoupdate:updates",function(){j(e,n,t)}),C=!0)},S=t(15),I=[{section:"football"},{section:"money"},{section:"education"},{section:"games"},{section:"teacher-network"},{section:"careers"},{keywordIds:["guardian-masterclasses/guardian-masterclasses"]}],E=function(e,n){return!n.some(function(n){var t=!n.section||n.section===e.section,i=!n.toneIds||n.toneIds.every(function(n){return e.toneIds.includes(n)}),a=!n.keywordIds||n.keywordIds.every(function(n){return e.keywordIds.includes(n)});return t&&i&&a})},N=t(171),x=t(33);t.d(n,"c",function(){return ne}),t.d(n,"b",function(){return te}),t.d(n,"d",function(){return ie}),t.d(n,"h",function(){return H}),t.d(n,"g",function(){return $}),t.d(n,"e",function(){return M}),t.d(n,"f",function(){return U}),t.d(n,"a",function(){return X});var M=function(e){switch(e){case"GB":return"united-kingdom";case"US":return"united-states";case"AU":return"australia";default:return"rest-of-world"}},U=function(){return d.a.get("gu.alreadyVisited")||0},R=function(e,n){return n?e.replace(/%%COUNTRY_NAME%%/g,n):e},B={days:30,count:4,minDaysBetweenViews:0},L=function(e,n){return function(e){var n,t,i,a=e.copy,r=a.heading,o=void 0===r?"":r,c=a.paragraphs,s=a.highlightedText,u=a.footer,d=e.componentName,l=e.epicClassNames,p=void 0===l?[]:l,f=e.buttonTemplate,h=e.wrapperClass,m=void 0===h?"":h,g=e.showTicker,v=void 0!==g&&g,y=e.backgroundImageUrl,w=(y?p.concat(["contributions__epic--with-image"]):p).join(" ");return'
\n'),T={id:"AdblockAsk",start:"2019-02-20",expiry:"2020-02-20",author:"Tom Forbes",description:"Places a contributions ask underneath the right-hand ad slot on articles.",audience:1,audienceOffset:0,successMeasure:"",audienceCriteria:"",showForSensitive:!0,canRun:function(){return!Object(b.l)()&&!Object(r.h)()&&!w.a.get("page.hasShowcaseMainElement")},variants:[{id:"control",test:function(){var e=document.querySelector(".js-aside-slot-container");e&&(e.innerHTML+=k)}}]},O=t(71),C=Object(u.b)(60),j=Object(o.g)(),A=' Support The Guardian from as little as '.concat(Object(o.e)(j),"1"),S={id:"ContributionsBannerArticlesViewed",campaignId:"contributions_banner_articles_viewed",start:"2019-07-10",expiry:"2020-10-30",author:"Tom Forbes",description:"show number of articles viewed in contributions banner",audience:1,audienceOffset:0,successMeasure:"AV per impression",audienceCriteria:"All",idealOutcome:"variant design performs at least as well as control",canRun:function(){return C>=5&&!!Object(o.c)(j)},showForSensitive:!0,componentType:"ACQUISITIONS_ENGAGEMENT_BANNER",geolocation:j,variants:[{id:"variant",test:function(){},engagementBannerParams:{leadSentence:"You’ve read ".concat(C," Guardian articles in the last two months – so we hope you will consider supporting us today."),messageText:"Unlike many news organisations, we made a choice to keep our journalism free and available for all. At a time when factual information is a necessity, we believe that each of us, around the world, deserves access to accurate reporting with integrity at its heart. Every contribution, big or small, is so valuable – it is essential in protecting our editorial independence.",ctaText:A,template:O.a}}]},I=t(124),E=t(100),N=t(101),x=t(173),M=t(70),U=t.n(M),R=t(57),B=t.n(R),L=t(86),G=function(e){return'\n
\n ')},P=Object(o.g)(),D="US"===P,H=["2020 will be a defining year for America"],V={id:"ContributionsBannerUsEoy",campaignId:"USeoy2019",start:"2019-11-15",expiry:"2020-1-30",author:"Joshua Lieberman",description:"general banner for the US EOY campaign",audience:1,audienceOffset:0,successMeasure:"AV per impression",audienceCriteria:"All",idealOutcome:"variant design performs at least as well as control",showForSensitive:!0,componentType:"ACQUISITIONS_ENGAGEMENT_BANNER",canRun:function(){return D},geolocation:P,variants:[{id:"control",test:function(){},engagementBannerParams:{titles:H,messageText:"And the result could define the country for a generation. Many vital aspects of American public life are in play - the supreme court, abortion rights, climate policy, wealth inequality, Big Tech and more. As we prepare for 2020, we’re asking our US readers to help us raise $1.5 million.",ctaText:"Support The Guardian",template:G,hasTicker:!0,tickerHeader:"Help us reach our year-end goal",bannerModifierClass:"useoy2019"}},{id:"variant",test:function(){},engagementBannerParams:{titles:H,messageText:"This year, much of what we hold dear has been threatened - democracy, civility, truth. This administration is establishing new norms of behaviour. Truth is being chased away. With your help we can continue to put it center stage. As we prepare for 2020, we’re asking our readers to help us raise $1.5 million.",ctaText:"Support The Guardian",template:G,hasTicker:!0,tickerHeader:"Help us reach our year-end goal",bannerModifierClass:"useoy2019"}}]},F=t(174),K=t(170),q=Object(o.g)(),Y="US"===q,W={id:"ContributionsBannerUsEoyGivingTuesdayCasuals",campaignId:"USeoy2019",start:"2019-11-15",expiry:"2020-1-30",author:"Joshua Lieberman",description:"banner for the US EOY campaign for readers who have seen fewer than 5 articles",audience:1,audienceOffset:0,successMeasure:"AV per impression",audienceCriteria:"All",idealOutcome:"variant design performs at least as well as control",showForSensitive:!0,componentType:"ACQUISITIONS_ENGAGEMENT_BANNER",canRun:function(){return Y},geolocation:q,variants:[{id:"control",test:function(){},engagementBannerParams:{titles:["2020 will be a defining year for America"],messageText:"This year, much of what we hold dear has been threatened – democracy, civility, truth. This administration is establishing new norms of behaviour. Truth is being chased away. With your help we can continue put it center stage. As we prepare for 2020, we’re asking our readers to help us raise $1.5 million. Help us reach our year-end goal.",ctaText:"Support The Guardian",template:G,hasTicker:!0,tickerHeader:"Help us reach our year-end goal",bannerModifierClass:"useoy2019"}}]},z=Object(u.c)(26),J=Object(o.g)(),Z="US"===J&&z>=5,Q=["2020 will be a defining year for America"],$="You’ve read ".concat(z," articles in the last three months"),X={id:"ContributionsBannerUsEoyGivingTuesdayRegularsRoundTwo",campaignId:"USeoy2019",start:"2019-11-15",expiry:"2020-1-30",author:"Joshua Lieberman",description:"banner test for the US EOY campaign for readers who have seen more than 5 articles",audience:1,audienceOffset:0,successMeasure:"AV per impression",audienceCriteria:"All",idealOutcome:"variant design performs at least as well as control",showForSensitive:!0,componentType:"ACQUISITIONS_ENGAGEMENT_BANNER",canRun:function(){return Z},geolocation:J,variants:[{id:"withArticleCountOnRight",test:function(){},engagementBannerParams:{titles:Q,messageText:"This year, much of what we hold dear has been threatened – democracy, civility, truth. This administration is establishing new norms of behaviour. Truth is being chased away. With your help we can continue put it center stage. As we prepare for 2020, we’re asking our readers to help us raise $1.5 million. ",closingSentence:"Help us reach our year-end goal.",ctaText:"Support The Guardian",template:G,hasTicker:!0,bannerModifierClass:"useoy2019",tickerHeader:$}},{id:"withArticleCountInBody",test:function(){},engagementBannerParams:{titles:Q,messageText:"This year, much of what we hold dear has been threatened – democracy, civility, truth. This administration is establishing new norms of behaviour. Truth is being chased away. With your help we can continue put it center stage. As we prepare for 2020, we’re asking our readers to help us raise $1.5 million. Help us reach our goal.",leadSentence:"".concat($,". "),ctaText:"Support The Guardian",template:G,hasTicker:!0,bannerModifierClass:"useoy2019",tickerHeader:"Help us reach our year-end goal"}}]},ee=Object(u.b)(60),ne=Object(o.g)(),te="You’ve read ".concat(ee," Guardian articles in the last two months – so we hope you will consider supporting us today."),ie="Boris Johnson has led the Conservatives to a seismic election win, Labour is left decimated, and a Brexit looks imminent. The Guardian’s independent, measured, authoritative reporting has never been so critical. You’ve read ".concat(ee," articles in the last two months. Unlike many news organisations, we made a choice to keep all of our independent, investigative reporting free and available for everyone. Support from our readers is essential in safeguarding Guardian journalism. If you value our voice, please consider making a contribution now."),ae=' Support The Guardian from as little as '.concat(Object(o.e)(ne),"1"),re={id:"ContributionsBannerArticlesViewedUkElection",campaignId:"contributions_banner_articles_viewed_uk_election",start:"2019-12-13",expiry:"2020-10-30",author:"Joshua Lieberman",description:"UK post-election test that shows number of articles viewed in contributions banner",audience:1,audienceOffset:0,successMeasure:"AV per impression",audienceCriteria:"All",idealOutcome:"variant design performs at least as well as control",canRun:function(){return ee>=5&&"UK"===ne},showForSensitive:!0,componentType:"ACQUISITIONS_ENGAGEMENT_BANNER",geolocation:ne,variants:[{id:"control",test:function(){},engagementBannerParams:{leadSentence:te,messageText:"Unlike many news organisations, we made a choice to keep our journalism free and available for all. At a time when factual information is a necessity, we believe that each of us, around the world, deserves access to accurate reporting with integrity at its heart. Every contribution, big or small, is so valuable – it is essential in protecting our editorial independence.",ctaText:ae,template:O.a}},{id:"variant",test:function(){},engagementBannerParams:{leadSentence:"Britain has voted, and the outcome is clear.",messageText:ie,ctaText:ae,template:O.a}}]};t.d(n,"a",function(){return oe}),t.d(n,"c",function(){return ce}),t.d(n,"b",function(){return se});var oe=[i.a,a.a,T,I.a,E.a,N.a,x.a,F.a,K.a],ce=[h,g,s,v],se=[X,W,V,re,S]},70:function(e,n){e.exports={markup:''}},71:function(e,n,t){"use strict";t.d(n,"a",function(){return l});var i=t(70),a=t.n(i),r=t(57),o=t.n(r),c=t(116),s=t.n(c),u=t(86),d=t(85),l=function(e){return'\n