yoastWebpackJsonp([9],{100:function(t,e,n){function r(t){var e=i.call(t,u),n=t[u];try{t[u]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[u]=n:delete t[u]),o}var o=n(18),s=Object.prototype,i=s.hasOwnProperty,a=s.toString,u=o?o.toStringTag:void 0;t.exports=r},101:function(t,e){function n(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=n},102:function(t,e,n){function r(t){if("string"==typeof t)return t;if(i(t))return s(t,r)+"";if(a(t))return l?l.call(t):"";var e=t+"";return"0"==e&&1/t==-u?"-0":e}var o=n(18),s=n(42),i=n(3),a=n(24),u=1/0,c=o?o.prototype:void 0,l=c?c.toString:void 0;t.exports=r},109:function(t,e,n){function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(s);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],s=n.cache;if(s.has(o))return s.get(o);var i=t.apply(this,r);return n.cache=s.set(o,i)||s,i};return n.cache=new(r.Cache||o),n}var o=n(51),s="Expected a function";r.Cache=o,t.exports=r},11:function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},114:function(t,e,n){var r=n(115),o=/^\./,s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r(function(t){var e=[];return o.test(t)&&e.push(""),t.replace(s,function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)}),e});t.exports=a},115:function(t,e,n){function r(t){var e=o(t,function(t){return n.size===s&&n.clear(),t}),n=e.cache;return e}var o=n(109),s=500;t.exports=r},116:function(t,e,n){function r(){this.size=0,this.__data__={hash:new o,map:new(i||s),string:new o}}var o=n(117),s=n(34),i=n(52);t.exports=r},117:function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1}var o=n(21);t.exports=r},131:function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var o=n(21);t.exports=r},132:function(t,e,n){function r(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}var o=n(22);t.exports=r},133:function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},134:function(t,e,n){function r(t){return o(this,t).get(t)}var o=n(22);t.exports=r},135:function(t,e,n){function r(t){return o(this,t).has(t)}var o=n(22);t.exports=r},136:function(t,e,n){function r(t,e){var n=o(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var o=n(22);t.exports=r},15:function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},16:function(t,e,n){function r(t,e){var n=s(t,e);return o(n)?n:void 0}var o=n(119),s=n(122);t.exports=r},1611:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=function(){function t(t,e){for(var n=0;n'+t.label+""}}),r.header=jQuery("
"+n.header+"
").text(),t.setState({statistics:r})})}},{key:"getRyte",value:function(){var t=this;wpseoApi.get("ryte",function(n){if(n.ryte){var r={scores:[{color:e.getColorFromScore(n.ryte.score),html:n.ryte.label}],canFetch:n.ryte.can_fetch};t.setState({ryte:r})}})}},{key:"getFeed",value:function(){var t=this;y("https://yoast.com/feed/widget/",2).then(function(e){e.items=e.items.map(function(t){return t.description=jQuery("
"+t.description+"
").text(),t.description=t.description.replace("The post "+t.title+" appeared first on Yoast.","").trim(),t.content=jQuery("
"+t.content+"
").text(),t}),t.setState({feed:e})}).catch(function(t){return console.log(t)})}},{key:"getSeoAssessment",value:function(){return null===this.state.statistics?null:yoast._wp.element.createElement(p.SeoAssessment,{key:"yoast-seo-posts-assessment",seoAssessmentText:this.state.statistics.header,seoAssessmentItems:this.state.statistics.seoScores})}},{key:"getRyteAssessment",value:function(){return null===this.state.ryte?null:yoast._wp.element.createElement("div",{id:"yoast-seo-ryte-assessment",key:"yoast-seo-ryte-assessment"},yoast._wp.element.createElement("h3",null,wpseoDashboardWidgetL10n.ryte_header),yoast._wp.element.createElement(p.ScoreAssessments,{items:this.state.ryte.scores}),yoast._wp.element.createElement("div",null,this.state.ryte.canFetch&&yoast._wp.element.createElement("a",{className:"fetch-status button",href:wpseoDashboardWidgetL10n.ryte_fetch_url},wpseoDashboardWidgetL10n.ryte_fetch),yoast._wp.element.createElement("a",{className:"landing-page button",href:wpseoDashboardWidgetL10n.ryte_landing_url,target:"_blank"},wpseoDashboardWidgetL10n.ryte_analyze)))}},{key:"getYoastFeed",value:function(){return null===this.state.feed?null:yoast._wp.element.createElement(p.WordpressFeed,{key:"yoast-seo-blog-feed",title:wpseoDashboardWidgetL10n.feed_header,feed:this.state.feed,footerHtml:wpseoDashboardWidgetL10n.feed_footer})}},{key:"render",value:function(){var t=[this.getSeoAssessment(),this.getRyteAssessment(),this.getYoastFeed()].filter(function(t){return null!==t});return 0===t.length?null:yoast._wp.element.createElement("div",null,t)}}],[{key:"getColorFromScore",value:function(t){return p.colors["$color_"+t]||p.colors.$color_grey}}]),e}(c.default.Component),d=document.getElementById("yoast-seo-dashboard-widget");d&&((0,h.setYoastComponentsL10n)(),f.default.render(yoast._wp.element.createElement(v,null),d))},17:function(t,e){t.exports=window.yoast.components},18:function(t,e,n){var r=n(5),o=r.Symbol;t.exports=o},19:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},20:function(t,e,n){var r=n(16),o=r(Object,"create");t.exports=o},21:function(t,e,n){function r(t,e){for(var n=t.length;n--;)if(o(t[n][0],e))return n;return-1}var o=n(31);t.exports=r},22:function(t,e,n){function r(t,e){var n=t.__data__;return o(e)?n["string"==typeof e?"string":"hash"]:n.map}var o=n(133);t.exports=r},24:function(t,e,n){function r(t){return"symbol"==typeof t||s(t)&&o(t)==i}var o=n(13),s=n(15),i="[object Symbol]";t.exports=r},269:function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=(0,u.default)(window,[e,t,"locale_data",t],!1);!1===n?(0,i.setLocaleData)({"":{}},t):(0,i.setLocaleData)(n,t)}function o(){r("yoast-components")}function s(){r("wordpress-seo")}Object.defineProperty(e,"__esModule",{value:!0}),e.setTextdomainL10n=r,e.setYoastComponentsL10n=o,e.setWordPressSeoL10n=s;var i=n(12),a=n(29),u=function(t){return t&&t.__esModule?t:{default:t}}(a)},27:function(t,e,n){function r(t){if("string"==typeof t||o(t))return t;var e=t+"";return"0"==e&&1/t==-s?"-0":e}var o=n(24),s=1/0;t.exports=r},29:function(t,e,n){function r(t,e,n){var r=null==t?void 0:o(t,e);return void 0===r?n:r}var o=n(49);t.exports=r},3:function(t,e){var n=Array.isArray;t.exports=n},31:function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},33:function(t,e,n){function r(t,e){return o(t)?t:s(t,e)?[t]:i(a(t))}var o=n(3),s=n(50),i=n(114),a=n(86);t.exports=r},34:function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e