web-page-parser 1.1.0 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +5 -5
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/lib/web-page-parser/parsers/bbc_news_page_parser.rb +56 -3
  5. data/lib/web-page-parser/parsers/guardian_page_parser.rb +33 -3
  6. data/lib/web-page-parser/parsers/independent_page_parser.rb +2 -2
  7. data/lib/web-page-parser/parsers/new_york_times_page_parser.rb +8 -3
  8. data/lib/web-page-parser/parsers/rt_page_parser.rb +49 -0
  9. data/lib/web-page-parser/parsers/the_intercept_page_parser.rb +6 -1
  10. data/lib/web-page-parser/parsers/washingtonpost_page_parser.rb +38 -2
  11. data/spec/fixtures/bbc_news/31014941.html +1123 -0
  12. data/spec/fixtures/bbc_news/32271505.html +1168 -0
  13. data/spec/fixtures/bbc_news/32275608.html +1142 -0
  14. data/spec/fixtures/guardian/duplicate-headline.html +2735 -0
  15. data/spec/fixtures/guardian/julian-assange-donald-trump-hillary-clinton-interview.html +1752 -0
  16. data/spec/fixtures/guardian/university-extremist-speakers.html +1590 -0
  17. data/spec/fixtures/independent/boris-johnson.html +1086 -0
  18. data/spec/fixtures/independent/lord-burns.html +726 -0
  19. data/spec/fixtures/new_york_times/show-banned-french-comedian-has-new-one-2018.html +305 -0
  20. data/spec/fixtures/new_york_times/trump-kim-policy.html +305 -0
  21. data/spec/fixtures/rt/338045.html +682 -0
  22. data/spec/fixtures/rt/338237.html +682 -0
  23. data/spec/fixtures/theintercept/pentagon-missionary.html +211 -0
  24. data/spec/fixtures/washingtonpost/israeli-ambassador.html +747 -0
  25. data/spec/fixtures/washingtonpost/sgt-bowe-bergdahls-capture-remains-amystery-2018.html +381 -0
  26. data/spec/fixtures/washingtonpost/trump-kim-summit.html +379 -0
  27. data/spec/fixtures/washingtonpost/will-a-bust-follow-the-boom-in-britain-2018.html +386 -0
  28. data/spec/parsers/bbc_news_page_spec.rb +132 -11
  29. data/spec/parsers/guardian_page_spec.rb +100 -0
  30. data/spec/parsers/independent_page_parser_spec.rb +52 -0
  31. data/spec/parsers/new_york_times_page_parser_spec.rb +75 -10
  32. data/spec/parsers/rt_page_parser_spec.rb +87 -0
  33. data/spec/parsers/the_intercept_page_parser_spec.rb +30 -0
  34. data/spec/parsers/washingtonpost_page_parser_spec.rb +93 -1
  35. data/spec/web-page-parser +1 -0
  36. metadata +98 -56
  37. metadata.gz.sig +0 -0
