!function(e){function t(t){for(var n,a,c=t[0],s=t[1],l=t[2],_=0,p=[];_<c.length;_++)a=c[_],o[a]&&p.push(o[a][0]),o[a]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(u&&u(t);p.length;)p.shift()();return i.push.apply(i,l||[]),r()}function r(){for(var e,t=0;t<i.length;t++){for(var r=i[t],n=!0,a=1;a<r.length;a++){var c=r[a];0!==o[c]&&(n=!1)}n&&(i.splice(t--,1),e=__webpack_require__(__webpack_require__.s=r[0]))}return e}var n={},o={15:0},i=[];function __webpack_require__(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,__webpack_require__),r.l=!0,r.exports}__webpack_require__.m=e,__webpack_require__.c=n,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="";var a=window.webpackJsonp=window.webpackJsonp||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var s=0;s<a.length;s++)t(a[s]);var u=c;i.push([204,0,1]),r()}({0:function(e,t){e.exports=wp.i18n},1:function(e,t){e.exports=wp.element},10:function(e,t){e.exports=wp.hooks},11:function(e,t){e.exports=lodash},18:function(e,t){e.exports=React},204:function(e,t,r){"use strict";r.r(t);var n=r(3),o=r.n(n),i=r(4),a=r.n(i),c=r(5),s=r.n(c),u=r(6),l=r.n(u),_=r(7),p=r.n(_),d=r(1),f=r(26),g=r(39),b=r.n(g),k=r(0),h=r(10),m=(r(9),r(21)),w=function(e){function t(){return o()(this,t),s()(this,l()(t).apply(this,arguments))}return p()(t,e),a()(t,[{key:"render",value:function(){return null}}]),t}(d.Component),y=Object(m.a)("googlesitekit.WPDashboardModule")(w),v=function(e){function t(){return o()(this,t),s()(this,l()(t).apply(this,arguments))}return p()(t,e),a()(t,[{key:"render",value:function(){return null}}]),t}(d.Component),q=Object(m.a)("googlesitekit.WPDashboardHeader")(v),O=r(63),j=function(e){function t(){return o()(this,t),s()(this,l()(t).apply(this,arguments))}return p()(t,e),a()(t,[{key:"render",value:function(){return React.createElement(d.Fragment,null,React.createElement("div",{className:"\n\t\t\t\t\tgooglesitekit-wp-dashboard-stats\n\t\t\t\t\t".concat(googlesitekit.modules.analytics&&googlesitekit.modules.analytics.active?"googlesitekit-wp-dashboard-stats--fourup":"","\n\t\t\t\t")},React.createElement(q,{key:"googlesitekit-wp-dashboard-header"}),!googlesitekit.modules.analytics.active&&React.createElement("div",{className:"googlesitekit-wp-dashboard-stats__cta"},React.createElement(O.a,{title:Object(k.__)("See unique vistors, goal completions, top pages and more.","google-site-kit"),ctaLabel:Object(k.__)("Set up analytics","google-site-kit"),description:""}))),React.createElement(y,{key:"googlesitekit-wp-dashboard-module"}))}}]),t}(d.Component),E=r(14),R=function(e){function t(){return o()(this,t),s()(this,l()(t).apply(this,arguments))}return p()(t,e),a()(t,[{key:"render",value:function(){return React.createElement("div",{className:"googlesitekit-wp-dashboard"},React.createElement("div",{className:"googlesitekit-wp-dashboard__cta"},React.createElement(E.a,{className:"googlesitekit-wp-dashboard__cta-link",href:googlesitekit.dashboardPermalink},Object(k.__)("Visit your Site Kit Dashboard","google-site-kit"))),React.createElement(j,null))}}]),t}(d.Component),x=function(e){function t(e){var r;return o()(this,t),(r=s()(this,l()(t).call(this,e))).state={hasError:!1},Object(k.setLocaleData)(googlesitekit.locale,"google-site-kit"),r}return p()(t,e),a()(t,[{key:"componentDidCatch",value:function(e,t){this.setState({hasError:!0,error:e,info:t})}},{key:"render",value:function(){var e=this.state,t=e.hasError,r=e.error,n=e.info;return t?React.createElement(f.a,{id:"googlesitekit-error",key:"googlesitekit-error",title:r,description:n.componentStack,dismiss:"",isDismissable:!1,format:"small",type:"win-error"}):React.createElement(R,null)}}]),t}(d.Component);b()((function(){var e=document.getElementById("js-googlesitekit-wp-dashboard");null!==e&&(Object(d.render)(React.createElement(x,null),e),Object(h.doAction)("googlesitekit.moduleLoaded","WPDashboard"))}))},35:function(e,t){e.exports=wp.apiFetch},36:function(e,t){e.exports=wp.url},39:function(e,t){e.exports=wp.domReady},50:function(e,t){e.exports=ReactDOM},59:function(e,t){e.exports=wp.compose}});