@@ -0,0 +1,386 @@
1
+ <!DOCTYPE html> <html lang="en" class="article layout_article rendering-context-www outputtype_default-article"> <head> <script>window.pbDeferredScripts=window.pbDeferredScripts||new Array;</script> <script id="_$cookiemonster">(function(document,undefined){var wl={};wl.reg=[];wl.map=[];function CM(wlmap,wlreg){this.wl={map:wl.map.concat(wlmap||[]),reg:wl.reg.concat(wlreg||[])}}CM.prototype.ommNom=function(){return this.nom(true,undefined)};CM.prototype.allows=function(cookieKey){var yum=this.nom(false,[cookieKey]).indexOf(cookieKey)>-1;return!yum};CM.prototype.nom=function(deleteCookies,cookiesList){var unset=[];var domainkey=document.location.hostname.split("").reverse().join("").slice(0,18),dcookies=cookiesList||document.cookie.split(";"),
2
+ dcookie,save,reg;for(var i=0;i<dcookies.length,dcookie=dcookies[i];i++){save=dcookie.trim().split("\x3d")[0].toLowerCase();if(this.wl.map.indexOf(save)>-1);else unset.push(save)}for(var o=0;o<this.wl.reg.length,reg=this.wl.reg[o];o++){reg.lastIndex=0;for(var i=0;i<dcookies.length,dcookie=dcookies[i];i++){save=dcookie.trim().split("\x3d")[0].toLowerCase();if(reg.test(save)){if(unset.indexOf(save)>-1)unset.splice(unset.indexOf(save),1)}else if(unset.indexOf(save)<0&&this.wl.map.indexOf(save)<0)unset.push(save)}}if(deleteCookies)if(domainkey==
3
+ "moc.tsopnotgnihsaw"&&(this.wl.reg.length||this.wl.map.length))setTimeout(function(ctx){return function(){for(var i=0;i<unset.length;i++){document.cookie=unset[i]+"\x3d; expires\x3dThu, 01 Jan 1970 00:00:01 GMT; path\x3d/; domain\x3dwww.washingtonpost.com";document.cookie=unset[i]+"\x3d; expires\x3dThu, 01 Jan 1970 00:00:01 GMT; path\x3d/; domain\x3d.washingtonpost.com";document.cookie=unset[i]+"\x3d; expires\x3dThu, 01 Jan 1970 00:00:01 GMT; path\x3d/; domain\x3d"}}}(this),0);else console.error("[cookie-monster] Cowardly refusing to delete cookies on "+
4
+ document.location.hostname,unset);return unset};document.__CookieMonster__=CM;return CM})(document);</script> <script>(function(document,cwlobj,map,reg,value){cwlobj={"cookies":["wpatc","s_vi","de","rplsb","rplm2","rplmct","rpld0","rpld1","wapo_login_id","wapo_secure_login_id","wapo_groups","wapo_display","wppref","devicetype","s_sess","s_pers","backplane-channel","_chartbeat2","_chartbeat5","client_region","fbuid","fbuname","wapo_fb_token","adsflag","comicsint","galleryplays","homessoldcookie","wapo_provider","washingtonpost_avatar","weather-preroll","wpnisecure","x-wp-split","x-split-override","region_cookie",
5
+ "rplpwmode","rplrol","wapo_actmgmt","wapo_az_id","sailthru_hid","sailthru_bid","__gads","osfam","wp_vi","pwamtk","drawbridge_o","drawbridge_test","debug_pwapi_ipdomainon","comscore","rplampr","googleampredirectdebugoverride","iabc","comments_sortorder","drdebugoverride","_ga","ddosdebugoverride","washpost_poe","pwadebugversiononoff","pwahpprocdebug","rplabrfg","rplabtestdebug","wapo_ab_test","rplabscmtr","rplabsectionmeterdebug","rplabuniquevisitdebug","ptvenv","rplpwabt2","rplpwtrk","pwabtestdebug",
6
+ "rplpwabt3","rplpwabt4","amp_exp","^fbm_.*","^fbsr_.*","^wordpress_.*","sub$","^wp.*"]};map=map||[];reg=reg||[];for(var i=0;i<cwlobj.cookies.length,value=cwlobj.cookies[i];i++)if("^"==value[0])reg.push(new RegExp(value));else map.push(value);document.__twpCookieMonster__=new document.__CookieMonster__(map,reg)})(document);</script> <script>var TWP_Debug=window.TWP_Debug||{};TWP_Debug.initialTime=new Date;</script> <meta name="eomportal-uuid" content="3677a6ae-7f9d-11e3-97d3-b9925ce2c57b"/> <meta name="object-hash" content="1528898802"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta charset="utf-8"/> <meta id="viewport" name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes, minimum-scale=0.5, maximum-scale=2.0"/> <meta name="referrer" content="unsafe-url"/> <meta name="keywords" content="british property bubble, property bubble in britain, property bust in britain, property prices in britain, real estate in london"/> <meta name="news_keywords" content="british property bubble, property bubble in britain, property bust in britain, property prices in britain, real estate in london"/> <meta name="twitter:site" value="@WashingtonPost"/> <meta name="twitter:card" content="summary_large_image"> <meta property="og:type" content="article"/> <meta property="og:site_name" content="Washington Post"/> <meta itemprop="mainEntityOfPage" content="True"/> <meta name="magnet" content=""/> <meta property="article:publisher" content="https://www.facebook.com/washingtonpost"> <meta property="fb:app_id" content="41245586762"/> <meta property="fb:admins" content="4403963"/> <meta property="fb:admins" content="500835072"/> <meta property="article:content_tier" content="metered"/> <script type="application/ld+json">
7
+ {
8
+ "@context":"http://schema.org",
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+ "@type":"ReportageNewsArticle",
19
+
20
+
21
+
22
+
23
+
24
+ "mainEntityOfPage":{
25
+ "@type":"WebPage",
26
+ "@id":"https://www.washingtonpost.com/world/will-a-bust-follow-the-boom-in-britain/2014/01/18/3677a6ae-7f9d-11e3-97d3-b9925ce2c57b_story.html"
27
+ },
28
+ "headline":"Will a bust follow the boom in Britain?",
29
+
30
+ "description":"Economists worry that a bubble is forming, and that the government is feeding it.",
31
+
32
+
33
+
34
+
35
+ "image":["https://www.washingtonpost.com/rf/image_1484w/2010-2019/WashingtonPost/2014/01/19/Web-Resampled/2014-01-18/w-britproperty-U700355856661qCF--300x537@wp.com.jpg?t=20170517"],
36
+
37
+
38
+ "datePublished":"2014-01-18T22:43:37.000Z",
39
+ "dateModified":"2014-01-18T22:43:37.000Z",
40
+ "isAccessibleForFree":"False",
41
+ "hasPart":{
42
+ "@type":"WebPageElement",
43
+ "isAccessibleForFree":"False",
44
+ "cssSelector":".paywall"
45
+ },
46
+
47
+ "isPartOf": {
48
+ "@type": ["CreativeWork", "Product"],
49
+ "name" : "The Washington Post",
50
+ "productID": "washingtonpost.com:basic"
51
+ },
52
+
53
+ "publisher":{
54
+ "@type":"NewsMediaOrganization",
55
+ "name":"The Washington Post",
56
+ "ethicsPolicy":"https://www.washingtonpost.com/policies-and-standards/",
57
+ "masthead":"https://www.washingtonpost.com/policies-and-standards/masthead/",
58
+ "missionCoveragePrioritiesPolicy":"https://www.washingtonpost.com/policies-and-standards/",
59
+ "diversityPolicy":"https://www.washingtonpost.com/policies-and-standards/",
60
+ "correctionsPolicy":"https://www.washingtonpost.com/policies-and-standards/",
61
+ "verificationFactCheckingPolicy":"https://www.washingtonpost.com/policies-and-standards/",
62
+ "unnamedSourcesPolicy":"https://www.washingtonpost.com/policies-and-standards/",
63
+ "actionableFeedbackPolicy":"https://www.washingtonpost.com/policies-and-standards/",
64
+ "foundingDate":"1877-12-06",
65
+ "ownershipFundingGrants":"https://www.washingtonpost.com/policies-and-standards/",
66
+ "diversityStaffingReport":"http://asne.org/newsroom_diversitysurvey",
67
+ "refLocalNationalRequirements":null,
68
+ "logo":{
69
+ "@type":"ImageObject",
70
+
71
+
72
+
73
+ "url":"https://www.washingtonpost.com/pb/resources/img/thewashingtonpost-black-400x60.png"
74
+
75
+
76
+ }
77
+ }
78
+ }
79
+ </script> <link rel="manifest" href="/pb/resources/json/desktop-notifications-manifest.json"/> <title>Will a bust follow the boom in Britain? - The Washington Post</title> <link itemprop="url" rel="canonical" href="https://www.washingtonpost.com/world/will-a-bust-follow-the-boom-in-britain/2014/01/18/3677a6ae-7f9d-11e3-97d3-b9925ce2c57b_story.html"/> <meta property="og:url" content="https://www.washingtonpost.com/world/will-a-bust-follow-the-boom-in-britain/2014/01/18/3677a6ae-7f9d-11e3-97d3-b9925ce2c57b_story.html"/> <meta property="og:image" content="https://www.washingtonpost.com/rf/image_1484w/2010-2019/WashingtonPost/2014/01/19/Web-Resampled/2014-01-18/w-britproperty-U700355856661qCF--300x537@wp.com.jpg?t=20170517" itemprop="image"/> <meta property="og:title" content="Will a bust follow the boom in Britain?"/> <meta itemprop="description" name="description" content="Economists worry that a bubble is forming, and that the government is feeding it."/> <meta property="og:description" content="Economists worry that a bubble is forming, and that the government is feeding it."/> <meta name="robots" content="index,follow"> <meta name="theme" content="normal"> <meta name="audio_url" content=""> <link rel="amphtml" href="https://www.washingtonpost.com/amphtml/world/will-a-bust-follow-the-boom-in-britain/2014/01/18/3677a6ae-7f9d-11e3-97d3-b9925ce2c57b_story.html"/> <link rel="alternate" href="android-app://com.washingtonpost.rainbow/wp-android-rainbow/www.washingtonpost.com/world/will-a-bust-follow-the-boom-in-britain/2014/01/18/3677a6ae-7f9d-11e3-97d3-b9925ce2c57b_story.html"/> <link rel="alternate" href="android-app://com.washingtonpost.android/wp-android/www.washingtonpost.com/world/will-a-bust-follow-the-boom-in-britain/2014/01/18/3677a6ae-7f9d-11e3-97d3-b9925ce2c57b_story.html"/> <meta property="article:author" content="https://www.facebook.com/griff.witte"/> <meta property="author" content="https://www.facebook.com/griff.witte"/> <meta property="twitter:creator" content="@griffwitte"/> <link rel="author" content="https://plus.google.com/112293388154029899362"/> <meta property="twitter:creator" content="@karlaadam"/> <link href="/pb/gr/ro/default-article/r0f7lWg123HpUq/css/6d02b71d48.css?_=2bb50" rel="stylesheet"/> <link href="/pb/gr/p/default-article/r0f7lWg123HpUq/style.css?_=b5fd6" rel="stylesheet"/> <style data-id="pb-r-head"></style> <script>window.commercialNode="world";
80
+ (function(){try{wp_meta_data=window.wp_meta_data||{};wp_meta_data.platform="pagebuilder";if(!("isPageInitiallyHydrated"in wp_meta_data))wp_meta_data.isPageInitiallyHydrated=true;wp_meta_data.showAds=true;wp_meta_data.isPWA=false;wp_meta_data.showPreRollAds=false;wp_meta_data.isHomepage=false;wp_meta_data.isErrorPage=false;wp_meta_data.isMultimedia=false;wp_meta_data.wt="article_story";delete wp_meta_data.facet;delete wp_meta_data.contentName;delete wp_meta_data.contentLength;wp_meta_data.page_id=
81
+ ["3677a6ae-7f9d-11e3-97d3-b9925ce2c57b"];wp_meta_data.meta_date=["1390085017"];wp_meta_data.author=["Griff Witte","Karla Adam"];wp_meta_data.keywords=["british property bubble","property bubble in britain","property bust in britain","property prices in britain","real estate in london"];wp_meta_data.clavis=wp_meta_data.clavis||{};wp_meta_data.clavis.keywords=[];wp_meta_data.clavis.topics=[];wp_meta_data.clavis.ct=[];delete wp_meta_data.destinations;wp_meta_data.hot_topic=[false];delete wp_meta_data.subjects;
82
+ delete wp_meta_data.tags;delete wp_meta_data.tags_for_paywall;delete wp_meta_data.category;delete wp_meta_data.people_names;delete wp_meta_data.people_positions;delete wp_meta_data.organization_names;delete wp_meta_data.coverage_industrys;delete wp_meta_data.ideology;delete wp_meta_data.addresses;delete wp_meta_data.neighborhoods;delete wp_meta_data.zip_codes;delete wp_meta_data.counties;delete wp_meta_data.venues;delete wp_meta_data.cities;delete wp_meta_data.states;delete wp_meta_data.countries;
83
+ delete wp_meta_data.breaking_news;wp_meta_data.contentType=["article"];delete wp_meta_data.isPremium}catch(e){}})();</script> <script>window.wpAd={"inventory":{"interstitial":{"size":[],"keyvalues":{"ad":"interstitial"}},"leaderboard":{"size":[[728,90],[970,66],[970,250]],"keyvalues":{"pos":"leaderboard"},"refresh":"on"},"hp_responsive":{"size":[[1,1]]},"inline_bb":{"size":[[300,250],"fluid"],"sizeOnCondition":{"windowWidth":1250,"size":[620,250]},"refresh":"on"},"inline_bb_*":{"size":[[300,250],"fluid"],"sizeOnCondition":{"windowWidth":1250,"size":[620,250]},"refresh":"on"},"flex_ss_bb_hp":{"size":[[336,850],[336,280],[160,600],
84
+ [300,250],[300,600],[300,1050]],"refresh":"on"},"flex_ss_bb_hp_*":{"size":[[336,850],[336,280],[160,600],[300,250],[300,600],[300,1050]],"refresh":"on"},"flex_bb_hp":{"size":[[336,850],[336,280],[300,600],[300,1050],[300,250]]},"tiffany_tile":{"size":[[200,60],[184,90]],"keyvalues":{"ad":["tiffany_tile"]}},"tiffany_tile_*":{"size":[[200,60],[184,90]]},"brandconnect_front":{"size":[[1,8],"fluid"]},"bc_pb_homepage":{"size":[[1,8],"fluid"]},"336x60":{"size":[[336,60]],"keyvalues":{"ad":["336x60"]}},
85
+ "336x35_top":{"size":[[336,35]],"keyvalues":{"ad":["336x35"]}},"marketing_2":{"size":[[1,1]]},"marketwatch":{"size":[[1,1]]},"twittermodule":{"size":[[1,1]]},"88x31":{"size":[[88,31]]},"bigbox":{"size":[[300,250],"fluid"]},"bigbox_*":{"size":[[300,250],"fluid"]},"bigbox_gallery":{"size":[[300,250]]},"context_notes":{"size":[[1,1]]},"enterprise":{"size":[[1,1],[620,250],[728,90]]},"enterprise_*":{"size":[[1,1],[620,250],[728,90]]},"mob_bigbox":{"size":[[300,250],[300,600],"fluid"],"refresh":"on"},
86
+ "mob_bigbox_*":{"size":[[300,250],"fluid"],"refresh":"on"},"fixedBottom":{"size":[[320,50],[300,50]],"refresh":"on"},"pushdown":{"size":[[1,1],[970,66],[970,90],[728,90],[970,250]]},"bc_bigbox":{"size":[[300,250]]},"lily_inline":{"size":[[300,250],[620,250],"fluid"],"sizeOnCondition":{"windowWidth":1250,"size":[970,250]}},"lily_inline_*":{"size":[[300,250],[620,250],"fluid"],"sizeOnCondition":{"windowWidth":1250,"size":[970,250]}},"brandconnect_lily":{"size":["fluid"]},"lily_mob_inline":{"size":[[300,
87
+ 250],[300,600],"fluid"]},"lily_mob_inline_*":{"size":[[300,250],"fluid"]},"polly_article":{"size":[[1,1]]}},"exclusionsKeyWords":{"natural_disaster":["deepwater","oil spill","shell","exxon","citgo","bp","chevron","hess","sunoco","disaster","fire","explosion","oil","coal","death","dead","quake","earthquake","tsunami","tornado","hurricane","flood","bed bug","infestation","gas","tropical storm","Irma","Harvey"],"human_disaster":["accident","Weinstein","massacre","oreilly","Ailes","o'reilly","fox news",
88
+ "abuse","death","trafficking","dead","gunshot","murderer","porn","sex tape","sexting","sexual abuse","molestation","assault","child abuse","sex abuse","ISIS","ISIL","Islamic State","Al Qaeda","Syria","Syrian","Assad","shooter","shooting","migrants","aylan kurdi","refugee crisis","drown","shoot","vatican","spanair","aground","rescue","attack","disaster","explosion","war","hostage","terror","terrorist","bomb","blast","mining","miner","violence","riot","crash","9/11","sept. 11","september 11","behead",
89
+ "United 93","pistorius","ebola","rape","rapist","amtrak","derailment","benghazi","misconduct","illegal downloads","illegal drugs","hate speech","offensive language"],"financial_crisis":["corrupt","lawsuit","goldman","aig","foreclosure","enron","sec","mortgage","Insurance","health","bank","wall street","protest","labor strike","union strike","labor issue","union issue","teacher strike","teachers strike","election"],"inappropriate":["porn","deepwater","gambling","sex","alcohol","pornography"]},"posOnCommericalNode":{"washingtonpost.com":{"pos":{"leaderboard":{"start":"06/13/2018 00:00 EDT",
90
+ "end":"06/14/2018 23:59 EDT"},"flex_bb_hp":{"start":"05/25/2018 00:00 EDT","end":"12/31/2018 23:59 EDT"},"tiffany_tile":{"start":"03/16/2018 00:00 EDT","end":"12/31/2018 23:59 EDT"},"tiffany_tile_2":{"start":"03/16/2018 00:00 EDT","end":"12/31/2018 23:59 EDT"},"pushdown":{"start":"06/11/2018 00:00 EDT","end":"06/12/2018 23:59 EDT"}}}},"inlineAdsConfig":{"mobile":{"defaultPos":"mob_bigbox","adSpacing":{"a":{"firstAdOnChar":650,"minCharCount":650,"minParaCount":3,"totalAdCount":8},"b":{"firstAdOnChar":400,
91
+ "minCharCount":650,"minParaCount":3,"totalAdCount":8},"c":{"firstAdOnChar":650,"minCharCount":650,"minParaCount":3,"totalAdCount":8},"d":{"firstAdOnChar":400,"minCharCount":650,"minParaCount":3,"totalAdCount":8},"e":{"firstAdOnChar":750,"minCharCount":750,"minParaCount":3,"totalAdCount":4},"f":{"firstAdOnChar":650,"minCharCount":650,"minParaCount":3,"totalAdCount":8},"default":{"firstAdOnChar":750,"minCharCount":750,"minParaCount":3,"totalAdCount":4}}},"desktop":{"defaultPos":"inline_bb","adSpacing":{"a":{"firstAdOnChar":800,
92
+ "minCharCount":800,"minParaCount":3,"totalAdCount":8},"b":{"firstAdOnChar":400,"minCharCount":800,"minParaCount":3,"totalAdCount":8},"c":{"firstAdOnChar":800,"minCharCount":800,"minParaCount":3,"totalAdCount":8},"d":{"firstAdOnChar":400,"minCharCount":800,"minParaCount":3,"totalAdCount":8},"e":{"firstAdOnChar":1E3,"minCharCount":1E3,"minParaCount":3,"totalAdCount":4},"f":{"firstAdOnChar":800,"minCharCount":800,"minParaCount":3,"totalAdCount":8},"default":{"firstAdOnChar":1E3,"minCharCount":1E3,"minParaCount":3,
93
+ "totalAdCount":4}}},"bufferSpace":100,"spacingTags":"DIV,IFRAME,TABLE,BLOCKQUOTE","skipClassList":["interstitial-link","pb-f-page-newsletter-inLine","inline-content","voraciously-recipe-ingredient","voraciously-recipe-step","voraciously-recipe-nutrition"]},"refreshAdsConfig":{"a":{"frequency":30,"enable":false},"b":{"frequency":30,"enable":false},"c":{"frequency":30,"enable":true},"d":{"frequency":30,"enable":true},"e":{"frequency":30,"enable":true},"f":{"frequency":30,"enable":true},"default":{"frequency":30,
94
+ "enable":false}}};</script> <link rel="dns-prefetch" href="https://adserver-us.adtech.advertising.com"> <link rel="dns-prefetch" href="https://secure.adnxs.com"> <link rel="dns-prefetch" href="https://bidder.criteo.com"> <link rel="dns-prefetch" href="https://static.criteo.net"> <link rel="dns-prefetch" href="https://cdn.krxd.net"> <link rel="dns-prefetch" href="https://widgets.outbrain.com"> <link rel="dns-prefetch" href="https://images.outbrain.com"> <link rel="dns-prefetch" href="https://log.outbrain.com"> <link rel="dns-prefetch" href="https://amplifypixel.outbrain.com"> <link rel="dns-prefetch" href="https://odb.outbrain.com"> <link rel="dns-prefetch" href="https://js-sec.indexww.com"> <link rel="dns-prefetch" href="https://as-sec.casalemedia.com"> <link rel="dns-prefetch" href="https://as.casalemedia.com"> <link rel="dns-prefetch" href="https://sofia.trustx.org"> <link rel="dns-prefetch" href="https://c.amazon-adsystem.com"> <link rel="dns-prefetch" href="https://s.amazon-adsystem.com"> <link rel="dns-prefetch" href="https://aax.amazon-adsystem.com"> <link rel="dns-prefetch" href="https://t.teads.tv"> <script src="https://www.washingtonpost.com/wp-stat/ad/zeus/wp-ad.min.js" async></script> <script>window.wp_pb=window.wp_pb||{pageName:"article-world",pageId:"r0f7lWg123HpUq",contextPath:"/pb",isAdmin:false,layoutEngineName:"off",environment:"production",resourceToken:"201805071231PST",zeusDefer:"",contentFormat:"default",outputType:"default-article",canonical_url:"https://www.washingtonpost.com/world/will-a-bust-follow-the-boom-in-britain/2014/01/18/3677a6ae-7f9d-11e3-97d3-b9925ce2c57b_story.html"};</script> <meta name="apple-itunes-app" content="app-id=938922398, app-argument=https://www.washingtonpost.com/world/will-a-bust-follow-the-boom-in-britain/2014/01/18/3677a6ae-7f9d-11e3-97d3-b9925ce2c57b_story.html"/> <link rel="manifest" href="/pb/resources/json/manifest.json"/> <script defer src="/pb/gr/ro/default-article/r0f7lWg123HpUq/load_immediately/8e7863bc64.js?_=11eec"></script> <script async src="https://www.washingtonpost.com/wp-stat/pwapi/prod/wpPwapi2-min.js"></script> <script>window.pbExternalResourcesLoaded=window.pbExternalResourcesLoaded||new Array;window.pbHeadResourceGroups=window.pbHeadResourceGroups||new Array;pbHeadResourceGroups.push({"resourceType":"externalResources","name":"css","fileType":"css"});pbExternalResourcesLoaded.push("/pb/resources/css/latest/headerfonts-nobinaries.0.latest.css?_\x3d70b3a");pbExternalResourcesLoaded.push("/pb/resources/css/latest/headerfonts-nobinaries.1.latest.css?_\x3d92566");pbExternalResourcesLoaded.push("/pb/resources/css/latest/headerfonts-nobinaries.2.latest.css?_\x3d92566");
95
+ pbExternalResourcesLoaded.push("/pb/resources/css/html5reset.css?_\x3d556c3");pbExternalResourcesLoaded.push("/pb/resources/assets/fonts/custom/latest/css/icons.css?_\x3d62f79");pbExternalResourcesLoaded.push("/pb/resources/css/pbCore.css?_\x3d085a8");pbExternalResourcesLoaded.push("/pb/resources/css/voltron-perf.css?_\x3dc5cf2");pbExternalResourcesLoaded.push("/pb/resources/css/bootstrap-cols.css?_\x3dcab65");pbExternalResourcesLoaded.push("/pb/resources/css/refresh-perf.css?_\x3d7457a");pbExternalResourcesLoaded.push("/pb/resources/css/loadAsync.css?_\x3ddd2a8");
96
+ pbExternalResourcesLoaded.push("/pb/resources/css/identity-management/modal.css?_\x3d748f4");pbExternalResourcesLoaded.push("/pb/resources/css/article-layout.css?_\x3df7d49");pbExternalResourcesLoaded.push("/pb/resources/css/inline-content.css?_\x3d9bd7d");pbHeadResourceGroups.push({"resourceType":"pageResources","name":"style.css","fileType":"css"});pbHeadResourceGroups.push({"resourceType":"externalResources","name":"load_immediately","fileType":"js"});pbExternalResourcesLoaded.push("/pb/resources/js/jquery/latest/jquery.js?_\x3db45ba");
97
+ pbExternalResourcesLoaded.push("/pb/resources/wp_import/wp_import.js?_\x3dbf2b9");pbExternalResourcesLoaded.push("/pb/resources/js/polyfills.min.js?_\x3db72b3");pbExternalResourcesLoaded.push("/pb/resources/js/loadAsync.js?_\x3de8b9b");pbExternalResourcesLoaded.push("/pb/resources/js/event-controller.v2.js?_\x3d7ea6e");pbExternalResourcesLoaded.push("/pb/resources/js/event-queue.js?_\x3db1774");pbExternalResourcesLoaded.push("/pb/resources/js/pbCore.article.js?_\x3d8d21e");pbExternalResourcesLoaded.push("/pb/resources/js/utils/pbStaticMethodsEssentials.js?_\x3d0b975");
98
+ pbExternalResourcesLoaded.push("/pb/resources/js/utils/pbStaticMethodsAsync.js?_\x3d879eb");pbExternalResourcesLoaded.push("/pb/resources/js/utils/mobile-detection.js?_\x3d8c659");pbExternalResourcesLoaded.push("/pb/resources/js/utils/console/console.noop.js?_\x3d8d21e");pbExternalResourcesLoaded.push("/pb/resources/js/jqModal.js?_\x3d26a28");pbExternalResourcesLoaded.push("/pb/resources/js/utils/mobile-detection-classes.js?_\x3dc311c");pbExternalResourcesLoaded.push("/pb/resources/js/plugins/plugin.jquery.cookie-1.0.0.js?_\x3db8874");
99
+ pbExternalResourcesLoaded.push("/pb/resources/js/plugins/plugin.jquery.in-viewport-1.0.0.js?_\x3d26cc0");pbExternalResourcesLoaded.push("/pb/resources/js/utils/trigger.js?_\x3d48057");pbHeadResourceGroups.push({"resourceType":"externalResources","name":"pwapi-production","fileType":"js"});pbExternalResourcesLoaded.push("https://www.washingtonpost.com/wp-stat/pwapi/prod/wpPwapi2-min.js");pbHeadResourceGroups.push({"resourceType":"externalResources","name":"headjs","fileType":"js"});pbExternalResourcesLoaded.push("/pb/resources/js/noop.js?_\x3dd47ff");
100
+ pbExternalResourcesLoaded.push("/pb/resources/js/article-layout-headjs.js?_\x3d26cc0");</script> <script>(function(){TWP=typeof TWP=="undefined"?{}:TWP;TWP.Data=typeof TWP.Data=="undefined"?{}:TWP.Data;TWP.Data["Tracking"]={init:function(){this.props={};this.props.platform="pagebuilder";this.props.site="www.washingtonpost.com";this.props.page_type="";this.props.page_name="world:article - b9925ce2c57b - 20140118 - will-a-bust-follow-the-boom-in-britain";this.props.section="world";this.props.channel="wp - world";this.props.subsection="world";this.props.hierarchy="world|article";this.props.content_type=
101
+ "article";this.props.story_type="";this.props.headline="Will a bust follow the boom in Britain?";this.props.author="Griff Witte; Karla Adam";this.props.source="The Washington Post";this.props.content_id="3677a6ae-7f9d-11e3-97d3-b9925ce2c57b";this.props.page_num="";this.props.columnname="";this.props.blogname="";this.props.published="";this.props.news_or_commercial="News";this.props.commercial_node="/world";this.props.content_category="Foreign";this.props.sectionfront="";this.props.track_scrolling=
102
+ true;this.props.inline_elements="";this.props.tests="";this.props.events=""}};TWP.Data["Tracking"].init()})();</script> <script>(function(){if(window.BOOMR&&window.BOOMR.version)return;var dom,doc,where,iframe=document.createElement("iframe"),win=window;function boomerangSaveLoadTime(e){win.BOOMR_onload=e&&e.timeStamp||(new Date).getTime()}if(win.addEventListener)win.addEventListener("load",boomerangSaveLoadTime,false);else if(win.attachEvent)win.attachEvent("onload",boomerangSaveLoadTime);iframe.src="javascript:false";iframe.title="";iframe.role="presentation";(iframe.frameElement||iframe).style.cssText="width:0;height:0;border:0;display:none;";
103
+ where=document.getElementsByTagName("script")[0];where.parentNode.insertBefore(iframe,where);try{doc=iframe.contentWindow.document}catch(e){dom=document.domain;iframe.src="javascript:var d\x3ddocument.open();d.domain\x3d'"+dom+"';void(0);";doc=iframe.contentWindow.document}doc.open()._l=function(){var js=this.createElement("script");if(dom)this.domain=dom;js.id="boomr-if-as";js.src="https://c.go-mpulse.net/boomerang/"+"W8234-EWWKH-SQWJU-EAC6K-7AE5Z";BOOMR_lstart=(new Date).getTime();this.body.appendChild(js)};
104
+ doc.write('\x3cbody onload\x3d"document._l();"\x3e');doc.close()})();</script> <script>(function(w){if(!w)return;BOOMR=w.BOOMR||{};BOOMR.plugins=BOOMR.plugins||{};BOOMR.plugins.DuplicateTimersToBeacon={varsAdded:[],onBeforeBeacon:function(beaconData){var tOther=beaconData?beaconData.t_other:false;if(tOther){var tOthers=tOther.split(",");for(var i=0;i<tOthers.length;i++){var nameValue=tOthers[i].split("|");if(nameValue[0].indexOf("custom")===0){beaconData["timer_"+nameValue[0]]=nameValue[1];this.varsAdded.push("timer_"+nameValue[0])}}}},init:function(){BOOMR.subscribe("before_beacon",
105
+ this.onBeforeBeacon,{},this);BOOMR.subscribe("before_custom_beacon",this.onBeforeBeacon,{},this);BOOMR.subscribe("beacon",function(){BOOMR.removeVar(this.varsAdded);this.varsAdded=[]},{},this)},is_complete:function(){return true}}})(window);</script> <script>window.NREUM||(NREUM={}),__nr_require=function(t,n,e){function r(e){if(!n[e]){var o=n[e]={exports:{}};t[e][0].call(o.exports,function(n){var o=t[e][1][n];return r(o||n)},o,o.exports)}return n[e].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<e.length;o++)r(e[o]);return r}({1:[function(t,n,e){function r(t){try{s.console&&console.log(t)}catch(n){}}var o,i=t("ee"),a=t(15),s={};try{o=localStorage.getItem("__nr_flags").split(","),console&&"function"==typeof console.log&&(s.console=
106
+ !0,o.indexOf("dev")!==-1&&(s.dev=!0),o.indexOf("nr_dev")!==-1&&(s.nrDev=!0))}catch(c){}s.nrDev&&i.on("internal-error",function(t){r(t.stack)}),s.dev&&i.on("fn-err",function(t,n,e){r(e.stack)}),s.dev&&(r("NR AGENT IN DEVELOPMENT MODE"),r("flags: "+a(s,function(t,n){return t}).join(", ")))},{}],2:[function(t,n,e){function r(t,n,e,r,o){try{d?d-=1:i("err",[o||new UncaughtException(t,n,e)])}catch(s){try{i("ierr",[s,c.now(),!0])}catch(u){}}return"function"==typeof f&&f.apply(this,a(arguments))}function UncaughtException(t,
107
+ n,e){this.message=t||"Uncaught error with no additional information",this.sourceURL=n,this.line=e}function o(t){i("err",[t,c.now()])}var i=t("handle"),a=t(16),s=t("ee"),c=t("loader"),f=window.onerror,u=!1,d=0;c.features.err=!0,t(1),window.onerror=r;try{throw new Error;}catch(l){"stack"in l&&(t(8),t(7),"addEventListener"in window&&t(5),c.xhrWrappable&&t(9),u=!0)}s.on("fn-start",function(t,n,e){u&&(d+=1)}),s.on("fn-err",function(t,n,e){u&&(this.thrown=!0,o(e))}),s.on("fn-end",function(){u&&!this.thrown&&
108
+ d>0&&(d-=1)}),s.on("internal-error",function(t){i("ierr",[t,c.now(),!0])})},{}],3:[function(t,n,e){t("loader").features.ins=!0},{}],4:[function(t,n,e){function r(t){}if(window.performance&&window.performance.timing&&window.performance.getEntriesByType){var o=t("ee"),i=t("handle"),a=t(8),s=t(7),c="learResourceTimings",f="addEventListener",u="resourcetimingbufferfull",d="bstResource",l="resource",p="-start",h="-end",m="fn"+p,w="fn"+h,v="bstTimer",y="pushState",g=t("loader");g.features.stn=!0,t(6);var b=
109
+ NREUM.o.EV;o.on(m,function(t,n){var e=t[0];e instanceof b&&(this.bstStart=g.now())}),o.on(w,function(t,n){var e=t[0];e instanceof b&&i("bst",[e,n,this.bstStart,g.now()])}),a.on(m,function(t,n,e){this.bstStart=g.now(),this.bstType=e}),a.on(w,function(t,n){i(v,[n,this.bstStart,g.now(),this.bstType])}),s.on(m,function(){this.bstStart=g.now()}),s.on(w,function(t,n){i(v,[n,this.bstStart,g.now(),"requestAnimationFrame"])}),o.on(y+p,function(t){this.time=g.now(),this.startPath=location.pathname+location.hash}),
110
+ o.on(y+h,function(t){i("bstHist",[location.pathname+location.hash,this.startPath,this.time])}),f in window.performance&&(window.performance["c"+c]?window.performance[f](u,function(t){i(d,[window.performance.getEntriesByType(l)]),window.performance["c"+c]()},!1):window.performance[f]("webkit"+u,function(t){i(d,[window.performance.getEntriesByType(l)]),window.performance["webkitC"+c]()},!1)),document[f]("scroll",r,{passive:!0}),document[f]("keypress",r,!1),document[f]("click",r,!1)}},{}],5:[function(t,
111
+ n,e){function r(t){for(var n=t;n&&!n.hasOwnProperty(u);)n=Object.getPrototypeOf(n);n&&o(n)}function o(t){s.inPlace(t,[u,d],"-",i)}function i(t,n){return t[1]}var a=t("ee").get("events"),s=t(18)(a,!0),c=t("gos"),f=XMLHttpRequest,u="addEventListener",d="removeEventListener";n.exports=a,"getPrototypeOf"in Object?(r(document),r(window),r(f.prototype)):f.prototype.hasOwnProperty(u)&&(o(window),o(f.prototype)),a.on(u+"-start",function(t,n){var e=t[1],r=c(e,"nr@wrapped",function(){function t(){if("function"==
112
+ typeof e.handleEvent)return e.handleEvent.apply(e,arguments)}var n={object:t,"function":e}[typeof e];return n?s(n,"fn-",null,n.name||"anonymous"):e});this.wrapped=t[1]=r}),a.on(d+"-start",function(t){t[1]=this.wrapped||t[1]})},{}],6:[function(t,n,e){var r=t("ee").get("history"),o=t(18)(r);n.exports=r,o.inPlace(window.history,["pushState","replaceState"],"-")},{}],7:[function(t,n,e){var r=t("ee").get("raf"),o=t(18)(r),i="equestAnimationFrame";n.exports=r,o.inPlace(window,["r"+i,"mozR"+i,"webkitR"+
113
+ i,"msR"+i],"raf-"),r.on("raf-start",function(t){t[0]=o(t[0],"fn-")})},{}],8:[function(t,n,e){function r(t,n,e){t[0]=a(t[0],"fn-",null,e)}function o(t,n,e){this.method=e,this.timerDuration=isNaN(t[1])?0:+t[1],t[0]=a(t[0],"fn-",this,e)}var i=t("ee").get("timer"),a=t(18)(i),s="setTimeout",c="setInterval",f="clearTimeout",u="-start",d="-";n.exports=i,a.inPlace(window,[s,"setImmediate"],s+d),a.inPlace(window,[c],c+d),a.inPlace(window,[f,"clearImmediate"],f+d),i.on(c+u,r),i.on(s+u,o)},{}],9:[function(t,
114
+ n,e){function r(t,n){d.inPlace(n,["onreadystatechange"],"fn-",s)}function o(){var t=this,n=u.context(t);t.readyState>3&&!n.resolved&&(n.resolved=!0,u.emit("xhr-resolved",[],t)),d.inPlace(t,y,"fn-",s)}function i(t){g.push(t),h&&(x?x.then(a):w?w(a):(E=-E,O.data=E))}function a(){for(var t=0;t<g.length;t++)r([],g[t]);g.length&&(g=[])}function s(t,n){return n}function c(t,n){for(var e in t)n[e]=t[e];return n}t(5);var f=t("ee"),u=f.get("xhr"),d=t(18)(u),l=NREUM.o,p=l.XHR,h=l.MO,m=l.PR,w=l.SI,v="readystatechange",
115
+ y=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],g=[];n.exports=u;var b=window.XMLHttpRequest=function(t){var n=new p(t);try{u.emit("new-xhr",[n],n),n.addEventListener(v,o,!1)}catch(e){try{u.emit("internal-error",[e])}catch(r){}}return n};if(c(p,b),b.prototype=p.prototype,d.inPlace(b.prototype,["open","send"],"-xhr-",s),u.on("send-xhr-start",function(t,n){r(t,n),i(n)}),u.on("open-xhr-start",r),h){var x=m&&m.resolve();if(!w&&!m){var E=1,O=document.createTextNode(E);
116
+ (new h(a)).observe(O,{characterData:!0})}}else f.on("fn-end",function(t){t[0]&&t[0].type===v||a()})},{}],10:[function(t,n,e){function r(t){var n=this.params,e=this.metrics;if(!this.ended){this.ended=!0;for(var r=0;r<d;r++)t.removeEventListener(u[r],this.listener,!1);if(!n.aborted){if(e.duration=a.now()-this.startTime,4===t.readyState){n.status=t.status;var i=o(t,this.lastSize);if(i&&(e.rxSize=i),this.sameOrigin){var c=t.getResponseHeader("X-NewRelic-App-Data");c&&(n.cat=c.split(", ").pop())}}else n.status=
117
+ 0;e.cbTime=this.cbTime,f.emit("xhr-done",[t],t),s("xhr",[n,e,this.startTime])}}}function o(t,n){var e=t.responseType;if("json"===e&&null!==n)return n;var r="arraybuffer"===e||"blob"===e||"json"===e?t.response:t.responseText;return h(r)}function i(t,n){var e=c(n),r=t.params;r.host=e.hostname+":"+e.port,r.pathname=e.pathname,t.sameOrigin=e.sameOrigin}var a=t("loader");if(a.xhrWrappable){var s=t("handle"),c=t(11),f=t("ee"),u=["load","error","abort","timeout"],d=u.length,l=t("id"),p=t(14),h=t(13),m=window.XMLHttpRequest;
118
+ a.features.xhr=!0,t(9),f.on("new-xhr",function(t){var n=this;n.totalCbs=0,n.called=0,n.cbTime=0,n.end=r,n.ended=!1,n.xhrGuids={},n.lastSize=null,p&&(p>34||p<10)||window.opera||t.addEventListener("progress",function(t){n.lastSize=t.loaded},!1)}),f.on("open-xhr-start",function(t){this.params={method:t[0]},i(this,t[1]),this.metrics={}}),f.on("open-xhr-end",function(t,n){"loader_config"in NREUM&&"xpid"in NREUM.loader_config&&this.sameOrigin&&n.setRequestHeader("X-NewRelic-ID",NREUM.loader_config.xpid)}),
119
+ f.on("send-xhr-start",function(t,n){var e=this.metrics,r=t[0],o=this;if(e&&r){var i=h(r);i&&(e.txSize=i)}this.startTime=a.now(),this.listener=function(t){try{"abort"===t.type&&(o.params.aborted=!0),("load"!==t.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeof n.onload))&&o.end(n)}catch(e){try{f.emit("internal-error",[e])}catch(r){}}};for(var s=0;s<d;s++)n.addEventListener(u[s],this.listener,!1)}),f.on("xhr-cb-time",function(t,n,e){this.cbTime+=t,n?this.onloadCalled=!0:this.called+=
120
+ 1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof e.onload||this.end(e)}),f.on("xhr-load-added",function(t,n){var e=""+l(t)+!!n;this.xhrGuids&&!this.xhrGuids[e]&&(this.xhrGuids[e]=!0,this.totalCbs+=1)}),f.on("xhr-load-removed",function(t,n){var e=""+l(t)+!!n;this.xhrGuids&&this.xhrGuids[e]&&(delete this.xhrGuids[e],this.totalCbs-=1)}),f.on("addEventListener-end",function(t,n){n instanceof m&&"load"===t[0]&&f.emit("xhr-load-added",[t[1],t[2]],n)}),f.on("removeEventListener-end",
121
+ function(t,n){n instanceof m&&"load"===t[0]&&f.emit("xhr-load-removed",[t[1],t[2]],n)}),f.on("fn-start",function(t,n,e){n instanceof m&&("onload"===e&&(this.onload=!0),("load"===(t[0]&&t[0].type)||this.onload)&&(this.xhrCbStart=a.now()))}),f.on("fn-end",function(t,n){this.xhrCbStart&&f.emit("xhr-cb-time",[a.now()-this.xhrCbStart,this.onload,n],n)})}},{}],11:[function(t,n,e){n.exports=function(t){var n=document.createElement("a"),e=window.location,r={};n.href=t,r.port=n.port;var o=n.href.split("://");
122
+ !r.port&&o[1]&&(r.port=o[1].split("/")[0].split("@").pop().split(":")[1]),r.port&&"0"!==r.port||(r.port="https"===o[0]?"443":"80"),r.hostname=n.hostname||e.hostname,r.pathname=n.pathname,r.protocol=o[0],"/"!==r.pathname.charAt(0)&&(r.pathname="/"+r.pathname);var i=!n.protocol||":"===n.protocol||n.protocol===e.protocol,a=n.hostname===document.domain&&n.port===e.port;return r.sameOrigin=i&&(!n.hostname||a),r}},{}],12:[function(t,n,e){function r(){}function o(t,n,e){return function(){return i(t,[f.now()].concat(s(arguments)),
123
+ n?null:this,e),n?void 0:this}}var i=t("handle"),a=t(15),s=t(16),c=t("ee").get("tracer"),f=t("loader"),u=NREUM;"undefined"==typeof window.newrelic&&(newrelic=u);var d=["setPageViewName","setCustomAttribute","setErrorHandler","finished","addToTrace","inlineHit","addRelease"],l="api-",p=l+"ixn-";a(d,function(t,n){u[n]=o(l+n,!0,"api")}),u.addPageAction=o(l+"addPageAction",!0),u.setCurrentRouteName=o(l+"routeName",!0),n.exports=newrelic,u.interaction=function(){return(new r).get()};var h=r.prototype={createTracer:function(t,
124
+ n){var e={},r=this,o="function"==typeof n;return i(p+"tracer",[f.now(),t,e],r),function(){if(c.emit((o?"":"no-")+"fn-start",[f.now(),r,o],e),o)try{return n.apply(this,arguments)}finally{c.emit("fn-end",[f.now()],e)}}}};a("setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","),function(t,n){h[n]=o(p+n)}),newrelic.noticeError=function(t){"string"==typeof t&&(t=new Error(t)),i("err",[t,f.now()])}},{}],13:[function(t,n,e){n.exports=function(t){if("string"==typeof t&&t.length)return t.length;
125
+ if("object"==typeof t){if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&t.byteLength)return t.byteLength;if("undefined"!=typeof Blob&&t instanceof Blob&&t.size)return t.size;if(!("undefined"!=typeof FormData&&t instanceof FormData))try{return JSON.stringify(t).length}catch(n){return}}}},{}],14:[function(t,n,e){var r=0,o=navigator.userAgent.match(/Firefox[\/\s](\d+\.\d+)/);o&&(r=+o[1]),n.exports=r},{}],15:[function(t,n,e){function r(t,n){var e=[],r="",i=0;for(r in t)o.call(t,r)&&(e[i]=
126
+ n(r,t[r]),i+=1);return e}var o=Object.prototype.hasOwnProperty;n.exports=r},{}],16:[function(t,n,e){function r(t,n,e){n||(n=0),"undefined"==typeof e&&(e=t?t.length:0);for(var r=-1,o=e-n||0,i=Array(o<0?0:o);++r<o;)i[r]=t[n+r];return i}n.exports=r},{}],17:[function(t,n,e){n.exports={exists:"undefined"!=typeof window.performance&&window.performance.timing&&"undefined"!=typeof window.performance.timing.navigationStart}},{}],18:[function(t,n,e){function r(t){return!(t&&t instanceof Function&&t.apply&&
127
+ !t[a])}var o=t("ee"),i=t(16),a="nr@original",s=Object.prototype.hasOwnProperty,c=!1;n.exports=function(t,n){function e(t,n,e,o){function nrWrapper(){var r,a,s,c;try{a=this,r=i(arguments),s="function"==typeof e?e(r,a):e||{}}catch(f){l([f,"",[r,a,o],s])}u(n+"start",[r,a,o],s);try{return c=t.apply(a,r)}catch(d){throw u(n+"err",[r,a,d],s),d;}finally{u(n+"end",[r,a,c],s)}}return r(t)?t:(n||(n=""),nrWrapper[a]=t,d(t,nrWrapper),nrWrapper)}function f(t,n,o,i){o||(o="");var a,s,c,f="-"===o.charAt(0);for(c=
128
+ 0;c<n.length;c++)s=n[c],a=t[s],r(a)||(t[s]=e(a,f?s+o:o,i,s))}function u(e,r,o){if(!c||n){var i=c;c=!0;try{t.emit(e,r,o,n)}catch(a){l([a,e,r,o])}c=i}}function d(t,n){if(Object.defineProperty&&Object.keys)try{var e=Object.keys(t);return e.forEach(function(e){Object.defineProperty(n,e,{get:function(){return t[e]},set:function(n){return t[e]=n,n}})}),n}catch(r){l([r])}for(var o in t)s.call(t,o)&&(n[o]=t[o]);return n}function l(n){try{t.emit("internal-error",n)}catch(e){}}return t||(t=o),e.inPlace=f,e.flag=
129
+ a,e}},{}],ee:[function(t,n,e){function r(){}function o(t){function n(t){return t&&t instanceof r?t:t?c(t,s,i):i()}function e(e,r,o,i){if(!l.aborted||i){t&&t(e,r,o);for(var a=n(o),s=h(e),c=s.length,f=0;f<c;f++)s[f].apply(a,r);var d=u[y[e]];return d&&d.push([g,e,r,a]),a}}function p(t,n){v[t]=h(t).concat(n)}function h(t){return v[t]||[]}function m(t){return d[t]=d[t]||o(e)}function w(t,n){f(t,function(t,e){n=n||"feature",y[e]=n,n in u||(u[n]=[])})}var v={},y={},g={on:p,emit:e,get:m,listeners:h,context:n,
130
+ buffer:w,abort:a,aborted:!1};return g}function i(){return new r}function a(){(u.api||u.feature)&&(l.aborted=!0,u=l.backlog={})}var s="nr@context",c=t("gos"),f=t(15),u={},d={},l=n.exports=o();l.backlog=u},{}],gos:[function(t,n,e){function r(t,n,e){if(o.call(t,n))return t[n];var r=e();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,n,{value:r,writable:!0,enumerable:!1}),r}catch(i){}return t[n]=r,r}var o=Object.prototype.hasOwnProperty;n.exports=r},{}],handle:[function(t,n,e){function r(t,
131
+ n,e,r){o.buffer([t],r),o.emit(t,n,e)}var o=t("ee").get("handle");n.exports=r,r.ee=o},{}],id:[function(t,n,e){function r(t){var n=typeof t;return!t||"object"!==n&&"function"!==n?-1:t===window?0:a(t,i,function(){return o++})}var o=1,i="nr@id",a=t("gos");n.exports=r},{}],loader:[function(t,n,e){function r(){if(!x++){var t=b.info=NREUM.info,n=l.getElementsByTagName("script")[0];if(setTimeout(u.abort,3E4),!(t&&t.licenseKey&&t.applicationID&&n))return u.abort();f(y,function(n,e){t[n]||(t[n]=e)}),c("mark",
132
+ ["onload",a()+b.offset],null,"api");var e=l.createElement("script");e.src="https://"+t.agent,n.parentNode.insertBefore(e,n)}}function o(){"complete"===l.readyState&&i()}function i(){c("mark",["domContent",a()+b.offset],null,"api")}function a(){return E.exists&&performance.now?Math.round(performance.now()):(s=Math.max((new Date).getTime(),s))-b.offset}var s=(new Date).getTime(),c=t("handle"),f=t(15),u=t("ee"),d=window,l=d.document,p="addEventListener",h="attachEvent",m=d.XMLHttpRequest,w=m&&m.prototype;
133
+ NREUM.o={ST:setTimeout,SI:d.setImmediate,CT:clearTimeout,XHR:m,REQ:d.Request,EV:d.Event,PR:d.Promise,MO:d.MutationObserver};var v=""+location,y={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-1044.min.js"},g=m&&w&&w[p]&&!/CriOS/.test(navigator.userAgent),b=n.exports={offset:s,now:a,origin:v,features:{},xhrWrappable:g};t(12),l[p]?(l[p]("DOMContentLoaded",i,!1),d[p]("load",r,!1)):(l[h]("onreadystatechange",o),d[h]("onload",r)),c("mark",["firstbyte",s],null,"api");
134
+ var x=0,E=t(17)},{}]},{},["loader",2,10,4,3]);NREUM.info={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",licenseKey:"ce992986c8",applicationID:"91618238",sa:1};</script> <script>if(typeof newrelic=="object"){newrelic.setCustomAttribute("site","www.washingtonpost.com");newrelic.setCustomAttribute("rawUserAgent",navigator.userAgent);if(window.wp_pb&&wp_pb.pageName)newrelic.setCustomAttribute("pbPageName",wp_pb.pageName)};</script> </head> <body class="pb-theme-normal pb-full-fluid " data-no_ads="false"> <div style="width: 1px !important; height: 1px !important; position: absolute !important; left: -10000px !important; top: -1000px !important;" class="pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links" id="wp-adb-c"></div> <div id="pb-f-a"></div> <div id="pb-root" class=""><div id="article-full-width-content"> <section id="top-furniture" class="layout"> <div id="fxlGRs1123HpUq" class="pb-async pb-feature"></div> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false full pb-feature pb-layout-item pb-f-page-header-v2" moat-id="page/header-v2|world" data-chain-name="no-name" data-feature-name="no-name" data-feature-id="page/header-v2" data-pb-fingerprint="0fE2pbXsipa" id="f3RpJf2123HpUq"> <!--[if IE 9]><style>#main-sections-nav.subNavigation{width:475px !important}#main-sections-nav{left:-250px !important;width:315px !important}#main-sections-nav-inner{position:absolute !important}#main-sections-nav.subNavigation #main-sections-nav-inner{width:550px !important;overflow-x:hidden !important}#main-sections-nav.subNavigation{width:470px !important}</style><![endif]--> <!--[if IE 9]><div id="page" class="ie ie9 "><![endif]--> <!--[if IE 8]><div id="page" class="ie ie8 "><![endif]--> <!--[if !IE]><!--> <div id="page" class="nie "> <!--<![endif]--> <header id="wp-header" class="site-header fixed " data-beta-btn="true"> <nav id="nav-bar" class="top-nav" role="navigation"> <div id="logo-in-nav" class=" nav-display-show " itemprop="publisher" itemscope itemtype="https://schema.org/Organization"> <a href="https://www.washingtonpost.com" class="wp-logo-link" itemprop="logo" itemscope itemtype="https://schema.org/ImageObject"> <img width="181" class="main-logo" src="https://www.washingtonpost.com/pb/resources/img/thewashingtonpost-white-2x.png" alt="The Washington Post"/> <meta itemprop="url" content="https://www.washingtonpost.com/pb/resources/img/thewashingtonpost-white-2x.png"> <meta itemprop="width" content="200"> <meta itemprop="height" content="40"> <div class="tagline-wrapper"> <span class="header-tagline">Democracy Dies in Darkness</span> </div> </a> <meta itemprop="name" content="washingtonpost"/> </div> <div class="main-navigation row"> <div id="main-navigation-left" class="col-xs-7 col-md-7 col-lg-7"> <ul class="buttons-inline"> <li class="search-form-item hidden-xs"> <form id="search-form" method="get" class="search" action="//www.washingtonpost.com/newssearch/"> <input id="search-field" autocomplete="off" name="query" type="text" class="form-control closed" placeholder="Search"/> <i id="search-btn" class="fa fa-search closed"></i> </form> </li> <li class="hidden-xs"> <a href="#" id="section-menu-btn" class="button section-menu-btn sections"> Sections <i class="fa fa-bars"></i> </a> </li> <li class="mobile-nav-button visible-xs"> <a href="#" class="section-menu-btn"> <i class="fa fa-bars mobile-hamburger-ic" id="mobile-hamburger-ic"></i> </a> </li> <li id="section-menu-home" class="menu hidden-xs hide"> <a href="https://www.washingtonpost.com/?tid=tst_homelink">Home</a> </li> </ul> </div> <div id="main-navigation-right" class="col-xs-5 col-md-5 col-lg-5"> <div class="mobile-settings-button"> <a href="#" id="settings-nav-btn"></a> </div> <div class="sign-up-buttons"> <ul class="button-group" id="logged-in-status"> <li id="nav-subscribe" class="hidden"> <a class="button ab-test-sub-btn blue-bkg" href="https://subscribe.washingtonpost.com/acquisition/?nid=top_pb_subscribe&promo=o3&oscode=RPWH&destination=https://www.washingtonpost.com/world/will-a-bust-follow-the-boom-in-britain/2014/01/18/3677a6ae-7f9d-11e3-97d3-b9925ce2c57b_story.html&tid=nav_subscribe_logged_out"> <span class="ab-lbl">Try 1 month for $1</span> </a> <hr class="separator"/> </li> <li id="nav-user" class="hidden hidden-xs" data-show-identity="true" data-menu="user-menu"> <a class="button"> <span class="username">Username</span> </a> </li> <li class="nav-sign-in hidden"> <a id="sign-in-link" href="https://subscribe.washingtonpost.com/loginregistration/index.html?tid=nav_sign_in" class="button"> <span class="username">Sign In</span> </a> <hr class="separator"/> </li> <div class="visible-xs"> <ul class="site-info"> <li class="account-menu hidden"><a href="https://subscribe.washingtonpost.com/profile/#/?destination=https://www.washingtonpost.com/?refresh=true&tid=nav_acctmgnt_menu">Account</a></li> <li class="account-menu hidden"><a href="https://subscribe.washingtonpost.com/profile/#/?destination=https://www.washingtonpost.com/?refresh=true&tid=nav_acctmgnt_menu">Profile</a></li> <li><a href="https://subscribe.washingtonpost.com/newsletters?tid=nav_acctmgnt_menu">Newsletters &amp; Alerts</a></li> <li><a href="https://subscribe.washingtonpost.com/gift?promo=g_d&tid=nav_acctmgnt_menu">Gift Subscriptions</a></li> <li><a href="http://help.washingtonpost.com/ics/support/ticketnewwizard.asp?tid=nav_acctmgnt_menu">Contact Us</a></li> <li><a href="http://help.washingtonpost.com/ics/support/KBSplash.asp?tid=nav_acctmgnt_menu">Help Desk</a></li> </ul> </div> </ul> </div> <div id="slug_88x31" data-ad-type="88x31" style="display:none;"></div> </div> </div> </nav> <div id="user-menu" class="nav-menu hidden"> <ul> <li id="nav-subscribe" class="hidden"> <a href="https://subscribe.washingtonpost.com/acquisition/?nid=top_pb_subscribe&promo=o5&oscode=RPWH&destination=https://www.washingtonpost.com/world/will-a-bust-follow-the-boom-in-britain/2014/01/18/3677a6ae-7f9d-11e3-97d3-b9925ce2c57b_story.html&tid=nav_subscribe_logged_in" class="button"> <span>Subscribe</span> </a> <hr class="separator"/> </li> </ul> <ul class="user-info"></ul> <ul class="site-info"> <li class="account-menu hidden"><a href="https://subscribe.washingtonpost.com/profile/#/?destination=https://www.washingtonpost.com/?refresh=true&tid=nav_acctmgnt_menu">Account</a></li> <li class="account-menu hidden"><a href="https://subscribe.washingtonpost.com/profile/#/?destination=https://www.washingtonpost.com/?refresh=true&tid=nav_acctmgnt_menu">Profile</a></li> <li><a href="https://subscribe.washingtonpost.com/newsletters?tid=nav_acctmgnt_menu">Newsletters &amp; Alerts</a></li> <li><a href="https://subscribe.washingtonpost.com/gift?promo=g_d&tid=nav_acctmgnt_menu">Gift Subscriptions</a></li> <li><a href="http://help.washingtonpost.com/ics/support/ticketnewwizard.asp?tid=nav_acctmgnt_menu">Contact Us</a></li> <li><a href="http://help.washingtonpost.com/ics/support/KBSplash.asp?tid=nav_acctmgnt_menu">Help Desk</a></li> </ul> </div> </header> </div> <!--[if IE 8]><div id="main-sections-nav" class="sections-nav ie8"><![endif]--> <!--[if IE 9]><div id="main-sections-nav" class="sections-nav ie9"><![endif]--> <!--[if !IE]><!--> <div id="main-sections-nav" class="sections-nav hide-subscribe-left-nav"> <!--<![endif]--> <div id="main-sections-nav-inner" class="sections-nav unfetched-menu "> <div id="sections-menu-off-canvas-alt"> <ul class="side-nav"> <li id="nav-screenreader-link" class="main-nav nav-screenreader-link"> <a class="main-nav-item screenreader-link" target="_self" href="http://www.washingtonpost.com/pb/world/will-a-bust-follow-the-boom-in-britain/2014/01/18/3677a6ae-7f9d-11e3-97d3-b9925ce2c57b_story.html?outputType=accessibility&nid=menu_nav_accessibilityforscreenreader">Accessibility for screenreader</a> </li> </ul> </div> </div> </div> <div id="wp-logo-for-print"> <img class="unprocessed" data-hi-res-src="https://www.washingtonpost.com/pb/resources/img/washingtonpost_black_32.png" alt="The Washington Post"/> </div> </div> <div id="fw6ihd1123HpUq" class="pb-async pb-feature"></div> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false full pb-feature pb-layout-item pb-f-ad-interstitial" moat-id="ad/interstitial|world" data-chain-name="no-name" data-feature-name="no-name" data-feature-id="ad/interstitial" data-pb-fingerprint="0fzgS42Wfqu" id="f0iZMG1123HpUq"> <div class="zeus-ads-fixed" id="zeus-ads-fixed"> <div class="ad-interstitial"><wp-ad id="slug_interstitial"></wp-ad></div> </div> <script>(function(){if(!document.getElementById("article-full-width-content")){var container=document.getElementById("zeus-ads-fixed"),parent=document.body;parent.insertBefore(container,parent.firstChild)}})();</script> </div> <div class="pb-container"> </div> </section> </div> <div id="article-standard-content" class="clear"> <section id="top-content" class="col-xs-12 layout"> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false full pb-feature pb-layout-item pb-f-ad-leaderboard" moat-id="ad/leaderboard|world" data-chain-name="no-name" data-feature-name="no-name" data-feature-id="ad/leaderboard" data-pb-fingerprint="0fH2pbXsipz" id="fWuYaw1123HpUq"> <div class="leaderboard ad-hideable"> <wp-ad id="slug_leaderboard" class="pb-ad-container"></wp-ad> <div class="leaderboard-close fa"></div> </div> <div class="mobile-fixed ad-hideable"> <div id="slug_t" data-ad-type="t" class="pb-ad-container-mobile" style="display:none;"> </div> </div> <script>(function(){TWP=window.TWP||{};TWP.Features=TWP.Features||{};TWP.Features.Ad=TWP.Features.Ad||{};TWP.Features.Ad.Leaderboard={};TWP.Features.Ad.Leaderboard.viewability=false;TWP.Features.Ad.Leaderboard.sticky=true;TWP.Features.Ad.Leaderboard.belowSharebar=false})();</script> </div> <div class="pb-container"> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false pb-feature pb-layout-item pb-f-article-article-topper" moat-id="article/article-topper|world" data-chain-name="no-name" data-feature-name="no-name" data-feature-id="article/article-topper" data-pb-fingerprint="0f8Fu3zSKqV" id="fzb4jA1123HpUq"> <div class="border-bottom-off border-bottom-100-pct"> <div id="article-topper" class="article-topper "> <div class="headline-kicker"><a class='kicker-link' href='/world'>World</a></div> <div> <div id="topper-headline-wrapper" class="col-xs-12 col-sm-12 col-lg-12"> <h1 data-pb-field="custom.topperDisplayName" itemprop="headline">Will a bust follow the boom in Britain?</h1> </div> <wp-ad id="slug_tiffany_tile" data-ad-type="tiffany_tile" class="hidden-xs right"></wp-ad> </div> <div class="clear"></div> </div> </div> </div> </div> </section> <section id="main-content" class="col-xl-9 col-lg-8 col-md-8 col-sm-12 col-xs-12 col-xs-offset-0 col-sm-offset-0 col-md-offset-0 col-lg-offset-0 layout"> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false full pb-feature pb-layout-item pb-f-article-article-deck" moat-id="article/article-deck|world" data-chain-name="no-name" data-feature-name="no-name" data-feature-id="article/article-deck" data-pb-fingerprint="0f8nqmzSKqP" id="fVxrHK1123HpUq"> </div> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false full pb-feature pb-layout-item pb-f-article-article-body" moat-id="article/article-body|world" data-chain-name="no-name" data-feature-name="no-name" data-feature-id="article/article-body" data-pb-fingerprint="0fq6evzSKq9" id="ftLWVk1123HpUq"> <div id="article-body" class="article-body content-format-default"> <div class="pb-sig-line hasnt-headshot has-0-headshots hasnt-bio is-not-column"> <span class="pb-byline" itemprop="author" itemscope itemtype="http://schema.org/Person">By <a href="https://www.washingtonpost.com/people/griff-witte/"><span itemprop="name">Griff Witte</span></a> and <a href="https://www.washingtonpost.com/people/karla-adam/"><span itemprop="name">Karla Adam</span></a></span> <span class="pb-timestamp" itemprop="datePublished" content="2014-01-18T05:43-500">January 18, 2014</span> <span class="pb-tool email"><a href="mailto:griff.witte@washpost.com;karla.adam@washpost.com?subject=Reader feedback for 'Will a bust follow the boom in Britain?'"><span class="fa fa-envelope"></span><span class="envelope-label">Email the author</span></a></span> <span class="tweet-authors"><span class="pb-twitter-follow unprocessed"><a href="https://twitter.com/@griffwitte" class="twitter-follow-button" data-show-count="false" data-lang="en">Follow @griffwitte</a></span> <span class="pb-twitter-follow unprocessed"><a href="https://twitter.com/@karlaadam" class="twitter-follow-button" data-show-count="false" data-lang="en">Follow @karlaadam</a></span> </span> <span class="pb-bolt"><i class="fa fa-bolt"></i></span> </div> <article class="paywall" itemprop="articleBody"> <p> <span class="dateline">LONDON — </span>For decades, the modest two-bedroom apartment off Abbey Road was home to some of London’s neediest, a small, leaky outpost in this city’s vast constellation of public housing.</p> <p>Worn down by time and neglect, its kitchen and bath were barely functional, its carpet rank.</p> <p>But in the blistering real estate market that is London, even humble dwellings can become hot properties. So when the unit was renovated and put on the private market last month, it didn’t take long to sell — for a million dollars.</p> <p>Such eye-popping prices explain why, just six years after the global economy melted down from an overheated housing market fed by cheap credit, concerns are rising that Britain could be blowing another bubble. At stake is a still-fragile recovery — one that appears to be gathering pace but that could easily be thrown off course by another cycle of boom and bust that seeps from one nation to the next.</p> <p>“Housing prices rising modestly makes people feel better off, and that’s good for the economy,” said Howard Archer, chief European economist at IHS Global Insight. “But what you don’t want is housing prices racing ahead, because we know well that that will end in tears. We’ve been there before.”</p><div class="inline-content inline-photo-left" style="width:300px;"> <a name="bc58e8c0c10a5c8c6c85df8d2e60ebb8c6b40f8b"></a> <img alt="" class="unprocessed" data-hi-res-src="https://img.washingtonpost.com/rf/image_1024w/2010-2019/WashingtonPost/2014/01/19/Web-Resampled/2014-01-18/w-britproperty-U700355856661qCF--300x537@wp.com.jpg?uuid=sBrpQoCeEeOVxgp6qAh0vA" data-low-res-src="https://img.washingtonpost.com/rf/image_480w/2010-2019/WashingtonPost/2014/01/19/Web-Resampled/2014-01-18/w-britproperty-U700355856661qCF--300x537@wp.com.jpg?uuid=sBrpQoCeEeOVxgp6qAh0vA" data-raw-src="https://img.washingtonpost.com/rw/2010-2019/WashingtonPost/2014/01/19/Web-Resampled/2014-01-18/w-britproperty-U700355856661qCF--300x537@wp.com.jpg?uuid=sBrpQoCeEeOVxgp6qAh0vA" src="https://img.washingtonpost.com/rf/image_480w/2010-2019/WashingtonPost/2014/01/19/Web-Resampled/2014-01-18/w-britproperty-U700355856661qCF--300x537@wp.com.jpg?uuid=sBrpQoCeEeOVxgp6qAh0vA"/> <span class="pb-caption"> </span> </div> <p> <a href="http://www.bbc.co.uk/news/business-25649566">Race ahead they have</a>, climbing last year at their fastest pace since 2007, the year before the most recent bubble burst. Some forecasters worry that growth will be even quicker this year as the government steps in with a politically popular — <a href="http://www.theguardian.com/money/2013/oct/15/house-prices-hit-record-high">but economically dubious</a> — stimulus program aimed at opening the real estate market to buyers who wouldn’t otherwise qualify.</p> <p>The program has exposed a deep rift within the government, with Prime Minister David Cameron’s secretary of state for business warning that it could help stoke a “raging housing boom” in London and other parts of southeast England. “The government has done really good work turning the economy around. We can’t now risk it being derailed by a housing bubble,” Vince Cable, a member of the government’s junior coalition partner, the Liberal Democrats, told the Daily Telegraph this month.</p> <p>The anxiety over a possible bubble adds an ominous undertone to what is otherwise the brightest economic landscape Britain has enjoyed since it fell into recession in 2008 and then limped through an anemic, at times barely perceptible recovery.</p> <p>Unemployment is dropping, retail sales are rising and consumer confidence is growing. Many economists expect the recovery to finally pick up its pace this year.</p> <p>Cameron and his allies, eager to tout the economy’s strength ahead of elections expected in the spring of 2015, have pointed to the real estate market as another positive indicator and dismiss any suggestion that rapidly rising prices could lead to another bust.</p> <p>Cameron this month called fears of a bubble “London-centric,” noting that the rise in prices has been concentrated in the capital and the surrounding area, while prices elsewhere remain well below their peaks.</p> <p>“I think if you look across the country, there are many parts of the country where house prices are barely moving at all,” he said.</p><div></div> <div class="subhead">Crazy in the capital</div> <p>But London is no small matter — it’s far and away Britain’s largest city — and the property boom here <a href="http://www.theguardian.com/business/2013/oct/14/britain-housing-bubble-house-prices">has been unmistakable</a>.</p> <p>Throughout the recession and its aftermath, London property became the investment vehicle of choice for many wealthy Russians, Chinese, Arabs and others who sought a safe place to park their cash amid global economic and political storms.</p> <p>Real estate agents say that Britons are increasingly getting in on the act, eagerly scooping up properties for record prices. In one fast-changing area of central London — Little Venice — agents say that per-square-foot prices have nearly doubled in the past two years.</p> <p> <a href="http://www.economist.com/blogs/blighty/2014/01/housing-space">Supply is stretched to the limit</a> in this crowded and ancient city, where construction is tightly regulated. Demand, meanwhile, shows no signs of easing. Even former public housing units, which can be converted and sold privately, become the objects of intense bidding wars whenever they hit the market.</p> <p>“It’s mental,” said Richard Hudson, 30, who lives more than an hour outside London and commutes into the city. “My dad bought a house for 5,000 pounds [in the 1970s]. It’s now worth a quarter of a million. I don’t think in another 30 years it will be worth 3 million. It can't go up and up and up. It has to even out at some time. Right?”</p> <p>John Van Reenen thinks that time could come sooner than the government expects. By making it easier for applicants to get a mortgage with only a 5 percent down payment through the Help to Buy program, he said, Britain is risking another bust.</p> <p>“When you pump up demand without doing anything about supply, you’re going to get another big rise in prices,” said Van Reenen, who directs the Center for Economic Performance at the London School of Economics. “It’s like giving a bottle of whiskey to someone who’s in a 12-step program as a reward for staying off the booze.”</p> <div class="subhead">Helped by Help to Buy</div> <p>And yet, for those who would otherwise be priced out of homeownership by the galloping market, Help to Buy has proved to be a winner.</p> <p>Michael Williamson, a 34-year-old claims adjustor, said that in his small town of Hammersmith, 130 miles northwest of London, prices and mortgage rules conspired to put homeownership out of reach — even on his annual salary of 50,000 pounds, or $82,000.</p> <p>But when Help to Buy kicked in last autumn, he was suddenly able to purchase a century-old, two-bedroom house for a little more than 125,000 pounds, or $200,000. To Williamson, the purchase looks less like speculation in a frothy market than a leg-up on a better life.</p> <p>“It’s about time the government did something to help,” he said. “I don’t come from a rich family, so I don’t have parents who will give 15,000 pounds for a deposit. That’s not available to me. I’m genuinely pleased Cameron has done something for the working man, which is me.”</p> </article> <div class="clear"></div> </div> </div> <div id="f0gB9oX123HpUq" class="pb-async pb-feature"></div> <div class="chain-wrapper standard-chain in-chain border-bottom-hairline border-bottom-100-pct pb-layout-item pb-chain pb-c-standard-chain full" data-chain-name="no-name" id="c0VEJsA123HpUq"> <div class="chain-content no-skin clear"> <div id="f0a6h8R123HpUq" class="pb-async pb-feature"></div> <div id="f8IlF52123HpUq" class="pb-async pb-feature"></div> <div class="clear"></div> </div> <div class="clear"></div> </div> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false full pb-feature pb-layout-item pb-f-article-article-author-bio" moat-id="article/article-author-bio|world" data-chain-name="no-name" data-feature-name="no-name" data-feature-id="article/article-author-bio" data-pb-fingerprint="0fCRPQzSKqf" id="fbNPD02123HpUq"> <div class="pb-bottom-author-wrapper border-bottom-hairline border-bottom-100-pct"> <div class="pb-bottom-author"> <div class="pb-author-info "> <div class="pb-author-bio">Griff Witte is The Washington Post’s Berlin bureau chief. He previously served as the paper’s deputy foreign editor and as the bureau chief in London, Kabul, Islamabad and Jerusalem.</div> <a href="https://twitter.com/intent/follow?screen_name=griffwitte"><i class="fa fa-twitter"></i> Follow @griffwitte</a> </div> </div> <div class="pb-bottom-author"> <div class="pb-author-info "> <div class="pb-author-bio">Karla Adam is a London correspondent for The Washington Post. Before joining The Post in 2006, she worked as a freelancer in London for the New York Times and People magazine. </div> <a href="https://twitter.com/intent/follow?screen_name=karlaadam"><i class="fa fa-twitter"></i> Follow @karlaadam</a> </div> </div> </div> </div> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false full pb-feature pb-layout-item pb-f-page-subscription-promo" moat-id="page/subscription-promo|world" data-chain-name="no-name" data-feature-name="no-name" data-feature-id="page/subscription-promo" data-pb-fingerprint="0fEBAG55QqM" id="f0ZH9vc123HpUq"> <div class="border-bottom-hairline pb-subscribe-promo"> <div class="pb-subscribe pb-font-smoothing" data-ad-type="postmost"> <div class="pb-subscribe-image-container"> <img src="https://www.washingtonpost.com/resizer/TXJKur-cQ3m4AF9lqk_kkjfemkk=/3x2/www.washingtonpost.com/pb/resources/img/spacer.gif" data-hi-res-src="https://www.washingtonpost.com/resizer/JPBf22sLYvMqcatVjerjzq_eUL4=/300x0/www.washingtonpost.com/pb/resources/img/twp-logo-300x46.png" data-low-res-src="https://www.washingtonpost.com/resizer/vrVMeZJleXiNHbrd0Vi8_7hOElk=/150x0/www.washingtonpost.com/pb/resources/img/twp-logo-300x46.png" data-raw-src="https://www.washingtonpost.com/pb/resources/img/twp-logo-300x46.png" data-threshold="150" alt="subscribe" class="unprocessed _3-to-2 placeholder wp-logo"/> </div> <div class="pb-subscribe-title-container"> <div class="pb-subscribe-headline">The story must be told.</div> <div class="pb-subscribe-subline">Your subscription supports journalism that matters.</div> </div> <div class="pb-subscribe-button"> <a class="pb-subscribe-link" href="https://subscribe.washingtonpost.com/acquisition/?promo=d_am_in_a18&oscode=RPWH&tid=s_028">Try 1 month for $1</a> </div> </div> </div> </div> <div id="f0n7mwo123HpUq" class="pb-async pb-feature"></div> <div id="f01bH6k123HpUq" class="pb-async pb-feature"></div> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false full pb-feature pb-layout-item pb-f-tools-feature-loader" moat-id="tools/feature-loader|world" data-chain-name="no-name" data-feature-name="outbrain-loader" data-feature-id="tools/feature-loader" data-pb-fingerprint="0fi1QSlQ0qp" id="f0Yfq65123HpUq"> <div data-conditionsurl="/pb/resources/conditions/outbrain.json" class="feature-loader-config" style="display: none;"></div> </div> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false full pb-feature pb-layout-item pb-f-tools-feature-loader" moat-id="tools/feature-loader|world" data-chain-name="no-name" data-feature-name="comments-loader" data-feature-id="tools/feature-loader" data-pb-fingerprint="0fJ2pbXsipj" id="f0zHJUP123HpUq"> <div data-conditionsurl="/pb/resources/conditions/comments.json" data-contenturi="/pb/world/will-a-bust-follow-the-boom-in-britain/2014/01/18/3677a6ae-7f9d-11e3-97d3-b9925ce2c57b_story.html" class="feature-loader-config" style="display: none;"></div> </div> <div id="fnv0Vm1123HpUq" class="pb-async pb-feature"></div> <div class="pb-container"> </div> </section> <section id="right-rail" class="col-xl-3 col-lg-4 col-md-4 col-sm-10 col-xs-10 col-xs-offset-1 col-sm-offset-1 col-md-offset-0 layout"> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false full pb-feature pb-layout-item pb-f-ad-flex" moat-id="ad/flex|world" data-chain-name="no-name" data-feature-name="no-name" data-feature-id="ad/flex" data-pb-fingerprint="0fQ2pbXsipU" id="f0UecHf123HpUq"> <wp-ad id="slug_flex_ss_bb_hp" class="pb-ad-container border-bottom-airy border-bottom-" data-ad-type="flex_ss_bb_hp"></wp-ad> <script>(function(){TWP=window.TWP||{};TWP.Features=TWP.Features||{};TWP.Features.Ad=TWP.Features.Ad||{};TWP.Features.Ad.flexAd={};TWP.Features.Ad.flexAd.sticky=true})();</script> </div> <div id="f01KTbe123HpUq" class="pb-async pb-feature"></div> <div id="f0Bb9qi123HpUq" class="pb-async pb-feature"></div> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false full pb-feature pb-layout-item pb-f-ad-flex-2" moat-id="ad/flex-2|world" data-chain-name="no-name" data-feature-name="no-name" data-feature-id="ad/flex-2" data-pb-fingerprint="0fl2pbXsip6" id="f0cIBpL123HpUq"> <wp-ad id="slug_flex_ss_bb_hp_2" class="pb-ad-container border-bottom-airy border-bottom-" data-ad-type-placeholder="flex_ss_bb_hp|2" data-ad-delivery="vi"></wp-ad> </div> <div id="flcaZ32123HpUq" class="pb-async pb-feature"></div> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false full pb-feature pb-layout-item pb-f-ad-flex-4" moat-id="ad/flex-4|world" data-chain-name="no-name" data-feature-name="no-name" data-feature-id="ad/flex-4" data-pb-fingerprint="0fqAng65QqQ" id="fmqjLZ1123HpUq"> <wp-ad id="slug_flex_ss_bb_hp_4" class="pb-ad-container border-bottom-hairline border-bottom-100-pct"data-ad-type-placeholder="flex_flex_ss_bb_hp|4" data-ad-delivery="vi"></wp-ad> </div> <div id="f0Ye2py123HpUq" class="pb-async pb-feature"></div> <div id="fRmcPa2123HpUq" class="pb-async pb-feature"></div> <div id="fEzzkh1123HpUq" class="pb-async pb-feature"></div> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false full pb-feature pb-layout-item pb-f-ad-flex-3" moat-id="ad/flex-3|world" data-chain-name="no-name" data-feature-name="no-name" data-feature-id="ad/flex-3" data-pb-fingerprint="0fg2pbXsipb" id="f0E561g123HpUq"> <wp-ad id="slug_flex_ss_bb_hp_3" class="pb-ad-container border-bottom-airy border-bottom-"data-ad-type-placeholder="flex_ss_bb_hp|3" data-ad-delivery="vi"></wp-ad> <script>(function(){TWP=window.TWP||{};TWP.Features=TWP.Features||{};TWP.Features.Ad=TWP.Features.Ad||{};TWP.Features.Ad.flexAd3={};TWP.Features.Ad.flexAd3.sticky=true})();</script> </div> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false full pb-feature pb-layout-item pb-f-posttv-sticky-player-powa" moat-id="posttv/sticky-player-powa|world" data-chain-name="no-name" data-feature-name="no-name" data-feature-id="posttv/sticky-player-powa" data-pb-fingerprint="0fYFM1NwoqZ" id="fFnBjA1123HpUq"><style type="text/css">.wpv-hidden{display:none}.posttv-sticky-player-video.wpv-hidden{visibility:hidden !important;display:block}</style> <div class="posttv-sticky-player-video pb-font-smoothing wpv-hidden"> <div class="posttv-sticky-player-exit wpv-hidden"><span class="franklin-bold">Close</span><i class="fa fa-times"></i></div> <div class="posttv-sticky-player-wrapper" id="posttv-sticky-player-wrapper"></div> <div class="posttv-sticky-player-text wpv-hidden"> <div class="label label-normal">Now Playing</div> <div class="posttv-sticky-player-caption pb-caption"></div> </div> </div> <div class="clear"></div> </div> <div class="pb-container"> </div> </section> <section id="bottom-content" class="col-xs-12 layout"> <div id="foB5Yg1123HpUq" class="pb-async pb-feature"></div> <div class="pb-container"> </div> </section> <section id="bottom-furniture" class="col-xs-12 layout"> <div id="f2Ts341123HpUq" class="pb-async pb-feature"></div> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false full pb-feature pb-layout-item pb-f-page-clavis" moat-id="page/clavis|world" data-chain-name="no-name" data-feature-name="no-name" data-feature-id="page/clavis" data-pb-fingerprint="0fx2pbXsipP" id="fghFCh1123HpUq"> <script>try{if(wp_meta_data){if(!wp_meta_data.clavis)wp_meta_data.clavis={};(function(){var clavisAuxs=[];var clavisAuxNames=[];var clavisKeywords=[];var clavisTopics=[];var clavisTopicsDFP=[];clavisAuxs.push("jel");clavisAuxNames.push("");clavisAuxs.push("k66");clavisAuxNames.push("");clavisAuxs.push("a8t");clavisAuxNames.push("");clavisAuxs.push("5c7");clavisAuxNames.push("");clavisAuxs.push("l3o");clavisAuxNames.push("");clavisAuxs.push("OVG");clavisAuxNames.push("");clavisAuxs.push("9HP");clavisAuxNames.push("");
135
+ clavisAuxs.push("r5x");clavisAuxNames.push("");clavisAuxs.push("rok");clavisAuxNames.push("");clavisAuxs.push("3cz");clavisAuxNames.push("");clavisAuxs.push("0S8");clavisAuxNames.push("");clavisAuxs.push("FZC");clavisAuxNames.push("");clavisAuxs.push("dt5");clavisAuxNames.push("");clavisAuxs.push("wmp");clavisAuxNames.push("");clavisAuxs.push("iav");clavisAuxNames.push("");clavisAuxs.push("X6Q");clavisAuxNames.push("");clavisAuxs.push("z9t");clavisAuxNames.push("");clavisAuxs.push("mhm");clavisAuxNames.push("");
136
+ clavisAuxs.push("jqm");clavisAuxNames.push("");clavisAuxs.push("3jl");clavisAuxNames.push("");clavisAuxs.push("ruq");clavisAuxNames.push("");clavisAuxs.push("CYB");clavisAuxNames.push("");clavisAuxs.push("rnd");clavisAuxNames.push("");clavisAuxs.push("8ls");clavisAuxNames.push("");clavisAuxs.push("j1l");clavisAuxNames.push("");clavisAuxs.push("5l0");clavisAuxNames.push("");clavisAuxs.push("958");clavisAuxNames.push("");clavisAuxs.push("o95");clavisAuxNames.push("");clavisAuxs.push("ncw");clavisAuxNames.push("");
137
+ clavisAuxs.push("8fb");clavisAuxNames.push("");clavisAuxs.push("xyt");clavisAuxNames.push("");clavisAuxs.push("KTT");clavisAuxNames.push("");clavisAuxs.push("W0E");clavisAuxNames.push("");clavisAuxs.push("8xg");clavisAuxNames.push("");clavisAuxs.push("Z94");clavisAuxNames.push("");clavisAuxs.push("jua");clavisAuxNames.push("");clavisAuxs.push("RW0");clavisAuxNames.push("");clavisAuxs.push("5l3");clavisAuxNames.push("");clavisAuxs.push("2io");clavisAuxNames.push("");clavisAuxs.push("27L");clavisAuxNames.push("");
138
+ clavisAuxs.push("fdv");clavisAuxNames.push("");clavisAuxs.push("JQQ");clavisAuxNames.push("");clavisAuxs.push("6ZJ");clavisAuxNames.push("");clavisAuxs.push("z0s");clavisAuxNames.push("");clavisAuxs.push("7GB");clavisAuxNames.push("");clavisAuxs.push("an9");clavisAuxNames.push("");clavisAuxs.push("mq0");clavisAuxNames.push("");clavisAuxs.push("TKY");clavisAuxNames.push("");clavisAuxs.push("XZQ");clavisAuxNames.push("");clavisAuxs.push("7ae");clavisAuxNames.push("");clavisAuxs.push("0ay");clavisAuxNames.push("");
139
+ clavisAuxs.push("wtg");clavisAuxNames.push("");clavisAuxs.push("GD5");clavisAuxNames.push("");clavisAuxs.push("lmp");clavisAuxNames.push("");clavisAuxs.push("vjj");clavisAuxNames.push("");clavisAuxs.push("zhn");clavisAuxNames.push("");clavisAuxs.push("W5S");clavisAuxNames.push("");clavisAuxs.push("uma");clavisAuxNames.push("");clavisAuxs.push("43c");clavisAuxNames.push("");clavisAuxs.push("4yk");clavisAuxNames.push("");clavisAuxs.push("3G8");clavisAuxNames.push("");clavisAuxs.push("i6w");clavisAuxNames.push("");
140
+ clavisAuxs.push("eqw");clavisAuxNames.push("");clavisAuxs.push("mza");clavisAuxNames.push("");clavisAuxs.push("h2r");clavisAuxNames.push("");clavisAuxs.push("gx0");clavisAuxNames.push("");clavisAuxs.push("zev");clavisAuxNames.push("");clavisAuxs.push("fbv");clavisAuxNames.push("");clavisAuxs.push("SCH");clavisAuxNames.push("");clavisAuxs.push("02c");clavisAuxNames.push("");clavisAuxs.push("1dy");clavisAuxNames.push("");clavisAuxs.push("VAL");clavisAuxNames.push("");clavisAuxs.push("k9i");clavisAuxNames.push("");
141
+ clavisAuxs.push("FUF");clavisAuxNames.push("");clavisAuxs.push("XFU");clavisAuxNames.push("");clavisAuxs.push("UBV");clavisAuxNames.push("");clavisAuxs.push("9xx");clavisAuxNames.push("");clavisAuxs.push("pvh");clavisAuxNames.push("");clavisAuxs.push("7aq");clavisAuxNames.push("");clavisAuxs.push("w0i");clavisAuxNames.push("");clavisAuxs.push("urk");clavisAuxNames.push("");clavisAuxs.push("q6w");clavisAuxNames.push("");clavisAuxs.push("5k4");clavisAuxNames.push("");clavisAuxs.push("6p9");clavisAuxNames.push("");
142
+ clavisAuxs.push("G1F");clavisAuxNames.push("");clavisAuxs.push("IJT");clavisAuxNames.push("");clavisAuxs.push("K5B");clavisAuxNames.push("");clavisAuxs.push("GA9");clavisAuxNames.push("");clavisAuxs.push("1b0");clavisAuxNames.push("");clavisAuxs.push("3OV");clavisAuxNames.push("");clavisAuxs.push("0pa");clavisAuxNames.push("");clavisAuxs.push("48r");clavisAuxNames.push("");clavisAuxs.push("3rj");clavisAuxNames.push("");clavisAuxs.push("oji");clavisAuxNames.push("");clavisAuxs.push("FGA");clavisAuxNames.push("");
143
+ clavisAuxs.push("7nc");clavisAuxNames.push("");clavisAuxs.push("5tv");clavisAuxNames.push("");clavisAuxs.push("zwn");clavisAuxNames.push("");clavisAuxs.push("2o1");clavisAuxNames.push("");clavisAuxs.push("KXJ");clavisAuxNames.push("");clavisAuxs.push("MM7");clavisAuxNames.push("");clavisAuxs.push("n20");clavisAuxNames.push("");clavisAuxs.push("0yz");clavisAuxNames.push("");clavisAuxs.push("q4u");clavisAuxNames.push("");clavisAuxs.push("y4j");clavisAuxNames.push("");clavisAuxs.push("jqs");clavisAuxNames.push("");
144
+ clavisAuxs.push("m42");clavisAuxNames.push("");clavisAuxs.push("14h");clavisAuxNames.push("");clavisAuxs.push("r8j");clavisAuxNames.push("");clavisAuxs.push("Q07");clavisAuxNames.push("");clavisAuxs.push("1s9");clavisAuxNames.push("");clavisAuxs.push("kre");clavisAuxNames.push("");clavisAuxs.push("8z8");clavisAuxNames.push("");clavisAuxs.push("7WR");clavisAuxNames.push("");clavisAuxs.push("7rl");clavisAuxNames.push("");clavisKeywords.push("year");clavisKeywords.push("price");clavisKeywords.push("London");
145
+ clavisKeywords.push("government");clavisKeywords.push("time");clavisKeywords.push("city");clavisKeywords.push("market");clavisKeywords.push("Britain");clavisKeywords.push("pound");clavisKeywords.push("economy");clavisKeywords.push("country");clavisKeywords.push("recovery");clavisKeywords.push("estate market");clavisKeywords.push("housing price");clavisKeywords.push("bubble");clavisKeywords.push("pace");clavisKeywords.push("month");clavisKeywords.push("bust");clavisKeywords.push("Cameron");clavisKeywords.push("something");
146
+ clavisKeywords.push("program");clavisKeywords.push("homeownership");clavisKeywords.push("economist");clavisKeywords.push("property");clavisKeywords.push("recession");clavisTopics.push("");clavisTopicsDFP.push("yy");clavisTopics.push("");clavisTopicsDFP.push("zy");clavisTopics.push("");clavisTopicsDFP.push("tm");clavisTopics.push("");clavisTopicsDFP.push("yk");clavisTopics.push("");clavisTopicsDFP.push("iw");wp_meta_data.clavis.auxiliaries=clavisAuxs;wp_meta_data.clavis.auxiliary_names=clavisAuxNames;
147
+ wp_meta_data.clavis.ct=clavisTopicsDFP;wp_meta_data.clavis.topics=clavisTopics;wp_meta_data.clavis.keywords=clavisKeywords.slice(0,25)})()}}catch(e){};</script> </div> <div id="fXpyU61123HpUq" class="pb-async pb-feature"></div> <div id="f04ObHb123HpUq" class="pb-async pb-feature"></div> <div class="pb-container"> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate-false pb-f-async-false pb-feature pb-layout-item pb-f-bi-abtest" moat-id="bi/abtest|world" data-chain-name="no-name" data-feature-name="no-name" data-feature-id="bi/abtest" data-pb-fingerprint="0f32pbXsipq" id="fIC0n91123HpUq"> <script id="_$wapodarwintoolkitcode">!function(){(function(e,t){function a(e){return function(t,a,n){if(a)e[t]={when:function(){try{return a.call(e[t])}catch(e){return console&&console.warn('[when()@VisitorSegment("'+t+'")]',"Continuing despite error.",e),null}},setup:function(){try{return n.call(e[t])}catch(e){return console&&console.warn('[setup()@VisitorSegment("'+t+'")]',"Continuing despite error.",e),null}}},n&&(e[t]._setupResult=!!e[t].call(e[t]));else if(e[t])return e[t].when.call(e[t],e[t]._setupResult)}}function n(){var e=navigator.userAgent;
148
+ return!!(e.match(/Android/i)||e.match(/webOS/i)||e.match(/iPhone/i)||e.match(/iPad/i)||e.match(/iPod/i)||e.match(/BlackBerry/i)||e.match(/Kindle/i)||e.match(/Windows Phone/i)||e.match(/IEMobile/i))}function i(e){var t=localStorage.getItem("_vsData")||"{}";return JSON.parse(t)[e]}function r(e,t){var a=localStorage.getItem("_vsData")||"{}",a=JSON.parse(a);a[e]=t,t=JSON.stringify(a),localStorage.removeItem("_vsData"),localStorage.setItem("_vsData",t)}var o=e._vsdata=e._vsdata||{},s=function(e,t,n){return a(o).call(this,
149
+ e,t,n)};s.clone=function(e){var t;if(e)if(null===o||"object"!=typeof o)t=o;else{e=o.constructor();for(t in o)o.hasOwnProperty(t)&&(e[t]=o[t]);t=e}else t=o;return a(t)};var c={};s.resolve=function(e,t){c[e]||(c[e]=[]),setTimeout(function(){c[e].resolved=!0,c[e].argsobj=t;var a,n,i=c[e];for(n=0;i.length,a=i[n];n++)a.fn(t)},0)},s.done=function(e,t){e&&t&&(c[e]||(c[e]=[]),c[e].resolved?t(c[e].argsobj):"function"==typeof t&&c[e].push({fn:t}))},s.Deferred=function(e){this.done=function(t){s.done(e,t)},
150
+ this.resolve=function(t){s.resolve(e,t)}},s("desktop",function(){return!n()}),s("!mobile",function(){return!s("mobile")}),s("mobile",function(){return n()}),s("touch",function(){return!!("ontouchstart"in e)}),s("!touch",function(){return!s("touch")}),s("first_visit",function(){var e=i("first_time_start"),t=i("first_time_end");return e&&!t&&18E5<=(new Date).getTime()-(new Date(e)).getTime()?(r("first_time_end",!0),!1):e?!t:(r("first_time_start",(new Date).getTime()),!0)}),e.VisitorSegment=s})(window),
151
+ function(e,t,a){function i(e,t){function n(e){this.$dw=i,this.length=0,this._add=function(e,t){var a=t.length;return p.each(e,function(e,n){t[a+e]=n,t.length++}),t},this._add(e,this),this.toArray=function(){var e=[];for(var t in this)this[t]instanceof i.Variant&&e.push(this[t]);return e}}this._id=a,this._config={},this._testData={},this._ignoreBlacklist=a,this._state="uninitialized",this._handlers=[],this._dispatches={},this._id=e||this._id,this._visitor=t||new this.Visitor({},n),f[this._id]=this,
152
+ this._handlers=v[this._id]||this._handlers,n.prototype=this.$plugins;var i=this;this._makeResult=function(e){var t=e||[];return t.constructor!==Array&&(t=[t]),new n(t)}}function r(e,t,a,i){var r=[];return p.each(t,function(e,t){var a=t.customOptions,i="";if(a)for(n in a)a.hasOwnProperty(n)&&(i+=[n,a[n]].join("\x3d"));r.push(t.name+i)}),[e,r.sort().join(""),!!a,i].join("")}function o(e,t,a){var n;return p.each(e,function(e,i){if(i[t]==a)return n=i,!1}),n}function s(e){if(!e)throw new Error("invalid name");
153
+ return e.toLowerCase()}function c(e){return{name:"Dw__"+e,visit:"Dw__"+e+"__visit",blacklisted:"Dw__"+e+"__blstd",compute:"Dw__"+e+"__cmpted",hash:"Dw__"+e+"__hash",phash:"Dw__"+e+"__phash"}}function l(){return Math.random(0,1)}function m(e,t,a){return e>=t&&e<=a}function u(e,t){var a,n={};for(a in e[t])"boolean"==typeof e[t][a]&&(n[a]=!!e[t][a]);return n}function d(t){var a,n,i,r=t||{},o=0,s=[];for(n in r)i=e(n),i=i&&i.constructor==Boolean,i&&s.push(n),r.hasOwnProperty(n)&&(a=a||!!r[n]&&!!i,r[n]&&
154
+ o++);return{match:s,value:!(0!==o?!a:1==Object.keys(r).length)}}var p={each:function(e,t){for(var a,n=0;n<e.length&&("boolean"!=typeof(a=t(n,e[n]))||a);n++);},remove:function(e,t){return t>-1&&e.splice(t,1),e},addClass:function(e,t){e.classList.add(t)},removeClass:function(e,t){e.classList.remove(t)}},v={};if(t._dw&&t._dw.constructor===Array){for(var h=0;h<t._dw.length;h++)v[t._dw[h][0]]||(v[t._dw[h][0]]=[]),v[t._dw[h][0]].push(t._dw[h].slice(1,t._dw[h].length));t._dw.$plugins&&(i.prototype.$plugins=
155
+ t._dw.$plugins)}var f={};t._dw=i,i.prototype.collections=function(e){if(!e)return this._collections;this._collections=e},i.prototype.init=function(){function e(){t.applyData.call(t,t.collections.call(t)),"initialized"!=t._state&&t.dispatch.call(t,"ready"),t._state="initialized",t.dispatch.call(t,"init")}this.disabled=!this.collections(),this.dispatch("before");var t=this;this.deferSegments()?this.push(["segments-done",e]):e()},i.prototype.config=function(e){this._config.trackValueDelimiter=e.trackValueDelimiter,
156
+ this._config.deferSegments=e.deferSegments,this.collections(e.collections||[])},i.prototype.version=function(){return"2.0.0"},i.prototype.id=function(){return this._id},i.prototype.push=function(e){this._dispatches[e[0]]&&e[1]&&e[1](this,this._dispatches[e[0]]?this._dispatches[e[0]].data:a),this._handlers.push(e)},i.prototype.dispatch=function(e,t){var a=this;this._dispatches[e]={ts:(new Date).getTime(),data:t},this._handlers.length&&p.each(this._handlers,function(t,n){n[0]==e&&n[1]&&n[1](a,a._dispatches[e].data)})},
157
+ i.prototype.state=function(){return this._state},i.prototype.trackValueDelimiter=function(){return this._config.trackValueDelimiter},i.prototype.deferSegments=function(){return this._config.deferSegments},i.prototype.applyData=function(e){var t;this.disabled||!this._detectLocalStorage()||this._isOptOut()||(t=this._datastore={tests:[]},this._ignoreBlacklist=this._getLocalItem("Dw__ib"),p.each(e||[],function(e,a){"boolean"!=typeof a.disabled||a.disabled||Array.prototype.push.apply(t.tests,a.tests)}),
158
+ this.collection(t))},i.prototype.collection=function(e){function t(e){if(!e.name)throw new Error("missing name");var t=new this.Test(e,this);switch(0==Object.keys(t).length&&t.constructor==Object||(this._testData[e.name]=t),t.state){case "registered":this.dispatch("variant-register",e.name);break;case "deregistered":this.dispatch("variant-deregister",e.name);break;case "persisted":this.dispatch("variant-persist",e.name)}return this.dispatch("variant-done",e.name),t}var a,n=this,i=[],r=[];e.disabled||
159
+ (a=e.tests||[],p.each(a,function(e,t){t["x-linked"]?i.push(t):r.push(t)}),p.each(i,function(e,a){if(a=t.call(n,a),a.variation&&a.variation.run)return!1}),p.each(r,function(e,a){t.call(n,a)}))},i.prototype.ignoreBlacklist=function(e){e?(this._ignoreBlacklist="yes",this._setLocalItem("Dw__ib","yes")):(this._ignoreBlacklist=a,this._removeLocalItem("Dw__ib"))},i.prototype.optOut=function(){this._setLocalItem("Dw__OO","yes")},i.prototype.getVariant=function(e,t,n){function i(e){var a=!r.disabled&&r._testData[e]||
160
+ {},n=a.variation||new r.Variant(a,r);return t||!a.variation||n.historic||(n.historic=!0),n}var r=this;if("."==e[0])return this.$commands[e].call(this);e=e.constructor!==Array?[e]:e;var o=[];return p.each(e,function(e,t){var n=r.getTest(t),s=r._testData[t],c=s&&s.variation?s.variation.historic:a;r._testData[t]=new r.Test(n._originalData,r),r._testData[t].variation&&(r._testData[t].variation.historic=c),o.push(i(t))}),n?o:this._makeResult(o)},i.prototype.use=function(e){this.getVariant(e,!1,!1)},i.prototype.get=
161
+ function(e){return this.getVariant(e,!1,!1)},i.prototype.getTestOf=function(e){return e.getTest()},i.prototype.getToolkitOf=function(e){return e.getToolkit()},i.prototype.set=function(e,t){var a=f[this.id()];a&&0==this.find({name:e,run:!0}).length&&(a._mset=a._mset||{},a._mset[e]={},a._mset[e][t]=!0)},i.prototype.$commands={".get_history":function(){return this.find({historic:!0})}},i.prototype.segment=e,i.prototype.find=function(e){var t=this,a=e||{},n=[];return p.each(this.collections(),function(e,
162
+ i){p.each(i.tests,function(e,i){var r=0,o=t.getVariant(i.name,!0,!0)[0];for(var s in a)a[s]instanceof RegExp?(a[s].test(i[s])||"string"==typeof o.name&&a[s].test(o[s]))&&r++:(i[s]===a[s]||"string"==typeof o.name&&o[s]===a[s])&&r++;r==Object.keys(a).length&&n.push(o)})}),this._makeResult(n)},i.prototype.clear=function(){delete f[this.id()]._mset;var e=this;p.each(this.collections(),function(t,a){p.each(a.tests,function(t,a){e._deregisterVariant(a.name)})})},i.prototype.$handlers={applyClass:function(e,
163
+ t,a){p.removeClass(this,"dw-not-loaded"),p.addClass(this,"dw-"+t+"-"+a+"-"+e)}},i.prototype.applyClass=function(e,t,a){var n=function(e){var t=e.split(".");return{test:t[0],variant:t[1]}}(t),i=this.getVariant(n.test),r=i.is(n.variant);n.test&&n.variant&&(this.$handlers.applyClass.call(e,r,n.test,n.variant),a&&a.call(e,r,n.test,n.variant))},i.prototype.$plugins=i.prototype.$plugins||{},i.prototype.$plugins.add=function(e){return e="string"==typeof e?this.$dw.getVariant(e):e,this.$dw._makeResult(this._add(e,
164
+ this)),this},i.prototype.$plugins.is=function(e){function t(e,t){return!!e&&e===t.name}var a=!!this.length;return p.each(this,function(n,i){t(e,i)||(a=!1)}),a},i.prototype.$plugins.clear=function(e){var t=this.$dw;p.each(this,function(e,a){t._deregisterVariant(a.$tc.name)})},i.prototype.$plugins.has=function(e){function t(e,t){return!!e&&e===t.name}var a=!1;return p.each(this,function(n,i){t(e,i)&&(a=!0)}),a},i.prototype.$plugins.toTrackVar=function(e,t,a){function n(e,a){if(a.trackvars){var n=[],
165
+ i=e||(a.trackvars[0]?a.trackvars[0].name:"");return p.each(a.trackvars,function(e,t){s(i)===s(t.name)&&n.push(t.value)}),(n=n.join(o))&&(t?t+o:"")+n}}var i=this.$dw,r=[],o=a||i.trackValueDelimiter();return p.each(this,function(t,a){var i=n(e,a);i&&r.push(i)}),r.join(o)},i.prototype.$plugins.getTrackVar=i.prototype.$plugins.toTrackVar,i.prototype._deregisterVariant=function(e){var t=c(e);this._removeLocalItem(t.name),this._removeLocalItem(t.visit),this._removeLocalItem(t.blacklisted),this._removeLocalItem(t.compute),
166
+ this._removeLocalItem(t.hash),this._removeLocalItem(t.phash)},i.prototype._detectLocalStorage=function(){var e="_adwi_";try{return this._setLocalItem(e,e),this._removeLocalItem(e),!0}catch(e){return!1}},i.prototype._isOptOut=function(){return"yes"==this._getLocalItem("Dw__OO")},i.prototype._removeLocalItem=function(e){var t=[e,this.id()].join("|");localStorage.removeItem(t)},i.prototype._getLocalItem=function(e){var t=[e,this.id()].join("|");try{return localStorage.getItem(t)}catch(e){return null}},
167
+ i.prototype._setLocalItem=function(e,t){var n=[e,this.id()].join("|");this._getLocalItem(n)&&this._removeLocalItem(n);try{return localStorage.setItem(n,t)}catch(e){return a}},i.prototype.getTest=function(e){return this._testData[e]||new this.Test({},this)},i.prototype.visitor=function(){return this._visitor},i.prototype.Visitor=function(e,t){this.has=function(e){function a(e){var t=e instanceof i.prototype.Variant?e.getTest():e||{};return"registered"==t.state||"persisted"==t.state}var n;return t&&
168
+ e instanceof t?p.each(e.toArray(),function(e,t){if(!(n=a(t)))return!1}):n=a(e),n}},i.prototype.Variant=function(e,t){var a=e||{};this.nocollect=!a.collect,this.historic=a.historic||!1,this.run=a.run||!1;var n=a.variation||{};this.getTest=function(){return t.getTest(a.name)},this.name=n.name||"",this.trackvars=n.track||[],this.customOptions=n.customOptions||{}},i.prototype.Test=function(e,t){var n=e.name||"",i=c(n),r=e.increment||0,o=e.variations||[],s=e["x-persist"]||!1,l=e.blacklist&&e.blacklist.referrers||
169
+ [],m="yes"==t._getLocalItem(i.blacklisted),p={domains:l,segment:u(e,"segment")};this._originalData=e,this.data=function(e,t){if(t==a)return this._originalData[e];this._originalData[e]=t},this.getToolkit=function(){return t};var v=d(p.segment);this.segments=p.segment?v.match:[];var h=!!p.segment&&v.value;m||t._getLocalItem(i.blacklisted)||(m=t._isBlacklisted(p.domains)||!h,t._setLocalItem(i.blacklisted,m?"yes":"no"));var f=!!o.length,y=o.length&&new t.Variant(t._registerVariant(n,o,m,r,h,s),t);this.name=
170
+ n,f&&e.active&&!y.nocollect&&(this.variation=y);var _=f&&e.active?e.defaultTrack:[];m&&Array.prototype.push.apply(_,e.blacklist?e.blacklist.track:[]),(_.length&&y.nocollect||!f||!y||!h)&&(this.variation=new t.Variant({name:n,variation:{track:h?_:[]}},t)),f&&y&&h?y&&y.run?this.state="registered":this.state="persisted":(t._deregisterVariant(n),this.state="deregistered")},i.prototype._registerVariant=function(e,t,a,n,i,s){var u=c(e),d={cur:s?r(e,[],!1,n):r(e,t,a,n),old:s?this._getLocalItem(u.phash):
171
+ this._getLocalItem(u.hash)},v=this._getLocalItem(u.name),h="yes"==this._getLocalItem(u.visit),y="yes"==this._getLocalItem(u.compute),_=function(e,t){var e=parseFloat(e.customOptions.target),t=parseFloat(t.customOptions.target);return e<t?-1:e>t?1:0},g=f[this.id()],k=o(t,"name",v),b=!(!i||(y||a||"string"==typeof v||k)&&(!y||d.cur==d.old));if(b)if(g._mset&&g._mset[e])p.each(t,function(t,a){g._mset[e][a.name]&&(k=a)});else{t.sort(_);var w=[],C=0,x=0;p.each(t,function(e,t){var a=t.customOptions&&t.customOptions.target;
172
+ if(a){a=parseFloat(a)/100,C+=a;var n={value:[x,C]};x+=a,w.push(n)}});var L=l();p.each(w,function(e,t){m(L,t.value[0],t.value[1])&&(v=e)}),k=t[v]}k?this._setLocalItem(u.name,k.name):this._setLocalItem(u.name,"_default"),this._setLocalItem(u.visit,"yes"),this._setLocalItem(u.compute,"yes"),this._setLocalItem(u.hash,d.cur),this._setLocalItem(u.phash,d.cur);var O=k&&(!a||h)&&{name:e,variation:k,collect:!0};return O||(O={name:e}),O.run=b,O},i.prototype._isBlacklisted=function(e){function t(e){return e.replace(/\./g,
173
+ "\\.").replace(/\-/g,"\\-")}function a(e){var a=new RegExp("^(http://)?(www\\.)?"+t(e),"gi");return!e&&!document.referrer||(e&&document.referrer.match(a)||[]).length>0}var n,i=e||[];return this._ignoreBlacklist||p.each(i,function(e,t){return!(n=a(t))}),n},e("darwin-toolkit:v2.0.0",function(){return!0}),t._dw.push=function(e){f[e[0]]?(f[e[0]]._dispatches[e[1]]&&e[2]&&e[2](f[e[0]]),f[e[0]]._handlers.push(e.slice(1,e.length))):(v[e[0]]||(v[e[0]]=[]),v[e[0]].push(e.slice(1,e.length)))},t._dw}(VisitorSegment,
174
+ this),function(e){var t=new e("global"),a={};a.trackValueDelimiter=",",a.deferSegments=!0,a.collections=[{name:"recommendation",disabled:!1,tests:[{name:"recommendation-influencersexperiments",active:!0,"x-persist":!0,"x-status":"1","x-linked":"0",increment:2,segment:{},_token:"107657",variations:[{customOptions:{target:"10"},name:"influencers",track:[{name:"list1",dynamic:!1,value:"recommendation-influencersexperiments:influencers"},{name:"prop56",dynamic:!1,value:"recommendation-influencersexperiments:influencers"},
175
+ {name:"list1",dynamic:!1,value:"recommendation-influencersexperiments-107657"},{name:"prop56",dynamic:!1,value:"recommendation-influencersexperiments-107657"}]}],defaultTrack:[{name:"list1",dynamic:!1,value:"recommendation-influencersexperiments:default"},{name:"prop56",dynamic:!1,value:"recommendation-influencersexperiments:default"},{name:"list1",dynamic:!1,value:"recommendation-influencersexperiments-107657"},{name:"prop56",dynamic:!1,value:"recommendation-influencersexperiments-107657"}]}]},{name:"article",
176
+ disabled:!1,tests:[{name:"article-mostReadOpinion",active:!0,"x-persist":!0,"x-status":"1","x-linked":"0",increment:0,segment:{},_token:"e1236d",variations:[],defaultTrack:[{name:"list1",dynamic:!1,value:"article-mostReadOpinion:default"},{name:"prop56",dynamic:!1,value:"article-mostReadOpinion:default"},{name:"list1",dynamic:!1,value:"article-mostReadOpinion-e1236d"},{name:"prop56",dynamic:!1,value:"article-mostReadOpinion-e1236d"}]},{name:"article-oneClickNL",active:!1,"x-persist":!0,"x-status":"1",
177
+ "x-linked":"0",increment:0,segment:{"not logged in mobile":!0},_token:"60e020",variations:[{customOptions:{target:"25"},name:"visual",track:[{name:"list1",dynamic:!1,value:"article-oneClickNL:visual"},{name:"prop56",dynamic:!1,value:"article-oneClickNL:visual"},{name:"list1",dynamic:!1,value:"article-oneClickNL-60e020"},{name:"prop56",dynamic:!1,value:"article-oneClickNL-60e020"}]},{customOptions:{target:"25"},name:"oneClick",track:[{name:"list1",dynamic:!1,value:"article-oneClickNL:oneClick"},{name:"prop56",
178
+ dynamic:!1,value:"article-oneClickNL:oneClick"},{name:"list1",dynamic:!1,value:"article-oneClickNL-60e020"},{name:"prop56",dynamic:!1,value:"article-oneClickNL-60e020"}]},{customOptions:{target:"25"},name:"oneClickAlt",track:[{name:"list1",dynamic:!1,value:"article-oneClickNL:oneClickAlt"},{name:"prop56",dynamic:!1,value:"article-oneClickNL:oneClickAlt"},{name:"list1",dynamic:!1,value:"article-oneClickNL-60e020"},{name:"prop56",dynamic:!1,value:"article-oneClickNL-60e020"}]}],defaultTrack:[{name:"list1",
179
+ dynamic:!1,value:"article-oneClickNL:default"},{name:"prop56",dynamic:!1,value:"article-oneClickNL:default"},{name:"list1",dynamic:!1,value:"article-oneClickNL-60e020"},{name:"prop56",dynamic:!1,value:"article-oneClickNL-60e020"}]},{name:"article-breakingnews",active:!1,"x-persist":!0,"x-status":"1","x-linked":"0",increment:0,segment:{desktop:!0},_token:"3d7545",variations:[{customOptions:{target:"34"},name:"nobreakingnews",track:[{name:"list1",dynamic:!1,value:"article-breakingnews:nobreakingnews"},
180
+ {name:"prop56",dynamic:!1,value:"article-breakingnews:nobreakingnews"},{name:"list1",dynamic:!1,value:"article-breakingnews-3d7545"},{name:"prop56",dynamic:!1,value:"article-breakingnews-3d7545"}]},{customOptions:{target:"33"},name:"sectionbreakingnews",track:[{name:"list1",dynamic:!1,value:"article-breakingnews:sectionbreakingnews"},{name:"prop56",dynamic:!1,value:"article-breakingnews:sectionbreakingnews"},{name:"list1",dynamic:!1,value:"article-breakingnews-3d7545"},{name:"prop56",dynamic:!1,value:"article-breakingnews-3d7545"}]},
181
+ {customOptions:{target:"33"},name:"allbreakingnews",track:[{name:"list1",dynamic:!1,value:"article-breakingnews:allbreakingnews"},{name:"prop56",dynamic:!1,value:"article-breakingnews:allbreakingnews"},{name:"list1",dynamic:!1,value:"article-breakingnews-3d7545"},{name:"prop56",dynamic:!1,value:"article-breakingnews-3d7545"}]}],defaultTrack:[{name:"list1",dynamic:!1,value:"article-breakingnews:default"},{name:"prop56",dynamic:!1,value:"article-breakingnews:default"},{name:"list1",dynamic:!1,value:"article-breakingnews-3d7545"},
182
+ {name:"prop56",dynamic:!1,value:"article-breakingnews-3d7545"}]},{name:"article-mostReadNum",active:!1,"x-persist":!0,"x-status":"1","x-linked":"0",increment:0,segment:{},_token:"c331cb",variations:[{customOptions:{target:"25"},name:"ten",track:[{name:"list1",dynamic:!1,value:"article-mostReadNum:ten"},{name:"prop56",dynamic:!1,value:"article-mostReadNum:ten"},{name:"list1",dynamic:!1,value:"article-mostReadNum-c331cb"},{name:"prop56",dynamic:!1,value:"article-mostReadNum-c331cb"}]}],defaultTrack:[{name:"list1",
183
+ dynamic:!1,value:"article-mostReadNum:default"},{name:"prop56",dynamic:!1,value:"article-mostReadNum:default"},{name:"list1",dynamic:!1,value:"article-mostReadNum-c331cb"},{name:"prop56",dynamic:!1,value:"article-mostReadNum-c331cb"}]},{name:"article-curatedContent",active:!1,"x-persist":!0,"x-status":"1","x-linked":"0",increment:1,segment:{},_token:"7d2dac",variations:[{customOptions:{target:"25"},name:"enabledhpfirst",track:[{name:"list1",dynamic:!1,value:"article-curatedContent:enabledhpfirst"},
184
+ {name:"prop56",dynamic:!1,value:"article-curatedContent:enabledhpfirst"},{name:"list1",dynamic:!1,value:"article-curatedContent-7d2dac"},{name:"prop56",dynamic:!1,value:"article-curatedContent-7d2dac"}]},{customOptions:{target:"25"},name:"enabledprfirst",track:[{name:"list1",dynamic:!1,value:"article-curatedContent:enabledprfirst"},{name:"prop56",dynamic:!1,value:"article-curatedContent:enabledprfirst"},{name:"list1",dynamic:!1,value:"article-curatedContent-7d2dac"},{name:"prop56",dynamic:!1,value:"article-curatedContent-7d2dac"}]},
185
+ {customOptions:{target:"25"},name:"enabledhponly",track:[{name:"list1",dynamic:!1,value:"article-curatedContent:enabledhponly"},{name:"prop56",dynamic:!1,value:"article-curatedContent:enabledhponly"},{name:"list1",dynamic:!1,value:"article-curatedContent-7d2dac"},{name:"prop56",dynamic:!1,value:"article-curatedContent-7d2dac"}]}],defaultTrack:[{name:"list1",dynamic:!1,value:"article-curatedContent:default"},{name:"prop56",dynamic:!1,value:"article-curatedContent:default"},{name:"list1",dynamic:!1,
186
+ value:"article-curatedContent-7d2dac"},{name:"prop56",dynamic:!1,value:"article-curatedContent-7d2dac"}]}]},{name:"modal",disabled:!1,tests:[{name:"modal-adblock_v1",active:!1,"x-persist":!0,"x-status":"1","x-linked":"0",increment:6,segment:{adblock_generic:!0},_token:"61f727",variations:[{customOptions:{target:"95"},name:"enabled",track:[{name:"list1",dynamic:!1,value:"modal-adblock_v1:enabled"},{name:"prop56",dynamic:!1,value:"modal-adblock_v1:enabled"},{name:"list1",dynamic:!1,value:"modal-adblock_v1-61f727"},
187
+ {name:"prop56",dynamic:!1,value:"modal-adblock_v1-61f727"}]}],defaultTrack:[{name:"list1",dynamic:!1,value:"modal-adblock_v1:default"},{name:"prop56",dynamic:!1,value:"modal-adblock_v1:default"},{name:"list1",dynamic:!1,value:"modal-adblock_v1-61f727"},{name:"prop56",dynamic:!1,value:"modal-adblock_v1-61f727"}]},{name:"modal-adblock_v2",active:!1,"x-persist":!0,"x-status":"1","x-linked":"1",increment:0,segment:{adblock_generic:!0},_token:"275edf",variations:[{customOptions:{target:"25"},name:"var1",
188
+ track:[{name:"list1",dynamic:!1,value:"modal-adblock_v2:var1"},{name:"prop56",dynamic:!1,value:"modal-adblock_v2:var1"},{name:"list1",dynamic:!1,value:"modal-adblock_v2-275edf"},{name:"prop56",dynamic:!1,value:"modal-adblock_v2-275edf"}]},{customOptions:{target:"25"},name:"var2",track:[{name:"list1",dynamic:!1,value:"modal-adblock_v2:var2"},{name:"prop56",dynamic:!1,value:"modal-adblock_v2:var2"},{name:"list1",dynamic:!1,value:"modal-adblock_v2-275edf"},{name:"prop56",dynamic:!1,value:"modal-adblock_v2-275edf"}]},
189
+ {customOptions:{target:"25"},name:"var3",track:[{name:"list1",dynamic:!1,value:"modal-adblock_v2:var3"},{name:"prop56",dynamic:!1,value:"modal-adblock_v2:var3"},{name:"list1",dynamic:!1,value:"modal-adblock_v2-275edf"},{name:"prop56",dynamic:!1,value:"modal-adblock_v2-275edf"}]},{customOptions:{target:"25"},name:"controlvar",track:[{name:"list1",dynamic:!1,value:"modal-adblock_v2:controlvar"},{name:"prop56",dynamic:!1,value:"modal-adblock_v2:controlvar"},{name:"list1",dynamic:!1,value:"modal-adblock_v2-275edf"},
190
+ {name:"prop56",dynamic:!1,value:"modal-adblock_v2-275edf"}]}],defaultTrack:[{name:"list1",dynamic:!1,value:"modal-adblock_v2:default"},{name:"prop56",dynamic:!1,value:"modal-adblock_v2:default"},{name:"list1",dynamic:!1,value:"modal-adblock_v2-275edf"},{name:"prop56",dynamic:!1,value:"modal-adblock_v2-275edf"}]}]},{name:"video",disabled:!1,tests:[{name:"video-adtimeout",active:!1,"x-persist":!0,"x-status":"1","x-linked":"0",increment:3,segment:{},_token:"397458",variations:[{customOptions:{target:"10"},
191
+ name:"8s",track:[{name:"list1",dynamic:!1,value:"video-adtimeout:8s"},{name:"prop56",dynamic:!1,value:"video-adtimeout:8s"},{name:"list1",dynamic:!1,value:"video-adtimeout-397458"},{name:"prop56",dynamic:!1,value:"video-adtimeout-397458"}]}],defaultTrack:[{name:"list1",dynamic:!1,value:"video-adtimeout:default"},{name:"prop56",dynamic:!1,value:"video-adtimeout:default"},{name:"list1",dynamic:!1,value:"video-adtimeout-397458"},{name:"prop56",dynamic:!1,value:"video-adtimeout-397458"}]}]},{name:"upgrade",
192
+ disabled:!1,tests:[{name:"upgrade-teaser",active:!0,"x-persist":!0,"x-status":"1","x-linked":"0",increment:2,segment:{},_token:"b68e2b",variations:[],defaultTrack:[{name:"list1",dynamic:!1,value:"upgrade-teaser:default"},{name:"prop56",dynamic:!1,value:"upgrade-teaser:default"},{name:"list1",dynamic:!1,value:"upgrade-teaser-b68e2b"},{name:"prop56",dynamic:!1,value:"upgrade-teaser-b68e2b"}]},{name:"upgrade-toolkit_v110",active:!0,"x-persist":!0,"x-status":"1","x-linked":"0",increment:0,segment:{},
193
+ _token:"fe334d",variations:[{customOptions:{target:"25"},name:"variant_1",track:[{name:"list1",dynamic:!1,value:"upgrade-toolkit_v110:variant_1"},{name:"prop56",dynamic:!1,value:"upgrade-toolkit_v110:variant_1"},{name:"list1",dynamic:!1,value:"upgrade-toolkit_v110-fe334d"},{name:"prop56",dynamic:!1,value:"upgrade-toolkit_v110-fe334d"}]}],defaultTrack:[{name:"list1",dynamic:!1,value:"upgrade-toolkit_v110:default"},{name:"prop56",dynamic:!1,value:"upgrade-toolkit_v110:default"},{name:"list1",dynamic:!1,
194
+ value:"upgrade-toolkit_v110-fe334d"},{name:"prop56",dynamic:!1,value:"upgrade-toolkit_v110-fe334d"}]},{name:"upgrade-remindmelater",active:!0,"x-persist":!1,"x-status":"1","x-linked":"0",increment:1,segment:{},_token:"6270be",variations:[{customOptions:{target:"100"},name:"remindmelater",track:[{name:"list1",dynamic:!1,value:"upgrade-remindmelater:remindmelater"},{name:"prop56",dynamic:!1,value:"upgrade-remindmelater:remindmelater"},{name:"list1",dynamic:!1,value:"upgrade-remindmelater-6270be"},{name:"prop56",
195
+ dynamic:!1,value:"upgrade-remindmelater-6270be"}]}],defaultTrack:[{name:"list1",dynamic:!1,value:"upgrade-remindmelater:default"},{name:"prop56",dynamic:!1,value:"upgrade-remindmelater:default"},{name:"list1",dynamic:!1,value:"upgrade-remindmelater-6270be"},{name:"prop56",dynamic:!1,value:"upgrade-remindmelater-6270be"}]}]},{name:"nav",disabled:!1,tests:[{name:"nav-notiJewel",active:!0,"x-persist":!0,"x-status":"1","x-linked":"0",increment:0,segment:{},_token:"4e2542",variations:[{customOptions:{target:"25"},
196
+ name:"jewel",track:[{name:"list1",dynamic:!1,value:"nav-notiJewel:jewel"},{name:"prop56",dynamic:!1,value:"nav-notiJewel:jewel"},{name:"list1",dynamic:!1,value:"nav-notiJewel-4e2542"},{name:"prop56",dynamic:!1,value:"nav-notiJewel-4e2542"}]}],defaultTrack:[{name:"list1",dynamic:!1,value:"nav-notiJewel:default"},{name:"prop56",dynamic:!1,value:"nav-notiJewel:default"},{name:"list1",dynamic:!1,value:"nav-notiJewel-4e2542"},{name:"prop56",dynamic:!1,value:"nav-notiJewel-4e2542"}]},{name:"nav-SubscribeButtonColor",
197
+ active:!0,"x-persist":!0,"x-status":"1","x-linked":"0",increment:0,segment:{desktop:!0},_token:"ac4076",variations:[{customOptions:{target:"25"},name:"Color1_Blue",track:[{name:"list1",dynamic:!1,value:"nav-SubscribeButtonColor:Color1_Blue"},{name:"prop56",dynamic:!1,value:"nav-SubscribeButtonColor:Color1_Blue"},{name:"list1",dynamic:!1,value:"nav-SubscribeButtonColor-ac4076"},{name:"prop56",dynamic:!1,value:"nav-SubscribeButtonColor-ac4076"}]},{customOptions:{target:"25"},name:"Color2_BlueText",
198
+ track:[{name:"list1",dynamic:!1,value:"nav-SubscribeButtonColor:Color2_BlueText"},{name:"prop56",dynamic:!1,value:"nav-SubscribeButtonColor:Color2_BlueText"},{name:"list1",dynamic:!1,value:"nav-SubscribeButtonColor-ac4076"},{name:"prop56",dynamic:!1,value:"nav-SubscribeButtonColor-ac4076"}]},{customOptions:{target:"25"},name:"Color3_BlackText",track:[{name:"list1",dynamic:!1,value:"nav-SubscribeButtonColor:Color3_BlackText"},{name:"prop56",dynamic:!1,value:"nav-SubscribeButtonColor:Color3_BlackText"},
199
+ {name:"list1",dynamic:!1,value:"nav-SubscribeButtonColor-ac4076"},{name:"prop56",dynamic:!1,value:"nav-SubscribeButtonColor-ac4076"}]}],defaultTrack:[{name:"list1",dynamic:!1,value:"nav-SubscribeButtonColor:default"},{name:"prop56",dynamic:!1,value:"nav-SubscribeButtonColor:default"},{name:"list1",dynamic:!1,value:"nav-SubscribeButtonColor-ac4076"},{name:"prop56",dynamic:!1,value:"nav-SubscribeButtonColor-ac4076"}]},{name:"nav-homeLink",active:!0,"x-persist":!0,"x-status":"1","x-linked":"0",increment:0,
200
+ segment:{desktop:!0},_token:"51c40b",variations:[],defaultTrack:[{name:"list1",dynamic:!1,value:"nav-homeLink:default"},{name:"prop56",dynamic:!1,value:"nav-homeLink:default"},{name:"list1",dynamic:!1,value:"nav-homeLink-51c40b"},{name:"prop56",dynamic:!1,value:"nav-homeLink-51c40b"}]}]}],t.config(a),this.__dwCallback__?this.__dwCallback__(t):t.init()}(this._dw)}();</script> </div> <div class="moat-trackable pb-f-theme-normal pb-f-dehydrate- pb-f-async- pb-feature pb-layout-item pb-f-page-contextual-linking" moat-id="page/contextual-linking|world" data-chain-name="no-name" data-feature-name="contextual-linking" data-feature-id="page/contextual-linking" data-pb-fingerprint="0fMegYltHq2" id="fAJpy51123HpUq"> <script>try{if(wp_meta_data){if(!wp_meta_data.contextualLinking)wp_meta_data.contextualLinking={};(function(){wp_meta_data.contextualLinking.matches=[]})()}}catch(e){};</script> </div> </div> <div id="f0GVsFj123HpUq" class="pb-async pb-feature"></div> <div class="pb-container"> </div> </section> </div> </div> <script>(function(){window.pbExternalResourcesLoaded=window.pbExternalResourcesLoaded||new Array;window.pbTwpGlobalResourceGroups=window.pbTwpGlobalResourceGroups||new Array;var isInitAnalytics=true;var version="",env="production",fileList=[];fileList.push("https://www.washingtonpost.com/wp-stat/analytics/latest/main.js?token\x3d201805071231PST");fileList.push("//www.washingtonpost.com/pb/gr/c/default-article/r0f7lWg123HpUq/conf-production/b5411285f6.js?_\x3df7342");pbTwpGlobalResourceGroups.push({"resourceType":"externalResources",
201
+ "name":"conf-production","fileType":"js"});pbExternalResourcesLoaded.push("/pb/resources/js/conf/production/conf.js?_\x3df7342");fileList.push("//www.washingtonpost.com/pb/gr/ro/default-article/r0f7lWg123HpUq/modal-css/938c258067.css?_\x3d748f4");pbTwpGlobalResourceGroups.push({"resourceType":"externalResources","name":"modal-css","fileType":"css"});pbExternalResourcesLoaded.push("/pb/resources/css/identity-management/modal.css?_\x3d748f4");fileList.push("//www.washingtonpost.com/pb/gr/c/default-article/r0f7lWg123HpUq/identity-management/c4d7fa1f35.js?_\x3d2085b");
202
+ pbTwpGlobalResourceGroups.push({"resourceType":"externalResources","name":"identity-management","fileType":"js"});pbExternalResourcesLoaded.push("/pb/resources/js/identity-management/util-user-2.0.0.js?_\x3df738c");pbExternalResourcesLoaded.push("/pb/resources/js/identity-management/util.identity-management-1.2.0.js?_\x3d748f4");var gdpr_cookie=document.cookie.match(/wp_gdpr=([1^]+)/)?RegExp.$1:null;if(gdpr_cookie&&gdpr_cookie==="1"){fileList.unshift("//www.washingtonpost.com/pb/gr/c/default-article/r0f7lWg123HpUq/eu-cookie-banner/87811ab41e.js?_\x3d3b3a5");
203
+ pbTwpGlobalResourceGroups.push({"resourceType":"externalResources","name":"eu-cookie-banner","fileType":"js"});pbExternalResourcesLoaded.push("/pb/resources/js/utils/eu-cookie-banner.js?_\x3d3b3a5")}if(document.addEventListener)document.addEventListener("pb-core-loaded",function(){wp_import.valor(true);wp_import(fileList).always(function(){isInitAnalytics&&window.TWP&&TWP.Analytics&&TWP.Analytics.init({trackScrolling:{omniture:false},snowflake:true,suppressTrackPageLoad:!wp_pb.StaticMethods.isPageHydrated()?
204
+ true:false})})});else if(document.attachEvent)document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"||document.readyState==="interactive"){document.detachEvent("onreadystatechange",arguments.callee);wp_import.valor(true);wp_import(fileList).always(function(){isInitAnalytics&&window.TWP&&TWP.Analytics&&TWP.Analytics.init({trackScrolling:{omniture:false},snowflake:true,suppressTrackPageLoad:!wp_pb.StaticMethods.isPageHydrated()?true:false})})}})})();</script> <script>try{String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(t,e){var n=this.toString();(void 0===e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e},configurable:true});window.pageBuilder=window.pageBuilder||{};window.pageBuilder.loadAsync=function(){};var asyncs=document.getElementsByClassName("pb-async");if(asyncs&&asyncs.length>0){window.pageBuilder.loadAsyncOverride=function(){window.pageBuilder.loadAsyncFeatures();window.pageBuilder.loadAsyncChains&&
205
+ window.pageBuilder.loadAsyncChains()};document.addEventListener("pb-defer-js-loaded",function(){window.pageBuilder.loadAsyncOverride();window.wp_pb=window.wp_pb||{};wp_pb.loaderState=wp_pb.loaderState||{};wp_pb.loaderState.asyncLoaded=true;document.dispatchEvent(new CustomEvent("pb-async-loaded"))})}}catch(err){}
206
+ document.addEventListener("pb-core-loaded",function(){pbDeferredScripts.push("/pb/gr/ro/default-article/r0f7lWg123HpUq/headjs/8bb9d8351d.js?_\x3d69d73");pbDeferredScripts.push("/pb/gr/ro/default-article/r0f7lWg123HpUq/hi-pri-js/e7f066f51e.js?_\x3d3b73d");pbDeferredScripts.push("/pb/gr/p/default-article/r0f7lWg123HpUq/hi-pri-render.js?_\x3db5fd6");pbDeferredScripts.push("/pb/gr/ro/default-article/r0f7lWg123HpUq/js/23cef797d0.js?_\x3d1fc83");pbDeferredScripts.push("/pb/gr/p/default-article/r0f7lWg123HpUq/render.js?_\x3db5fd6");
207
+ pbDeferredScripts.push("/pb/gr/p/default-article/r0f7lWg123HpUq/instance.js?_\x3db5fd6");pbDeferredScripts.push("/pb/gr/ro/default-article/r0f7lWg123HpUq/after_features/08576542a0.js?_\x3d0ddaa");wp_import.valor(true);wp_import(pbDeferredScripts).always(function(){window.wp_pb=window.wp_pb||{};wp_pb.loaderState=wp_pb.loaderState||{};wp_pb.loaderState.deferLoaded=true;document.dispatchEvent(new CustomEvent("pb-defer-js-loaded"))})});</script> <script>document.addEventListener("async-features-loaded",function(){});</script> <script>(function(){if("__twpCookieMonster__"in document)document.__twpCookieMonster__.ommNom()})();</script> <script>window.pbThirdPartyScripts=window.pbThirdPartyScripts||new Array;</script> <script>window.addEventListener("DOMContentLoaded",function(){});
208
+ window.addEventListener("load",function(){var isEUUser=wp_pb.StaticMethods.isEUUser()||false;function applyTwitter(){try{var $tweetAuthors=$(".tweet-authors");var $tweetTimelines=$(".twitter-timeline");if((!!$tweetAuthors.length||!!$tweetTimelines.length)&&(!window.twttr||!twttr.widgets))$.ajax({dataType:"script",cache:true,url:"//platform.twitter.com/widgets.js",success:function(data){if(!!$tweetAuthors.length)$tweetAuthors.find(".pb-twitter-follow.unprocessed").removeClass("unprocessed")}})}catch(e){}}if(wp_pb.StaticMethods.isPageHydrated())applyTwitter();
209
+ __e=window.__e||[];__e.push(["shamble:end",function(){applyTwitter()}]);wp_import(pbThirdPartyScripts).always(function(){document.dispatchEvent(new CustomEvent("pb-r-third-party-js"))});if(!isEUUser)try{$("body").append('\x3cimg src\x3d"https://amplifypixel.outbrain.com/pixel?mid\x3d00bb70a80ee8f020d9011cbcef307fe64d"\x3e')}catch(e){}if(!isEUUser){!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=
210
+ n;n.loaded=!0;n.version="2.0";n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,"script","https://connect.facebook.net/en_US/fbevents.js");fbq("init","1063176057035408");fbq("track","PageView")}});</script> <noscript><img src="https://sb.scorecardresearch.com/p?c1=2&c2=3005617&cv=2.0&cj=1"/></noscript> <noscript><img src="//me.effectivemeasure.net/em_image" alt="" style="position:absolute; left:-5px;"/></noscript> <script>window.pbExternalResourcesLoaded=window.pbExternalResourcesLoaded||new Array;window.pbFootResourceGroups=window.pbFootResourceGroups||new Array;pbFootResourceGroups.push({"resourceType":"externalResources","name":"hi-pri-js","fileType":"js"});pbExternalResourcesLoaded.push("/pb/resources/js/default-hi-pri.js?_\x3d3b73d");pbFootResourceGroups.push({"resourceType":"pageResources","name":"hi-pri-render.js","fileType":"js"});pbFootResourceGroups.push({"resourceType":"externalResources","name":"js","fileType":"js"});
211
+ pbExternalResourcesLoaded.push("/pb/resources/js/iabc/iabc-cookie.js?_\x3dd47ff");pbExternalResourcesLoaded.push("/pb/resources/js/service-worker-registration.js?_\x3d8fdcf");pbExternalResourcesLoaded.push("/pb/resources/js/condition-manager.min.js?_\x3db59fb");pbExternalResourcesLoaded.push("/pb/resources/js/conditions.js?_\x3db44cf");pbExternalResourcesLoaded.push("/pb/resources/js/moment.min.js?_\x3db8874");pbExternalResourcesLoaded.push("/pb/resources/js/inline-content.js?_\x3d8f9e5");
212
+ pbFootResourceGroups.push({"resourceType":"pageResources","name":"render.js","fileType":"js"});pbFootResourceGroups.push({"resourceType":"pageResources","name":"instance.js","fileType":"js"});pbFootResourceGroups.push({"resourceType":"externalResources","name":"after_features","fileType":"js"});pbExternalResourcesLoaded.push("/pb/resources/js/default-after-features.js?_\x3d51eba");pbExternalResourcesLoaded.push("/pb/resources/js/private-browsing.js?_\x3d84392");pbExternalResourcesLoaded.push("/pb/resources/js/article-layout-after-features.js?_\x3db126f");
213
+ pbExternalResourcesLoaded.push("/pb/resources/js/abtests/segments.js?_\x3d9d2a3");pbFootResourceGroups.push({"resourceType":"externalResources","name":"content_type_article","fileType":"js"});pbFootResourceGroups.push({"resourceType":"externalResources","name":"third_party","fileType":"js"});</script> </body> </html><script>
214
+ var _uri = "/world/will-a-bust-follow-the-boom-in-britain/2014/01/18/3677a6ae-7f9d-11e3-97d3-b9925ce2c57b_story.html"
215
+ var _context = "/pb"
216
+ var _outputType = "default-article"
217
+ var _rid = "r0f7lWg123HpUq"
218
+ //polyfill
219
+ String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(t,e){var n=this.toString();(void 0===e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}});
220
+ /* Async loader code here */
221
+ window.pageBuilder = window.pageBuilder || {};
222
+
223
+ window.pageBuilder.featureLoaded = window.pageBuilder.featureLoaded || function(){};
224
+ window.pageBuilder.chainLoaded = window.pageBuilder.chainLoaded || function(chain,apiResponse){
225
+ var d = window.document;
226
+ for (var i = 0; i < apiResponse.featureIds.length; i++) {
227
+ var f = d.getElementById(apiResponse.featureIds[i]);
228
+ window.pageBuilder.featureLoaded(f);
229
+ }
230
+ };
231
+ window.pageBuilder._isNestedFeature = window.pageBuilder._isNestedFeature || function (element) {
232
+ if(!element.parentElement) return false;
233
+ var parent = element.parentElement;
234
+ if (parent.className && parent.className.split(' ').indexOf("pb-feature")>=0) return true;
235
+ return window.pageBuilder._isNestedFeature(parent);
236
+ };
237
+ window.pageBuilder._executeAsyncFeatureScripts = window.pageBuilder._executeAsyncFeatureScripts || function(s){eval(s)};
238
+
239
+ window.pageBuilder._getJson = window.pageBuilder._getJson || function(url, success, failure) {
240
+ var xmlhttp;
241
+ failure = failure|| function () {};
242
+ if (window.XMLHttpRequest) {
243
+ xmlhttp = new XMLHttpRequest();
244
+ } else {
245
+ xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
246
+ }
247
+ xmlhttp.onreadystatechange = function() {
248
+ if (xmlhttp.readyState == 4) {
249
+ if(xmlhttp.status == 200){
250
+ try {
251
+ success.call(null, JSON.parse(xmlhttp.responseText));
252
+ } catch (e) {
253
+ failure.call(null, xmlhttp, e)
254
+ }
255
+ } else {
256
+ failure.call(null, xmlhttp);
257
+ }
258
+ }
259
+ };
260
+ xmlhttp.open("GET", url, true);
261
+ xmlhttp.send();
262
+ };
263
+
264
+ window.pageBuilder.loadAsyncFeature = window.pageBuilder.loadAsyncFeature || function (id) {
265
+ var d = window.document;
266
+ function injectFeatureDom(id, featureRendering) {
267
+ var element = d.getElementById(id);
268
+ var resources = featureRendering.pageResources || {};
269
+ element.outerHTML = featureRendering.rendering;
270
+ element = d.getElementById(id); //update the element
271
+ var scripts = Array.prototype.slice.call(element.getElementsByTagName("script"));
272
+ for (var i = 0; i < scripts.length; i++) {
273
+ if (scripts[i].src != "") {
274
+ var s = d.createElement("script");
275
+ s.setAttribute("src", scripts[i].src);
276
+ d.body.appendChild(s);
277
+ }
278
+ else {
279
+ window.pageBuilder._executeAsyncFeatureScripts(scripts[i].innerHTML); //eval isn't evil always.
280
+ }
281
+ }
282
+ for(var file in resources) {
283
+ if(resources.hasOwnProperty(file) && file.endsWith(".js")) {
284
+ var s1 = d.createElement("script");
285
+ s1.setAttribute("src", resources[file]);
286
+ d.body.appendChild(s1);
287
+ }
288
+ }
289
+ window.pageBuilder.featureLoaded(element);
290
+ }
291
+ var url = _context + "/api/v2/render/feature/"+id+"?rid="+_rid+"&contentUri="+_uri;
292
+ window.pageBuilder._getJson(url, function(obj) { injectFeatureDom(id, obj); });
293
+ };
294
+
295
+ window.pageBuilder.loadAsyncChain = window.pageBuilder.loadAsyncChain || function (id) {
296
+ var d = window.document;
297
+ function injectChainDom(id, apiResponse) {
298
+ var element = d.getElementById(id);
299
+ var resources = apiResponse.pageResources || {};
300
+ element.outerHTML = apiResponse.rendering;
301
+ element = d.getElementById(id); //update the element
302
+ var scripts = Array.prototype.slice.call(element.getElementsByTagName("script"));
303
+ for (var i = 0; i < scripts.length; i++) {
304
+ if (scripts[i].src != "") {
305
+ var s = d.createElement("script");
306
+ s.setAttribute("src", scripts[i].src);
307
+ d.body.appendChild(s);
308
+ }
309
+ else {
310
+ window.pageBuilder._executeAsyncFeatureScripts(scripts[i].innerHTML); //eval isn't evil always.
311
+ }
312
+ }
313
+ for(var file in resources) {
314
+ if(resources.hasOwnProperty(file) && file.endsWith(".js")) {
315
+ var s1 = d.createElement("script");
316
+ s1.setAttribute("src", resources[file]);
317
+ d.body.appendChild(s1);
318
+ }
319
+ }
320
+ window.pageBuilder.chainLoaded(element,apiResponse);
321
+ }
322
+ var url = _context + "/api/v2/render/chain/"+id+"?rid="+_rid+"&contentUri="+_uri;
323
+ window.pageBuilder._getJson(url, function(obj) { injectChainDom(id, obj); });
324
+ };
325
+
326
+ window.pageBuilder.loadAsyncFeatures = window.pageBuilder.loadAsyncFeatures || function () {
327
+ var d = window.document;
328
+ var scriptsToAdd = [];
329
+ var featuresLoaded = [];
330
+ function injectAsyncFeatures(apiResp){
331
+ for(var fid in apiResp){
332
+ if (!apiResp.hasOwnProperty(fid)) continue;
333
+
334
+ var element = d.getElementById(fid);
335
+ var resources = apiResp[fid].pageResources || {};
336
+ element.outerHTML = apiResp[fid].rendering;
337
+ element = d.getElementById(fid); //update the element
338
+ var scripts = Array.prototype.slice.call(element.getElementsByTagName("script"));
339
+ for (var i = 0; i < scripts.length; i++) {
340
+ if (scripts[i].src != "") {
341
+ var s = d.createElement("script");
342
+ s.setAttribute("src", scripts[i].src);
343
+ d.body.appendChild(s);
344
+ }
345
+ else {
346
+ window.pageBuilder._executeAsyncFeatureScripts(scripts[i].innerHTML); //eval isn't evil always.
347
+ }
348
+ }
349
+ for(var file in resources) {
350
+ if(resources.hasOwnProperty(file) && file.endsWith(".js")) {
351
+ resources[file].forEach(function(src){
352
+ if (scriptsToAdd.indexOf(src) === -1) { scriptsToAdd.push(src) }
353
+ });
354
+ }
355
+ }
356
+ featuresLoaded.push(element);
357
+ }
358
+ scriptsToAdd.forEach(function (src) {
359
+ var s = d.createElement("script");
360
+ s.setAttribute("src", src);
361
+ d.body.appendChild(s);
362
+ });
363
+ featuresLoaded.forEach(function(element){
364
+ window.pageBuilder.featureLoaded(element);
365
+ });
366
+ }
367
+ var url = _context + "/api/v2/async/features?rid="+_rid+"&contentUri="+_uri;
368
+ window.pageBuilder._getJson(url, function(resp) { injectAsyncFeatures(resp)});
369
+ };
370
+ window.pageBuilder.loadAsyncChains = window.pageBuilder.loadAsyncChains || function () {
371
+ var d = window.document;
372
+ var chains = d.getElementsByClassName("pb-async pb-chain");
373
+ var ids = [].slice.call(chains).map(function (node) { return node.id; });
374
+ ids.forEach(function(id) {
375
+ window.pageBuilder.loadAsyncChain(id);
376
+ });
377
+ };
378
+
379
+ window.pageBuilder.loadAsync = window.pageBuilder.loadAsync || function(){
380
+ window.pageBuilder.loadAsyncFeatures();
381
+ window.pageBuilder.loadAsyncChains();
382
+ };
383
+
384
+ window.pageBuilder.loadAsync();
385
+
386
+ </script>
@@ -16,7 +16,8 @@ describe BbcNewsPageParserFactory do
16
16
  "http://news.bbc.co.uk/2/low/uk_news/england/devon/7996447.stm",
17
17
  "http://www.bbc.co.uk/news/business-11125504",
18
18
  "http://www.bbc.co.uk/news/10604897",
19
- "http://www.bbc.co.uk/news/world-middle-east-18229870#sa-ns_mchannel=rss&ns_source=PublicRSS20-sa"
19
+ "http://www.bbc.co.uk/news/world-middle-east-18229870#sa-ns_mchannel=rss&ns_source=PublicRSS20-sa",
20
+ "http://www.bbc.co.uk/news/election-2015-32271505"
20
21
  ]
21
22
  @invalid_urls = [
22
23
  "http://news.bbc.co.uk/2/hi/health/default.stm",
@@ -52,6 +53,65 @@ describe BbcNewsPageParserFactory do
52
53
  end
53
54
  end
54
55
 
56
+ describe BbcNewsPageParserV6 do
57
+ describe "Inheritance tax plans article" do
58
+ before do
59
+ @valid_options = {
60
+ :url => 'http://www.bbc.co.uk/news/election-2015-32271505',
61
+ :page => File.read("spec/fixtures/bbc_news/32271505.html"),
62
+ :valid_hash => 'a2d1c84cc980c3991c2e57d1cd6aca5f'
63
+ }
64
+ @pa = BbcNewsPageParserV6.new(@valid_options)
65
+ end
66
+
67
+ it "should parse the title" do
68
+ @pa.title.should == "Election 2015: Tory inheritance tax plan 'about values'"
69
+ end
70
+
71
+ it "should calculate the right hash" do
72
+ @pa.hash.should == @valid_options[:valid_hash]
73
+ end
74
+
75
+ it "should parse the content" do
76
+ @pa.content[0].should == %q{Chancellor George Osborne has said Conservative plans to remove family homes worth up to £1m from inheritance tax "supports the basic human instinct to provide for your children".}
77
+ @pa.content.last.should == %q{However, when asked whether the Lib Dems would block the proposals if they ended up back in coalition, he declined to say he would, instead saying: "I'm saying I strongly disagree with it. Our priority... is further increases in the income tax personal allowance... we've stopped things in this parliament including cuts to inheritance tax for millionaires."}
78
+ @pa.content.size.should == 33
79
+ @pa.content[8].should == "Labour has been setting out plans to raise an extra £7.5bn a year through closing tax loopholes and imposing bigger fines on tax avoiders"
80
+ end
81
+ end
82
+
83
+ describe "Hilary Clinton article" do
84
+ before do
85
+ @valid_options = {
86
+ :url => 'http://www.bbc.co.uk/news/world-us-canada-32275608',
87
+ :page => File.read("spec/fixtures/bbc_news/32275608.html"),
88
+ :valid_hash => '09c6d4d91276eda57bc6cfc974220c88'
89
+ }
90
+ @pa = BbcNewsPageParserV6.new(@valid_options)
91
+ end
92
+
93
+ it "should parse the title" do
94
+ @pa.title.should == "Hillary Clinton to declare 2016 Democratic nomination bid"
95
+ end
96
+
97
+ it "should calculate the right hash" do
98
+ @pa.hash.should == @valid_options[:valid_hash]
99
+ end
100
+
101
+ it "should parse the content" do
102
+ @pa.content[0].should == "Former US Secretary of State Hillary Clinton is expected to formally declare her run for the 2016 Democratic presidential nomination shortly."
103
+ @pa.content.last.should == "Mrs Clinton stood by her husband when he was exposed as having had an affair with a White House intern, Monica Lewinsky."
104
+ @pa.content.size.should == 21
105
+ end
106
+
107
+ it "should parse the headers in the content" do
108
+ @pa.content[5].should == "Analysis - Anthony Zurcher, BBC North America reporter, Washington DC"
109
+ @pa.content[11].should == "Is this Hillary Clinton's time?"
110
+ end
111
+ end
112
+
113
+ end
114
+
55
115
  describe BbcNewsPageParserV5 do
56
116
 
57
117
  describe "downloaded article with non-utf8" do
@@ -60,13 +120,29 @@ describe BbcNewsPageParserV5 do
60
120
  page.hash.should_not == ""
61
121
  end
62
122
 
123
+ describe "China media article" do
124
+ before do
125
+ @valid_options = {
126
+ :url => 'http://www.bbc.co.uk/news/world-asia-china-31014941',
127
+ :page => File.read("spec/fixtures/bbc_news/31014941.html")
128
+ }
129
+ @pa = BbcNewsPageParserV5.new(@valid_options)
130
+ end
131
+
132
+ it "should parse without erroring" do
133
+ @pa.title.should == "China media: Military might"
134
+ @pa.content.size.should > 0
135
+ end
136
+ end
137
+
138
+
63
139
  describe "Oscar Pistorius article" do
64
140
  it_should_behave_like AllPageParsers
65
141
  before do
66
142
  @valid_options = {
67
143
  :url => 'http://www.bbc.co.uk/news/world-africa-21528631',
68
144
  :page => File.read("spec/fixtures/bbc_news/21528631.html"),
69
- :valid_hash => ''
145
+ :valid_hash => '38ef9fc2bbaa5a023a3ada53398b7d95'
70
146
  }
71
147
  @pa = BbcNewsPageParserV5.new(@valid_options)
72
148
  end
@@ -75,6 +151,10 @@ describe BbcNewsPageParserV5 do
75
151
  @pa.title.should == "Oscar Pistorius detective on attempted murder charges"
76
152
  end
77
153
 
154
+ it "should calculate the right hash" do
155
+ @pa.hash.should == @valid_options[:valid_hash]
156
+ end
157
+
78
158
  it "should parse the content" do
79
159
  @pa.content.first.should == "The South African detective leading the Oscar Pistorius inquiry is facing seven charges of attempted murder, police have confirmed."
80
160
  @pa.content.last.should == "In London he made history by becoming the first double-amputee to run in the Olympics, making the semi-final of the 400m."
@@ -100,7 +180,7 @@ describe BbcNewsPageParserV5 do
100
180
  @valid_options = {
101
181
  :url => 'http://www.bbc.co.uk/news/business-11125504',
102
182
  :page => File.read("spec/fixtures/bbc_news/11125504.html"),
103
- :valid_hash => 'd9e201abec3f4b9e38865b5135281978'
183
+ :valid_hash => '55d67e013759012f25eea1521bbe962f'
104
184
  }
105
185
  @pa = BbcNewsPageParserV5.new(@valid_options)
106
186
  end
@@ -109,6 +189,10 @@ describe BbcNewsPageParserV5 do
109
189
  @pa.title.should == "UK economy 'to pick up in near term'"
110
190
  end
111
191
 
192
+ it "should calculate the right hash" do
193
+ @pa.hash.should == @valid_options[:valid_hash]
194
+ end
195
+
112
196
  it "should parse the content" do
113
197
  @pa.content[0].should == "The British Chambers of Commerce (BCC) has upgraded its forecast for the UK's short term economic prospects, but said interest rates must be kept low to aid recovery."
114
198
  @pa.content.last.should == '"Failure to get this right poses the biggest risk to recovery."'
@@ -216,7 +300,7 @@ describe BbcNewsPageParserV5 do
216
300
  @valid_options = {
217
301
  :url => 'http://news.bbc.co.uk/1/hi/northern_ireland/8040164.stm',
218
302
  :page => File.read("spec/fixtures/bbc_news/8040164.stm.html"),
219
- :valid_hash => ''
303
+ :valid_hash => 'f2a9ea3dbc8af5065cd8f70d13e35c08'
220
304
  }
221
305
  @pa = BbcNewsPageParserV5.new(@valid_options)
222
306
  end
@@ -229,6 +313,10 @@ describe BbcNewsPageParserV5 do
229
313
  @pa.content.first.should =~ /£100,000/
230
314
  end
231
315
 
316
+ it "should calculate a valid hash of the content" do
317
+ @pa.hash.should == @valid_options[:valid_hash]
318
+ end
319
+
232
320
  end
233
321
 
234
322
  it "should parse the content of an article with two captions" do
@@ -241,6 +329,32 @@ describe BbcNewsPageParserV5 do
241
329
  @pa.content[2].should == 'Mr Alexander said the cuts were necessary to tackle the budget deficit and would be done in a "fair" way.'
242
330
  end
243
331
 
332
+ describe "Inheritance tax plans article" do
333
+ before do
334
+ @valid_options = {
335
+ :url => 'http://www.bbc.co.uk/news/election-2015-32271505',
336
+ :page => File.read("spec/fixtures/bbc_news/32271505.html"),
337
+ :valid_hash => ''
338
+ }
339
+ @pa = BbcNewsPageParserV5.new(@valid_options)
340
+ end
341
+
342
+ it "should parse the title" do
343
+ @pa.title.should == "Election 2015: Tory inheritance tax plan 'about values'"
344
+ end
345
+
346
+ it "should parse the content" do
347
+ @pa.content[0].should == %q{Chancellor George Osborne has said Conservative plans to remove family homes worth up to £1m from inheritance tax "supports the basic human instinct to provide for your children".}
348
+ @pa.content.last.should == %q{However, when asked whether the Lib Dems would block the proposals if they ended up back in coalition, he declined to say he would, instead saying: "I'm saying I strongly disagree with it. Our priority... is further increases in the income tax personal allowance... we've stopped things in this parliament including cuts to inheritance tax for millionaires."}
349
+ @pa.content.size.should == 29
350
+ end
351
+ end
352
+
353
+ it "should retrieve the article from the bbc website" do
354
+ @pa = BbcNewsPageParserV5.new(:url => "http://www.bbc.co.uk/news/business-11125504")
355
+ @pa.title.should == "UK economy 'to pick up in near term'"
356
+ end
357
+
244
358
  end
245
359
 
246
360
  describe BbcNewsPageParserV4 do
@@ -250,11 +364,15 @@ describe BbcNewsPageParserV4 do
250
364
  @valid_options = {
251
365
  :url => 'http://www.bbc.co.uk/news/business-11125504',
252
366
  :page => File.read("spec/fixtures/bbc_news/11125504.html"),
253
- :valid_hash => 'd9e201abec3f4b9e38865b5135281978'
367
+ :valid_hash => '55d67e013759012f25eea1521bbe962f'
254
368
  }
255
369
  @pa = BbcNewsPageParserV4.new(@valid_options)
256
370
  end
257
371
 
372
+ it "should calculate a valid hash of the content" do
373
+ @pa.hash.should == @valid_options[:valid_hash]
374
+ end
375
+
258
376
  it "should parse the title" do
259
377
  @pa.title.should == "UK economy 'to pick up in near term'"
260
378
  end
@@ -277,11 +395,6 @@ describe BbcNewsPageParserV4 do
277
395
  @pa.content.to_s.should_not =~ /Fake and real quotes/
278
396
  end
279
397
 
280
- it "should retrieve the article from the bbc website" do
281
- @pa = BbcNewsPageParserV4.new(:url => @valid_options[:url])
282
- @pa.title.should == "UK economy 'to pick up in near term'"
283
- end
284
-
285
398
  it "should ignore the twitter widget" do
286
399
  pa = BbcNewsPageParserV4.new(:url => "http://www.bbc.co.uk/news/world-us-canada-20230333", :page => File.read("spec/fixtures/bbc_news/20230333.stm.html"))
287
400
  pa.title.should == "US election: Results declared from some states"
@@ -312,11 +425,15 @@ describe BbcNewsPageParserV3 do
312
425
  @valid_options = {
313
426
  :url => 'http://news.bbc.co.uk/1/hi/england/10249066.stm',
314
427
  :page => File.read("spec/fixtures/bbc_news/10249066.stm.html"),
315
- :valid_hash => 'd9e201abec3f4b9e38865b5135281978'
428
+ :valid_hash => '764a7db03feb91c66a37d7680e89ee0b'
316
429
  }
317
430
  @pa = BbcNewsPageParserV3.new(@valid_options)
318
431
  end
319
432
 
433
+ it "should calculate a valid hash of the content" do
434
+ @pa.hash.should == @valid_options[:valid_hash]
435
+ end
436
+
320
437
  it "should parse the content" do
321
438
  @pa.content[0].should == 'The family of gunman Derrick Bird say they have no idea why he carried out the "horrific" shootings in Cumbria.'
322
439
  @pa.content.last.should == '"We appreciate what they are suffering at this time. We cannot offer any reason why Derrick took it upon himself to commit these crimes."'
@@ -407,6 +524,10 @@ describe BbcNewsPageParserV1 do
407
524
  @pa = BbcNewsPageParserV1.new(@valid_options)
408
525
  end
409
526
 
527
+ it "should calculate a valid hash of the content" do
528
+ @pa.hash.should == @valid_options[:valid_hash]
529
+ end
530
+
410
531
  it "should parse the title" do
411
532
  @pa.title.should == "Son-in-law remanded over killing"
412
533
  end