(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[3],{100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(58),i=n(36),a=n(51);function o(t,n){var o,c=Object(r.a)(n),l=t.activeModules,s=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,f=void 0===d?[]:d,g=t.isAuthenticated,m=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(i.b,"]"))),!o){o=!0;var r=(null==f?void 0:f.length)?f.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:s,plugin_version:m||"",enabled_features:Array.from(a.a).join(","),active_modules:l.join(","),authenticated:g?"1":"0",user_properties:{user_roles:r,user_identifier:u}});var d=n.createElement("script");return d.setAttribute(i.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a)}}}}}).call(this,n(26))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(5),i=n.n(r),a=n(6),o=n.n(a),c=n(17),l=n.n(c),s=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n,r){var a=Object(s.a)(t);return function(){var t=l()(i.a.mark((function t(o,c,l,s){var u;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:o,event_label:l,value:s},t.abrupt("return",new Promise((function(e){var t,n,i=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),l=function(){clearTimeout(i),e()};a("event",c,d(d({},u),{},{event_callback:l})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&l()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}()}},102:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(13),l=n.n(c),s=n(1),u=n.n(s),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.label,a=t.className,c=t.hasLeftSpacing,s=void 0!==c&&c,u=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",i()({ref:n},u,{className:l()("googlesitekit-badge",a,{"googlesitekit-badge--has-left-spacing":s})}),r)}));f.displayName="Badge",f.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=f}).call(this,n(4))},104:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportError}));var r=n(6),i=n.n(r),a=n(1),o=n.n(a),c=n(12),l=n(0),s=n(2),u=n(3),d=n(18),f=n(37),g=n(135),m=n(79),p=n(71),h=n(67),b=n(120),v=n(33);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportError(t){var n,r=t.moduleSlug,i=t.error,a=Object(v.a)(),o=Object(u.useSelect)((function(e){return e(d.a).getModule(r)})),_=Array.isArray(i)?i:[i],O=function(e){return Object(f.e)(e)?a?(n=Object(s.sprintf)(
/* translators: %s: module name */
Object(s.__)("Access lost to %s","google-site-kit"),null==o?void 0:o.name),Object(s.sprintf)(
/* translators: %s: module name */
Object(s.__)("The administrator sharing this module with you has lost access to the %s service, so you won’t be able to see stats from it on the Site Kit dashboard. You can contact them or another administrator to restore access.","google-site-kit"),null==o?void 0:o.name)):(n=Object(s.sprintf)(
/* translators: %s: module name */
Object(s.__)("Insufficient permissions in %s","google-site-kit"),null==o?void 0:o.name),Object(g.a)(e.message,o)):Object(f.b)(e)},y=Object(c.uniqWith)(_.map((function(e){var t;return E(E({},e),{},{message:O(e),reconnectURL:null===(t=e.data)||void 0===t?void 0:t.reconnectURL})})),(function(e,t){return e.message===t.message&&e.reconnectURL===t.reconnectURL})),k=_.some((function(e){return Object(f.e)(e)}));k||1!==y.length?!k&&y.length>1&&(n=Object(s.sprintf)(
/* translators: %s: module name */
Object(s.__)("Data errors in %s","google-site-kit"),null==o?void 0:o.name)):n=Object(s.sprintf)(
/* translators: %s: module name */
Object(s.__)("Data error in %s","google-site-kit"),null==o?void 0:o.name);var j=e.createElement(l.Fragment,null,y.map((function(t){var n,r=null==i||null===(n=i.data)||void 0===n?void 0:n.reconnectURL;return r?e.createElement(p.a,{key:t.message,message:t.message,reconnectURL:r}):e.createElement("p",{key:t.message},m.a.sanitize(t.message,{ALLOWED_TAGS:[]}))})));return e.createElement(h.a,{title:n,description:j,error:!0},e.createElement(b.a,{moduleSlug:r,error:i}))}ReportError.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired}}).call(this,n(4))},105:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(1),l=n.n(c),s=n(13),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,a=o()(t,["className","children"]);return r?e.createElement("span",i()({},a,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},109:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return l}));var r=n(31),i=n.n(r);function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};return"string"==typeof e?n(e):!("object"!==i()(e)||!t(e))||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e?n(e):"object"===i()(e)&&t(e)}))}function o(e){var t=e.startDate,n=e.endDate,r=t&&t.match(/^\d{4}-\d{2}-\d{2}$/),i=n&&n.match(/^\d{4}-\d{2}-\d{2}$/);return r&&i}function c(e){var t=function(e){var t=e.hasOwnProperty("fieldName")&&!!e.fieldName,n=e.hasOwnProperty("sortOrder")&&/(ASCENDING|DESCENDING)/i.test(e.sortOrder.toString());return t&&n};return Array.isArray(e)?e.every((function(e){return"object"===i()(e)&&t(e)})):"object"===i()(e)&&t(e)}function l(e){return"string"==typeof e||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}},11:function(e,t){e.exports=googlesitekit.components},111:function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return E})),n.d(t,"a",(function(){return TourTooltips}));var i=n(6),a=n.n(i),o=n(92),c=n(30),l=n(1),s=n.n(l),u=n(2),d=n(3),f=n(23),g=n(7),m=n(35),p=n(136),h=n(19);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var v={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},_={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},E={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},O="feature_tooltip_view",y="feature_tooltip_advance",k="feature_tooltip_return",j="feature_tooltip_dismiss",S="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,i=t.tourID,l=t.gaEventCategory,s=t.callback,u="".concat(i,"-step"),w="".concat(i,"-run"),N=Object(d.useDispatch)(f.b).setValue,A=Object(d.useDispatch)(g.a).dismissTour,C=Object(d.useRegistry)(),x=Object(h.a)(),T=Object(d.useSelect)((function(e){return e(f.b).getValue(u)})),R=Object(d.useSelect)((function(e){return e(f.b).getValue(w)&&!1===e(g.a).isTourDismissed(i)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),N(w,!0)}));var D=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return r.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,r=e.lifecycle,i=e.size,a=e.status,o=e.type,s=t+1,u="function"==typeof l?l(x):l;o===c.b.TOOLTIP&&r===c.c.TOOLTIP?Object(m.b)(u,O,s):n===c.a.CLOSE&&r===c.c.COMPLETE?Object(m.b)(u,j,s):n===c.a.NEXT&&a===c.d.FINISHED&&o===c.b.TOUR_END&&i===s&&Object(m.b)(u,S,s),r===c.c.COMPLETE&&a!==c.d.FINISHED&&(n===c.a.PREV&&Object(m.b)(u,k,s),n===c.a.NEXT&&Object(m.b)(u,y,s))}(t);var n=t.action,r=t.index,a=t.status,o=t.step,d=t.type,f=n===c.a.CLOSE,g=!f&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),p=[c.d.FINISHED,c.d.SKIPPED].includes(a),h=f&&d===c.b.STEP_AFTER,b=p||h;if(c.b.STEP_BEFORE===d){var v,_,E=o.target;"string"==typeof o.target&&(E=e.document.querySelector(o.target)),null===(v=E)||void 0===v||null===(_=v.scrollIntoView)||void 0===_||_.call(v,{block:"center"})}g?function(e,t){N(u,e+(t===c.a.PREV?-1:1))}(r,n):b&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),A(i)),s&&s(t,C)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:E,locale:_,run:R,showProgress:!0,stepIndex:T,steps:D,styles:v,tooltipComponent:p.a})}TourTooltips.propTypes={steps:s.a.arrayOf(s.a.object).isRequired,tourID:s.a.string.isRequired,gaEventCategory:s.a.oneOfType([s.a.string,s.a.func]).isRequired,callback:s.a.func}}).call(this,n(26),n(4))},112:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return o}));function r(e){var t=e.format,n=void 0===t?"small":t,r=e.hasErrorOrWarning,i=e.hasSmallImageSVG,o=e.hasWinImageSVG,c={smSize:4,mdSize:8,lgSize:12},l=a(n);return Object.keys(c).forEach((function(e){var t=c[e];r&&(t-=1),i&&(t-=1),o&&0<t-l[e]&&(t-=l[e]),c[e]=t})),c}var i=function(e){switch(e){case"small":return{};case"larger":return{smOrder:2,mdOrder:2,lgOrder:1};default:return{smOrder:2,mdOrder:1}}},a=function(e){switch(e){case"smaller":return{smSize:4,mdSize:2,lgSize:2};case"larger":return{smSize:4,mdSize:8,lgSize:7};default:return{smSize:4,mdSize:2,lgSize:4}}},o=function(e){switch(e){case"larger":return{smOrder:1,mdOrder:1,lgOrder:2};default:return{smOrder:1,mdOrder:2}}}},113:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(13),o=n.n(a),c=n(186),l=n(38),s=n(2),u=n(11),d=n(90);function ModalDialog(t){var n=t.className,r=void 0===n?"":n,i=t.dialogActive,a=void 0!==i&&i,f=t.handleDialog,g=void 0===f?null:f,m=t.onClose,p=void 0===m?null:m,h=t.title,b=void 0===h?null:h,v=t.provides,_=t.handleConfirm,E=t.subtitle,O=t.confirmButton,y=void 0===O?null:O,k=t.dependentModules,j=t.danger,S=void 0!==j&&j,w=t.inProgress,N=void 0!==w&&w,A=t.small,C=void 0!==A&&A,x=t.medium,T=void 0!==x&&x,R=t.buttonLink,D=void 0===R?null:R,L=Object(c.a)(ModalDialog),M="googlesitekit-dialog-description-".concat(L),I=!(!v||!v.length);return e.createElement(u.Dialog,{open:a,onClose:p,"aria-describedby":I?M:void 0,tabIndex:"-1",className:o()(r,{"googlesitekit-dialog-sm":C,"googlesitekit-dialog-md":T})},e.createElement(u.DialogTitle,null,S&&e.createElement(d.a,{width:28,height:28}),b),E?e.createElement("p",{className:"mdc-dialog__lead"},E):[],e.createElement(u.DialogContent,null,I&&e.createElement("section",{id:M,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},v.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),k&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(l.a)(Object(s.sprintf)(
/* translators: %s is replaced with the dependent modules. */
Object(s.__)("<strong>Note:</strong> %s","google-site-kit"),k),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:g,disabled:N},Object(s.__)("Cancel","google-site-kit")),D?e.createElement(u.Button,{href:D,target:"_blank",danger:S},y):e.createElement(u.SpinnerButton,{onClick:_,danger:S,disabled:N,isSaving:N},y||Object(s.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:i.a.string,dialogActive:i.a.bool,handleDialog:i.a.func,handleConfirm:i.a.func.isRequired,title:i.a.string,confirmButton:i.a.string,danger:i.a.bool,small:i.a.bool,medium:i.a.bool,buttonLink:i.a.string},t.a=ModalDialog}).call(this,n(4))},1146:function(e,t,n){"use strict";n.r(t),function(e){var t=n(319),r=n(133),i=n(25),a=n(614),o=n(227);Object(t.a)((function(){var t=document.getElementById("js-googlesitekit-ad-blocking-recovery");t&&Object(r.render)(e.createElement(o.a,{viewContext:i.k},e.createElement(a.a,null)),t)}))}.call(this,n(4))},115:function(e,t,n){"use strict";var r=n(139);n.d(t,"a",(function(){return r.a}));var i=n(140);n.d(t,"c",(function(){return i.a}));var a=n(141);n.d(t,"b",(function(){return a.a}))},116:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotification}));var r=n(1),i=n.n(r),a=n(2),o=n(11),c=n(144),l=n(16);function SubtleNotification(t){var n=t.title,r=t.description,i=t.onDismiss,s=t.additionalCTA,u=void 0!==s&&s;return e.createElement(l.e,null,e.createElement(l.k,null,e.createElement(l.a,{alignMiddle:!0,size:12,className:"googlesitekit-subtle-notification"},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},e.createElement(c.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,n),e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},r)),e.createElement(o.Button,{tertiary:!0,onClick:i},Object(a.__)("Got it","google-site-kit")),!!u&&u)))}SubtleNotification.propTypes={title:i.a.string.isRequired,description:i.a.node,onDismiss:i.a.func.isRequired,additionalCTA:i.a.oneOfType([i.a.node,i.a.bool])}}).call(this,n(4))},118:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(3),l=n(11),s=n(37),u=n(71);function ErrorNotice(t){var n,r=t.error,i=t.storeName,d=t.message,f=void 0===d?r.message:d,g=t.noPrefix,m=void 0!==g&&g,p=Object(c.useDispatch)(),h=Object(c.useSelect)((function(e){return i?e(i).getSelectorDataForError(r):null})),b=Object(a.useCallback)((function(){p(h.storeName).invalidateResolution(h.name,h.args)}),[p,h]);if(!r||Object(s.f)(r))return null;var v=Object(s.d)(r,h);return e.createElement(a.Fragment,null,e.createElement(u.a,{message:f,reconnectURL:null===(n=r.data)||void 0===n?void 0:n.reconnectURL,noPrefix:m}),v&&e.createElement(l.Button,{className:"googlesitekit-error-notice__retry-button",onClick:b},Object(o.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:i.a.shape({message:i.a.string}),storeName:i.a.string,message:i.a.string,noPrefix:i.a.bool}}).call(this,n(4))},119:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(455),i=function(e,t,n){Object(r.a)((function(n){return e.includes(n.keyCode)&&t.current.contains(n.target)}),n)}},120:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportErrorActions}));var r=n(6),i=n.n(r),a=n(1),o=n.n(a),c=n(0),l=n(38),s=n(2),u=n(3),d=n(11),f=n(14),g=n(18),m=n(37),p=n(33),h=n(20);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportErrorActions(t){var n=t.moduleSlug,r=t.error,i=t.GetHelpLink,a=t.hideGetHelpLink,o=t.buttonVariant,b=t.onRetry,_=t.getHelpClassName,E=t.RequestAccessButton,O=t.RetryButton,y=Object(p.a)(),k=Object(u.useSelect)((function(e){return e(g.a).getModuleStoreName(n)})),j=Object(u.useSelect)((function(e){var t;return"function"==typeof(null===(t=e(k))||void 0===t?void 0:t.getServiceEntityAccessURL)?e(k).getServiceEntityAccessURL():null})),S=Array.isArray(r)?r:[r],w=Object(u.useSelect)((function(e){return S.map((function(t){var n,r=null===(n=e(k))||void 0===n?void 0:n.getSelectorDataForError(t);return v(v({},t),{},{selectorData:r})}))})),N=null==w?void 0:w.filter((function(e){return Object(m.d)(e,e.selectorData)&&"getReport"===e.selectorData.name})),A=!!N.length,C=Object(u.useSelect)((function(e){var t=v({},A?N[0]:S[0]);return Object(m.e)(t)&&(t.code="".concat(n,"_insufficient_permissions")),e(f.c).getErrorTroubleshootingLinkURL(t)})),x=Object(u.useDispatch)(),T=S.some((function(e){return Object(m.e)(e)})),R=Object(c.useCallback)((function(){N.forEach((function(e){var t=e.selectorData;x(t.storeName).invalidateResolution(t.name,t.args)})),null==b||b()}),[x,N,b]),D=j&&T&&!y;return e.createElement("div",{className:"googlesitekit-report-error-actions"},D&&("function"==typeof E?e.createElement(E,{requestAccessURL:j}):e.createElement(d.Button,{href:j,target:"_blank",danger:"danger"===o,tertiary:"tertiary"===o},Object(s.__)("Request access","google-site-kit"))),A&&e.createElement(c.Fragment,null,"function"==typeof O?e.createElement(O,{handleRetry:R}):e.createElement(d.Button,{onClick:R,danger:"danger"===o,tertiary:"tertiary"===o},Object(s.__)("Retry","google-site-kit")),!a&&e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(l.a)(Object(s.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(h.a,{href:C,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))}))),!A&&!a&&e.createElement("div",{className:_},"function"==typeof i?e.createElement(i,{linkURL:C}):e.createElement(h.a,{href:C,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))))}ReportErrorActions.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired,GetHelpLink:o.a.elementType,hideGetHelpLink:o.a.bool,buttonVariant:o.a.string,onRetry:o.a.func,getHelpClassName:o.a.string,RequestAccessButton:o.a.elementType,RetryButton:o.a.elementType}}).call(this,n(4))},122:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"e",(function(){return i})),n.d(t,"j",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"g",(function(){return c})),n.d(t,"k",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"h",(function(){return d})),n.d(t,"f",(function(){return f})),n.d(t,"i",(function(){return g})),n.d(t,"l",(function(){return m})),n.d(t,"n",(function(){return p})),n.d(t,"r",(function(){return h})),n.d(t,"m",(function(){return b})),n.d(t,"p",(function(){return v})),n.d(t,"q",(function(){return _})),n.d(t,"o",(function(){return E})),n.d(t,"t",(function(){return O})),n.d(t,"s",(function(){return y}));var r="disapproved",i="graylisted",a="pending",o="approved",c="needs-attention",l="ready",s="client-requires-review",u="client-getting-ready",d="none",f="multiple",g="no-client",m="added",p="needs-attention",h="requires-review",b="getting-ready",v="ready",_="ready-no-auto-ads",E="none",O=[r,i,a,o],y=function(e){return e===i||e===a}},123:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},124:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},125:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},126:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return v}));var r=n(22),i=n.n(r),a=n(6),o=n.n(a),c=n(5),l=n.n(c),s=n(10),u=n.n(s),d=n(3),f=n.n(d),g=n(39),m=n(8),p=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:l.a.mark((function e(){var t,n,r,i,a,o,c=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,r=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(i=e.sent,a=i.cacheHit,o=i.value,!a){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!r){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",a);case 14:case"end":return e.stop()}}),e)})),createSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},a=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(g.c)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",Object(d.createRegistryControl)((function(t){return function(){return Object(g.f)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(g.d)("datastore::cache::".concat(e),m.b)})),t);return{initialState:n,actions:r,controls:a,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,r=t.type,a=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var o=a.snapshot,c=(o.error,i()(o,["error"]));return c;default:return e}}}},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(h(e).map((function(e){return e.getActions().createSnapshot()})))},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(h(e).map((function(e){return e.getActions().restoreSnapshot()})))}},127:function(e,t,n){"use strict";var r=n(0),i=n(51),a=Object(r.createContext)(i.a);t.a=a},129:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(13),o=n.n(a),c=n(38),l=n(2),s=n(20),u=n(33);function SourceLink(t){var n=t.name,r=t.href,i=t.className,a=t.external;return Object(u.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",i)},Object(c.a)(Object(l.sprintf)(
/* translators: %s: source link */
Object(l.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(s.a,{key:"link",href:r,external:a})}))}SourceLink.propTypes={name:i.a.string,href:i.a.string,className:i.a.string,external:i.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},130:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(12),i=function(e){return Object(r.isFinite)(e)?e:0}},131:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(127),a=n(51),o=function(e){var t=Object(r.useContext)(i.a);return Object(a.b)(e,t)}},135:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},i=n.slug,a=void 0===i?"":i,o=n.name,c=void 0===o?"":o,l=n.owner,s=void 0===l?{}:l;if(!a||!c)return e;var u="",d="";return"analytics-4"===a?e.match(/account/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===a&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),u||(u=Object(r.sprintf)(
/* translators: %s: module name */
Object(r.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),s&&s.login&&(d=Object(r.sprintf)(
/* translators: %s: owner name */
Object(r.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),s.login)),d||(d=Object(r.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},136:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var r=n(21),i=n.n(r),a=n(171),o=n.n(a),c=n(13),l=n.n(c),s=n(1),u=n.n(s),d=n(11),f=n(174),g=n(142);function TourTooltip(t){var n=t.backProps,r=t.closeProps,c=t.index,s=t.primaryProps,u=t.size,m=t.step,p=t.tooltipProps,h=u>1?Object(f.a)(u):[],b=function(e){return l()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",i()({className:l()("googlesitekit-tour-tooltip",m.className)},p),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},m.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},m.content)),e.createElement(a.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},h.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:b(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),m.cta,s.title&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},s),s.title))),e.createElement(d.Button,i()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(g.a,{width:"14",height:"14"})},r))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},137:function(e,t,n){"use strict";var r=n(0),i=Object(r.createContext)(!1);t.a=i},138:function(e,t,n){"use strict";var r=n(157);n.d(t,"c",(function(){return r.a}));var i=n(63);n.d(t,"b",(function(){return i.c})),n.d(t,"a",(function(){return i.a}))},139:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),i=n.n(r),a=n(6),o=n.n(a),c=n(22),l=n.n(c),s=n(1),u=n.n(s),d=n(13),f=n.n(d);function Cell(t){var n,r=t.className,a=t.alignTop,c=t.alignMiddle,s=t.alignBottom,u=t.alignRight,d=t.alignLeft,g=t.smAlignRight,m=t.mdAlignRight,p=t.lgAlignRight,h=t.smSize,b=t.smStart,v=t.smOrder,_=t.mdSize,E=t.mdStart,O=t.mdOrder,y=t.lgSize,k=t.lgStart,j=t.lgOrder,S=t.size,w=t.children,N=l()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",i()({},N,{className:f()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":a,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":s,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":g,"mdc-layout-grid__cell--align-right-tablet":m,"mdc-layout-grid__cell--align-right-desktop":p},o()(n,"mdc-layout-grid__cell--span-".concat(S),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-desktop"),12>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(k,"-desktop"),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--order-".concat(j,"-desktop"),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(_,"-tablet"),8>=_&&_>0),o()(n,"mdc-layout-grid__cell--start-".concat(E,"-tablet"),8>=E&&E>0),o()(n,"mdc-layout-grid__cell--order-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--span-".concat(h,"-phone"),4>=h&&h>0),o()(n,"mdc-layout-grid__cell--start-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--order-".concat(v,"-phone"),4>=v&&v>0),n))}),w)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="core/site",i="primary",a="secondary"},140:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(1),l=n.n(c),s=n(13),u=n.n(s),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.className,a=t.children,c=o()(t,["className","children"]);return e.createElement("div",i()({ref:n,className:u()("mdc-layout-grid__inner",r)},c),a)}));f.displayName="Row",f.propTypes={className:l.a.string,children:l.a.node},f.defaultProps={className:""},t.a=f}).call(this,n(4))},141:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(1),l=n.n(c),s=n(13),u=n.n(s),d=n(0),f=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,a=t.fill,c=t.className,l=t.children,s=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",i()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":s,"mdc-layout-grid--fill":a})},d,{ref:n}),l)}));f.displayName="Grid",f.propTypes={alignLeft:l.a.bool,fill:l.a.bool,className:l.a.string,collapsed:l.a.bool,children:l.a.node},f.defaultProps={className:""},t.a=f}).call(this,n(4))},142:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return r.createElement("svg",i({viewBox:"0 0 14 14",fill:"none"},e),a)}},143:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",i({viewBox:"0 0 43 44"},e),a)}},144:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm4.806 8.592l.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296-.152 0-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16c.821 0 1.6-.4 2.124-1.112l3.89-5.296z",fill:"#265C3B"});t.a=function SvgCheckFill(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"none"},e),a)}},145:function(e,t,n){"use strict";n.d(t,"d",(function(){return f})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return p.a})),n.d(t,"g",(function(){return p.c})),n.d(t,"a",(function(){return c.a})),n.d(t,"f",(function(){return h})),n.d(t,"e",(function(){return s}));var r=n(15),i=n.n(r),a=n(27),o=n.n(a),c=n(66),l=n(73);function s(e){return!!e&&e.Component===l.a}function u(e,t){if(9!==t)return[e,t];for(var n=(e=o()(e)).length-1;0!==t&&n>=0;)3===e[n]?(t-=3,e[n]=4):6===e[n]&&(t-=6,e[n]=8),n--;return[e,t]}function d(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function f(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var a=0,o=0,l=function(e,t){return e.counter-t.counter},f=function(e,t){var n=e.counter;return t.counter-n},g=function(e){return e.counter<=12};if(e.forEach((function(m,p){if(s(t[m.slug]))return n.push(0),void r.push(o);var h=d(a,m),b=function(e,t,n){for(;++e<t.length;)if(!s(n[t[e].slug]))return t[e];return null}(p,e,t);null!==b&&0!==d(h.sort(l)[0].counter,b).filter(g).length||h.some(g)&&(h=(h=h.sort(f)).filter(g));var v=h[0].width;if(r.push(o),(a+=c.c[v])>12){if(a-=c.c[v],r[p]++,9===a){var _=u(n,a),E=i()(_,2);n=E[0],a=E[1]}a=c.c[v],o++}else 12===a&&(a=0,o++);n.push(c.c[v])})),9===a){var m=u(n,a),p=i()(m,2);n=p[0],a=p[1]}return{columnWidths:n,rowIndexes:r}}var g=n(12);function m(e,t,n){var r=n.columnWidths,i=n.rowIndexes,a=[],l=o()(r);if(!(null==e?void 0:e.length))return{gridColumnWidths:l,overrideComponents:a};var s=null,u=-1,d=[];if(function(e,t){for(var n={},r=0;r<e.length;r++){var i,a=e[r],o=null==t?void 0:t[a.slug],l=null==o?void 0:o.Component,s=null==o||null===(i=o.metadata)||void 0===i?void 0:i.moduleSlug,u=c.b.includes(l);if(!l||!s||!u)return!1;if(n[s]){if(n[s]!==l)return!1}else n[s]=l}return!(Object.keys(n).length>1)}(e,t)){var f=Array.from({length:e.length-1}).fill(0);return{overrideComponents:[t[e[0].slug]],gridColumnWidths:[12].concat(o()(f))}}return e.forEach((function(n,o){var c,f,m,p,h;if(a.push(null),s=t[n.slug],u=i[o],s)if(f=s,m=t[null===(c=e[o+1])||void 0===c?void 0:c.slug],p=u,h=i[o+1],p===h&&Object(g.isEqual)(f,m))d.push(r[o]),l[o]=0;else if(d.length>0){d.push(r[o]);var b=d.reduce((function(e,t){return e+t}),0);a[o]=s,l[o]=b,d=[]}})),{gridColumnWidths:l,overrideComponents:a}}var p=n(168);function h(e){return(Array.isArray(e)?e:[e]).filter((function(e){return"string"==typeof e&&e.length>0}))}},150:function(e,t,n){"use strict";var r=n(602);n.d(t,"a",(function(){return r.a}));var i=n(603);n.d(t,"b",(function(){return i.a}));var a=n(604);n.d(t,"d",(function(){return a.a}));var o=n(605);n.d(t,"f",(function(){return o.a}));var c=n(606);n.d(t,"e",(function(){return c.a}));n(552);var l=n(377);n.d(t,"c",(function(){return l.c}));n(553)},151:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LoadingWrapper}));var r=n(6),i=n.n(r),a=n(22),o=n.n(a),c=n(1),l=n.n(c),s=n(44);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function LoadingWrapper(t){var n=t.loading,r=t.children,i=o()(t,["loading","children"]);return n?e.createElement(s.a,i):r}LoadingWrapper.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({loading:l.a.bool,children:l.a.node},s.a.propTypes)}).call(this,n(4))},153:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n(3),s=n(14),u=n(7),d=n(18),f=n(32),g=n(35),m=n(19);function p(e){var t=Object(m.a)(),n=Object(l.useSelect)((function(t){return t(d.a).getModule(e)})),r=Object(l.useSelect)((function(e){return e(u.a).hasCapability(u.C)})),a=Object(l.useDispatch)(d.a).activateModule,p=Object(l.useDispatch)(f.a).navigateTo,h=Object(l.useDispatch)(s.c).setInternalServerError,b=Object(c.useCallback)(o()(i.a.mark((function n(){var r,o,c;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,a(e);case 2:if(r=n.sent,o=r.error,c=r.response,o){n.next=11;break}return n.next=8,Object(g.b)("".concat(t,"_widget-activation-cta"),"activate_module",e);case 8:p(c.moduleReauthURL),n.next=12;break;case 11:h({id:"".concat(e,"-setup-error"),description:o.message});case 12:case"end":return n.stop()}}),n)}))),[a,e,p,h,t]);return(null==n?void 0:n.name)&&r?b:null}},154:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return StoreErrorNotices}));var r=n(1),i=n.n(r),a=n(3),o=n(118),c=n(18),l=n(37),s=n(135);function StoreErrorNotices(t){var n=t.moduleSlug,r=t.storeName,i=Object(a.useSelect)((function(e){return e(r).getErrors()})),u=Object(a.useSelect)((function(e){return e(c.a).getModule(n)})),d=[];return i.filter((function(e){return!(!(null==e?void 0:e.message)||d.includes(e.message))&&(d.push(e.message),!0)})).map((function(t,n){var i=t.message;return Object(l.e)(t)&&(i=Object(s.a)(i,u)),e.createElement(o.a,{key:n,error:t,storeName:r,message:i})}))}StoreErrorNotices.propTypes={storeName:i.a.string.isRequired,moduleSlug:i.a.string}}).call(this,n(4))},157:function(e,t,n){"use strict";(function(e){var r=n(13),i=n.n(r),a=n(1),o=n.n(a),c=n(2),l=n(3),s=n(197),u=n(213),d=n(63),f=n(7),g=n(11),m=n(0),p=Object(m.forwardRef)((function(t,n){var r=t.className,a=t.children,o=t.type,m=t.dismiss,p=void 0===m?"":m,h=t.dismissCallback,b=t.dismissLabel,v=void 0===b?Object(c.__)("OK, Got it!","google-site-kit"):b,_=t.Icon,E=void 0===_?Object(d.d)(o):_,O=t.OuterCTA,y=Object(l.useDispatch)(f.a).dismissItem,k=Object(l.useSelect)((function(e){return p?e(f.a).isItemDismissed(p):void 0}));if(p&&k)return null;var j=a?u.a:s.a;return e.createElement("div",{ref:n,className:i()(r,"googlesitekit-settings-notice","googlesitekit-settings-notice--".concat(o),{"googlesitekit-settings-notice--single-row":!a,"googlesitekit-settings-notice--multi-row":a})},e.createElement("div",{className:"googlesitekit-settings-notice__icon"},e.createElement(E,{width:"20",height:"20"})),e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(j,t)),p&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(g.Button,{tertiary:!0,onClick:function(){y(p),h()}},v)),O&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(O,null)))}));p.propTypes={className:o.a.string,children:o.a.node,notice:o.a.node.isRequired,type:o.a.oneOf([d.a,d.c,d.b]),Icon:o.a.elementType,LearnMore:o.a.elementType,CTA:o.a.elementType,OuterCTA:o.a.elementType,dismissLabel:o.a.string,dismissCallback:o.a.func},p.defaultProps={type:d.a},t.a=p}).call(this,n(4))},158:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(6),i=n.n(r),a=n(22),o=n.n(a),c=n(55),l=n.n(c),s=n(12);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=l()((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.metrics,n=e.dimensions,r=o()(e,["metrics","dimensions"]);return d({metrics:g(t),dimensions:m(n)},r)})),g=function(e){return Object(s.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(s.isPlainObject)(e)}))},m=function(e){return Object(s.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(s.isPlainObject)(e)}))}},16:function(e,t,n){"use strict";var r=n(260);n.d(t,"i",(function(){return r.a}));var i=n(336);n.d(t,"f",(function(){return i.a}));var a=n(337);n.d(t,"h",(function(){return a.a}));var o=n(338);n.d(t,"j",(function(){return o.a}));var c=n(335);n.d(t,"g",(function(){return c.a}));var l=n(103),s=n.n(l);n.d(t,"b",(function(){return s.a})),n.d(t,"c",(function(){return l.DialogContent})),n.d(t,"d",(function(){return l.DialogFooter}));var u=n(115);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},162:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var r=n(1),i=n.n(r),a=n(2),o=n(20),c=n(188);function GenericErrorHandlerActions(t){var n=t.message,r=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(c.a,{message:n,componentStack:r}),e.createElement(o.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(a.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:i.a.string,componentStack:i.a.string}}).call(this,n(4))},163:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(25),i=function(e){return r.f.includes(e)}},165:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return o.a})),n.d(t,"e",(function(){return c.a})),n.d(t,"a",(function(){return l.a}));var r=n(2);function i(e){var t,n,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.keyColumnIndex,c=void 0===o?0:o,l=a.maxSlices,s=a.withOthers,u=void 0!==s&&s,d=a.tooltipCallback,f=e||{},g=f.rows,m=void 0===g?[]:g,p=f.totals,h=void 0===p?[]:p,b="function"==typeof d,v=["Source","Percent"];b&&v.push({type:"string",role:"tooltip",p:{html:!0}});var _=(null==h||null===(t=h[0])||void 0===t||null===(n=t.metricValues)||void 0===n||null===(i=n[c])||void 0===i?void 0:i.value)||0,E=[v],O=m.filter((function(e){return"date_range_0"===e.dimensionValues[1].value})),y=u,k=O.length,j=1;l>0?(y=u&&O.length>l,k=Math.min(O.length,y?l-1:l)):(y=!1,k=O.length);for(var S=function(e){var t=O[e],n=t.metricValues[c].value,r=_>0?n/_:0;j-=r;var i=[t.dimensionValues[0].value,r];if(b){var a=m.find((function(e){var n=e.dimensionValues;return"date_range_1"===n[1].value&&n[0].value===t.dimensionValues[0].value}));i.push(d(t,a,i))}E.push(i)},w=0;w<k;w++)S(w);if(y&&j>0){var N=[Object(r.__)("Others","google-site-kit"),j];b&&N.push(d(null,null,N)),E.push(N)}return E}var a=function(e){var t,n,r,i,a,o,c;if(void 0!==e){var l=((null==e?void 0:e.rows)||[]).filter((function(e){return"date_range_0"===e.dimensionValues[1].value}));return 1===(null==l?void 0:l.length)||(null==l||null===(t=l[0])||void 0===t||null===(n=t.metricValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value)===(null==e||null===(i=e.totals)||void 0===i||null===(a=i[0])||void 0===a||null===(o=a.metricValues)||void 0===o||null===(c=o[0])||void 0===c?void 0:c.value)}},o=n(210),c=n(158),l=(n(72),n(172),n(212))},167:function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(1),l=n.n(c),s=n(0),u=n(20),d=n(8),f=n(19);function HelpMenuLink(t){var n=t.children,r=t.href,a=t.gaEventLabel,c=Object(f.a)(),l=Object(s.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!a){e.next=3;break}return e.next=3,Object(d.J)("".concat(c,"_headerbar_helpmenu"),"click_outgoing_link",a);case 3:case"end":return e.stop()}}),e)}))),[a,c]);return e.createElement("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none"},e.createElement(u.a,{className:"mdc-list-item__text",href:r,external:!0,hideExternalIndicator:!0,role:"menuitem",onClick:l},n))}HelpMenuLink.propTypes={children:l.a.node.isRequired,href:l.a.string.isRequired,gaEventLabel:l.a.string},t.a=HelpMenuLink}).call(this,n(4))},168:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return b}));var r=n(21),i=n.n(r),a=n(55),o=n.n(a),c=n(181),l=n(199),s=n(200),u=n(201),d=n(182),f=n(202),g=n(0),m=o()((function(e){return{widgetSlug:e,Widget:p(e)(c.a),WidgetRecoverableModules:p(e)(d.a),WidgetReportZero:p(e)(l.a),WidgetReportError:p(e)(s.a),WidgetNull:p(e)(u.a)}}));function p(t){return function(n){var r=Object(g.forwardRef)((function(r,a){return e.createElement(n,i()({},r,{ref:a,widgetSlug:t}))}));return r.displayName="WithWidgetSlug",(n.displayName||n.name)&&(r.displayName+="(".concat(n.displayName||n.name,")")),r}}var h=function(t){var n=m(t);return function(t){function DecoratedComponent(r){return e.createElement(t,i()({},r,n))}return DecoratedComponent.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(DecoratedComponent.displayName+="(".concat(t.displayName||t.name,")")),DecoratedComponent}},b=function(t){return function(n){function DecoratedComponent(r){return e.createElement(n,i()({},r,{WPDashboardReportError:p(t)(f.a)}))}return DecoratedComponent.displayName="WithWPDashboardWidgetComponentProps",(n.displayName||n.name)&&(DecoratedComponent.displayName+="(".concat(n.displayName||n.name,")")),DecoratedComponent}}}).call(this,n(4))},169:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(1),l=n.n(c),s=n(3),u=n(18);function ModuleIcon(t){var n=t.slug,r=t.size,a=o()(t,["slug","size"]),c=Object(s.useSelect)((function(e){return e(u.a).getModuleIcon(n)}));return c?e.createElement(c,i()({width:r,height:r},a)):null}ModuleIcon.propTypes={slug:l.a.string.isRequired,size:l.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(4))},172:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(12),i=n(72);function a(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(r.isPlainObject)(e)&&(!(!e.hasOwnProperty("fieldNames")||!Array.isArray(e.fieldNames)||0===e.fieldNames.length)&&(!(!e.hasOwnProperty("limit")||"number"!=typeof e.limit)&&!(e.hasOwnProperty("orderby")&&!Object(i.e)(e.orderby))))}))}},174:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},175:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OverlayNotification}));var r=n(442),i=n(13),a=n.n(i),o=n(1),c=n.n(o),l=n(0),s=n(3),u=n(23),d=n(24);function OverlayNotification(t){var n=t.className,i=t.children,o=t.GraphicDesktop,c=t.GraphicMobile,f=t.notificationID,g=t.onShow,m=t.shouldShowNotification,p=Object(d.e)(),h=Object(s.useSelect)((function(e){return e(u.b).isShowingOverlayNotification(f)})),b=Object(s.useDispatch)(u.b).setOverlayNotificationToShow;if(Object(l.useEffect)((function(){m&&!h&&(b(f),null==g||g())}),[h,f,g,b,m]),!m||!h)return null;var v=a()("googlesitekit-overlay-notification",n);return p===d.b?e.createElement("div",{className:v},i,c&&e.createElement(c,null)):e.createElement(r.a,{direction:"up",in:h},e.createElement("div",{className:v},o&&e.createElement(o,null),i))}OverlayNotification.propTypes={className:c.a.string,children:c.a.node,GraphicDesktop:c.a.elementType,GraphicMobile:c.a.elementType,onShow:c.a.func,notificationID:c.a.string.isRequired,shouldShowNotification:c.a.bool}}).call(this,n(4))},177:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h2v7H0zm0 10h2v2H0z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgWarningIcon(e){return r.createElement("svg",i({viewBox:"0 0 2 12"},e),a)}},178:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SupportLink}));var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(1),l=n.n(c),s=n(3),u=n(14),d=n(20);function SupportLink(t){var n=t.path,r=t.query,a=t.hash,c=o()(t,["path","query","hash"]),l=Object(s.useSelect)((function(e){return e(u.c).getGoogleSupportURL({path:n,query:r,hash:a})}));return e.createElement(d.a,i()({},c,{href:l}))}SupportLink.propTypes={path:l.a.string.isRequired,query:l.a.object,hash:l.a.string}}).call(this,n(4))},18:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="core/modules",i="insufficient_module_dependencies"},181:function(e,t,n){"use strict";(function(e){var r=n(13),i=n.n(r),a=n(1),o=n.n(a),c=n(0),l=Object(c.forwardRef)((function(t,n){var r=t.children,a=t.className,o=t.widgetSlug,c=t.noPadding,l=t.Header,s=t.Footer;return e.createElement("div",{className:i()("googlesitekit-widget","googlesitekit-widget--".concat(o),{"googlesitekit-widget--no-padding":c},{"googlesitekit-widget--with-header":l},a),ref:n},l&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(l,null)),e.createElement("div",{className:"googlesitekit-widget__body"},r),s&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(s,null)))}));l.defaultProps={children:void 0,noPadding:!1},l.propTypes={children:o.a.node,widgetSlug:o.a.string.isRequired,noPadding:o.a.bool,Header:o.a.elementType,Footer:o.a.elementType},t.a=l}).call(this,n(4))},182:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var r=n(6),i=n.n(r),a=n(21),o=n.n(a),c=n(27),l=n.n(c),s=n(22),u=n.n(s),d=n(1),f=n.n(d),g=n(0),m=n(86),p=n(93);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,r=t.moduleSlugs,i=u()(t,["widgetSlug","moduleSlugs"]),a=Object(g.useMemo)((function(){return{moduleSlug:l()(r).sort().join(","),moduleSlugs:r}}),[r]);return Object(m.a)(n,p.a,a),e.createElement(p.a,o()({moduleSlugs:r},i))}WidgetRecoverableModules.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:f.a.string.isRequired},p.a.propTypes)}).call(this,n(4))},183:function(e,t,n){"use strict";(function(e){var r=n(48),i=n.n(r),a=n(49),o=n.n(a),c=n(68),l=n.n(c),s=n(69),u=n.n(s),d=n(47),f=n.n(d),g=n(1),m=n.n(g),p=n(13),h=n.n(p),b=n(0),v=n(327),_=n(328);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var i=f()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u()(this,n)}}var O=function(t){l()(Layout,t);var n=E(Layout);function Layout(){return i()(this,Layout),n.apply(this,arguments)}return o()(Layout,[{key:"render",value:function(){var t=this.props,n=t.header,r=t.footer,i=t.children,a=t.title,o=t.badge,c=t.headerCTALabel,l=t.headerCTALink,s=t.footerCTALabel,u=t.footerCTALink,d=t.footerContent,f=t.className,g=t.fill,m=t.relative,p=t.rounded,b=void 0!==p&&p,E=t.transparent,O=void 0!==E&&E;return e.createElement("div",{className:h()("googlesitekit-layout",f,{"googlesitekit-layout--fill":g,"googlesitekit-layout--relative":m,"googlesitekit-layout--rounded":b,"googlesitekit-layout--transparent":O})},n&&e.createElement(v.a,{title:a,badge:o,ctaLabel:c,ctaLink:l}),i,r&&e.createElement(_.a,{ctaLabel:s,ctaLink:u,footerContent:d}))}}]),Layout}(b.Component);O.propTypes={header:m.a.bool,footer:m.a.bool,children:m.a.node.isRequired,title:m.a.string,badge:m.a.node,headerCTALabel:m.a.string,headerCTALink:m.a.string,footerCTALabel:m.a.string,footerCTALink:m.a.string,footerContent:m.a.node,className:m.a.string,fill:m.a.bool,relative:m.a.bool,rounded:m.a.bool,transparent:m.a.bool},O.defaultProps={header:!1,footer:!1,title:"",badge:null,headerCTALabel:"",headerCTALink:"",footerCTALabel:"",footerCTALink:"",footerContent:null,className:"",fill:!1,relative:!1},t.a=O}).call(this,n(4))},188:function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(184),o=n.n(a),c=n(1),l=n.n(c),s=n(0),u=n(2),d=n(249),f=n(405),g=n(406),m=n(11);function ReportErrorButton(t){var n=t.message,r=t.componentStack,a=Object(s.useState)(!1),c=i()(a,2),l=c[0],p=c[1];return e.createElement(m.Button,{"aria-label":l?Object(u.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){o()("`".concat(n,"\n").concat(r,"`")),p(!0)},trailingIcon:e.createElement(d.a,{className:"mdc-button__icon",icon:l?f.a:g.a})},l?Object(u.__)("Copied to clipboard","google-site-kit"):Object(u.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:l.a.string,componentStack:l.a.string},t.a=ReportErrorButton}).call(this,n(4))},189:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return FeatureTours}));var i=n(92),a=n(0),o=n(3),c=n(7),l=n(19),s=n(111);function FeatureTours(){var t=Object(l.a)(),n=Object(o.useDispatch)(c.a).triggerTourForView;Object(i.a)((function(){n(t)}));var u=Object(o.useSelect)((function(e){return e(c.a).getCurrentTour()}));return Object(a.useEffect)((function(){if(u){var t=document.getElementById("js-googlesitekit-main-dashboard");if(t){var n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}}),[u]),u?r.createElement(s.a,{tourID:u.slug,steps:u.steps,gaEventCategory:u.gaEventCategory,callback:u.callback}):null}}).call(this,n(26),n(4))},19:function(e,t,n){"use strict";var r=n(0),i=n(61);t.a=function(){return Object(r.useContext)(i.b)}},191:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(13),o=n.n(a),c=n(0),l=n(16),s=Object(c.forwardRef)((function(t,n){var r=t.id,i=t.className,a=t.children,s=t.secondaryPane;return e.createElement("section",{id:r,className:o()(i,"googlesitekit-publisher-win"),ref:n},e.createElement(l.e,null,e.createElement(l.k,null,a)),s&&e.createElement(c.Fragment,null,e.createElement("div",{className:"googlesitekit-publisher-win__secondary-pane-divider"}),e.createElement(l.e,{className:"googlesitekit-publisher-win__secondary-pane"},e.createElement(l.k,null,e.createElement(l.a,{className:"googlesitekit-publisher-win__secondary-pane",size:12},s)))))}));s.displayName="Banner",s.propTypes={id:i.a.string,className:i.a.string,secondaryPane:i.a.node},t.a=s}).call(this,n(4))},192:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerTitle}));var r=n(6),i=n.n(r),a=n(1),o=n.n(a),c=n(13),l=n.n(c),s=n(102);function BannerTitle(t){var n=t.title,r=t.badgeLabel,a=t.WinImageSVG,o=t.winImageFormat,c=void 0===o?"":o,u=t.smallWinImageSVGWidth,d=void 0===u?75:u,f=t.smallWinImageSVGHeight,g=void 0===f?75:f;return n?e.createElement("div",{className:"googlesitekit-publisher-win__title-image-wrapper"},e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n,r&&e.createElement(s.a,{label:r})),a&&e.createElement("div",{className:l()(i()({},"googlesitekit-publisher-win__image-".concat(c),c))},e.createElement(a,{width:d,height:g}))):null}BannerTitle.propTypes={title:o.a.string,badgeLabel:o.a.string,WinImageSVG:o.a.elementType,winImageFormat:o.a.string,smallWinImageSVGWidth:o.a.number,smallWinImageSVGHeight:o.a.number}}).call(this,n(4))},193:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerActions}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(238),f=n(0),g=n(3),m=n(11),p=n(32);function BannerActions(t){var n=t.ctaLink,r=t.ctaLabel,a=t.ctaComponent,c=t.ctaTarget,s=t.ctaCallback,u=t.dismissLabel,h=t.dismissCallback,b=Object(f.useState)(!1),v=l()(b,2),_=v[0],E=v[1],O=Object(d.a)(),y=Object(g.useSelect)((function(e){return!!n&&e(p.a).isNavigatingTo(n)})),k=function(){var e=o()(i.a.mark((function e(){var t,n,r,a=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(E(!0),t=a.length,n=new Array(t),r=0;r<t;r++)n[r]=a[r];return e.next=4,null==s?void 0:s.apply(void 0,n);case 4:O()&&E(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return n||u||a?e.createElement("div",{className:"googlesitekit-publisher-win__actions"},a,r&&e.createElement(m.SpinnerButton,{className:"googlesitekit-notification__cta",href:n,target:c,onClick:k,disabled:_||y,isSaving:_||y},r),u&&e.createElement(m.Button,{tertiary:n||a,onClick:h,disabled:_||y},u)):null}BannerActions.propTypes={ctaLink:u.a.string,ctaLabel:u.a.string,ctaComponent:u.a.element,ctaTarget:u.a.string,ctaCallback:u.a.func,dismissLabel:u.a.string,dismissCallback:u.a.func}}).call(this,n(4))},194:function(e,t,n){"use strict";t.a=function(e){if("string"==typeof e&&e.match(/[0-9]{8}/)){var t=e.slice(0,4),n=Number(e.slice(4,6))-1,r=e.slice(6,8);return new Date(t,n.toString(),r)}return!1}},196:function(e,t,n){"use strict";(function(e){var r=n(13),i=n.n(r),a=n(1),o=n.n(a),c=n(2),l=n(11),s=n(16),u=n(144),d=n(81),f=n(90),g={SUCCESS:"success",WARNING:"warning"};function SubtleNotification(t){var n=t.title,r=t.description,a=t.Icon,o=t.ctaLink,m=t.ctaLabel,p=t.onCTAClick,h=t.isCTALinkExternal,b=t.dismissLabel,v=void 0===b?Object(c.__)("Ok, got it","google-site-kit"):b,_=t.onDismiss,E=t.variant,O=void 0===E?g.SUCCESS:E;return e.createElement(s.e,null,e.createElement(s.k,null,e.createElement(s.a,{alignMiddle:!0,size:12,className:i()("googlesitekit-subtle-notification",{"googlesitekit-subtle-notification--success":O===g.SUCCESS,"googlesitekit-subtle-notification--warning":O===g.WARNING})},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},a&&e.createElement(a,{width:24,height:24}),!a&&O===g.SUCCESS&&e.createElement(u.a,{width:24,height:24}),!a&&O===g.WARNING&&e.createElement(f.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,n),r&&e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},r)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},e.createElement(l.Button,{tertiary:!0,onClick:_},v),m&&e.createElement(l.Button,{className:"googlesitekit-subtle-notification__cta",href:o,onClick:p,target:h?"_blank":"_self",trailingIcon:h?e.createElement(d.a,{width:14,height:14}):void 0},m)))))}SubtleNotification.propTypes={title:o.a.string.isRequired,description:o.a.string,Icon:o.a.elementType,ctaLink:o.a.string,ctaLabel:o.a.string,onCTAClick:o.a.func,isCTALinkExternal:o.a.bool,dismissLabel:o.a.string,onDismiss:o.a.func.isRequired,variant:o.a.oneOf(Object.values(g))},t.a=SubtleNotification}).call(this,n(4))},197:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var r=n(1),i=n.n(r),a=n(0);function SettingsNoticeSingleRow(t){var n=t.notice,r=t.LearnMore,i=t.CTA;return e.createElement(a.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),i&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(i,null)))}SettingsNoticeSingleRow.propTypes={notice:i.a.node.isRequired,LearnMore:i.a.elementType,CTA:i.a.elementType}}).call(this,n(4))},199:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(6),i=n.n(r),a=n(21),o=n.n(a),c=n(22),l=n.n(c),s=n(1),u=n.n(s),d=n(0),f=n(86),g=n(96);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,i=l()(t,["widgetSlug","moduleSlug"]),a=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,a),e.createElement(g.a,o()({moduleSlug:r},i))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(4))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(13),l=n.n(c),s=n(1),u=n.n(s),d=n(146),f=n(0),g=n(2),m=n(123),p=n(124),h=n(125),b=n(81),v=n(80),_=Object(f.forwardRef)((function(t,n){var r,a=t["aria-label"],c=t.secondary,s=void 0!==c&&c,u=t.arrow,f=void 0!==u&&u,_=t.back,E=void 0!==_&&_,O=t.caps,y=void 0!==O&&O,k=t.children,j=t.className,S=void 0===j?"":j,w=t.danger,N=void 0!==w&&w,A=t.disabled,C=void 0!==A&&A,x=t.external,T=void 0!==x&&x,R=t.hideExternalIndicator,D=void 0!==R&&R,L=t.href,M=void 0===L?"":L,I=t.inverse,P=void 0!==I&&I,B=t.noFlex,F=void 0!==B&&B,z=t.onClick,U=t.small,H=void 0!==U&&U,W=t.standalone,V=void 0!==W&&W,G=t.linkButton,q=void 0!==G&&G,K=t.to,J=t.leadingIcon,Y=t.trailingIcon,$=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),X=M||K||!z?K?"ROUTER_LINK":T?"EXTERNAL_LINK":"LINK":C?"BUTTON_DISABLED":"BUTTON",Z="BUTTON"===X||"BUTTON_DISABLED"===X?"button":"ROUTER_LINK"===X?d.b:"a",Q=("EXTERNAL_LINK"===X&&(r=Object(g._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===X&&(r=Object(g._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof k?"".concat(k," ").concat(r):void 0:a),ee=J,te=Y;return E&&(ee=e.createElement(h.a,{width:14,height:14})),T&&!D&&(te=e.createElement(b.a,{width:14,height:14})),f&&!P&&(te=e.createElement(m.a,{width:14,height:14})),f&&P&&(te=e.createElement(p.a,{width:14,height:14})),e.createElement(Z,i()({"aria-label":Q,className:l()("googlesitekit-cta-link",S,{"googlesitekit-cta-link--secondary":s,"googlesitekit-cta-link--inverse":P,"googlesitekit-cta-link--small":H,"googlesitekit-cta-link--caps":y,"googlesitekit-cta-link--danger":N,"googlesitekit-cta-link--disabled":C,"googlesitekit-cta-link--standalone":V,"googlesitekit-cta-link--link-button":q,"googlesitekit-cta-link--no-flex":!!F}),disabled:C,href:"LINK"!==X&&"EXTERNAL_LINK"!==X||C?void 0:M,onClick:z,rel:"EXTERNAL_LINK"===X?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===X?"_blank":void 0,to:K},$),!!ee&&e.createElement(v.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},k),!!te&&e.createElement(v.a,{marginLeft:5},te))}));_.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=_}).call(this,n(4))},200:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(6),i=n.n(r),a=n(22),o=n.n(a),c=n(1),l=n.n(c),s=n(104);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(s.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:l.a.string.isRequired},s.a.propTypes)}).call(this,n(4))},201:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(6),i=n.n(r),a=n(1),o=n.n(a),c=n(86),l=n(73);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,l.a,u),e.createElement(l.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},l.a.propTypes)}).call(this,n(4))},202:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPDashboardReportError}));var r=n(1),i=n.n(r),a=n(392),o=n(186),c=n(3),l=n(23),s=n(104);function WPDashboardReportError(t){var n=t.moduleSlug,r=t.error,i=Object(o.a)(WPDashboardReportError,"WPDashboardReportError"),u=Object(c.useDispatch)(l.b).setValue,d=r.message,f=Object(c.useSelect)((function(e){return e(l.b).getValue("WPDashboardReportError-".concat(n,"-").concat(d))}));return Object(a.a)((function(){u("WPDashboardReportError-".concat(n,"-").concat(d),i)}),(function(){u("WPDashboardReportError-".concat(n,"-").concat(d),void 0)})),f!==i?null:e.createElement(s.a,{moduleSlug:n,error:r})}WPDashboardReportError.propTypes={moduleSlug:i.a.string.isRequired,error:i.a.object.isRequired}}).call(this,n(4))},203:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var r=n(1),i=n.n(r),a=n(90),o=n(204),c=n(16);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var r="win-warning"===n?e.createElement(a.a,{width:34}):e.createElement(o.a,{width:28});return e.createElement(c.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},r))}BannerIcon.propTypes={type:i.a.string}}).call(this,n(4))},204:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return r.createElement("svg",i({viewBox:"0 0 28 25"},e),a)}},205:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerLogo}));var r=n(1),i=n.n(r),a=n(16),o=n(143),c=n(169);function BannerLogo(t){var n=t.module,r=t.moduleName;return e.createElement(a.a,{size:12},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},n&&e.createElement(c.a,{slug:n,size:19}),!n&&e.createElement(o.a,{height:"34",width:"32"})),r&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},r))}BannerLogo.propTypes={module:i.a.string,moduleName:i.a.string}}).call(this,n(4))},206:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerDescription}));var r=n(1),i=n.n(r),a=n(0),o=n(78),c=n(20),l=n(75);function BannerDescription(t){var n=t.description,r=t.learnMoreLabel,i=t.learnMoreURL,s=t.learnMoreTarget,u=t.learnMoreDescription,d=t.onLearnMoreClick;if(!n)return null;var f;return r&&(f=e.createElement(a.Fragment,null,e.createElement(c.a,{onClick:function(e){e.persist(),null==d||d()},href:i,external:s===l.a.EXTERNAL},r),u)),e.createElement("div",{className:"googlesitekit-publisher-win__desc"},Object(a.isValidElement)(n)?e.createElement(a.Fragment,null,n,f&&e.createElement("p",null,f)):e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(o.a)(n,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",f))}BannerDescription.propTypes={description:i.a.node,learnMoreURL:i.a.string,learnMoreDescription:i.a.string,learnMoreLabel:i.a.string,learnMoreTarget:i.a.oneOf(Object.values(l.a)),onLearnMoreClick:i.a.func}}).call(this,n(4))},207:function(e,t,n){"use strict";var r=n(137),i=(r.a.Consumer,r.a.Provider);t.a=i},210:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(12);function i(e){var t;if(void 0!==e)return!((null==e?void 0:e.rows)&&(null==e?void 0:e.totals)&&!(null==e||null===(t=e.totals)||void 0===t?void 0:t.every(r.isEmpty)))||!e.totals.some((function(e){return!!e.metricValues&&e.metricValues.some((function(e){return e.value>0}))}))}},211:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return o}));var r="pax",i="_googlesitekitPAXConfig",a={LAUNCH:1,FINISHED:2},o="pax_setup_success_notification"},212:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n(27),i=n.n(r),a=n(13),o=n.n(a),c=n(12),l=n(2),s=n(77),u=n(8),d=n(15),f=n.n(d),g=n(10),m=n.n(g);function p(e,t){var n=t.dateRangeLength;m()(Array.isArray(e),"report must be an array to partition."),m()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=function(t){return e.filter((function(e){return f()(e.dimensionValues,2)[1].value===t}))},i=-1*n;return{currentRange:r("date_range_0").slice(i),compareRange:r("date_range_1").slice(2*i,i)}}var h=n(194);function b(e,t){var n=[];return e.forEach((function(e){if(e.metricValues){var r=e.metricValues[t].value,i=e.dimensionValues[0].value,a=Object(h.a)(i);n.push([a,r])}})),n}function v(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[Object(l.__)("Users","google-site-kit"),Object(l.__)("Sessions","google-site-kit"),Object(l.__)("Engagement Rate","google-site-kit"),Object(l.__)("Session Duration","google-site-kit")],d=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[function(e){return parseFloat(e).toLocaleString()},function(e){return parseFloat(e).toLocaleString()},function(e){return Object(u.C)(e/100,{style:"percent",signDisplay:"never",maximumFractionDigits:2})},function(e){return Object(u.C)(e,"s")}],f=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[c.identity,c.identity,function(e){return 100*e},c.identity],g=i()((null==e?void 0:e.rows)||[]),m=g.length;if(2*n>m){for(var h=Object(u.H)(r),v=0;n>v;v++){var _=(h.getMonth()+1).toString(),E=h.getDate().toString(),O=h.getFullYear().toString()+(2>_.length?"0":"")+_+(2>E.length?"0":"")+E;if(v>m){var y=[{dimensionValues:[{value:O},{value:"date_range_0"}],metricValues:[{value:0},{value:0}]},{dimensionValues:[{value:O},{value:"date_range_1"}],metricValues:[{value:0},{value:0}]}];g.unshift.apply(g,y)}h.setDate(h.getDate()-1)}g.push({dimensionValues:[{value:"0"},{value:"date_range_0"}]},{dimensionValues:[{value:"0"},{value:"date_range_1"}]})}var k=a[t]===Object(l.__)("Session Duration","google-site-kit"),j=k?"timeofday":"number",S=[[{type:"date",label:Object(l.__)("Day","google-site-kit")},{type:"string",role:"tooltip",p:{html:!0}},{type:j,label:a[t]},{type:j,label:Object(l.__)("Previous period","google-site-kit")}]],w=p(g,{dateRangeLength:n}),N=w.compareRange,A=w.currentRange,C=b(A,t),x=b(N,t),T=Object(s.b)(),R={weekday:"short",month:"short",day:"numeric"};return C.forEach((function(e,n){if(e[0]&&e[1]&&x[n]){var r=f[t],i=r(e[1]),c=r(x[n][1]),s=parseFloat(c),g=Object(u.i)(i,s),m=Object(u.p)(g),p=Object(l.sprintf)(
/* translators: 1: date for user stats, 2: previous date for user stats comparison */
Object(l._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),e[0].toLocaleDateString(T,R),x[n][0].toLocaleDateString(T,R)),h=Object(l.sprintf)(
/* translators: 1: selected stat label, 2: numeric value of selected stat, 3: up or down arrow , 4: different change in percentage */
Object(l._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s</em>","Stat information for chart tooltip","google-site-kit"),a[t],d[t](i),m,Object(u.C)(Math.abs(g),"%"));S.push([e[0],'<div class="'.concat(o()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":g>0,"googlesitekit-visualization-tooltip--down":g<0}),'">\n\t\t\t\t<p>').concat(p,"</p>\n\t\t\t\t<p>").concat(h,"</p>\n\t\t\t</div>"),k?Object(u.k)(i):i,k?Object(u.k)(c):c])}})),S}},213:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var r=n(1),i=n.n(r),a=n(0);function SettingsNoticeMultiRow(t){var n=t.notice,r=t.LearnMore,i=t.CTA,o=t.children;return e.createElement(a.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),e.createElement("div",{className:"googlesitekit-settings-notice__inner-row"},e.createElement("div",{className:"googlesitekit-settings-notice__children-container"},o),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),i&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(i,null))))}SettingsNoticeMultiRow.propTypes={children:i.a.node.isRequired,notice:i.a.node.isRequired,LearnMore:i.a.elementType,CTA:i.a.elementType}}).call(this,n(4))},220:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptIn}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(1),l=n.n(c),s=n(13),u=n.n(s),d=n(0),f=n(38),g=n(2),m=n(3),p=n(11),h=n(7),b=n(35),v=n(20),_=n(19);function OptIn(t){var n=t.id,r=void 0===n?"googlesitekit-opt-in":n,a=t.name,c=void 0===a?"optIn":a,l=t.className,s=t.trackEventCategory,E=t.alignLeftCheckbox,O=void 0!==E&&E,y=Object(m.useSelect)((function(e){return e(h.a).isTrackingEnabled()})),k=Object(m.useSelect)((function(e){return e(h.a).isSavingTrackingEnabled()})),j=Object(m.useSelect)((function(e){return e(h.a).getErrorForAction("setTrackingEnabled",[!y])})),S=Object(m.useDispatch)(h.a).setTrackingEnabled,w=Object(_.a)(),N=Object(d.useCallback)(function(){var e=o()(i.a.mark((function e(t){var n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S(!!t.target.checked);case 2:n=e.sent,r=n.response,n.error||(Object(b.a)(r.enabled),r.enabled&&Object(b.b)(s||w,"tracking_optin"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[S,s,w]);return e.createElement("div",{className:u()("googlesitekit-opt-in",l)},e.createElement(p.Checkbox,{id:r,name:c,value:"1",checked:y,disabled:k,onChange:N,loading:void 0===y,alignLeft:O},Object(f.a)(Object(g.__)("<span>Help us improve Site Kit by sharing anonymous usage data.</span> <span>All collected data is treated in accordance with the <a>Google Privacy Policy.</a></span>","google-site-kit"),{a:e.createElement(v.a,{key:"link",href:"https://policies.google.com/privacy",external:!0}),span:e.createElement("span",null)})),(null==j?void 0:j.message)&&e.createElement("div",{className:"googlesitekit-error-text"},null==j?void 0:j.message))}OptIn.propTypes={id:l.a.string,name:l.a.string,className:l.a.string,trackEventCategory:l.a.string,alignLeftCheckbox:l.a.bool}}).call(this,n(4))},221:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarning}));var r=n(1),i=n.n(r),a=n(3),o=n(14),c=n(18),l=n(362);function AdBlockerWarning(t){var n=t.moduleSlug,r=t.className,i=Object(a.useSelect)((function(e){return e(c.a).getModuleStoreName(n)})),s=Object(a.useSelect)((function(e){var t;return null===(t=e(i))||void 0===t?void 0:t.getAdBlockerWarningMessage()})),u=Object(a.useSelect)((function(e){return e(o.c).getDocumentationLinkURL("".concat(n,"-ad-blocker-detected"))}));return e.createElement(l.a,{className:r,getHelpLink:u,warningMessage:s})}AdBlockerWarning.propTypes={className:i.a.string,moduleSlug:i.a.string.isRequired}}).call(this,n(4))},224:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Item}));var r=n(1),i=n.n(r);function Item(t){var n=t.icon,r=t.label;return e.createElement("div",{className:"googlesitekit-user-menu__item"},e.createElement("div",{className:"googlesitekit-user-menu__item-icon"},n),e.createElement("span",{className:"googlesitekit-user-menu__item-label"},r))}Item.propTypes={icon:i.a.node,label:i.a.string}}).call(this,n(4))},225:function(e,t,n){"use strict";var r=n(268);n.d(t,"a",(function(){return r.a}));var i=n(269);n.d(t,"b",(function(){return i.a}))},227:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Root}));var r=n(15),i=n.n(r),a=n(1),o=n.n(a),c=n(441),l=n(471),s=n(0),u=n(3),d=n.n(u),f=n(228),g=n(229),m=n(51),p=n(230),h=n(232),b=n(233),v=n(61),_=n(207),E=n(163);function Root(t){var n=t.children,r=t.registry,a=t.viewContext,o=void 0===a?null:a,d=c.a,O=Object(s.useState)({key:"Root",value:!0}),y=i()(O,1)[0];return e.createElement(s.StrictMode,null,e.createElement(_.a,{value:y},e.createElement(u.RegistryProvider,{value:r},e.createElement(g.a,{value:m.a},e.createElement(v.a,{value:o},e.createElement(l.a,{theme:d()},e.createElement(f.a,null,e.createElement(h.a,null,n,o&&e.createElement(b.a,null)),Object(E.a)(o)&&e.createElement(p.a,null))))))))}Root.propTypes={children:o.a.node,registry:o.a.object,viewContext:o.a.string.isRequired},Root.defaultProps={registry:d.a}}).call(this,n(4))},228:function(e,t,n){"use strict";(function(e,r){var i=n(48),a=n.n(i),o=n(49),c=n.n(o),l=n(68),s=n.n(l),u=n(69),d=n.n(u),f=n(47),g=n.n(f),m=n(1),p=n.n(m),h=n(0),b=n(2),v=n(162),_=n(61),E=n(50),O=n(8);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var i=g()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d()(this,n)}}var k=function(t){s()(ErrorHandler,t);var n=y(ErrorHandler);function ErrorHandler(e){var t;return a()(this,ErrorHandler),(t=n.call(this,e)).state={error:null,info:null,copied:!1},t}return c()(ErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t,info:n}),Object(O.J)("react_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,i=t.info;return n?r.createElement(E.b,{id:"googlesitekit-error",className:"googlesitekit-error-handler",title:Object(b.__)("Site Kit encountered an error","google-site-kit"),description:r.createElement(v.a,{message:n.message,componentStack:i.componentStack}),isDismissible:!1,format:"small",type:"win-error"},r.createElement("pre",{className:"googlesitekit-overflow-auto"},n.message,i.componentStack)):e}}]),ErrorHandler}(h.Component);k.contextType=_.b,k.propTypes={children:p.a.node.isRequired},t.a=k}).call(this,n(26),n(4))},229:function(e,t,n){"use strict";var r=n(127),i=(r.a.Consumer,r.a.Provider);t.a=i},23:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="core/ui",i="activeContextID"},230:function(e,t,n){"use strict";(function(e){var r=n(3),i=n(231),a=n(7);t.a=function PermissionsModal(){return Object(r.useSelect)((function(e){return e(a.a).isAuthenticated()}))?e.createElement(i.a,null):null}}).call(this,n(4))},231:function(e,t,n){"use strict";(function(e,r){var i=n(5),a=n.n(i),o=n(17),c=n.n(o),l=n(2),s=n(0),u=n(3),d=n(113),f=n(29),g=n(32),m=n(7),p=n(126),h=n(85);t.a=function AuthenticatedPermissionsModal(){var t,n,i,o,b=Object(u.useRegistry)(),v=Object(u.useSelect)((function(e){return e(m.a).getPermissionScopeError()})),_=Object(u.useSelect)((function(e){return e(m.a).getUnsatisfiedScopes()})),E=Object(u.useSelect)((function(t){var n,r;return t(m.a).getConnectURL({additionalScopes:null==v||null===(n=v.data)||void 0===n?void 0:n.scopes,redirectURL:(null==v||null===(r=v.data)||void 0===r?void 0:r.redirectURL)||e.location.href})})),O=Object(u.useDispatch)(m.a).clearPermissionScopeError,y=Object(u.useDispatch)(g.a).navigateTo,k=Object(u.useDispatch)(f.a).setValues,j=Object(s.useCallback)((function(){O()}),[O]),S=Object(s.useCallback)(c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(m.d,{permissionsError:v}),e.next=3,Object(p.c)(b);case 3:y(E);case 4:case"end":return e.stop()}}),e)}))),[b,E,y,v,k]);return Object(s.useEffect)((function(){(function(){var e=c()(a.a.mark((function e(){var t,n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==v||null===(t=v.data)||void 0===t?void 0:t.skipModal)||!(null==v||null===(n=v.data)||void 0===n||null===(r=n.scopes)||void 0===r?void 0:r.length)){e.next=3;break}return e.next=3,S();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[S,v]),v?(null==v||null===(t=v.data)||void 0===t||null===(n=t.scopes)||void 0===n?void 0:n.length)?(null==v||null===(i=v.data)||void 0===i?void 0:i.skipModal)||_&&(null==v||null===(o=v.data)||void 0===o?void 0:o.scopes.every((function(e){return _.includes(e)})))?null:r.createElement(h.a,null,r.createElement(d.a,{title:Object(l.__)("Additional Permissions Required","google-site-kit"),subtitle:v.message,confirmButton:Object(l.__)("Proceed","google-site-kit"),dialogActive:!0,handleConfirm:S,handleDialog:j,medium:!0})):(e.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",v),null):null}}).call(this,n(26),n(4))},232:function(e,t,n){"use strict";var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(15),l=n.n(c),s=n(0),u=n(3),d=n(126);t.a=function RestoreSnapshots(e){var t=e.children,n=Object(u.useRegistry)(),r=Object(s.useState)(!1),a=l()(r,2),c=a[0],f=a[1];return Object(s.useEffect)((function(){c||o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.b)(n);case 2:f(!0);case 3:case"end":return e.stop()}}),e)})))()}),[n,c]),c?t:null}},233:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return FeatureToursDesktop}));var r=n(6),i=n.n(r),a=n(91),o=n(189);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function FeatureToursDesktop(t){return Object(a.a)()<783?null:e.createElement(o.a,t)}FeatureToursDesktop.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o.a.propTypes)}).call(this,n(4))},234:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WarningNotice}));var r=n(13),i=n.n(r),a=n(1),o=n.n(a);function WarningNotice(t){var n=t.children,r=t.className;return e.createElement("div",{className:i()("googlesitekit-warning-notice",r)},n)}WarningNotice.propTypes={children:o.a.node.isRequired,className:o.a.string}}).call(this,n(4))},235:function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(1),o=n.n(a),c=n(13),l=n.n(c),s=n(567),u=n(2),d=n(0),f=n(3),g=n(251),m=n(273),p=n(277),h=n(7),b=n(16),v=n(282),_=n(289),E=n(291),O=n(297),y=n(33),k=n(46),j=n(20),S=n(298),w=n(14),N=n(307);function Header(t){var n,r=t.children,a=t.subHeader,o=t.showNavigation,c=!!Object(k.c)(),A=Object(y.a)();Object(N.a)();var C=Object(f.useSelect)((function(e){return e(w.c).getAdminURL("googlesitekit-dashboard")})),x=Object(f.useSelect)((function(e){return e(h.a).isAuthenticated()})),T=Object(s.a)({childList:!0}),R=i()(T,2),D=R[0],L=!!(null===(n=R[1].target)||void 0===n?void 0:n.childElementCount);return e.createElement(d.Fragment,null,e.createElement("header",{className:l()("googlesitekit-header",{"googlesitekit-header--has-subheader":L,"googlesitekit-header--has-navigation":o})},e.createElement(b.e,null,e.createElement(b.k,null,e.createElement(b.a,{smSize:1,mdSize:2,lgSize:4,className:"googlesitekit-header__logo",alignMiddle:!0},e.createElement(j.a,{"aria-label":Object(u.__)("Go to dashboard","google-site-kit"),className:"googlesitekit-header__logo-link",href:C},e.createElement(g.a,null))),e.createElement(b.a,{smSize:3,mdSize:6,lgSize:8,className:"googlesitekit-header__children",alignMiddle:!0},r,!x&&c&&A&&e.createElement(E.a,null),x&&!A&&e.createElement(m.a,null))))),e.createElement("div",{className:"googlesitekit-subheader",ref:D},e.createElement(p.a,null),e.createElement(O.a,null),a),o&&e.createElement(v.a,null),c&&e.createElement(S.a,null),e.createElement(_.a,null))}Header.displayName="Header",Header.propTypes={children:o.a.node,subHeader:o.a.element,showNavigation:o.a.bool},Header.defaultProps={children:null,subHeader:null},t.a=Header}).call(this,n(4))},236:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return HelpMenu}));var r=n(15),i=n.n(r),a=n(1),o=n.n(a),c=n(239),l=n(0),s=n(57),u=n(2),d=n(3),f=n(11),g=n(308),m=n(119),p=n(8),h=n(167),b=n(18),v=n(19),_=n(14);function HelpMenu(t){var n=t.children,r=Object(l.useState)(!1),a=i()(r,2),o=a[0],E=a[1],O=Object(l.useRef)(),y=Object(v.a)();Object(c.a)(O,(function(){return E(!1)})),Object(m.a)([s.c,s.f],O,(function(){return E(!1)}));var k=Object(d.useSelect)((function(e){return e(b.a).isModuleActive("adsense")})),j=Object(l.useCallback)((function(){o||Object(p.J)("".concat(y,"_headerbar"),"open_helpmenu"),E(!o)}),[o,y]),S=Object(l.useCallback)((function(){E(!1)}),[]),w=Object(d.useSelect)((function(e){return e(_.c).getDocumentationLinkURL("fix-common-issues")}));return e.createElement("div",{ref:O,className:"googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},e.createElement(f.Button,{"aria-controls":"googlesitekit-help-menu","aria-expanded":o,"aria-label":Object(u.__)("Help","google-site-kit"),"aria-haspopup":"menu",className:"googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon googlesitekit-help-menu__button mdc-button--dropdown",icon:e.createElement(g.a,{width:"20",height:"20"}),onClick:j,text:!0,tooltipEnterDelayInMS:500}),e.createElement(f.Menu,{className:"googlesitekit-width-auto",menuOpen:o,id:"googlesitekit-help-menu",onSelected:S},n,e.createElement(h.a,{gaEventLabel:"fix_common_issues",href:w},Object(u.__)("Fix common issues","google-site-kit")),e.createElement(h.a,{gaEventLabel:"documentation",href:"https://sitekit.withgoogle.com/documentation/"},Object(u.__)("Read help docs","google-site-kit")),e.createElement(h.a,{gaEventLabel:"support_forum",href:"https://wordpress.org/support/plugin/google-site-kit/"},Object(u.__)("Get support","google-site-kit")),k&&e.createElement(h.a,{gaEventLabel:"adsense_help",href:"https://support.google.com/adsense/"},Object(u.__)("Get help with AdSense","google-site-kit"))))}HelpMenu.propTypes={children:o.a.node}}).call(this,n(4))},24:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(91),i="xlarge",a="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?i:e>960?a:e>600?o:c}},247:function(e,t,n){"use strict";var r=n(270);n.d(t,"a",(function(){return r.a}));n(259);var i=n(271);n.d(t,"b",(function(){return i.a}))},248:function(e,t,n){"use strict";(function(e,r){var i=n(48),a=n.n(i),o=n(49),c=n.n(o),l=n(68),s=n.n(l),u=n(69),d=n.n(u),f=n(47),g=n.n(f),m=n(1),p=n.n(m),h=n(0),b=n(2),v=n(71);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var i=g()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d()(this,n)}}var E=function(t){s()(MediaErrorHandler,t);var n=_(MediaErrorHandler);function MediaErrorHandler(e){var t;return a()(this,MediaErrorHandler),(t=n.call(this,e)).state={error:null},t}return c()(MediaErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.errorMessage;return this.state.error?r.createElement(v.a,{message:n}):t}}]),MediaErrorHandler}(h.Component);E.defaultProps={errorMessage:Object(b.__)("Failed to load media","google-site-kit")},E.propTypes={children:p.a.node.isRequired,errorMessage:p.a.string.isRequired},t.a=E}).call(this,n(26),n(4))},25:function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"r",(function(){return s})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return f})),n.d(t,"k",(function(){return g})),n.d(t,"t",(function(){return m})),n.d(t,"u",(function(){return p})),n.d(t,"p",(function(){return h})),n.d(t,"b",(function(){return b})),n.d(t,"e",(function(){return v})),n.d(t,"a",(function(){return _})),n.d(t,"d",(function(){return E})),n.d(t,"c",(function(){return O})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return k}));var r="mainDashboard",i="entityDashboard",a="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",l="activation",s="splash",u="adminBar",d="adminBarViewOnly",f="settings",g="adBlockingRecovery",m="wpDashboard",p="wpDashboardViewOnly",h="moduleSetup",b="key-metrics",v="traffic",_="content",E="speed",O="monetization",y=[r,i,a,o,c,s,f,h],k=[a,o,d,p]},251:function(e,t,n){"use strict";(function(e){var r=n(2),i=n(143),a=n(252),o=n(105);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(i.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(a.a,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),e.createElement(o.a,null,Object(r.__)("Site Kit by Google Logo","google-site-kit")))}}).call(this,n(4))},252:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M62.09 1.664h3.038v.1L58.34 9.593l7.241 10.224v.1H62.7L56.755 11.4 53.95 14.64v5.278h-2.351V1.664h2.35v9.415h.1l8.04-9.415zM69.984 3.117c0 .454-.166.853-.487 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.599 1.599 0 01-.488-1.175c0-.466.166-.854.488-1.176.321-.322.71-.488 1.175-.488.455 0 .854.166 1.176.488.332.333.487.72.487 1.176zm-.476 4.313v12.498h-2.351V7.43h2.35zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943-.676-.632-1.02-1.508-1.031-2.628V9.57h-2.196V7.43h2.196V3.603h2.35V7.43h3.061v2.14h-3.06v6.222c0 .831.166 1.397.488 1.696.321.3.687.444 1.097.444.189 0 .366-.022.555-.067.188-.044.344-.1.499-.166l.743 2.096c-.632.222-1.342.333-2.162.333zM2.673 18.952C1.375 18.009.488 16.678 0 14.97l2.883-1.176c.289 1.076.799 1.94 1.542 2.628.732.677 1.619 1.02 2.65 1.02.965 0 1.774-.244 2.45-.742.677-.5 1.01-1.187 1.01-2.052 0-.798-.3-1.453-.887-1.974-.588-.521-1.62-1.042-3.094-1.564l-1.22-.432C4.025 10.224 2.928 9.57 2.04 8.716 1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673C2.018 1.852 2.75 1.209 3.693.72 4.624.244 5.678 0 6.864 0c1.708 0 3.072.41 4.081 1.242 1.02.832 1.697 1.752 2.04 2.795L10.236 5.2c-.2-.621-.576-1.164-1.142-1.63-.565-.477-1.286-.71-2.173-.71s-1.641.222-2.251.676c-.61.455-.91 1.032-.91 1.742 0 .676.278 1.22.82 1.663.544.432 1.398.854 2.563 1.253l1.22.41c1.674.577 2.96 1.342 3.88 2.274.921.931 1.376 2.184 1.376 3.748 0 1.275-.322 2.34-.976 3.193a6.01 6.01 0 01-2.495 1.919 8.014 8.014 0 01-3.116.621c-1.62 0-3.072-.466-4.358-1.408zM15.969 3.449a1.95 1.95 0 01-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0117.399 0c.566 0 1.043.2 1.43.588.389.388.588.865.588 1.43 0 .566-.2 1.043-.587 1.43a1.95 1.95 0 01-1.43.589c-.566-.012-1.043-.2-1.431-.588zm-.067 2.595h2.994v13.883h-2.994V6.044zM25.405 19.85c-.543-.2-.986-.466-1.33-.788-.776-.776-1.176-1.84-1.176-3.182V8.683h-2.428v-2.64h2.428V2.13h2.994v3.926h3.372v2.639h-3.372v6.531c0 .743.145 1.276.433 1.575.277.366.743.543 1.42.543.31 0 .576-.044.82-.122.233-.077.488-.21.765-.399v2.917c-.599.277-1.32.41-2.173.41a5.01 5.01 0 01-1.753-.3zM33.623 19.407a6.63 6.63 0 01-2.529-2.628c-.61-1.12-.909-2.373-.909-3.77 0-1.332.3-2.551.887-3.693.588-1.132 1.409-2.04 2.462-2.706 1.053-.666 2.251-1.01 3.593-1.01 1.397 0 2.606.311 3.637.921a6.123 6.123 0 012.34 2.528c.532 1.076.799 2.274.799 3.627 0 .255-.023.576-.078.953H33.179c.111 1.287.566 2.285 1.375 2.983a4.162 4.162 0 002.817 1.043c.854 0 1.597-.189 2.218-.588a4.266 4.266 0 001.508-1.597l2.528 1.198c-.654 1.142-1.508 2.04-2.561 2.694-1.054.655-2.318.976-3.782.976-1.364.022-2.584-.288-3.66-.931zm7.23-8.051a3.332 3.332 0 00-.466-1.453c-.277-.477-.687-.887-1.242-1.208-.554-.322-1.23-.488-2.03-.488-.964 0-1.773.288-2.439.853-.665.566-1.12 1.342-1.375 2.296h7.552z",fill:"#5F6368"});t.a=function SvgLogoSitekit(e){return r.createElement("svg",i({viewBox:"0 0 80 21",fill:"none"},e),a)}},257:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={UPCOMING:"upcoming",ACTIVE:"active",COMPLETED:"completed"}},259:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(314),o=n(0),c=n(38),l=n(2),s=n(3),u=n(11),d=n(24),f=n(153),g=n(301),m=n(145),p=n(18),h=n(7),b=n(41),v=n(16),_=n(302),E=n(303),O=n(304),y=n(20),k=n(8),j=n(19);function ReaderRevenueManagerSetupCTABanner(t){var n=t.Widget,r=t.WidgetNull,i=Object(j.a)(),a=Object(d.e)(),g=a===d.b,m=a===d.c,S=Object(f.a)(b.d),w=Object(o.useCallback)((function(){Object(k.J)("".concat(i,"_rrm-setup-notification"),"confirm_notification").finally((function(){S()}))}),[S,i]),N=Object(s.useSelect)((function(e){return e(h.a).isItemDismissed(b.e)})),A=Object(s.useDispatch)(h.a).dismissItem,C=Object(o.useCallback)((function(){Object(k.J)("".concat(i,"_rrm-setup-notification"),"dismiss_notification").finally((function(){A(b.e)}))}),[A,i]),x=Object(s.useSelect)((function(e){return e(p.a).canActivateModule(b.d)})),T=!1===N&&x;return Object(o.useEffect)((function(){T&&Object(k.J)("".concat(i,"_rrm-setup-notification"),"view_notification")}),[T,i]),T?e.createElement("div",{className:"googlesitekit-widget-context"},e.createElement(v.e,{className:"googlesitekit-widget-area"},e.createElement(v.k,null,e.createElement(v.a,{size:12},e.createElement(n,{noPadding:!0,className:"googlesitekit-setup-cta-banner googlesitekit-reader-revenue-manager-setup-cta-widget"},e.createElement(v.e,{collapsed:!0},e.createElement(v.k,null,e.createElement(v.a,{smSize:12,mdSize:8,lgSize:6,className:"googlesitekit-setup-cta-banner__primary-cell"},e.createElement("h4",{className:"googlesitekit-setup-cta-banner__title"},Object(l.__)("Grow your revenue and deepen reader engagement","google-site-kit")),e.createElement("p",{className:"googlesitekit-setup-cta-banner__description"},Object(c.a)(Object(l.__)("Turn casual visitors into loyal readers and earn more from your content with subscriptions, contributions, ad optimization and reader insight tools. <a>Learn more</a>","google-site-kit"),{a:e.createElement(y.a,{href:"https://readerrevenue.withgoogle.com",external:!0,"aria-label":Object(l.__)("Learn more about reader revenue manager","google-site-kit")})})),e.createElement("div",{className:"googlesitekit-setup-cta-banner__actions-wrapper"},e.createElement(u.Button,{className:"googlesitekit-key-metrics-cta-button",onClick:w},Object(l.__)("Set up Reader Revenue Manager","google-site-kit")),e.createElement(u.Button,{tertiary:!0,onClick:C},Object(l.__)("Maybe later","google-site-kit")))),!g&&!m&&e.createElement(v.a,{alignBottom:!0,className:"googlesitekit-setup-cta-banner__svg-wrapper",mdSize:8,lgSize:6},e.createElement(_.a,null)),m&&e.createElement(v.a,{className:"googlesitekit-setup-cta-banner__svg-wrapper",mdSize:8},e.createElement(E.a,null)),g&&e.createElement(v.a,{alignBottom:!0,className:"googlesitekit-setup-cta-banner__svg-wrapper",smSize:12},e.createElement(O.a,null))))))))):e.createElement(r,null)}ReaderRevenueManagerSetupCTABanner.propTypes={Widget:i.a.elementType.isRequired,WidgetNull:i.a.elementType.isRequired},t.a=Object(a.a)(Object(g.a)({moduleName:b.d}),Object(m.g)("readerRevenueManagerSetupCTABanner"))(ReaderRevenueManagerSetupCTABanner)}).call(this,n(4))},261:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return AudienceSegmentationSetupSuccessSubtleNotification}));var r=n(2),i=n(3),a=n(7),o=n(11),c=n(116),l=n(33),s=n(46),u="audience_segmentation_setup_success_notification";function AudienceSegmentationSetupSuccessSubtleNotification(){var t=Object(s.c)(),n=Object(l.a)(),d=Object(i.useSelect)((function(e){return e(a.a).getConfiguredAudiences()})),f=Object(i.useSelect)((function(e){return!t||n?null:e(a.a).isItemDismissed(u)})),g=Object(i.useDispatch)(a.a).dismissItem;function m(){g(u)}return t===s.b&&!n&&!f&&Array.isArray(d)?e.createElement(c.a,{title:Object(r.__)("Success! Visitor groups added to your dashboard","google-site-kit"),description:Object(r.__)("Get to know how different types of visitors interact with your site, e.g. which pages they visit and for how long.","google-site-kit"),onDismiss:m,additionalCTA:e.createElement(o.Button,{onClick:function(){m()}},Object(r.__)("Show me","google-site-kit"))}):null}}).call(this,n(4))},268:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return PAXSetupSuccessSubtleNotification}));var i=n(15),a=n.n(i),o=n(2),c=n(11),l=n(89),s=n(116),u=n(88),d=n(24),f=n(211);function PAXSetupSuccessSubtleNotification(){var t=Object(d.e)(),n=Object(u.a)("notification"),i=a()(n,2),g=i[0],m=i[1];return f.d!==g?null:r.createElement(s.a,{title:Object(o.__)("Your Ads campaign was successfully set up!","google-site-kit"),description:Object(o.__)("Track your conversions, measure your campaign results and make the most of your ad spend","google-site-kit"),onDismiss:function(){m(void 0)},additionalCTA:r.createElement(c.Button,{onClick:function(n){n.preventDefault(),setTimeout((function(){e.scrollTo({top:Object(l.a)(".googlesitekit-widget--partnerAdsPAX",t),behavior:"smooth"}),m(void 0)}),50)}},Object(o.__)("Show me","google-site-kit"))})}}).call(this,n(26),n(4))},269:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupSuccessSubtleNotification}));var r=n(15),i=n.n(r),a=n(2),o=n(116),c=n(88);function SetupSuccessSubtleNotification(){var t=Object(c.a)("notification"),n=i()(t,2),r=n[0],l=n[1],s=Object(c.a)("slug"),u=i()(s,2),d=u[0],f=u[1];return"authentication_success"!==r||"ads"!==d?null:e.createElement(o.a,{title:Object(a.__)("Success! Your Conversion Tracking ID was added to your site","google-site-kit"),description:Object(a.__)("You can now track conversions for your Ads campaigns","google-site-kit"),onDismiss:function(){l(void 0),f(void 0)}})}}).call(this,n(4))},270:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PublicationApprovedOverlayNotification}));var r=n(2),i=n(175),a=n(299),o=n(300),c=n(33),l=n(19),s=n(46),u=n(81),d=n(8),f=n(11),g=n(3),m=n(7),p=n(23),h=n(25),b=n(41);function PublicationApprovedOverlayNotification(){var t=Object(l.a)(),n=Object(c.a)(),v=Object(s.c)(),_=Object(g.useSelect)((function(e){return e(m.a).isItemDismissed("rrmPublicationApprovedOverlayNotification")})),E=Object(g.useDispatch)(p.b).dismissOverlayNotification,O=Object(g.useSelect)((function(e){return e(b.b).getServiceURL()})),y=Object(g.useSelect)((function(e){return e(p.b).getValue(b.i)})),k=!1===_&&!0===y&&!n&&v===h.n,j=Object(g.useSelect)((function(e){return e(m.a).isDismissingItem("rrmPublicationApprovedOverlayNotification")})),S=function(){E("rrmPublicationApprovedOverlayNotification")};return e.createElement(i.a,{className:"googlesitekit-reader-revenue-manager-publication-approved-notification",GraphicDesktop:a.a,GraphicMobile:o.a,onShow:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"view_notification")},shouldShowNotification:k,notificationID:"rrmPublicationApprovedOverlayNotification"},e.createElement("div",{className:"googlesitekit-overlay-notification__body"},e.createElement("h3",null,Object(r.__)("Your Reader Revenue Manager publication is approved","google-site-kit")),e.createElement("p",null,Object(r.__)("Unlock your full reader opportunity by enabling features like subscriptions, contributions and newsletter sign ups","google-site-kit"))),e.createElement("div",{className:"googlesitekit-overlay-notification__actions"},e.createElement(f.Button,{tertiary:!0,disabled:j,onClick:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"dismiss_notification").finally((function(){S()}))}},Object(r.__)("Maybe later","google-site-kit")),e.createElement(f.Button,{disabled:j,href:O,onClick:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"confirm_notification").finally((function(){S()}))},trailingIcon:e.createElement(u.a,{width:13,height:13}),target:"_blank"},Object(r.__)("Enable features","google-site-kit"))))}}).call(this,n(4))},271:function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(0),o=n(2),c=n(3),l=n(196),s=n(88),u=n(54),d=n(8),f=n(19),g=n(41),m=g.c.ONBOARDING_COMPLETE,p=g.c.PENDING_VERIFICATION,h=g.c.ONBOARDING_ACTION_REQUIRED,b=[m,p,h];t.a=Object(u.a)({moduleName:g.d})((function RRMSetupSuccessSubtleNotification(){var t=Object(f.a)(),n=Object(s.a)("notification"),r=i()(n,2),u=r[0],v=r[1],_=Object(s.a)("slug"),E=i()(_,2),O=E[0],y=E[1],k=Object(c.useSelect)((function(e){return e(g.b).getPublicationOnboardingState()})),j=Object(c.useSelect)((function(e){return e(g.b).getPublicationID()})),S=Object(c.useSelect)((function(e){return e(g.b).getServiceURL({publicationID:j})})),w="authentication_success"===u&&O===g.d&&void 0!==k,N=function(){b.includes(k)&&Object(d.J)("".concat(t,"_rrm-setup-success-notification"),"dismiss_notification",k),v(void 0),y(void 0)},A=function(){b.includes(k)&&Object(d.J)("".concat(t,"_rrm-setup-success-notification"),"confirm_notification",k)};return Object(a.useEffect)((function(){w&&b.includes(k)&&Object(d.J)("".concat(t,"_rrm-setup-success-notification"),"view_notification",k)}),[k,w,t]),w?k===m?e.createElement(l.a,{title:Object(o.__)("Your Reader Revenue Manager account was successfully set up!","google-site-kit"),description:Object(o.__)("Unlock your full reader opportunity by enabling features like subscriptions, contributions and newsletter sign ups in the Reader Revenue Manager settings.","google-site-kit"),onDismiss:N,dismissLabel:Object(o.__)("Maybe later","google-site-kit"),ctaLabel:Object(o.__)("Customize settings","google-site-kit"),ctaLink:S,onCTAClick:A,isCTALinkExternal:!0}):k===p?e.createElement(l.a,{title:Object(o.__)("Your Reader Revenue Manager account was successfully set up!","google-site-kit"),description:Object(o.__)("Your publication is still awaiting review, you can check its status in Reader Revenue Manager.","google-site-kit"),onDismiss:N,dismissLabel:Object(o.__)("Got it","google-site-kit"),ctaLabel:Object(o.__)("Check publication status","google-site-kit"),ctaLink:S,onCTAClick:A,isCTALinkExternal:!0}):k===h?e.createElement(l.a,{title:Object(o.__)("Your Reader Revenue Manager account was successfully set up, but your publication still requires further setup in Reader Revenue Manager.","google-site-kit"),onDismiss:N,dismissLabel:Object(o.__)("Got it","google-site-kit"),ctaLabel:Object(o.__)("Complete publication setup","google-site-kit"),ctaLink:S,onCTAClick:A,isCTALinkExternal:!0,variant:"warning"}):null:null}))}).call(this,n(4))},273:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UserMenu}));var i=n(5),a=n.n(i),o=n(17),c=n.n(o),l=n(15),s=n.n(l),u=n(239),d=n(0),f=n(2),g=n(57),m=n(3),p=n(11),h=n(113),b=n(8),v=n(39),_=n(85),E=n(274),O=n(224),y=n(275),k=n(276),j=n(29),S=n(14),w=n(7),N=n(32),A=n(9),C=n(119),x=n(19);function UserMenu(){var t=Object(m.useSelect)((function(e){return e(S.c).getProxyPermissionsURL()})),n=Object(m.useSelect)((function(e){return e(w.a).getEmail()})),i=Object(m.useSelect)((function(e){return e(w.a).getPicture()})),o=Object(m.useSelect)((function(e){return e(w.a).getFullName()})),l=Object(m.useSelect)((function(e){return e(S.c).getAdminURL("googlesitekit-splash",{googlesitekit_context:"revoked"})})),T=Object(m.useSelect)((function(e){return e(j.a).getValue(A.c,"isAutoCreatingCustomDimensionsForAudience")})),R=Object(d.useState)(!1),D=s()(R,2),L=D[0],M=D[1],I=Object(d.useState)(!1),P=s()(I,2),B=P[0],F=P[1],z=Object(d.useRef)(),U=Object(d.useRef)(),H=Object(x.a)(),W=Object(m.useDispatch)(N.a).navigateTo;Object(u.a)(z,(function(){return F(!1)})),Object(C.a)([g.c,g.f],z,(function(){var e;F(!1),null===(e=U.current)||void 0===e||e.focus()})),Object(d.useEffect)((function(){var t=function(e){g.c===e.keyCode&&(M(!1),F(!1))};return e.addEventListener("keyup",t),function(){e.removeEventListener("keyup",t)}}),[]);var V,G=Object(d.useCallback)((function(){B||Object(b.J)("".concat(H,"_headerbar"),"open_usermenu"),F(!B)}),[B,H]),q=Object(d.useCallback)((function(){M(!L),F(!1)}),[L]),K=Object(d.useCallback)(function(){var e=c()(a.a.mark((function e(n,r){var i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=r.detail.item,e.t0=null==i?void 0:i.id,e.next="manage-sites"===e.t0?4:"disconnect"===e.t0?9:11;break;case 4:if(!t){e.next=8;break}return e.next=7,Object(b.J)("".concat(H,"_headerbar_usermenu"),"manage_sites");case 7:W(t);case 8:return e.abrupt("break",12);case 9:return q(),e.abrupt("break",12);case 11:G();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[t,G,q,W,H]),J=Object(d.useCallback)(c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return M(!1),e.next=3,Object(v.b)();case 3:return e.next=5,Object(b.J)("".concat(H,"_headerbar_usermenu"),"disconnect_user");case 5:W(l);case 6:case"end":return e.stop()}}),e)}))),[l,W,H]);return n?(o&&n&&(V=Object(f.sprintf)(
/* translators: Account info text. 1: User's (full) name 2: User's email address. */
Object(f.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),o,n)),o&&!n&&(V=Object(f.sprintf)(
/* translators: Account info text. 1: User's (full) name. */
Object(f.__)("Google Account for %1$s","google-site-kit"),o)),!o&&n&&(V=Object(f.sprintf)(
/* translators: Account info text. 1: User's email address. */
Object(f.__)("Google Account (Email: %1$s)","google-site-kit"),n)),r.createElement(d.Fragment,null,r.createElement("div",{ref:z,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},r.createElement(p.Button,{disabled:T,ref:U,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",text:!0,onClick:G,icon:!!i&&r.createElement("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true"},r.createElement("img",{className:"mdc-button__icon--image",src:i,alt:Object(f.__)("User Avatar","google-site-kit")})),"aria-haspopup":"menu","aria-expanded":B,"aria-controls":"user-menu","aria-label":T?void 0:Object(f.__)("Account","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500,customizedTooltip:T?null:r.createElement("span",{"aria-label":V},r.createElement("strong",null,Object(f.__)("Google Account","google-site-kit")),r.createElement("br",null),r.createElement("br",null),o,o&&r.createElement("br",null),n)}),r.createElement(p.Menu,{className:"googlesitekit-user-menu",menuOpen:B,onSelected:K,id:"user-menu"},r.createElement("li",null,r.createElement(E.a,null)),!!t&&r.createElement("li",{id:"manage-sites",className:"mdc-list-item",role:"menuitem"},r.createElement(O.a,{icon:r.createElement(k.a,{width:"22"}),label:Object(f.__)("Manage Sites","google-site-kit")})),r.createElement("li",{id:"disconnect",className:"mdc-list-item",role:"menuitem"},r.createElement(O.a,{icon:r.createElement(y.a,{width:"22"}),label:Object(f.__)("Disconnect","google-site-kit")})))),r.createElement(_.a,null,r.createElement(h.a,{dialogActive:L,handleConfirm:J,handleDialog:q,title:Object(f.__)("Disconnect","google-site-kit"),subtitle:Object(f.__)("Disconnecting Site Kit by Google will remove your access to all services. After disconnecting, you will need to re-authorize to restore service.","google-site-kit"),confirmButton:Object(f.__)("Disconnect","google-site-kit"),danger:!0,small:!0})))):null}}).call(this,n(26),n(4))},274:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Details}));var r=n(2),i=n(3),a=n(7);function Details(){var t=Object(i.useSelect)((function(e){return e(a.a).getPicture()})),n=Object(i.useSelect)((function(e){return e(a.a).getFullName()})),o=Object(i.useSelect)((function(e){return e(a.a).getEmail()}));return e.createElement("div",{className:"googlesitekit-user-menu__details","aria-label":Object(r.__)("Google account","google-site-kit")},!!t&&e.createElement("img",{className:"googlesitekit-user-menu__details-avatar",src:t,alt:""}),e.createElement("div",{className:"googlesitekit-user-menu__details-info"},e.createElement("p",{className:"googlesitekit-user-menu__details-info__name"},n),e.createElement("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":Object(r.__)("Email","google-site-kit")},o)))}}).call(this,n(4))},275:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M6.83 2H20a2 2 0 012 2v12c0 .34-.09.66-.23.94L20 15.17V6h-9.17l-4-4zm13.66 19.31L17.17 18H4a2 2 0 01-2-2V4c0-.34.08-.66.23-.94L.69 1.51 2.1.1l19.8 19.8-1.41 1.41zM15.17 16l-10-10H4v10h11.17z",fill:"#6C726E"});t.a=function SvgDisconnect(e){return r.createElement("svg",i({viewBox:"0 0 22 22",fill:"none"},e),a)}},276:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M20 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h18v12zm-2-9H7v2h11V5zm0 4H7v2h11V9zM6 5H4v2h2V5zm0 4H4v2h2V9z",fill:"#6C726E"});t.a=function SvgManageSites(e){return r.createElement("svg",i({viewBox:"0 0 22 18",fill:"none"},e),a)}},277:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return ErrorNotifications}));var i=n(0),a=n(2),o=n(3),c=n(278),l=n(279),s=n(280),u=n(281),d=n(18),f=n(7),g=n(14),m=n(34),p=n(29),h=n(50);function ErrorNotifications(){var t,n=Object(o.useSelect)((function(e){return e(f.a).isAuthenticated()})),b=Object(o.useSelect)((function(e){return e(g.c).getSetupErrorCode()})),v=Object(o.useSelect)((function(e){return e(g.c).getSetupErrorMessage()})),_=Object(o.useSelect)((function(e){return e(p.a).getValue(f.d,"permissionsError")})),E=Object(o.useSelect)((function(t){var r,i;return(null==_?void 0:_.data)?t(f.a).getConnectURL({additionalScopes:null==_||null===(r=_.data)||void 0===r?void 0:r.scopes,redirectURL:(null==_||null===(i=_.data)||void 0===i?void 0:i.redirectURL)||e.location.href}):"access_denied"===b&&!(null==_?void 0:_.data)&&n?null:t(g.c).getSetupErrorRedoURL()})),O=Object(o.useSelect)((function(e){return e(g.c).getErrorTroubleshootingLinkURL({code:b})})),y=Object(o.useSelect)((function(e){return e(d.a).isModuleConnected("analytics-4")})),k=Object(o.useSelect)((function(e){return e(f.a).hasScope(m.h)})),j=y&&!k,S=Object(a.__)("Error connecting Site Kit","google-site-kit"),w=Object(a.__)("Redo the plugin setup","google-site-kit");return"access_denied"===b&&(S=Object(a.__)("Permissions Error","google-site-kit"),(null==_?void 0:_.data)?w=Object(a.__)("Grant permission","google-site-kit"):!(null==_?void 0:_.data)&&n&&(w=null)),(null==_||null===(t=_.data)||void 0===t?void 0:t.skipDefaultErrorNotifications)?null:r.createElement(i.Fragment,null,r.createElement(u.a,null),r.createElement(c.a,null),v&&r.createElement(h.b,{id:"setup_error",type:"win-error",title:S,description:v,isDismissible:!1,ctaLink:E,ctaLabel:w,learnMoreLabel:Object(a.__)("Get help","google-site-kit"),learnMoreURL:O}),!v&&n&&r.createElement(i.Fragment,null,!j&&r.createElement(l.a,null),j&&r.createElement(s.a,null)))}}).call(this,n(26),n(4))},278:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AuthError}));var r=n(2),i=n(3),a=n(7),o=n(50);function AuthError(){var t=Object(i.useSelect)((function(e){return e(a.a).getAuthError()}));return t?e.createElement(o.b,{id:"autherror",title:Object(r.__)("Site Kit can’t access necessary data","google-site-kit"),description:t.message,ctaLink:t.data.reconnectURL,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit")}):null}}).call(this,n(4))},279:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UnsatisfiedScopesAlert}));var i=n(15),a=n.n(i),o=n(12),c=n(0),l=n(2),s=n(3),u=n(50),d=n(8),f=n(7),g=n(32),m=n(18),p=n(29),h={siteverification:"site-verification",webmasters:"search-console",analytics:"analytics-4"};function UnsatisfiedScopesAlert(){var t,n,i,b,v,_=Object(c.useRef)(),E=Object(s.useSelect)((function(e){return e(g.a).isNavigatingTo(new RegExp("//oauth2|action=googlesitekit_connect","i"))})),O=Object(s.useSelect)((function(e){return e(p.a).getValue(f.d,"permissionsError")})),y=Object(s.useSelect)((function(e){return e(f.a).getUnsatisfiedScopes()})),k=(null==O?void 0:O.data)?{additionalScopes:null===(t=O.data)||void 0===t?void 0:t.scopes,redirectURL:(null===(n=O.data)||void 0===n?void 0:n.redirectURL)||e.location.href}:{redirectURL:e.location.href},j=Object(s.useSelect)((function(e){return e(f.a).getConnectURL(k)})),S=Object(s.useSelect)((function(e){return e(m.a).getModules()}));if(E&&!_.current||!(null==y?void 0:y.length)||void 0===j)return null;i=y.some((function(e){return!e.match(new RegExp("^https://www\\.googleapis\\.com/auth/"))}))||!(b=function(e,t){return void 0===t?null:e.map((function(e){return e.match(new RegExp("^https://www\\.googleapis\\.com/auth/([a-z]+)"))})).map((function(e){var t=a()(e,2)[1];return h[t]||t})).map((function(e){var n;return(null===(n=t[e])||void 0===n?void 0:n.name)||!1}))}(y,S))||b.some((function(e){return!1===e}))?"generic":1<(b=Object(o.uniq)(b)).length?"multiple":"single";var w=Object(l.__)("Site Kit can’t access necessary data","google-site-kit"),N=(null==O?void 0:O.data)?Object(l.__)("Grant permission","google-site-kit"):Object(l.__)("Redo setup","google-site-kit");switch(i){case"multiple":v=Object(l.sprintf)(
/* translators: %s: List of product names */
Object(l.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for: %s – make sure to approve all permissions at the authentication stage.","google-site-kit"),Object(d.z)(b));break;case"single":v=Object(l.sprintf)(
/* translators: %s: Product name */
Object(l.__)("Site Kit can’t access the relevant data from %1$s because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for %1$s – make sure to approve all permissions at the authentication stage.","google-site-kit"),b[0]);break;case"generic":v=Object(l.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup – make sure to approve all permissions at the authentication stage.","google-site-kit")}return r.createElement(u.b,{id:"authentication error",title:w,description:v,format:"small",type:"win-error",isDismissible:!1,ctaLink:j,onCTAClick:function(){_.current=!0},ctaLabel:N})}}).call(this,n(26),n(4))},28:function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"j",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"f",(function(){return o})),n.d(t,"h",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"i",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return g})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return p}));var r="modules/adsense",i=1,a="READY",o="NEEDS_ATTENTION",c="REQUIRES_REVIEW",l="GETTING_READY",s="background-submit-suspended",u="ad-blocking-recovery-setup-success",d="adsenseAdBlockingFormSettings",f="googlesitekit-ad-blocking-recovery-setup-create-message-cta-clicked",g="ad-blocking-recovery-notification",m={TAG_PLACED:"tag-placed",SETUP_CONFIRMED:"setup-confirmed"},p={PLACE_TAGS:0,CREATE_MESSAGE:1,COMPLETE:2}},280:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UnsatisfiedScopesAlertGTE}));var i=n(2),a=n(3),o=n(50),c=n(14),l=n(7),s=n(34),u=n(29);function UnsatisfiedScopesAlertGTE(){var t=Object(a.useSelect)((function(e){return e(u.a).getValue(l.d,"permissionsError")})),n=Object(a.useSelect)((function(n){var r;return n(l.a).getConnectURL({additionalScopes:[s.h],redirectURL:(null==t||null===(r=t.data)||void 0===r?void 0:r.redirectURL)||e.location.href})})),d=Object(a.useSelect)((function(e){return e(c.c).getGoogleSupportURL({path:"/tagmanager/answer/11994839"})}));return void 0===n?null:r.createElement(o.b,{id:"authentication-error-gte",title:Object(i.__)("Site Kit needs additional permissions to detect updates to tags on your site","google-site-kit"),description:Object(i.__)("To continue using Analytics with Site Kit, you need to grant permission to check for any changes in your Google tag’s target Analytics property. The Google tag feature was recently updated to allow users to change a tag’s connected Analytics property without editing site code. Because of this change, Site Kit now must regularly check if the tag on your site matches the Analytics property destination.","google-site-kit"),format:"small",type:"win-error",isDismissible:!1,ctaLink:n,ctaLabel:Object(i.__)("Grant permission","google-site-kit"),learnMoreLabel:Object(i.__)("Learn more","google-site-kit"),learnMoreURL:d})}}).call(this,n(26),n(4))},281:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(3),i=n(14),a=n(50);function InternalServerError(){var t=Object(r.useSelect)((function(e){return e(i.c).getInternalServerError()}));return t?e.createElement(a.b,t):null}}).call(this,n(4))},282:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(3),i=n(7),a=n(33),o=n(151),c=n(283);function DashboardNavigation(){var t=Object(a.a)(),n=Object(r.useSelect)((function(e){return t?e(i.a).getViewableModules():null})),l=Object(r.useSelect)((function(e){return e(i.a).getKeyMetrics()}));return e.createElement(o.a,{loading:void 0===n||void 0===l,width:"100%",smallHeight:"59px",height:"71px"},e.createElement(c.a,null))}}).call(this,n(4))},283:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var i=n(27),a=n.n(i),o=n(15),c=n.n(o),l=n(13),s=n.n(l),u=n(12),d=n(92),f=n(155),g=n(0),m=n(2),p=n(3),h=n(284),b=n(285),v=n(286),_=n(287),E=n(288),O=n(25),y=n(7),k=n(42),j=n(23),S=n(74),w=n(46),N=n(24),A=n(89),C=n(8),x=n(19),T=n(33);function R(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return D(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Navigation(){var t,n=Object(w.c)(),i=Object(g.useRef)(),o=Object(N.e)(),l=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),D=Object(g.useState)(l),L=c()(D,2),M=L[0],I=L[1],P=Object(g.useState)(l||void 0),B=c()(P,2),F=B[0],z=B[1],U=Object(g.useState)(!1),H=c()(U,2),W=H[0],V=H[1],G=Object(x.a)(),q=Object(T.a)(),K=Object(p.useDispatch)(j.b).setValue,J=Object(p.useSelect)((function(e){return q?e(y.a).getViewableModules():null})),Y=Object(p.useSelect)((function(e){return e(y.a).isKeyMetricsWidgetHidden()})),$={modules:J||void 0},X=Object(p.useSelect)((function(e){return n===w.b&&!0!==Y&&e(k.a).isWidgetContextActive(S.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,$)})),Z=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_TRAFFIC:S.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,$)})),Q=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_CONTENT:S.CONTEXT_ENTITY_DASHBOARD_CONTENT,$)})),ee=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_SPEED:S.CONTEXT_ENTITY_DASHBOARD_SPEED,$)})),te=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_MONETIZATION:S.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,$)})),ne=Object(g.useCallback)((function(){return X?O.b:q?Z?O.e:Q?O.a:ee?O.d:te?O.c:"":O.e}),[X,Z,Q,ee,te,q]),re=Object(g.useCallback)((function(t){var n,r=t.target.closest(".mdc-chip"),i=null==r||null===(n=r.dataset)||void 0===n?void 0:n.contextId;e.history.replaceState({},"","#".concat(i)),z(i),Object(C.J)("".concat(G,"_navigation"),"tab_select",i),e.scrollTo({top:i!==ne()?Object(A.a)("#".concat(i),o):0,behavior:"smooth"}),setTimeout((function(){K(j.a,i)}),50)}),[o,G,K,ne]);return Object(d.a)((function(){var t=ne();if(!l)return I(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=l;(function(e){return!(!X||e!==O.b)||(!(!Z||e!==O.e)||(!(!Q||e!==O.a)||(!(!ee||e!==O.d)||!(!te||e!==O.c))))})(n)||(n=t),K(j.a,n),I(n),setTimeout((function(){var r=n!==t?Object(A.a)("#".concat(n),o):0;e.scrollY!==r?e.scrollTo({top:r,behavior:"smooth"}):K(j.a,void 0)}),50)})),Object(g.useEffect)((function(){var t=function(e){K(j.a,void 0),I(e),z(void 0)},n=Object(u.throttle)((function(n){var r,o,c,l,s=e.scrollY,u=null===(r=document.querySelector(".googlesitekit-entity-header"))||void 0===r||null===(o=r.getBoundingClientRect())||void 0===o?void 0:o.bottom,d=null==i||null===(c=i.current)||void 0===c?void 0:c.getBoundingClientRect(),f=d.bottom,g=d.top,m=[].concat(a()(X?[O.b]:[]),a()(Z?[O.e]:[]),a()(Q?[O.a]:[]),a()(ee?[O.d]:[]),a()(te?[O.c]:[])),p=ne();if(0===s)V(!1);else{var h,b=null===(h=document.querySelector(".googlesitekit-header"))||void 0===h?void 0:h.getBoundingClientRect().bottom;V(g===b)}var v,_=R(m);try{for(_.s();!(v=_.n()).done;){var E=v.value,y=document.getElementById(E);if(y){var k=y.getBoundingClientRect().top-20-(u||f||0);k<0&&(void 0===l||l<k)&&(l=k,p=E)}}}catch(e){_.e(e)}finally{_.f()}if(F)F===p&&t(p);else{var j=e.location.hash;p!==(null==j?void 0:j.substring(1))&&(n&&Object(C.J)("".concat(G,"_navigation"),"tab_scroll",p),e.history.replaceState({},"","#".concat(p)),t(p))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[F,X,Z,Q,ee,te,G,K,ne]),r.createElement("nav",{className:s()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":W}),ref:i},X&&r.createElement(f.Chip,{id:O.b,label:Object(m.__)("Key metrics","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"18",height:"16"}),onClick:re,selected:M===O.b,"data-context-id":O.b}),Z&&r.createElement(f.Chip,{id:O.e,label:Object(m.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"16"}),onClick:re,selected:M===O.e,"data-context-id":O.e}),Q&&r.createElement(f.Chip,{id:O.a,label:Object(m.__)("Content","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"18"}),onClick:re,selected:M===O.a,"data-context-id":O.a}),ee&&r.createElement(f.Chip,{id:O.d,label:Object(m.__)("Speed","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"20",height:"16"}),onClick:re,selected:M===O.d,"data-context-id":O.d}),te&&r.createElement(f.Chip,{id:O.c,label:Object(m.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(E.a,{width:"18",height:"16"}),onClick:re,selected:M===O.c,"data-context-id":O.c}))}}).call(this,n(26),n(4))},284:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("rect",{x:.5,width:5,height:5,rx:1,fill:"currentColor"}),o=r.createElement("rect",{x:7.5,width:5,height:5,rx:1,fill:"currentColor"}),c=r.createElement("rect",{x:.5,y:7,width:5,height:5,rx:1,fill:"currentColor"}),l=r.createElement("rect",{x:7.5,y:7,width:5,height:5,rx:1,fill:"currentColor"});t.a=function SvgNavKeyMetricsIcon(e){return r.createElement("svg",i({viewBox:"0 0 13 12",fill:"none"},e),a,o,c,l)}},285:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return r.createElement("svg",i({viewBox:"0 0 18 16",fill:"none"},e),a)}},286:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return r.createElement("svg",i({viewBox:"0 0 18 18",fill:"none"},e),a)}},287:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),o=r.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return r.createElement("svg",i({viewBox:"0 0 20 16",fill:"none"},e),a,o)}},288:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return r.createElement("svg",i({viewBox:"0 0 23 12",fill:"none"},e),a)}},289:function(e,t,n){"use strict";(function(e,r){var i=n(15),a=n.n(i),o=n(12),c=n(2),l=n(0),s=n(3),u=n(11),d=n(14),f=n(290),g=n(32),m=n(20),p=n(83),h=n(8),b=n(46),v=n(19);t.a=function EntityHeader(){var t=Object(v.a)(),n=Object(b.c)(),i=Object(s.useSelect)((function(e){return e(d.c).getCurrentEntityTitle()})),_=Object(s.useSelect)((function(e){return e(d.c).getCurrentEntityURL()})),E=Object(l.useRef)(),O=Object(l.useState)(_),y=a()(O,2),k=y[0],j=y[1];Object(l.useEffect)((function(){var t=function(){if(E.current){var t=E.current.clientWidth-40,n=e.getComputedStyle(E.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);j(Object(p.d)(_,r))}},n=Object(o.throttle)(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[_,E,j]);var S=Object(s.useDispatch)(g.a).navigateTo,w=Object(s.useSelect)((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),N=Object(l.useCallback)((function(){Object(h.J)("".concat(t,"_navigation"),"return_to_dashboard"),S(w)}),[w,S,t]);return b.a!==n||null===_||null===i?null:r.createElement("div",{className:"googlesitekit-entity-header"},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(u.Button,{icon:r.createElement(f.a,{width:24,height:24}),"aria-label":Object(c.__)("Back to dashboard","google-site-kit"),onClick:N,text:!0,tertiary:!0},Object(c.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:E,className:"googlesitekit-entity-header__details"},r.createElement("p",null,i),r.createElement(m.a,{secondary:!0,href:_,"aria-label":_,external:!0},k)))}}).call(this,n(26),n(4))},29:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},290:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z",fill:"currentColor"});t.a=function SvgKeyboardBackspace(e){return r.createElement("svg",i({viewBox:"0 0 24 24"},e),a,o)}},291:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var r=n(15),i=n.n(r),a=n(239),o=n(13),c=n.n(o),l=n(0),s=n(2),u=n(57),d=n(11),f=n(19),g=n(119),m=n(8),p=n(292),h=n(293),b=n(294),v=n(296),_=n(3),E=n(7);function ViewOnlyMenu(){var t=Object(l.useState)(!1),n=i()(t,2),r=n[0],o=n[1],O=Object(l.useRef)(),y=Object(f.a)();Object(a.a)(O,(function(){return o(!1)})),Object(g.a)([u.c,u.f],O,(function(){return o(!1)}));var k=Object(l.useCallback)((function(){r||Object(m.J)("".concat(y,"_headerbar"),"open_viewonly"),o(!r)}),[r,y]),j=Object(_.useSelect)((function(e){return e(E.a).hasCapability(E.z)}));return e.createElement("div",{ref:O,className:c()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":j})},e.createElement(d.Button,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:k,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(p.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":r,"aria-controls":"view-only-menu","aria-label":Object(s.__)("View only","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500},Object(s.__)("View only","google-site-kit")),e.createElement(d.Menu,{menuOpen:r,nonInteractive:!0,onSelected:k,id:"view-only-menu"},e.createElement(h.a,null),e.createElement(b.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(v.a,null)))}}).call(this,n(4))},292:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return r.createElement("svg",i({viewBox:"0 0 16 10",fill:"none"},e),a)}},293:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n(38),s=n(2),u=n(3),d=n(11),f=n(32),g=n(14),m=n(7),p=n(8),h=n(20),b=n(19),v=n(39);function Description(){var t=Object(b.a)(),n=Object(u.useSelect)((function(e){return e(m.a).hasCapability(m.z)})),r=Object(u.useSelect)((function(e){return e(g.c).getProxySetupURL()})),a=Object(u.useSelect)((function(e){return e(g.c).getDocumentationLinkURL("dashboard-sharing")})),_=Object(u.useDispatch)(f.a).navigateTo,E=Object(c.useCallback)(function(){var e=o()(i.a.mark((function e(n){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Promise.all([Object(v.f)("start_user_setup",!0),Object(p.J)("".concat(t,"_headerbar_viewonly"),"start_user_setup",r?"proxy":"custom-oauth")]);case 3:_(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,_,t]),O=Object(c.useCallback)((function(){Object(p.J)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),y=n?Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(h.a,{href:a,external:!0,onClick:O,"aria-label":Object(s.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,y),n&&e.createElement(d.Button,{onClick:E},Object(s.__)("Sign in with Google","google-site-kit")))}}).call(this,n(4))},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var r=n(2),i=n(3),a=n(7),o=n(295);function SharedServices(){var t=Object(i.useSelect)((function(e){return e(a.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(r.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(o.a,{key:t,module:t})}))))}}).call(this,n(4))},295:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var r=n(1),i=n.n(r),a=n(38),o=n(2),c=n(3),l=n(18),s=n(7);function Service(t){var n=t.module,r=Object(c.useSelect)((function(e){return e(s.a).hasCapability(s.z)})),i=Object(c.useSelect)((function(e){return e(l.a).getModule(n)||{}})),u=i.name,d=i.owner,f=Object(c.useSelect)((function(e){return e(l.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(f,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},u),r&&(null==d?void 0:d.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(a.a)(Object(o.sprintf)(
/* translators: %s: module owner Google Account email address */
Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),d.login),{strong:e.createElement("strong",{title:d.login})})))}Service.propTypes={module:i.a.string.isRequired}}).call(this,n(4))},296:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(38),i=n(2),a=n(220),o=n(19);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(i.__)("Thanks for using Site Kit!<br />Help us make it even better","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(a.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly"),alignCheckboxLeft:!0}))}}).call(this,n(4))},297:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupErrorNotification}));var r=n(2),i=n(3),a=n(50),o=n(14),c=n(29),l=n(7);function SetupErrorNotification(){var t=Object(i.useSelect)((function(e){return e(o.c).getSetupErrorMessage()})),n=Object(i.useSelect)((function(e){return e(o.c).getSetupErrorRedoURL()})),s=Object(i.useSelect)((function(e){return e(c.a).getValue(l.d,"permissionsError")||{}})).data;return!t||(null==s?void 0:s.skipDefaultErrorNotifications)?null:e.createElement(a.b,{id:"setup_error",type:"win-error",title:Object(r.__)("Oops! There was a problem during set up. Please try again.","google-site-kit"),description:t,isDismissible:!1,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit"),ctaLink:n})}}).call(this,n(4))},298:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotifications}));var r=n(0),i=n(131),a=n(225),o=n(261),c=n(247),l=n(305);function SubtleNotifications(){var t=Object(i.a)("audienceSegmentation"),n=Object(i.a)("rrmModule");return e.createElement(r.Fragment,null,t&&e.createElement(o.b,null),e.createElement(l.a,null),e.createElement(a.b,null),n&&e.createElement(c.b,null),e.createElement(a.a,null))}}).call(this,n(4))},299:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__clip0_192_4045)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h316c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter0_d_192_4045)"},r.createElement("rect",{x:101.5,y:79,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:218,y:108,width:64,height:38,rx:5.161,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter1_d_192_4045)"},r.createElement("rect",{x:81.5,y:56,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:97,y:85,width:165,height:96,rx:5.161,fill:"#EBEEF0"}),r.createElement("rect",{x:96,y:148,width:59,height:55,rx:5.457,fill:"#EBEEF0"}),r.createElement("rect",{x:167,y:148,width:54,height:10,rx:5,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter2_d_192_4045)"},r.createElement("rect",{x:61.5,y:30,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:76.5,y:50,width:165,height:51,rx:5.161,fill:"#6FD3D3"}),r.createElement("rect",{x:147.5,y:113,width:54,height:14,rx:7,fill:"#EBEEF0"}),r.createElement("rect",{x:147.5,y:135,width:94,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:135,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:124,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:146,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:113,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:147.5,y:146,width:94,height:5,rx:2.5,fill:"#EBEEF0"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter0_d_192_4045",x:91.5,y:73,width:215,height:192,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter1_d_192_4045",x:65.5,y:44,width:227,height:204,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter2_d_192_4045",x:45.5,y:18,width:227,height:204,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__clip0_192_4045"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h316c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})));t.a=function SvgReaderRevenueManagerIntroductoryGraphicDesktop(e){return r.createElement("svg",i({viewBox:"0 0 348 163",fill:"none"},e),a,o)}},3:function(e,t){e.exports=googlesitekit.data},300:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__clip0_584_3892)"},r.createElement("path",{d:"M29.447 64.365c-2.4 22.73 4.803 32.78 23.025 59.949 18.222 27.17-7.404 59.277 20.78 89.869 33.527 36.394 150.685 39.364 201.231 24.212 50.546-15.153 63.581-46.473 59.948-75.155C329.5 124.314 302.482 112.077 289.5 93c-19.276-28.325 2.813-54.786-34.5-77.5s-80.086 6.697-120.326 4.388c-23.216-1.332-46.017-5.627-66.626.968-20.832 6.667-36.72 25.428-38.6 43.509z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter0_d_584_3892)"},r.createElement("rect",{x:108.926,y:53.721,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:203.365,y:77.23,width:51.881,height:30.804,rx:4.184,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter1_d_584_3892)"},r.createElement("rect",{x:92.713,y:35.077,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:105.277,y:58.585,width:133.755,height:77.821,rx:4.184,fill:"#EBEEF0"}),r.createElement("rect",{x:104.467,y:109.655,width:47.828,height:44.585,rx:4.424,fill:"#EBEEF0"}),r.createElement("rect",{x:162.021,y:109.655,width:43.775,height:8.106,rx:4.053,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter2_d_584_3892)"},r.createElement("rect",{x:76.5,y:14,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:88.66,y:30.213,width:133.755,height:41.343,rx:4.184,fill:"#6FD3D3"}),r.createElement("rect",{x:146.215,y:81.283,width:43.775,height:11.349,rx:5.674,fill:"#EBEEF0"}),r.createElement("rect",{x:146.215,y:99.117,width:76.2,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:99.117,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:90.2,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:108.034,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:81.283,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:146.215,y:108.034,width:76.2,height:4.053,rx:2.027,fill:"#EBEEF0"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter0_d_584_3892",x:95.926,y:43.721,width:184.074,height:165.43,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3}),r.createElement("feGaussianBlur",{stdDeviation:6.5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter1_d_584_3892",x:79.743,y:25.349,width:184.015,height:165.37,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.243}),r.createElement("feGaussianBlur",{stdDeviation:6.485}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter2_d_584_3892",x:63.53,y:4.272,width:184.015,height:165.37,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.243}),r.createElement("feGaussianBlur",{stdDeviation:6.485}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__clip0_584_3892"},r.createElement("path",{fill:"#fff",d:"M0 0h343v118H0z"})));t.a=function SvgReaderRevenueManagerIntroductoryGraphicMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 118",fill:"none"},e),a,o)}},301:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(3),i=n(18),a=n(70);function o(t){var n=t.moduleName,o=t.FallbackComponent;return function(t){function WhenInactiveComponent(a){var c=Object(r.useSelect)((function(e){return e(i.a).getModule(n)}),[n]);if(!c)return null;var l=o||a.WidgetNull||null;return!0===c.active?l&&e.createElement(l,a):e.createElement(t,a)}return WhenInactiveComponent.displayName="When".concat(Object(a.c)(n),"Inactive"),(t.displayName||t.name)&&(WhenInactiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenInactiveComponent}}}).call(this,n(4))},302:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M74.032-2.916C70.583 36.886 92.52 48.59 92.52 103.233c0 54.644-91.918 88.181-52.084 179.603 31.917 73.252 194.23 87.748 287.396 67.074 93.167-20.673 127.301-72.44 122.081-122.662-7.085-68.16-44.978-103.341-59.664-164.902-14.686-61.56 10.917-93.72-27.996-124.067-39.469-30.78-75.267-11.025-116.573-11.025-33.439 0-66.088-25.668-114.278-6.874-29.933 11.674-54.665 45.044-57.369 76.704z",fill:"#B8E6CA"}),o=r.createElement("g",{filter:"url(#reader-revenue-manager-setup_svg__filter0_d_30_1196)"},r.createElement("rect",{x:168.849,y:39.561,width:136,height:270,rx:20,fill:"#fff"}),r.createElement("circle",{cx:54.898,cy:177.171,r:25.926,fill:"#2F9F9F"}),r.createElement("path",{d:"M60.112 170.211c-.678-.753-2.71-2.258-5.42-2.258-3.389 0-5.422 2.258-5.422 4.517 0 6.212 10.842 2.675 10.842 9.035 0 2.259-2.033 4.517-5.42 4.517-2.711 0-4.744-1.506-5.422-2.258M54.69 163.435v27.105",stroke:"#fff",strokeWidth:2,strokeLinecap:"round"}),r.createElement("circle",{cx:348.514,cy:36.337,r:17.485,fill:"#2F9F9F"}),r.createElement("path",{d:"M352.031 31.643c-.457-.508-1.828-1.523-3.656-1.523-2.285 0-3.656 1.523-3.656 3.046 0 4.19 7.312 1.805 7.312 6.094 0 1.523-1.371 3.047-3.656 3.047-1.828 0-3.199-1.016-3.656-1.524M348.375 27.073v18.28",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"}),r.createElement("circle",{cx:418.514,cy:149.337,r:21.515,fill:"#2F9F9F"}),r.createElement("path",{d:"M422.841 143.562c-.562-.625-2.249-1.875-4.499-1.875-2.811 0-4.498 1.875-4.498 3.749 0 5.155 8.997 2.22 8.997 7.497 0 1.875-1.687 3.749-4.499 3.749-2.249 0-3.936-1.249-4.498-1.874M418.343 137.939v22.492",stroke:"#fff",strokeWidth:2,strokeLinecap:"round"}),r.createElement("rect",{x:184.94,y:54.47,width:104.361,height:18.417,rx:4,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:104.458,width:104.361,height:114.008,rx:4,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:228.482,width:104.361,height:7.016,rx:3.508,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:241.482,width:104.361,height:7.016,rx:3.508,fill:"#F3F5F7"}),r.createElement("rect",{x:204.234,y:81.656,width:65.774,height:10.524,rx:5.262,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:82.533,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"}),r.createElement("rect",{x:184.94,y:86.041,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"}),r.createElement("rect",{x:184.94,y:89.549,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"})),c=r.createElement("g",{filter:"url(#reader-revenue-manager-setup_svg__filter1_d_30_1196)"},r.createElement("rect",{x:131.451,y:131.057,width:210,height:105,rx:8,fill:"#fff"}),r.createElement("rect",{x:180.451,y:166.057,width:112,height:5,rx:2.5,fill:"#F3F5F7"}),r.createElement("rect",{x:199.451,y:175.057,width:75,height:5,rx:2.5,fill:"#F3F5F7"}),r.createElement("rect",{x:181.849,y:190.057,width:108,height:20,rx:10,fill:"#6FD3D3"})),l=r.createElement("path",{d:"M236.5 158.266c14.762 0 26.638-12.259 26.638-27.266 0-15.007-11.876-27.266-26.638-27.266-14.762 0-26.638 12.259-26.638 27.266 0 15.007 11.876 27.266 26.638 27.266z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:4.276}),s=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M236.38 123.237l-.038-.009v-.686c0-.408-.157-.751-.472-1.029a1.508 1.508 0 00-1.103-.441c-.437 0-.814.147-1.129.441a1.354 1.354 0 00-.446 1.029v.686c-1.4.327-2.537 1.021-3.412 2.082-.875 1.046-1.313 2.246-1.313 3.602v6.86h-2.1v1.96h16.8v-1.96h-2.1v-6.86c0-.363-.031-.715-.094-1.055a5.002 5.002 0 01-4.593-4.62zm-1.613 17.435a2.169 2.169 0 01-1.496-.564c-.403-.392-.604-.857-.604-1.396h4.2c0 .539-.21 1.004-.63 1.396-.402.376-.892.564-1.47.564zM246.5 121.872h-7v-2h7v2z",fill:"#fff"}),u=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M241.867 124.372v-7h2v7h-2z",fill:"#fff"}),d=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup_svg__filter0_d_30_1196",x:12.972,y:6.852,width:443.057,height:322.709,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_30_1196"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_30_1196",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup_svg__filter1_d_30_1196",x:115.451,y:123.057,width:242,height:137,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:8}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_30_1196"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_30_1196",result:"shape"})));t.a=function SvgReaderRevenueManagerSetup(e){return r.createElement("svg",i({viewBox:"0 0 479 272",fill:"none"},e),a,o,c,l,s,u,d)}},303:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-setup-tablet_svg__clip0_545_5344)"},r.createElement("path",{d:"M134.999 170.5c0-40.522-17.5-50-18-88s26-61.5 47-66 23.5-1.302 51.5 0 39.5-17.5 79.5-14.5 45.5 19 69 25.5c23.874 6.603 33.464 1.321 48.5 21.5 19.001 25.5-2.875 51.848 8 97.5 14.77 62-276.999 64-285.5 24z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-tablet_svg__filter0_d_545_5344)"},r.createElement("rect",{x:234.539,y:17.537,width:86.677,height:172.078,rx:12.746,fill:"#fff"}),r.createElement("circle",{cx:169.523,cy:104.523,r:16.523,fill:"#2F9F9F"}),r.createElement("path",{d:"M172.845 100.088c-.432-.48-1.727-1.44-3.455-1.44-2.159 0-3.454 1.44-3.454 2.879 0 3.959 6.909 1.705 6.909 5.758 0 1.44-1.295 2.879-3.455 2.879-1.727 0-3.023-.959-3.454-1.439M169.391 95.769v17.274",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:105.5,cy:70.5,r:22.5,fill:"#2F9F9F"}),r.createElement("path",{d:"M110.022 64.46c-.588-.653-2.352-1.96-4.704-1.96-2.941 0-4.705 1.96-4.705 3.92 0 5.392 9.409 2.322 9.409 7.841 0 1.96-1.764 3.92-4.704 3.92-2.352 0-4.117-1.306-4.705-1.96M105.318 58.58v23.522",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:359.048,cy:37.482,r:11.144,fill:"#2F9F9F"}),r.createElement("path",{d:"M361.289 34.49c-.291-.323-1.165-.97-2.33-.97-1.456 0-2.33.97-2.33 1.941 0 2.67 4.66 1.15 4.66 3.884 0 .97-.874 1.942-2.33 1.942-1.165 0-2.039-.648-2.33-.971M358.959 31.578v11.65",stroke:"#fff",strokeWidth:.956,strokeLinecap:"round"}),r.createElement("circle",{cx:411.659,cy:109.5,r:13.712,fill:"#2F9F9F"}),r.createElement("path",{d:"M414.416 105.819c-.359-.398-1.434-1.195-2.867-1.195-1.792 0-2.867 1.195-2.867 2.39 0 3.285 5.734 1.414 5.734 4.778 0 1.195-1.075 2.389-2.867 2.389-1.434 0-2.509-.796-2.867-1.194M411.547 102.235v14.335",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:457.288,cy:50.288,r:19.288,fill:"#2F9F9F"}),r.createElement("path",{d:"M461.166 45.11c-.504-.56-2.017-1.68-4.033-1.68-2.521 0-4.033 1.68-4.033 3.36 0 4.622 8.066 1.99 8.066 6.722 0 1.68-1.513 3.36-4.033 3.36-2.017 0-3.529-1.12-4.033-1.68M457.131 40.069v20.165",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("rect",{x:244.795,y:29.038,width:66.512,height:11.737,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:60.897,width:66.512,height:72.66,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:137.941,width:66.512,height:4.471,rx:2.236,fill:"#F3F5F7"}),r.createElement("rect",{x:257.094,y:44.365,width:41.919,height:6.707,rx:3.354,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:44.924,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:244.795,y:47.16,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:244.795,y:49.396,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"})),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-tablet_svg__filter1_d_545_5344)"},r.createElement("rect",{x:211,y:64,width:134,height:63,rx:5.099,fill:"#fff"}),r.createElement("rect",{x:241.936,y:86.156,width:71.381,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:254.043,y:91.892,width:47.8,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:242.826,y:101.452,width:68.831,height:12.746,rx:6.373,fill:"#6FD3D3"})),r.createElement("path",{d:"M277.661 81.19c9.409 0 16.977-7.812 16.977-17.377 0-9.564-7.568-17.377-16.977-17.377-9.408 0-16.977 7.813-16.977 17.377 0 9.565 7.569 17.378 16.977 17.378z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:2.725}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M277.728 57.666a4.675 4.675 0 00-.166-.04v-.429c0-.255-.1-.469-.301-.642a.97.97 0 00-.702-.275c-.279 0-.519.092-.72.275a.837.837 0 00-.284.642v.428c-.892.204-1.617.637-2.175 1.3a3.357 3.357 0 00-.837 2.247v4.28h-1.338v1.223h10.707v-1.223h-1.338v-3.638a3.187 3.187 0 01-2.846-4.148zm-1.169 10.844c-.368 0-.686-.118-.954-.352a1.166 1.166 0 01-.385-.871h2.677c0 .336-.134.626-.402.871a1.336 1.336 0 01-.936.352zM284.032 57.996h-4.462V56.72h4.462v1.275z",fill:"#fff"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M281.077 59.59v-4.462h1.275v4.461h-1.275z",fill:"#fff"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup-tablet_svg__filter0_d_545_5344",x:72.803,y:9.889,width:413.971,height:192.473,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:2.549}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_5344"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_5344",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup-tablet_svg__filter1_d_545_5344",x:200.803,y:58.901,width:154.394,height:83.394,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:5.099}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_5344"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_5344",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-setup-tablet_svg__clip0_545_5344"},r.createElement("path",{fill:"#fff",d:"M0 0h553v140H0z"})));t.a=function SvgReaderRevenueManagerSetupTablet(e){return r.createElement("svg",i({viewBox:"0 0 553 140",fill:"none"},e),a,o)}},304:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-setup-mobile_svg__clip0_545_3220)"},r.createElement("path",{d:"M48.29 62.984C45.736 92.5 61.979 101.179 61.979 141.7c0 40.523-68.064 65.392-38.567 133.189 23.634 54.322 143.822 65.071 212.81 49.74 68.988-15.331 94.263-53.72 90.398-90.963-5.246-50.546-33.305-76.635-44.18-122.287s8.084-69.5-20.73-92.004c-29.226-22.826-55.734-8.177-86.32-8.177-24.76 0-48.937-19.034-84.62-5.097-22.165 8.657-40.478 33.403-42.48 56.882z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-mobile_svg__filter0_d_545_3220)"},r.createElement("rect",{x:129.539,y:17.537,width:86.677,height:172.078,rx:12.746,fill:"#fff"}),r.createElement("circle",{cx:49.916,cy:77.24,r:16.523,fill:"#2F9F9F"}),r.createElement("path",{d:"M53.238 72.804c-.432-.48-1.728-1.44-3.455-1.44-2.16 0-3.455 1.44-3.455 2.88 0 3.959 6.91 1.704 6.91 5.757 0 1.44-1.296 2.88-3.455 2.88-1.727 0-3.023-.96-3.455-1.44M49.783 68.485V85.76",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:254.048,cy:37.482,r:11.144,fill:"#2F9F9F"}),r.createElement("path",{d:"M256.289 34.49c-.291-.323-1.165-.97-2.33-.97-1.456 0-2.33.97-2.33 1.941 0 2.67 4.66 1.15 4.66 3.884 0 .97-.874 1.942-2.33 1.942-1.165 0-2.039-.648-2.33-.971M253.959 31.578v11.65",stroke:"#fff",strokeWidth:.956,strokeLinecap:"round"}),r.createElement("circle",{cx:306.659,cy:109.5,r:13.712,fill:"#2F9F9F"}),r.createElement("path",{d:"M309.416 105.819c-.359-.398-1.434-1.195-2.867-1.195-1.792 0-2.867 1.195-2.867 2.39 0 3.285 5.734 1.414 5.734 4.778 0 1.195-1.075 2.389-2.867 2.389-1.434 0-2.509-.796-2.867-1.194M306.547 102.235v14.335",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("rect",{x:139.795,y:29.038,width:66.512,height:11.737,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:60.897,width:66.512,height:72.66,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:137.941,width:66.512,height:4.471,rx:2.236,fill:"#F3F5F7"}),r.createElement("rect",{x:152.094,y:44.365,width:41.919,height:6.707,rx:3.354,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:44.924,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:139.795,y:47.16,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:139.795,y:49.396,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"})),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-mobile_svg__filter1_d_545_3220)"},r.createElement("rect",{x:106,y:64,width:134,height:63,rx:5.099,fill:"#fff"}),r.createElement("rect",{x:136.936,y:86.156,width:71.381,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:149.043,y:91.892,width:47.8,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:137.826,y:101.452,width:68.831,height:12.746,rx:6.373,fill:"#6FD3D3"})),r.createElement("path",{d:"M172.661 81.19c9.409 0 16.977-7.812 16.977-17.377 0-9.564-7.568-17.377-16.977-17.377-9.408 0-16.977 7.813-16.977 17.377 0 9.565 7.569 17.378 16.977 17.378z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:2.725}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M172.728 57.666a4.675 4.675 0 00-.166-.04v-.429c0-.255-.1-.469-.301-.642a.97.97 0 00-.702-.275c-.279 0-.519.092-.72.275a.837.837 0 00-.284.642v.428c-.892.204-1.617.637-2.175 1.3a3.357 3.357 0 00-.837 2.247v4.28h-1.338v1.223h10.707v-1.223h-1.338v-3.638a3.187 3.187 0 01-2.846-4.148zm-1.169 10.844c-.368 0-.686-.118-.954-.352a1.166 1.166 0 01-.385-.871h2.677c0 .336-.134.626-.402.871a1.336 1.336 0 01-.936.352zM179.032 57.996h-4.462V56.72h4.462v1.275z",fill:"#fff"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M176.077 59.59v-4.462h1.275v4.461h-1.275z",fill:"#fff"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup-mobile_svg__filter0_d_545_3220",x:23.195,y:9.889,width:307.373,height:192.473,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:2.549}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_3220"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_3220",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup-mobile_svg__filter1_d_545_3220",x:95.803,y:58.901,width:154.394,height:83.394,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:5.099}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_3220"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_3220",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-setup-mobile_svg__clip0_545_3220"},r.createElement("path",{fill:"#fff",d:"M0 0h343v140H0z"})));t.a=function SvgReaderRevenueManagerSetupMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 140",fill:"none"},e),a,o)}},305:function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n(2),s=n(3),u=n(7),d=n(9),f=n(165),g=n(18),m=n(116),p=n(46),h=n(19),b=n(8),v=n(306);t.a=Object(v.a)({allNonViewOnly:!0})((function GA4AdSenseLinkedNotification(){var t=Object(p.c)(),n=Object(s.useSelect)((function(e){return t?e(g.a).isModuleConnected("adsense"):null})),r=Object(s.useSelect)((function(e){return t?e(g.a).isModuleConnected("analytics-4"):null})),a=Object(s.useSelect)((function(e){return t?e(d.p).getAdSenseLinked():null})),v=n&&r&&a,_=Object(s.useSelect)((function(e){return t?e(u.a).isItemDismissed("ga4_adsense_linked_notification"):null})),E=Object(s.useDispatch)(u.a).dismissItem,O=Object(s.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f})})),y=O.startDate,k=O.endDate,j=Object(h.a)(),S={startDate:y,endDate:k,dimensions:["pagePath"],metrics:[{name:"totalAdRevenue"}],orderby:[{metric:{metricName:"totalAdRevenue"},desc:!0}],limit:3},w=Object(s.useSelect)((function(e){return _||!v?null:e(d.p).getReport(S)})),N=Object(s.useSelect)((function(e){return e(d.p).hasFinishedResolution("getReport",[S])})),A=Object(c.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(b.J)("".concat(j,"_top-earning-pages-success-notification"),"confirm_notification"),e.next=3,E("ga4_adsense_linked_notification");case 3:case"end":return e.stop()}}),e)}))),[E,j]);Object(c.useEffect)((function(){t&&!1===_&&N&&!1===Object(f.d)(w)&&v&&A()}),[w,_,N,v,A,t]);var C=t&&!_&&N&&Object(f.d)(w)&&v;return Object(c.useEffect)((function(){C&&Object(b.J)("".concat(j,"_top-earning-pages-success-notification"),"view_notification")}),[C,j]),C?e.createElement(m.a,{title:Object(l.__)("Your AdSense and Analytics accounts are linked.","google-site-kit"),description:Object(l.__)("We’ll let you know as soon as there’s enough data available.","google-site-kit"),onDismiss:A}):null}))}).call(this,n(4))},306:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(10),i=n.n(r),a=n(19),o=n(33);function c(t){var n=t.allViewOnly,r=t.allNonViewOnly,c=t.includeList,l=t.excludeList;return function(t){return function WhenInViewContext(s){var u=Object(o.a)(),d=Object(a.a)();return i()(!(n&&r),"Cannot allow both `allViewOnly` and `allNonViewOnly` contexts; if all contexts are allowed, remove this `whenInViewContext` wrapper."),i()(!(c&&l),"Do not use both an include and exclude lists for `whenInViewContext`"),n&&!u||r&&u||c&&!c.includes(d)||l&&l.includes(d)?null:e.createElement(t,s)}}}}).call(this,n(4))},307:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n(3),s=n(14),u=n(19),d=n(39),f=n(8),g=function(){var e=Object(u.a)(),t=Object(l.useSelect)((function(e){return e(s.c).isUsingProxy()})),n=Object(l.useSelect)((function(e){return e(s.c).getSetupErrorMessage()}));Object(c.useEffect)((function(){n||void 0===t||function(){var n=o()(i.a.mark((function n(){var r,a;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(d.d)("start_user_setup");case 2:return r=n.sent,n.next=5,Object(d.d)("start_site_setup");case 5:if(a=n.sent,!r.cacheHit){n.next=10;break}return n.next=9,Object(d.c)("start_user_setup");case 9:Object(f.J)("".concat(e,"_setup"),"complete_user_setup",t?"proxy":"custom-oauth");case 10:if(!a.cacheHit){n.next=14;break}return n.next=13,Object(d.c)("start_site_setup");case 13:Object(f.J)("".concat(e,"_setup"),"complete_site_setup",t?"proxy":"custom-oauth");case 14:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}()()}),[e,t,n])}},308:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},317:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 6.414L1.415 5l5.292 5.292-1.414 1.415z"}),r.createElement("path",{d:"M14.146.146l1.415 1.414L5.414 11.707 4 10.292z"}));t.a=function SvgConnected(e){return r.createElement("svg",i({viewBox:"0 0 16 12"},e),a)}},318:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 0h2v7H0zM0 10h2v2H0z"}));t.a=function SvgExclamation(e){return r.createElement("svg",i({viewBox:"0 0 2 12"},e),a)}},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},327:function(e,t,n){"use strict";(function(e){var r=n(48),i=n.n(r),a=n(49),o=n.n(a),c=n(68),l=n.n(c),s=n(69),u=n.n(s),d=n(47),f=n.n(d),g=n(1),m=n.n(g),p=n(0),h=n(16),b=n(20);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var i=f()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u()(this,n)}}var _=function(t){l()(LayoutHeader,t);var n=v(LayoutHeader);function LayoutHeader(){return i()(this,LayoutHeader),n.apply(this,arguments)}return o()(LayoutHeader,[{key:"render",value:function(){var t=this.props,n=t.title,r=t.badge,i=t.ctaLabel,a=t.ctaLink,o=a?{alignMiddle:!0,smSize:4,lgSize:6}:{alignMiddle:!0,smSize:4,mdSize:8,lgSize:12};return e.createElement("header",{className:"googlesitekit-layout__header"},e.createElement(h.e,null,e.createElement(h.k,null,n&&e.createElement(h.a,o,e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n,r)),a&&e.createElement(h.a,{alignMiddle:!0,mdAlignRight:!0,smSize:4,lgSize:6},e.createElement(b.a,{href:a,external:!0},i)))))}}]),LayoutHeader}(p.Component);_.propTypes={title:m.a.string,badge:m.a.node,ctaLabel:m.a.string,ctaLink:m.a.string},_.defaultProps={title:"",badge:null,ctaLabel:"",ctaLink:""},t.a=_}).call(this,n(4))},328:function(e,t,n){"use strict";(function(e){var r=n(48),i=n.n(r),a=n(49),o=n.n(a),c=n(68),l=n.n(c),s=n(69),u=n.n(s),d=n(47),f=n.n(d),g=n(1),m=n.n(g),p=n(0),h=n(16),b=n(129);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var i=f()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u()(this,n)}}var _=function(t){l()(LayoutFooter,t);var n=v(LayoutFooter);function LayoutFooter(){return i()(this,LayoutFooter),n.apply(this,arguments)}return o()(LayoutFooter,[{key:"render",value:function(){var t=this.props,n=t.ctaLabel,r=t.ctaLink,i=t.footerContent;return e.createElement("footer",{className:"googlesitekit-layout__footer"},e.createElement(h.e,null,e.createElement(h.k,null,e.createElement(h.a,{size:12},r&&n&&e.createElement(b.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),i))))}}]),LayoutFooter}(p.Component);_.propTypes={ctaLabel:m.a.string,ctaLink:m.a.string},t.a=_}).call(this,n(4))},33:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(25),i=n(19);function a(){var e=Object(i.a)();return r.g.includes(e)}},331:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountSiteUI}));var r=n(1),i=n.n(r),a=n(0),o=n(3),c=n(11),l=n(32),s=n(150),u=n(380),d=n(28);function SetupAccountSiteUI(t){var n=t.heading,r=t.description,i=t.primaryButton,f=t.secondaryButton,g=Object(o.useSelect)((function(e){return e(d.m).isDoingSubmitChanges()||e(l.a).isNavigating()}));return e.createElement(a.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},n),e.createElement(s.d,null),e.createElement("p",null,r),e.createElement(u.a,null),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(c.SpinnerButton,{onClick:i.onClick,href:i.href,disabled:g,isSaving:g},i.label),f&&e.createElement("div",{className:"googlesitekit-setup-module__sub-action"},e.createElement(c.Button,{tertiary:!0,onClick:f.onClick},f.label))))}SetupAccountSiteUI.propTypes={heading:i.a.string.isRequired,description:i.a.string.isRequired,primaryButton:i.a.shape({label:i.a.string,href:i.a.string,onClick:i.a.func}).isRequired,secondaryButton:i.a.shape({label:i.a.string,onClick:i.a.func})}}).call(this,n(4))},34:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"f",(function(){return l})),n.d(t,"h",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"i",(function(){return d}));var r="modules/tagmanager",i="account_create",a="container_create",o="web",c="amp",l="tagmanagerSetup",s="https://www.googleapis.com/auth/tagmanager.readonly",u="https://www.googleapis.com/auth/tagmanager.edit.containers",d="SETUP_WITH_ANALYTICS"},35:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return _}));var r=n(99),i=e._googlesitekitTrackingData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,l=i.trackingEnabled,s=i.trackingID,u=i.referenceSiteURL,d=i.userIDHash,f=i.isAuthenticated,g={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:i.userRoles,isAuthenticated:f,pluginVersion:"1.134.0"},m=Object(r.a)(g),p=m.enableTracking,h=m.disableTracking,b=(m.isTrackingEnabled,m.initializeSnippet),v=m.trackEvent,_=m.trackEventOnce;function E(e){e?p():h()}c&&l&&b()}).call(this,n(26))},356:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n(466);function i(e){if(Object(r.b)(e))return e.match(/pub-\d+$/)[0]}function a(e){if(Object(r.a)(e))return e.match(/pub-\d+$/)[0]}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},362:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarningMessage}));var r=n(1),i=n.n(r),a=n(2),o=n(38),c=n(20),l=n(234),s=n(363);function AdBlockerWarningMessage(t){var n=t.className,r=void 0===n?"":n,i=t.getHelpLink,u=void 0===i?"":i,d=t.warningMessage,f=void 0===d?null:d;return f?e.createElement(l.a,{className:r},Object(o.a)(Object(a.sprintf)(
/* translators: 1: The warning message. 2: "Get help" text. */
Object(a.__)("%1$s. <Link>%2$s</Link>","google-site-kit"),f,Object(a.__)("Get help","google-site-kit")),{Link:e.createElement(c.a,{href:u,external:!0,hideExternalIndicator:!0,trailingIcon:e.createElement(s.a,{width:15,height:15})})})):null}AdBlockerWarningMessage.propTypes={className:i.a.string,getHelpLink:i.a.string,warningMessage:i.a.string}}).call(this,n(4))},363:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M4.5 1.5H3a2 2 0 00-2 2v7a2 2 0 002 2h7a2 2 0 002-2V9M7 1.5h5v5M5 8.5L11.5 2",stroke:"currentColor",strokeWidth:1.5});t.a=function SvgExternalRounded(e){return r.createElement("svg",i({viewBox:"0 0 13 14",fill:"none"},e),a)}},367:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var r=n(13),i=n.n(r),a=n(1),o=n.n(a),c=n(16),l=n(317),s=n(318),u=n(80);function PageHeader(t){var n=t.title,r=t.icon,a=t.className,o=t.status,d=t.statusText,f=t.fullWidth,g=t.children,m=f?{size:12}:{smSize:4,mdSize:4,lgSize:6},p=""!==o||Boolean(g);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement(c.k,null,n&&e.createElement(c.a,m,r,e.createElement("h1",{className:i()("googlesitekit-page-header__title",a)},n)),p&&e.createElement(c.a,{alignBottom:!0,mdAlignRight:!0,smSize:4,mdSize:4,lgSize:6},e.createElement("div",{className:"googlesitekit-page-header__details"},o&&e.createElement("span",{className:i()("googlesitekit-page-header__status","googlesitekit-page-header__status--".concat(o))},d,e.createElement(u.a,null,"connected"===o?e.createElement(l.a,{width:10,height:8}):e.createElement(s.a,{width:2,height:12}))),g))))}PageHeader.propTypes={title:o.a.string,icon:o.a.node,className:o.a.string,status:o.a.string,statusText:o.a.string,fullWidth:o.a.bool},PageHeader.defaultProps={title:"",icon:null,className:"googlesitekit-heading-3",status:"",statusText:"",fullWidth:!1}}).call(this,n(4))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d}));n(12);var r=n(2),i="missing_required_scopes",a="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===i}function l(e){var t;return[a,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function s(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||l(e)||c(e)||s(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},377:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return f})),n.d(t,"d",(function(){return g})),n.d(t,"c",(function(){return AutoAdExclusionSwitches}));var r,i=n(6),a=n.n(i),o=n(0),c=n(2),l=n(3),s=n(11),u=n(28),d="loggedinUsers",f="contentCreators",g=(r={},a()(r,d,Object(c.__)("All logged-in users","google-site-kit")),a()(r,f,Object(c.__)("Users who can write posts","google-site-kit")),r);function AutoAdExclusionSwitches(){var t,n=Object(l.useSelect)((function(e){return e(u.m).getAutoAdsDisabled()})),r=Object(l.useDispatch)(u.m).setAutoAdsDisabled;t=n&&n.includes(d)?Object(c.__)("Ads will not be displayed for all logged-in users","google-site-kit"):n&&n.includes(f)?Object(c.__)("Ads will not be displayed for users that can write posts","google-site-kit"):Object(c.__)("Ads will be displayed for all users","google-site-kit");var i=Object(o.useCallback)((function(e,t){var i=t?n.concat(e):n.filter((function(t){return t!==e}));r(i)}),[n,r]),a=Object(o.useCallback)((function(e){var t=e.target.checked;i(f,t)}),[i]),m=Object(o.useCallback)((function(e){var t=e.target.checked;i(d,t)}),[i]);return Array.isArray(n)?e.createElement("fieldset",{className:"googlesitekit-analytics-auto-ads-disabled"},e.createElement("legend",{className:"googlesitekit-setup-module__text"},Object(c.__)("Exclude from Ads","google-site-kit")),e.createElement("div",{className:"googlesitekit-settings-module__inline-items"},e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(s.Switch,{label:g[d],checked:n.includes(d),onClick:m,hideLabel:!1})),!n.includes(d)&&e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(s.Switch,{label:g[f],checked:n.includes(f),onClick:a,hideLabel:!1}))),e.createElement("p",null,t)):null}}).call(this,n(4))},380:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupUseSnippetSwitch}));var r=n(0),i=n(2),a=n(3),o=n(28),c=n(356),l=n(150);function SetupUseSnippetSwitch(){var t,n,s=Object(a.useSelect)((function(e){return e(o.m).getOriginalUseSnippet()})),u=Object(a.useSelect)((function(e){return e(o.m).getExistingTag()})),d=Object(a.useSelect)((function(e){return e(o.m).getClientID()})),f=Object(a.useDispatch)(o.m),g=f.setUseSnippet,m=f.saveSettings,p=Boolean(u);if(Object(r.useEffect)((function(){p&&(g(!1),m())}),[p,m,g]),s&&!u||void 0===u||void 0===s)return null;var h=Object(i.__)("Make sure to remove the existing AdSense code to avoid conflicts with the code placed by Site Kit","google-site-kit");return u===d?(n=Object(i.__)("You’ve already got an AdSense code on your site for this account. We recommend you use Site Kit to place the code to get the most out of AdSense.","google-site-kit"),t="".concat(n," ").concat(h)):u?(n=Object(i.sprintf)(
/* translators: 1: existing account ID, 2: current account ID */
Object(i.__)("Site Kit detected AdSense code for a different account %1$s on your site. In order to configure AdSense for your current account %2$s, we recommend you use Site Kit to place the code instead.","google-site-kit"),Object(c.a)(u),Object(c.a)(d)),t="".concat(n," ").concat(h)):t=h,e.createElement(l.e,{checkedMessage:t,uncheckedMessage:n,saveOnChange:!0})}}).call(this,n(4))},39:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return v})),n.d(t,"f",(function(){return _})),n.d(t,"c",(function(){return E})),n.d(t,"e",(function(){return O})),n.d(t,"b",(function(){return y}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=(n(27),n(8));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u,d="googlesitekit_",f="".concat(d).concat("1.134.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),g=["sessionStorage","localStorage"],m=[].concat(g),p=function(){var t=o()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,a="__storage_test__",r.setItem(a,a),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function h(){return b.apply(this,arguments)}function b(){return(b=o()(i.a.mark((function t(){var n,r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(m),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(a=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,p(a);case 11:if(!t.sent){t.next=13;break}u=e[a];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(i.a.mark((function e(t){var n,r,a,o,c,l,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(f).concat(t)))){e.next=10;break}if(a=JSON.parse(r),o=a.timestamp,c=a.ttl,l=a.value,s=a.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_=function(){var t=o()(i.a.mark((function t(n,r){var a,o,l,s,u,d,g,m,p=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=p.length>2&&void 0!==p[2]?p[2]:{},o=a.ttl,l=void 0===o?c.b:o,s=a.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,d=a.isError,g=void 0!==d&&d,t.next=3,h();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(f).concat(n),JSON.stringify({timestamp:u,ttl:l,value:r,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),E=function(){var t=o()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h();case 2:if(!(r=t.sent)){t.next=14;break}return t.prev=4,a=n.startsWith(d)?n:"".concat(f).concat(n),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),O=function(){var t=o()(i.a.mark((function t(){var n,r,a,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],a=0;a<n.length;a++)0===(o=n.key(a)).indexOf(d)&&r.push(o);return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),y=function(){var e=o()(i.a.mark((function e(){var t,n,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:if(!e.sent){e.next=25;break}return e.next=6,O();case 6:t=e.sent,n=l(t),e.prev=8,n.s();case 10:if((r=n.n()).done){e.next=16;break}return a=r.value,e.next=14,E(a);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"i",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"g",(function(){return d}));var r="non_https_site",i="modules/reader-revenue-manager",a="reader-revenue-manager",o={ONBOARDING_COMPLETE:"ONBOARDING_COMPLETE",ONBOARDING_ACTION_REQUIRED:"ONBOARDING_ACTION_REQUIRED",PENDING_VERIFICATION:"PENDING_VERIFICATION",UNSPECIFIED:"ONBOARDING_STATE_UNSPECIFIED"},c="READER_REVENUE_MANAGER_SHOW_PUBLICATION_APPROVED_NOTIFICATION",l="rrm_module_setup_banner_dismissed_key",s="readerRevenueManagerSetupForm",u="showPublicationCreate",d="resetPublications"},42:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r={BOXES:"boxes",COMPOSITE:"composite"},i={QUARTER:"quarter",HALF:"half",FULL:"full"},a="core/widgets"},434:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M107.91 41.72c7.73-13.22 3.14-30.12-10.24-37.75C84.29-3.66 67.18.87 59.45 14.09c-.35.59-.66 1.2-.96 1.81l-26.1 44.66a27.172 27.172 0 00-1.6 2.75L3.67 110.1l48.45 27.16 26.98-46.4c.29-.44.57-.89.84-1.35.27-.46.52-.93.76-1.39l26.11-44.67c.38-.57.76-1.14 1.1-1.73z",fill:"#FBBC04"}),r.createElement("path",{d:"M52.34 137.11c-7.68 13.43-25 18.38-38.31 10.62-13.31-7.76-18.02-24.57-10.34-38s24.86-18.39 38.16-10.64c13.3 7.75 18.18 24.59 10.49 38.02z",fill:"#34A853"}),r.createElement("path",{d:"M158.79 51.86c-13.23-7.62-30.15-3.1-37.79 10.1l-27.66 47.8c-7.64 13.2-3.11 30.08 10.13 37.7 13.23 7.62 30.15 3.1 37.79-10.1l27.66-47.8c7.63-13.2 3.1-30.08-10.13-37.7z",fill:"#4285F4"}));t.a=function SvgAdsense(e){return r.createElement("svg",i({viewBox:"0 0 173 152"},e),a)}},44:function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(1),o=n.n(a),c=n(13),l=n.n(c),s=n(24);function PreviewBlock(t){var n,r,a=t.className,o=t.width,c=t.height,u=t.shape,d=t.padding,f=t.smallWidth,g=t.smallHeight,m=t.tabletWidth,p=t.tabletHeight,h=t.desktopWidth,b=t.desktopHeight,v=Object(s.e)(),_={width:(n={},i()(n,s.b,f),i()(n,s.c,m),i()(n,s.a,h),i()(n,s.d,h),n),height:(r={},i()(r,s.b,g),i()(r,s.c,p),i()(r,s.a,b),i()(r,s.d,h),r)};return e.createElement("div",{className:l()("googlesitekit-preview-block",a,{"googlesitekit-preview-block--padding":d}),style:{width:_.width[v]||o,height:_.height[v]||c}},e.createElement("div",{className:l()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},457:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccount}));var r=n(1),i=n.n(r),a=n(0),o=n(3),c=n(11),l=n(28),s=n(122),u=n(458),d=n(459),f=n(460),g=n(461);function SetupAccount(t){var n=t.account,r=t.finishSetup,i=n._id,m=n.state,p=Object(o.useSelect)((function(e){return e(l.m).getClientID()})),h=Object(o.useSelect)((function(e){return e(l.m).getCurrentSite(i)})),b=Object(o.useSelect)((function(e){return e(l.m).getAFCClient(i)})),v=Object(o.useDispatch)(l.m),_=v.setClientID,E=v.setAccountStatus,O=v.setSiteStatus;return Object(a.useEffect)((function(){(null==b?void 0:b._id)&&p!==b._id?_(b._id):null===b&&p&&_("")}),[b,p,_]),Object(a.useEffect)((function(){null===h&&O(s.o)}),[O,h]),Object(a.useEffect)((function(){void 0!==h&&(p?m===l.f?E(s.g):(null==b?void 0:b.state)===l.h?E(s.c):(null==b?void 0:b.state)===l.e?E(s.b):E(s.k):E(s.i))}),[m,b,p,E,h]),void 0===h?e.createElement(c.ProgressBar,null):p?null===h?e.createElement(f.a,null):m===l.f||(null==b?void 0:b.state)===l.h||(null==b?void 0:b.state)===l.e?e.createElement(g.a,null):e.createElement(u.a,{site:h,finishSetup:r}):e.createElement(d.a,null)}SetupAccount.propTypes={account:i.a.shape({_id:i.a.string,state:i.a.string}),finishSetup:i.a.func}}).call(this,n(4))},458:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountSite}));var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(3),l=n(28),s=n(122),u=n(624),d=n(625),f=n(626),g=n(627),m=n(71);function SetupAccountSite(t){var n=t.site,r=t.finishSetup,i=n.autoAdsEnabled,p=n.state,h=Object(c.useDispatch)(l.m).setSiteStatus;switch(Object(a.useEffect)((function(){var e;switch(p){case l.f:e=s.n;break;case l.h:e=s.r;break;case l.e:e=s.m;break;case l.g:e=i?s.p:s.q}e&&h(e)}),[i,h,p]),p){case l.f:return e.createElement(u.a,null);case l.h:return e.createElement(f.a,null);case l.e:return e.createElement(d.a,null);case l.g:return e.createElement(g.a,{site:n,finishSetup:r});default:return e.createElement(m.a,{message:Object(o.sprintf)(
/* translators: %s: invalid site state identifier */
Object(o.__)("Invalid site state %s","google-site-kit"),p)})}}SetupAccountSite.propTypes={site:i.a.shape({autoAdsEnabled:i.a.bool,state:i.a.string}).isRequired,finishSetup:i.a.func}}).call(this,n(4))},459:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountNoClient}));var r=n(0),i=n(38),a=n(2),o=n(11),c=n(178),l=n(150),s=n(8),u=n(19);function SetupAccountNoClient(){var t=Object(u.a)(),n=Object(r.useCallback)((function(){Object(s.J)("".concat(t,"_adsense"),"apply_afc")}),[t]);return e.createElement(r.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(a.__)("Looks like you need to upgrade your AdSense account","google-site-kit")),e.createElement(l.d,null),e.createElement("p",null,Object(i.a)(Object(a.__)("To start using AdSense on your website, you need to upgrade your account to add “AdSense for content”. <a>Learn more</a>","google-site-kit"),{a:e.createElement(c.a,{path:"/adsense/answer/6023158",external:!0,"aria-label":Object(a.__)("Learn more about updating your AdSense account","google-site-kit")})})),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(o.Button,{href:"https://www.google.com/adsense",target:"_blank","aria-label":Object(a.__)("Learn more about updating your AdSense account","google-site-kit"),onClick:n},Object(a.__)("Apply now","google-site-kit"))))}}).call(this,n(4))},46:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(25),i=n(19),a=r.n,o=r.l;function c(){var e=Object(i.a)();return e===r.n||e===r.o?a:e===r.l||e===r.m?o:null}},460:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return SetupAccountCreateSite}));var i=n(0),a=n(2),o=n(3),c=n(11),l=n(28),s=n(150),u=n(8),d=n(19);function SetupAccountCreateSite(){var t=Object(d.a)(),n=Object(o.useSelect)((function(e){return e(l.m).getServiceAccountManageSiteURL()})),f=Object(i.useCallback)((function(r){r.preventDefault(),Object(u.J)("".concat(t,"_adsense"),"create_site"),e.open(n,"_blank")}),[n,t]);return r.createElement(i.Fragment,null,r.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(a.__)("Add this site to your AdSense account","google-site-kit")),r.createElement(s.d,null),r.createElement("p",null,Object(a.__)("We’ve detected that you haven’t added this site to your AdSense account yet","google-site-kit")),r.createElement("div",{className:"googlesitekit-setup-module__action"},r.createElement(c.Button,{onClick:f,href:n},Object(a.__)("Add site to AdSense","google-site-kit"))))}}).call(this,n(26),n(4))},461:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountPendingTasks}));var r=n(0),i=n(2),a=n(3),o=n(11),c=n(380),l=n(28),s=n(150),u=n(8),d=n(19);function SetupAccountPendingTasks(){var t=Object(d.a)(),n=Object(r.useCallback)((function(){Object(u.J)("".concat(t,"_adsense"),"review_tasks")}),[t]),f=Object(a.useSelect)((function(e){return e(l.m).getServiceAccountURL()}));return e.createElement(r.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(i.__)("Your account isn’t ready to show ads yet","google-site-kit")),e.createElement(s.d,null),e.createElement("p",null,Object(i.__)("You need to fix some things before we can connect Site Kit to your AdSense account","google-site-kit")),e.createElement(c.a,null),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(o.Button,{onClick:n,href:f},Object(i.__)("Review AdSense account","google-site-kit"))))}}).call(this,n(4))},462:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return SetupCreateAccount}));var i=n(5),a=n.n(i),o=n(17),c=n.n(o),l=n(0),s=n(38),u=n(2),d=n(3),f=n(11),g=n(178),m=n(8),p=n(356),h=n(28),b=n(7),v=n(150),_=n(19);function SetupCreateAccount(){var t=Object(_.a)(),n="".concat(t,"_adsense"),i=Object(d.useSelect)((function(e){return e(b.a).getEmail()})),o=Object(d.useSelect)((function(e){return e(h.m).getExistingTag()})),E=Object(d.useSelect)((function(e){return e(h.m).getServiceCreateAccountURL()})),O=Object(l.useCallback)(function(){var t=c()(a.a.mark((function t(r){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.preventDefault(),t.next=3,Object(m.J)(n,"create_account");case 3:e.open(E,"_blank");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[E,n]);return r.createElement(l.Fragment,null,r.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(u.__)("Create your AdSense account","google-site-kit")),r.createElement(v.d,null),r.createElement("p",null,Object(u.__)("Once you create your account, Site Kit will place AdSense code on every page across your site. This means your site will be automatically optimized to help you earn money from your content.","google-site-kit")),r.createElement(v.f,null),r.createElement("div",{className:"googlesitekit-setup-module__action"},r.createElement(f.Button,{onClick:O,href:E},Object(u.__)("Create AdSense account","google-site-kit"))),r.createElement("p",{className:"googlesitekit-setup-module__footer-text"},o&&Object(u.sprintf)(
/* translators: 1: client ID, 2: user email address, 3: account ID */
Object(u.__)("Site Kit detected AdSense code %1$s on your page. We recommend you remove that code or add %2$s as a user to the AdSense account %3$s.","google-site-kit"),o,i,Object(p.a)(o)),!o&&Object(s.a)(Object(u.sprintf)(
/* translators: %s: user email address */
Object(u.__)("Already use AdSense? Add %s as a user to an existing AdSense account. <a>Learn more</a>","google-site-kit"),i),{a:r.createElement(g.a,{path:"/adsense/answer/2659101",external:!0,"aria-label":Object(u.__)("Learn more about adding a user to an existing AdSense account","google-site-kit")})})))}}).call(this,n(26),n(4))},463:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupSelectAccount}));var r=n(0),i=n(2),a=n(150);function SetupSelectAccount(){return e.createElement(r.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(i.__)("Select your AdSense account","google-site-kit")),e.createElement(a.d,null),e.createElement("p",null,Object(i.__)("Looks like you have multiple AdSense accounts associated with your Google account. Select the account to use with Site Kit below.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(a.a,null)))}}).call(this,n(4))},466:function(e,t,n){"use strict";function r(e){return"string"==typeof e&&/^pub-\d+$/.test(e)}function i(e){return"string"==typeof e&&/^ca-pub-\d+$/.test(e)}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}))},50:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return BannerNotification}));var r=n(21),i=n.n(r),a=n(6),o=n.n(a),c=n(5),l=n.n(c),s=n(17),u=n.n(s),d=n(15),f=n.n(d),g=n(1),m=n.n(g),p=n(13),h=n.n(p),b=n(238),v=n(244),_=n(92),E=n(91),O=n(0),y=n(108),k=n(3),j=n(16),S=n(89),w=n(39),N=n(24),A=n(191),C=n(192),x=n(193),T=n(203),R=n(205),D=n(75),L=n(112),M=n(130),I=n(32),P=n(206);function BannerNotification(t){var n,r=t.badgeLabel,a=t.children,c=t.className,s=void 0===c?"":c,d=t.ctaLabel,g=t.ctaLink,m=t.ctaTarget,p=t.description,B=t.dismiss,F=t.dismissExpires,z=void 0===F?0:F,U=t.format,H=void 0===U?"":U,W=t.id,V=t.isDismissible,G=void 0===V||V,q=t.learnMoreDescription,K=t.learnMoreLabel,J=t.learnMoreURL,Y=t.learnMoreTarget,$=void 0===Y?D.a.EXTERNAL:Y,X=t.logo,Z=t.module,Q=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,re=t.onLearnMoreClick,ie=t.showOnce,ae=void 0!==ie&&ie,oe=t.SmallImageSVG,ce=t.title,le=t.type,se=t.WinImageSVG,ue=t.showSmallWinImage,de=void 0===ue||ue,fe=t.smallWinImageSVGWidth,ge=void 0===fe?75:fe,me=t.smallWinImageSVGHeight,pe=void 0===me?75:me,he=t.mediumWinImageSVGWidth,be=void 0===he?105:he,ve=t.mediumWinImageSVGHeight,_e=void 0===ve?105:ve,Ee=t.rounded,Oe=void 0!==Ee&&Ee,ye=t.footer,ke=t.secondaryPane,je=t.ctaComponent,Se=Object(O.useState)(!1),we=f()(Se,2),Ne=we[0],Ae=we[1],Ce=Object(O.useState)(!1),xe=f()(Ce,2),Te=xe[0],Re=xe[1],De="notification::dismissed::".concat(W),Le=function(){return Object(w.f)(De,new Date,{ttl:null})},Me=Object(E.a)(),Ie=Object(N.e)(),Pe=Object(b.a)(),Be=Object(O.useState)(!1),Fe=f()(Be,2),ze=Fe[0],Ue=Fe[1],He=Object(O.useRef)(),We=Object(v.a)(He,{rootMargin:"".concat(-Object(M.a)(Object(S.c)(Ie)),"px 0px 0px 0px"),threshold:0});Object(O.useEffect)((function(){!ze&&(null==We?void 0:We.isIntersecting)&&("function"==typeof te&&te(),Ue(!0))}),[W,te,ze,We]);var Ve=Me>=600;Object(_.a)(u()(l.a.mark((function e(){var t,n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(z>0)){e.next=3;break}return e.next=3,Xe();case 3:if(!G){e.next=9;break}return e.next=6,Object(w.d)(De);case 6:t=e.sent,n=t.cacheHit,Re(n);case 9:if(!ae){e.next=12;break}return e.next=12,Le();case 12:case"end":return e.stop()}}),e)}))));var Ge=function(){var e=u()(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!ne){e.next=5;break}return e.next=5,ne(t);case 5:Ke();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qe=Object(y.a)(g)&&"_blank"!==m,Ke=function(){return qe||Ae(!0),new Promise((function(e){setTimeout(u()(l.a.mark((function t(){var n;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Le();case 2:Pe()&&Re(!0),n=new Event("notificationDismissed"),document.dispatchEvent(n),e();case 6:case"end":return t.stop()}}),t)}))),350)}))},Je=Object(k.useSelect)((function(e){return!!g&&e(I.a).isNavigatingTo(g)})),Ye=Object(k.useDispatch)(I.a).navigateTo,$e=function(){var e=u()(l.a.mark((function e(t){var n,r,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),qe&&!t.defaultPrevented&&t.preventDefault(),n=!0,!ee){e.next=12;break}return e.next=6,ee(t);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0={};case 9:r=e.t0,i=r.dismissOnCTAClick,n=void 0===i||i;case 12:if(!G||!n){e.next=15;break}return e.next=15,Ke();case 15:qe&&Ye(g);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Xe=function(){var e=u()(l.a.mark((function e(){var t,n,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(w.d)(De);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(z,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(w.c)(De);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(!Je&&G&&(void 0===Te||Te))return null;var Ze=!Je&&Ne?"is-closed":"is-open",Qe=Object(L.d)(H),et=Object(L.c)(H),tt=Object(L.a)(H),nt=Object(L.b)({format:H,hasErrorOrWarning:"win-error"===le||"win-warning"===le,hasSmallImageSVG:!!oe,hasWinImageSVG:!!se});return e.createElement(A.a,{id:W,className:h()(s,(n={},o()(n,"googlesitekit-publisher-win--".concat(H),H),o()(n,"googlesitekit-publisher-win--".concat(le),le),o()(n,"googlesitekit-publisher-win--".concat(Ze),Ze),o()(n,"googlesitekit-publisher-win--rounded",Oe),n)),secondaryPane:ke,ref:He},X&&e.createElement(R.a,{module:Z,moduleName:Q}),oe&&e.createElement(j.a,{size:1,className:"googlesitekit-publisher-win__small-media"},e.createElement(oe,null)),e.createElement(j.a,i()({},nt,tt,{className:"googlesitekit-publisher-win__content"}),e.createElement(C.a,{title:ce,badgeLabel:r,smallWinImageSVGHeight:pe,smallWinImageSVGWidth:ge,winImageFormat:H,WinImageSVG:!Ve&&de?se:void 0}),e.createElement(P.a,{description:p,learnMoreURL:J,learnMoreLabel:K,learnMoreTarget:$,learnMoreDescription:q,onLearnMoreClick:re}),a,e.createElement(x.a,{ctaLink:g,ctaLabel:d,ctaComponent:je,ctaTarget:m,ctaCallback:$e,dismissLabel:G?B:void 0,dismissCallback:Ge}),ye&&e.createElement("div",{className:"googlesitekit-publisher-win__footer"},ye)),se&&(Ve||!de)&&e.createElement(j.a,i()({},Qe,et,{alignBottom:"larger"===H,className:"googlesitekit-publisher-win__image"}),e.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(H)},e.createElement(se,{style:{maxWidth:be,maxHeight:_e}}))),e.createElement(T.a,{type:le}))}n.d(t,"a",(function(){return D.a})),BannerNotification.propTypes={id:m.a.string.isRequired,className:m.a.string,title:m.a.string.isRequired,description:m.a.node,learnMoreURL:m.a.string,learnMoreDescription:m.a.string,learnMoreLabel:m.a.string,learnMoreTarget:m.a.oneOf(Object.values(D.a)),WinImageSVG:m.a.elementType,SmallImageSVG:m.a.elementType,format:m.a.string,ctaLink:m.a.string,ctaLabel:m.a.string,type:m.a.string,dismiss:m.a.string,isDismissible:m.a.bool,logo:m.a.bool,module:m.a.string,moduleName:m.a.string,dismissExpires:m.a.number,showOnce:m.a.bool,onCTAClick:m.a.func,onView:m.a.func,onDismiss:m.a.func,onLearnMoreClick:m.a.func,badgeLabel:m.a.string,rounded:m.a.bool,footer:m.a.node,secondaryPane:m.a.node,showSmallWinImage:m.a.bool,smallWinImageSVGWidth:m.a.number,smallWinImageSVGHeight:m.a.number,mediumWinImageSVGWidth:m.a.number,mediumWinImageSVGHeight:m.a.number}}).call(this,n(4))},51:function(e,t,n){"use strict";(function(e){var r,i;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var a=new Set((null===(r=e)||void 0===r||null===(i=r._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,n(26))},527:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M1 3.838L4.106 7 10 1",stroke:"currentColor",strokeWidth:1.5});t.a=function SvgTick(e){return r.createElement("svg",i({viewBox:"0 0 11 9",fill:"none"},e),a)}},528:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(0);function i(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Object(r.useEffect)((function(){var r,i=!1,a=function(){r=e.setTimeout((function(){i=!0}),n)},o=function(){e.clearTimeout(r),i&&(i=!1,t())};return e.addEventListener("focus",o),e.addEventListener("blur",a),function(){e.removeEventListener("focus",o),e.removeEventListener("blur",a),e.clearTimeout(r)}}),[n,t])}}).call(this,n(26))},54:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(3),i=n(18),a=n(70);function o(t){var n=t.moduleName,o=t.FallbackComponent,c=t.IncompleteComponent;return function(t){function WhenActiveComponent(a){var l=Object(r.useSelect)((function(e){return e(i.a).getModule(n)}),[n]);if(!l)return null;var s=o||a.WidgetNull||null;if(!1===l.active)return s&&e.createElement(s,a);if(!1===l.connected){var u=c||s;return u&&e.createElement(u,a)}return e.createElement(t,a)}return WhenActiveComponent.displayName="When".concat(Object(a.c)(n),"Active"),(t.displayName||t.name)&&(WhenActiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenActiveComponent}}}).call(this,n(4))},552:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebStoriesAdUnitSelect}));var r=n(0),i=n(2),a=n(11),o=n(3),c=n(28);function WebStoriesAdUnitSelect(){var t=Object(o.useSelect)((function(e){return e(c.m).getAccountID()})),n=Object(o.useSelect)((function(e){return e(c.m).getClientID()})),l=Object(o.useSelect)((function(e){return e(c.m).getWebStoriesAdUnit()})),s=Object(o.useSelect)((function(e){return e(c.m).getAdUnits(t,n)})),u=Object(o.useSelect)((function(e){return e(c.m).hasFinishedResolution("getAdUnits",[t,n])})),d=Object(o.useDispatch)(c.m).setWebStoriesAdUnit,f=Object(r.useCallback)((function(e,t){var n=t.dataset.value;l!==n&&d(n)}),[l,d]);return u?e.createElement(a.Select,{className:"googlesitekit-adsense__select-field",label:Object(i.__)("Web Stories Ad Unit","google-site-kit"),value:l,onEnhancedChange:f,enhanced:!0,outlined:!0},e.createElement(a.Option,{value:""},Object(i.__)("Select ad unit","google-site-kit")),(s||[]).map((function(t){var n=t._id,r=t.displayName;return e.createElement(a.Option,{key:n,value:n},r)}))):e.createElement(a.ProgressBar,{small:!0})}}).call(this,n(4))},553:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdSenseConnectCTA}));var r=n(21),i=n.n(r),a=n(5),o=n.n(a),c=n(17),l=n.n(c),s=n(15),u=n.n(s),d=n(244),f=n(1),g=n.n(f),m=n(2),p=n(0),h=n(38),b=n(3),v=n(11),_=n(28),E=n(16),O=n(14),y=n(18),k=n(32),j=n(8),S=n(621),w=n(178),N=n(19);function AdSenseConnectCTA(t){var n=t.onDismissModule,r=Object(b.useDispatch)(k.a).navigateTo,a=Object(b.useDispatch)(y.a).activateModule,c=Object(b.useDispatch)(O.c).setInternalServerError,s=Object(N.a)(),f=Object(p.useRef)(),g=Object(p.useState)(!1),A=u()(g,2),C=A[0],x=A[1],T=Object(d.a)(f,{threshold:.25}),R=!!(null==T?void 0:T.intersectionRatio);Object(p.useEffect)((function(){R&&!C&&(Object(j.J)("".concat(s,"_adsense-cta-widget"),"widget_view"),x(!0))}),[R,s,C]);var D=Object(b.useSelect)((function(e){return e(_.m).getAdminReauthURL()})),L=Object(b.useSelect)((function(e){return e(y.a).isModuleActive("adsense")})),M=Object(b.useSelect)((function(e){return e(y.a).isModuleConnected("adsense")})),I=Object(b.useSelect)((function(e){return!!e(y.a).isFetchingSetModuleActivation("adsense",!0)||!!D&&e(k.a).isNavigatingTo(D)})),P=Object(p.useCallback)(l()(o.a.mark((function e(){var t,n,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a("adsense");case 2:if(t=e.sent,n=t.response,!(i=t.error)){e.next=8;break}return c({id:"setup-module-error",description:i.message}),e.abrupt("return",null);case 8:return e.next=10,Object(j.J)("".concat(s,"_adsense-cta-widget"),"activate_module","adsense");case 10:r(n.moduleReauthURL);case 11:case"end":return e.stop()}}),e)}))),[a,r,c,s]),B=Object(p.useCallback)((function(){return r(D)}),[D,r]),F=Object(p.useCallback)((function(){Object(j.J)("".concat(s,"_adsense-cta-widget"),"dismiss_widget"),n()}),[n,s]),z={smSize:4,mdSize:4,lgSize:6};return e.createElement("section",{ref:f,className:"googlesitekit-setup__wrapper googlesitekit-setup__wrapper--adsense-connect"},e.createElement(E.e,null,e.createElement(S.a,{hasBeenInView:C}),e.createElement(E.k,null,e.createElement(E.a,z,e.createElement("div",{className:"googlesitekit-setup-module__action"},!L&&e.createElement(v.SpinnerButton,{onClick:P,isSaving:I},Object(m.__)("Connect now","google-site-kit")),L&&!M&&e.createElement(v.SpinnerButton,{onClick:B,isSaving:I},Object(m.__)("Complete setup","google-site-kit")),e.createElement(v.Button,{tertiary:!0,onClick:F},Object(m.__)("Maybe later","google-site-kit")))),e.createElement(E.a,i()({},z,{className:"googlesitekit-setup-module__footer-text"}),e.createElement("p",null,Object(h.a)(Object(m.__)("AdSense accounts are <a>subject to review and approval</a> by the Google AdSense team","google-site-kit"),{a:e.createElement(w.a,{path:"/adsense/answer/9724",external:!0,hideExternalIndicator:!0})}))))))}AdSenseConnectCTA.propTypes={onDismissModule:g.a.func.isRequired}}).call(this,n(4))},558:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Step}));var r=n(1),i=n.n(r),a=n(257);function Step(t){var n=t.children,r=t.title,i=t.stepStatus;return e.createElement("div",{className:"googlesitekit-stepper__step-info"},e.createElement("h2",{className:"googlesitekit-stepper__step-title"},r),e.createElement("div",{className:"googlesitekit-stepper__step-content-container"},i===a.a.ACTIVE&&e.createElement("div",{className:"googlesitekit-stepper__step-content"},n)))}Step.propTypes={children:i.a.node.isRequired,title:i.a.string.isRequired,stepStatus:i.a.oneOf(Object.values(a.a))}}).call(this,n(4))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(36);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},601:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockingRecoveryApp}));var r=n(0),i=n(235),a=n(236),o=n(16),c=n(615);function AdBlockingRecoveryApp(){return e.createElement(r.Fragment,null,e.createElement(i.a,null,e.createElement(a.a,null)),e.createElement("div",{className:"googlesitekit-ad-blocking-recovery googlesitekit-module-page"},e.createElement(o.e,null,e.createElement(o.k,null,e.createElement(o.a,{size:12},e.createElement(c.a,null))))))}}).call(this,n(4))},602:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountSelect}));var r=n(0),i=n(2),a=n(11),o=n(3),c=n(8),l=n(28),s=n(19);function AccountSelect(){var t=Object(s.a)(),n="".concat(t,"_adsense"),u=Object(o.useSelect)((function(e){return e(l.m).getAccountID()})),d=Object(o.useSelect)((function(e){return e(l.m).getAccounts()})),f=Object(o.useSelect)((function(e){return e(l.m).hasFinishedResolution("getAccounts")})),g=Object(o.useDispatch)(l.m).setAccountID,m=Object(r.useCallback)((function(e,t){var r=t.dataset.value;u!==r&&(g(r),Object(c.J)(n,"change_account"))}),[u,n,g]);return f?e.createElement(a.Select,{className:"googlesitekit-adsense__select-account",label:Object(i.__)("Account","google-site-kit"),value:u,onEnhancedChange:m,enhanced:!0,outlined:!0},(d||[]).map((function(t,n){var r=t._id,i=t.displayName;return e.createElement(a.Option,{key:n,value:r},i)}))):e.createElement(a.ProgressBar,{small:!0})}}).call(this,n(4))},603:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdSenseLinkCTA}));var r=n(2),i=n(3),a=n(67),o=n(14);function AdSenseLinkCTA(t){var n=t.onClick,c=void 0===n?function(){}:n,l=Object(i.useSelect)((function(e){return e(o.c).getGoogleSupportURL({path:"/adsense/answer/6084409"})}));return e.createElement(a.a,{title:Object(r.__)("Link Analytics and AdSense","google-site-kit"),description:Object(r.__)("Get reports for your top earning pages by linking your Analytics and AdSense accounts","google-site-kit"),ctaLink:l,ctaLabel:Object(r.__)("Learn more","google-site-kit"),ctaLinkExternal:!0,onClick:c})}}).call(this,n(4))},604:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotices}));var r=n(28),i=n(154);function ErrorNotices(){return e.createElement(i.a,{moduleSlug:"adsense",storeName:r.m})}}).call(this,n(4))},605:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserProfile}));var r=n(3),i=n(11),a=n(7);function UserProfile(){var t=Object(r.useSelect)((function(e){return e(a.a).getEmail()})),n=Object(r.useSelect)((function(e){return e(a.a).getPicture()}));return Object(r.useSelect)((function(e){return e(a.a).hasFinishedResolution("getUser")}))?e.createElement("p",{className:"googlesitekit-setup-module__user"},e.createElement("img",{className:"googlesitekit-setup-module__user-image",src:n,alt:""}),e.createElement("span",{className:"googlesitekit-setup-module__user-email"},t)):e.createElement(i.ProgressBar,{small:!0})}}).call(this,n(4))},606:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UseSnippetSwitch}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(1),l=n.n(c),s=n(408),u=n(0),d=n(2),f=n(3),g=n(11),m=n(138),p=n(8),h=n(28),b=n(19),v=n(102);function UseSnippetSwitch(t){var n=t.label,r=void 0===n?Object(d.__)("Let Site Kit place AdSense code on your site","google-site-kit"):n,a=t.checkedMessage,c=t.uncheckedMessage,l=t.saveOnChange,_=Object(b.a)(),E="".concat(_,"_adsense"),O=Object(f.useSelect)((function(e){return e(h.m).getUseSnippet()})),y=Object(f.useSelect)((function(e){return e(h.m).isDoingSubmitChanges()})),k=Object(f.useDispatch)(h.m),j=k.setUseSnippet,S=k.saveSettings,w=Object(u.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(j(!O),!l){e.next=4;break}return e.next=4,S();case 4:case"end":return e.stop()}}),e)}))),[O,l,j,S]);return Object(s.a)((function(){Object(p.J)(E,O?"enable_tag":"disable_tag")}),[E,O]),void 0===O?null:e.createElement(u.Fragment,null,e.createElement("div",{className:"googlesitekit-setup-module__switch"},e.createElement(g.Switch,{label:r,onClick:w,checked:O,disabled:y,hideLabel:!1})," ",e.createElement(v.a,{className:"googlesitekit-badge--primary",label:Object(d.__)("Recommended","google-site-kit")})),O&&a&&e.createElement(m.c,{notice:a}),!O&&c&&e.createElement(m.c,{notice:c}))}UseSnippetSwitch.propTypes={label:l.a.string,checkedMessage:l.a.string,uncheckedMessage:l.a.string,saveOnChange:l.a.bool},UseSnippetSwitch.defaultProps={saveOnChange:!1}}).call(this,n(4))},607:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupMain}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(15),l=n.n(c),s=n(408),u=n(1),d=n.n(u),f=n(2),g=n(0),m=n(3),p=n(11),h=n(434),b=n(457),v=n(462),_=n(463),E=n(8),O=n(150),y=n(221),k=n(28),j=n(7),S=n(14),w=n(122),N=n(19),A=n(528),C=n(23);function SetupMain(t){var n=t.finishSetup,r=Object(N.a)(),a="".concat(r,"_adsense"),c=Object(m.useDispatch)(k.m),u=c.resetAccounts,d=c.resetClients,x=c.resetSites,T=c.setAccountID,R=c.setAccountStatus,D=c.submitChanges,L=Object(g.useState)(!1),M=l()(L,2),I=M[0],P=M[1],B=Object(g.useState)(!1),F=l()(B,2),z=F[0],U=F[1],H=Object(m.useSelect)((function(e){return!!e(C.b).getValue(k.i)})),W=Object(m.useSelect)((function(e){return e(j.a).isAdBlockerActive()})),V=Object(m.useSelect)((function(e){return e(k.m).getAccounts()})),G=Object(m.useSelect)((function(e){return e(k.m).getAccountID()})),q=Object(m.useSelect)((function(e){return e(k.m).hasSettingChanged("accountID")})),K=Object(m.useSelect)((function(e){return e(k.m).hasSettingChanged("clientID")})),J=Object(m.useSelect)((function(e){return e(k.m).canSubmitChanges()})),Y=Object(m.useSelect)((function(e){return e(k.m).getClientID()})),$=Object(m.useSelect)((function(e){return e(k.m).getAccountStatus()})),X=Object(m.useSelect)((function(e){return e(k.m).hasSettingChanged("accountStatus")})),Z=Object(m.useSelect)((function(e){return e(k.m).getSiteStatus()})),Q=Object(m.useSelect)((function(e){return e(k.m).hasSettingChanged("siteStatus")})),ee=Object(m.useSelect)((function(e){return e(k.m).hasErrors()})),te=Object(m.useSelect)((function(e){return e(k.m).hasFinishedResolution("getAccounts")})),ne=Object(m.useSelect)((function(e){return e(j.a).getEmail()})),re=Object(m.useSelect)((function(e){return e(S.c).getReferenceSiteURL()})),ie=Object(m.useSelect)((function(e){return e(k.m).getExistingTag()})),ae=null==V?void 0:V.find((function(e){return e._id===G}));Object(s.a)((function(){(q&&void 0!==G||K&&void 0!==Y||X&&void 0!==$||Q&&void 0!==Z)&&P(!0)}),[G,q,Y,K,$,X,Z,Q]),Object(g.useEffect)((function(){var e;Array.isArray(V)&&(1!==V.length||G&&V[0]._id===G?0===V.length&&G&&(e=""):e=V[0]._id,void 0!==e&&(T(e),P(!0)))}),[V,G,T]),Object(g.useEffect)((function(){0===(null==V?void 0:V.length)?R(w.h):(null==V?void 0:V.length)>1&&!G&&R(w.f)}),[R,G,V]),Object(g.useEffect)((function(){I&&!z&&J&&!H&&(P(!1),o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return U(!0),e.next=3,D();case 3:U(!1);case 4:case"end":return e.stop()}}),e)})))())}),[I,z,J,D,H]);var oe,ce=Object(g.useCallback)((function(){void 0!==$&&w.k!==$&&(u(),d(),x())}),[$,u,d,x]);return Object(A.a)(ce,15e3),Object(g.useEffect)((function(){void 0!==$&&Object(E.J)(a,"receive_account_state",$)}),[a,$]),Object(g.useEffect)((function(){void 0!==Z&&Object(E.J)(a,"receive_site_state",Z)}),[a,Z]),oe=te&&void 0!==G&&void 0!==ne&&void 0!==re&&void 0!==ie?ee?e.createElement(O.d,null):(null==V?void 0:V.length)?G?e.createElement(b.a,{account:ae,finishSetup:n}):e.createElement(_.a,null):e.createElement(v.a,null):e.createElement(p.ProgressBar,null),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--adsense"},e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(h.a,{width:"40",height:"40"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(f._x)("AdSense","Service name","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement(y.a,{moduleSlug:"adsense"}),!W&&oe))}SetupMain.propTypes={finishSetup:d.a.func}}).call(this,n(4))},61:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},614:function(e,t,n){"use strict";var r=n(601);n.d(t,"a",(function(){return r.a}));n(380);var i=n(607);n.d(t,"b",(function(){return i.a}));n(457),n(462),n(463),n(459),n(460),n(461),n(458)},615:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupMain}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(15),l=n.n(c),s=n(6),u=n.n(s),d=n(176),f=n(0),g=n(2),m=n(3),p=n(11),h=n(20),b=n(367),v=n(616),_=n(558),E=n(183),O=n(32),y=n(14),k=n(23),j=n(19),S=n(16),w=n(8),N=n(28),A=n(617),C=n(619),x=n(620);function SetupMain(){var t=Object(j.a)(),n=Object(m.useSelect)((function(e){return e(y.c).getAdminURL("googlesitekit-settings")})),r="".concat(n,"#/connected-services/adsense"),a=Object(m.useSelect)((function(e){return!!e(k.b).getValue(N.c)})),c=Object(m.useSelect)((function(e){return e(y.c).getAdminURL("googlesitekit-dashboard")})),s=Object(m.useSelect)((function(e){var t,n=(t={},u()(t,N.k.TAG_PLACED,N.l.CREATE_MESSAGE),u()(t,N.k.SETUP_CONFIRMED,N.l.COMPLETE),t),r=e(N.m).getAdBlockingRecoverySetupStatus();if(void 0!==r)return n[r]||N.l.PLACE_TAGS})),T=Object(d.a)(c,{notification:"ad_blocking_recovery_setup_success"}),R=Object(m.useSelect)((function(e){return e(N.m).getAccountID()})),D=Object(m.useSelect)((function(e){return e(N.m).getServiceURL({path:"/".concat(R,"/privacymessaging/ad_blocking")})})),L=Object(m.useDispatch)(N.m),M=L.saveSettings,I=L.setAdBlockingRecoverySetupStatus,P=L.setUseAdBlockingRecoverySnippet,B=L.setUseAdBlockingRecoveryErrorSnippet,F=Object(m.useDispatch)(O.a).navigateTo,z=Object(f.useState)(s),U=l()(z,2),H=U[0],W=U[1],V=Object(f.useCallback)(o()(i.a.mark((function e(){var o,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==H){e.next=6;break}return e.next=3,Object(w.J)("".concat(t,"_adsense-abr"),"cancel_setup","on_place_tag_step");case 3:if(!document.referrer.includes(n)){e.next=5;break}return e.abrupt("return",F(r));case 5:return e.abrupt("return",F(c));case 6:if(!a){e.next=10;break}return e.next=9,Object(w.J)("".concat(t,"_adsense-abr"),"cancel_setup","on_final_step");case 9:return e.abrupt("return",F(r));case 10:return I(""),P(!1),B(!1),e.next=15,M();case 15:return o=e.sent,l=o.error,e.next=19,Object(w.J)("".concat(t,"_adsense-abr"),"cancel_setup","on_create_message_step");case 19:l||(document.referrer.includes(n)?F(r):F(c));case 20:case"end":return e.stop()}}),e)}))),[H,r,a,c,F,M,I,B,P,n,t]);return Object(f.useEffect)((function(){void 0===H&&void 0!==s&&W(s)}),[H,s]),e.createElement(E.a,{rounded:!0},e.createElement(S.e,null,e.createElement(S.k,null,e.createElement(S.a,{lgSize:6,mdSize:8,smSize:4},e.createElement(b.a,{className:"googlesitekit-heading-3 googlesitekit-ad-blocking-recovery__heading",title:Object(g.__)("Ad Blocking Recovery","google-site-kit"),fullWidth:!0})))),e.createElement(A.a,null,e.createElement(v.a,{activeStep:H,className:"googlesitekit-ad-blocking-recovery__steps"},e.createElement(_.a,{title:Object(g.__)("Enable ad blocking recovery message (required)","google-site-kit"),className:"googlesitekit-ad-blocking-recovery__step googlesitekit-ad-blocking-recovery__step-place-tags"},e.createElement(x.a,{setActiveStep:W})),e.createElement(_.a,{title:Object(g.__)("Create your site’s ad blocking recovery message (required)","google-site-kit"),className:"googlesitekit-ad-blocking-recovery__step googlesitekit-ad-blocking-recovery__step-create-message"},e.createElement(C.a,null))),N.l.COMPLETE===H&&e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__complete-content"},e.createElement("p",null,Object(g.__)("Create and publish an ad blocking recovery message in AdSense","google-site-kit")),e.createElement("p",null,Object(g.__)("Site visitors will be given the option to allow ads on your site. You can also present them with other options to fund your site (optional)","google-site-kit")))),e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__footer googlesitekit-ad-blocking-recovery__buttons"},e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__footer-cancel"},N.l.COMPLETE===H?e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__complete-actions"},e.createElement(p.SpinnerButton,{href:T},Object(g.__)("My message is ready","google-site-kit")),e.createElement(h.a,{href:D,external:!0,hideExternalIndicator:!0},Object(g.__)("Create message","google-site-kit"))):e.createElement(h.a,{onClick:V},Object(g.__)("Cancel","google-site-kit")))))}}).call(this,n(4))},616:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Stepper}));var r=n(1),i=n.n(r),a=n(13),o=n.n(a),c=n(0),l=n(2),s=n(527),u=n(257);function Stepper(t){var n=t.children,r=t.activeStep,i=t.className,a=c.Children.count(n);function d(e,t){switch(t){case u.a.UPCOMING:return Object(l.sprintf)(
/* translators: 1: The number of the current step. 2: The total number of steps. */
Object(l.__)("Step %1$s of %2$s (upcoming).","google-site-kit"),e,a);case u.a.ACTIVE:return Object(l.sprintf)(
/* translators: 1: The number of the current step. 2: The total number of steps. */
Object(l.__)("Step %1$s of %2$s (active).","google-site-kit"),e,a);case u.a.COMPLETED:return Object(l.sprintf)(
/* translators: 1: The number of the current step. 2: The total number of steps. */
Object(l.__)("Step %1$s of %2$s (completed).","google-site-kit"),e,a)}}return e.createElement("ol",{className:o()("googlesitekit-stepper",i)},c.Children.map(n,(function(t,n){var i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return e<r?u.a.COMPLETED:e===r?u.a.ACTIVE:u.a.UPCOMING}(n,r),l=n+1;return e.createElement("li",{className:o()("googlesitekit-stepper__step","googlesitekit-stepper__step--".concat(i),t.props.className)},e.createElement("div",{className:"googlesitekit-stepper__step-progress"},e.createElement("span",{className:"googlesitekit-stepper__step-number",title:d(l,i)},i===u.a.COMPLETED?e.createElement(s.a,null):l),l<a&&e.createElement("div",{className:"googlesitekit-stepper__step-progress-line"})),Object(c.cloneElement)(t,{stepStatus:i}))})))}Stepper.propTypes={children:i.a.node.isRequired,activeStep:i.a.number,className:i.a.string}}).call(this,n(4))},617:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Content}));var r=n(1),i=n.n(r),a=n(16),o=n(618),c=n(24);function Content(t){var n=t.children,r=Object(c.e)(),i=![c.c,c.b].includes(r);return e.createElement(a.e,{className:"googlesitekit-ad-blocking-recovery__content"},e.createElement(a.k,null,e.createElement(a.a,{mdSize:8,lgSize:8},n),i&&e.createElement(a.a,{className:"googlesitekit-ad-blocking-recovery__hero-graphic",lgSize:4},e.createElement(o.a,null))))}Content.propTypes={children:i.a.node}}).call(this,n(4))},618:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M22.56 28.885a85.319 85.319 0 018.606-7.899C60.044-2.097 83.903-2.06 116.934 2.153 139.265 5 158.642 18.5 182.13 17.185 205.617 15.871 238.088 7.743 264 9.5c29.5 2 37 5.5 63.227 19.385 24.273 12.85 46.312 35.426 57.388 65.284 18.985 51.177-14.865 143.285-60.259 147.628-32.893 3.148-60.039-33.973-93.239-25.376-20.452 5.297-32.583 27.515-48.362 42.177-18.409 17.107-48.199 16.032-69.755 6.902-20.542-8.699-35.63-25.926-42.338-51.32-5.107-19.338-4.595-38.709-16.86-53.857C36.497 138.947 9.432 134 1.281 94.168c-5.16-25.213 5.942-49.13 21.279-65.283z",fill:"#F3F5F7"}),o=r.createElement("g",{filter:"url(#ad-blocking-recovery-setup_svg__filter0_d_149_3117)"},r.createElement("rect",{x:50.837,y:42.913,width:257.906,height:176.087,rx:14.086,fill:"#fff"}),r.createElement("rect",{x:50.139,y:42.214,width:259.302,height:177.484,rx:14.785,stroke:"#CBD0D3",strokeWidth:1.396})),c=r.createElement("rect",{x:65,y:78.486,width:78,height:126.285,rx:5.282,fill:"#EE92DA"}),l=r.createElement("circle",{cx:104.5,cy:139.528,r:11,stroke:"#fff",strokeWidth:3}),s=r.createElement("path",{d:"M112 132.028l-15.5 15.5",stroke:"#fff",strokeWidth:3}),u=r.createElement("path",{d:"M50.837 56.999c0-7.78 6.307-14.086 14.087-14.086h229.733c7.78 0 14.086 6.306 14.086 14.086v7.258H50.837v-7.258z",fill:"#EBEEF0"}),d=r.createElement("rect",{x:61.509,y:50.027,width:7.115,height:7.115,rx:3.557,fill:"#CBD0D3"}),f=r.createElement("rect",{x:72.181,y:50.027,width:7.115,height:7.115,rx:3.557,fill:"#CBD0D3"}),g=r.createElement("rect",{x:164,y:78.486,width:125.396,height:42.688,rx:5.585,fill:"#EBEEF0"}),m=r.createElement("rect",{x:164,y:129,width:92.49,height:14.229,rx:7.115,fill:"#EBEEF0"}),p=r.createElement("rect",{x:164,y:151,width:108.498,height:5.585,rx:2.793,fill:"#EBEEF0"}),h=r.createElement("rect",{x:164,y:165,width:92.49,height:5.585,rx:2.793,fill:"#EBEEF0"}),b=r.createElement("rect",{x:164,y:179,width:125.396,height:5.585,rx:2.793,fill:"#EBEEF0"}),v=r.createElement("g",{filter:"url(#ad-blocking-recovery-setup_svg__filter1_d_149_3117)"},r.createElement("path",{d:"M199 163c0-6.075 4.925-11 11-11h126c6.075 0 11 4.925 11 11v83.038c0 6.076-4.925 11-11 11H210c-6.075 0-11-4.924-11-11V163z",fill:"#fff"}),r.createElement("path",{d:"M199.5 163c0-5.799 4.701-10.5 10.5-10.5h126c5.799 0 10.5 4.701 10.5 10.5v83.038c0 5.799-4.701 10.5-10.5 10.5H210c-5.799 0-10.5-4.701-10.5-10.5V163z",stroke:"#CBD0D3"})),_=r.createElement("rect",{x:224.247,y:192.918,width:96.635,height:5.224,rx:2.612,fill:"#EBEEF0"}),E=r.createElement("rect",{x:246.882,y:222.518,width:53.106,height:22.635,rx:11.318,fill:"#77AD8C"}),O=r.createElement("circle",{cx:273,cy:172.023,r:9.576,fill:"#EBEEF0"}),y=r.createElement("path",{d:"M266.906 233.539l5.003 5.003 9.495-9.495",stroke:"#fff",strokeWidth:3}),k=r.createElement("rect",{x:222.506,y:205.106,width:98.376,height:5.224,rx:2.612,fill:"#EBEEF0"}),j=r.createElement("defs",null,r.createElement("filter",{id:"ad-blocking-recovery-setup_svg__filter0_d_149_3117",x:49.441,y:41.516,width:264.699,height:183.88,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:4,dy:5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.796078 0 0 0 0 0.815686 0 0 0 0 0.827451 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_149_3117"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_149_3117",result:"shape"})),r.createElement("filter",{id:"ad-blocking-recovery-setup_svg__filter1_d_149_3117",x:199,y:152,width:152,height:110.038,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:4,dy:5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.796078 0 0 0 0 0.815686 0 0 0 0 0.827451 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_149_3117"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_149_3117",result:"shape"})));t.a=function SvgAdBlockingRecoverySetup(e){return r.createElement("svg",i({viewBox:"0 0 390 273",fill:"none"},e),a,o,c,l,s,u,d,f,g,m,p,h,b,v,_,E,O,y,k,j)}},619:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CreateMessageStep}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(92),l=n(0),s=n(2),u=n(176),d=n(11),f=n(3),g=n(118),m=n(20),p=n(32),h=n(14),b=n(23),v=n(19),_=n(8),E=n(28);function CreateMessageStep(){var t=Object(v.a)(),n=Object(f.useSelect)((function(e){return e(E.m).getAccountID()})),r=Object(f.useSelect)((function(e){return e(E.m).getServiceURL({path:"/".concat(n,"/privacymessaging/ad_blocking")})})),a=Object(f.useSelect)((function(e){return e(h.c).getAdminURL("googlesitekit-dashboard")})),O=Object(u.a)(a,{notification:"ad_blocking_recovery_setup_success"}),y=Object(f.useSelect)((function(e){return e(E.m).isDoingSaveSettings()||e(p.a).isNavigatingTo(O)})),k=Object(f.useSelect)((function(e){return!!e(b.b).getValue(E.c)})),j=Object(f.useSelect)((function(e){return e(E.m).getErrorForAction("saveSettings")})),S=Object(f.useDispatch)(E.m),w=S.saveSettings,N=S.setAdBlockingRecoverySetupStatus,A=Object(f.useDispatch)(p.a).navigateTo,C=Object(f.useDispatch)(b.b).setValue,x=Object(l.useCallback)(o()(i.a.mark((function e(){var n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(k){e.next=5;break}return e.next=3,Object(_.J)("".concat(t,"_adsense-abr"),"create_message","primary_cta");case 3:return C(E.c,!0),e.abrupt("return");case 5:return N(E.k.SETUP_CONFIRMED),e.next=8,w();case 8:if(n=e.sent,n.error){e.next=14;break}return e.next=13,Object(_.J)("".concat(t,"_adsense-abr"),"confirm_message_ready");case 13:A(O);case 14:case"end":return e.stop()}}),e)}))),[k,A,w,N,C,O,t]),T=Object(l.useCallback)(o()(i.a.mark((function e(){var n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return N(E.k.SETUP_CONFIRMED),e.next=3,w();case 3:if(n=e.sent,n.error){e.next=9;break}return e.next=8,Object(_.J)("".concat(t,"_adsense-abr"),"confirm_message_ready_secondary_cta");case 8:A(O);case 9:case"end":return e.stop()}}),e)}))),[N,w,A,O,t]);Object(c.a)((function(){Object(_.J)("".concat(t,"_adsense-abr"),"setup_create_message")})),Object(l.useEffect)((function(){k&&Object(_.J)("".concat(t,"_adsense-abr"),"setup_final_step")}),[k,t]);return e.createElement(l.Fragment,null,e.createElement("p",null,Object(s.__)("Create and publish an ad blocking recovery message in AdSense","google-site-kit")),e.createElement("p",null,Object(s.__)("Site visitors will be given the option to allow ads on your site. You can also present them with other options to fund your site (optional)","google-site-kit")),j&&e.createElement(g.a,{error:j}),e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__create-message-footer"},e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__create-message-footer-actions"},k?e.createElement(l.Fragment,null,e.createElement(d.SpinnerButton,{onClick:x,isSaving:y,disabled:y},Object(s.__)("My message is ready","google-site-kit")),e.createElement(m.a,{onClick:function(){Object(_.J)("".concat(t,"_adsense-abr"),"create_message","secondary_cta")},href:r,external:!0,hideExternalIndicator:!0},Object(s.__)("Create message","google-site-kit"))):e.createElement(l.Fragment,null,e.createElement(d.Button,{href:r,target:"_blank",onClick:x},Object(s.__)("Create message","google-site-kit")),e.createElement(m.a,{onClick:T,disabled:y},Object(s.__)("I published my message","google-site-kit")))),k&&e.createElement("p",{className:"googlesitekit-ad-blocking-recovery__create-message-footer-note"},Object(s.__)("Ad blocking recovery only works if you’ve created and published your message in AdSense","google-site-kit"))))}}).call(this,n(4))},620:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PlaceTagsStep}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(1),l=n.n(c),s=n(92),u=n(0),d=n(38),f=n(2),g=n(11),m=n(3),p=n(118),h=n(20),b=n(14),v=n(19),_=n(8),E=n(28);function PlaceTagsStep(t){var n=t.setActiveStep,r=Object(v.a)(),a=Object(m.useSelect)((function(e){return e(E.m).getUseAdBlockingRecoveryErrorSnippet()})),c=Object(m.useSelect)((function(e){return e(E.m).isDoingSaveSettings()||e(E.m).isFetchingSyncAdBlockingRecoveryTags()})),l=Object(m.useSelect)((function(e){return e(E.m).getErrorForAction("syncAdBlockingRecoveryTags")||e(E.m).getErrorForAction("saveSettings")})),O=Object(m.useSelect)((function(e){return e(b.c).getDocumentationLinkURL("ad-blocking-recovery")})),y=Object(m.useDispatch)(E.m),k=y.saveSettings,j=y.setAdBlockingRecoverySetupStatus,S=y.setUseAdBlockingRecoverySnippet,w=y.setUseAdBlockingRecoveryErrorSnippet,N=y.syncAdBlockingRecoveryTags,A=Object(u.useCallback)((function(e){var t=!!e.target.checked;w(t),Object(_.J)("".concat(r,"_adsense-abr"),t?"check_box":"uncheck_box")}),[w,r]),C=Object(u.useCallback)(o()(i.a.mark((function e(){var t,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,N();case 2:if(t=e.sent,!t.error){e.next=6;break}return e.abrupt("return");case 6:return j(E.k.TAG_PLACED),S(!0),e.next=10,k();case 10:if(a=e.sent,!a.error){e.next=14;break}return e.abrupt("return");case 14:return e.next=16,Object(_.J)("".concat(r,"_adsense-abr"),"setup_enable_tag");case 16:n(E.l.CREATE_MESSAGE);case 17:case"end":return e.stop()}}),e)}))),[k,n,j,S,N,r]);return Object(s.a)((function(){a||w(!0),Object(_.J)("".concat(r,"_adsense-abr"),"setup_place_tag")})),e.createElement(u.Fragment,null,e.createElement("p",null,Object(f.__)("Identify site visitors that have an ad blocker browser extension installed. These site visitors will see the ad blocking recovery message created in AdSense.","google-site-kit")),e.createElement(g.Checkbox,{checked:a,id:"ad-blocking-recovery-error-protection-tag-checkbox",name:"ad-blocking-recovery-error-protection-tag-checkbox",value:"1",onChange:A,alignLeft:!0},Object(f.__)("Enable error protection code (optional)","google-site-kit")),e.createElement("p",{className:"googlesitekit-ad-blocking-recovery__error-protection-tag-info"},Object(d.a)(Object(f.__)("If a site visitor’s ad blocker browser extension blocks the message you create in AdSense, a default, non-customizable ad blocking recovery message will display instead. <a>Learn more</a>","google-site-kit"),{a:e.createElement(h.a,{href:O,external:!0})})),l&&e.createElement(p.a,{error:l}),e.createElement(g.SpinnerButton,{onClick:C,isSaving:c,disabled:c},Object(f.__)("Enable message","google-site-kit")))}PlaceTagsStep.propTypes={setActiveStep:l.a.func}}).call(this,n(4))},621:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ContentAutoUpdate}));var r=n(15),i=n.n(r),a=n(1),o=n.n(a),c=n(0),l=n(622);function ContentAutoUpdate(t){var n=t.hasBeenInView,r=Object(c.useState)({stage:0,mode:"static"}),a=i()(r,2),o=a[0],s=o.stage,u=o.mode,d=a[1];return Object(c.useEffect)((function(){if(n){var e=setTimeout((function(){d({stage:0,mode:"leave"})}),7e3);return function(){clearTimeout(e)}}}),[n]),e.createElement(l.a,{stage:s,mode:u,onAnimationEnd:function(){"enter"===u?d({stage:s,mode:"leave"}):"leave"===u&&d({stage:2===s?0:s+1,mode:"enter"})}})}ContentAutoUpdate.propTypes={hasBeenInView:o.a.bool.isRequired}}).call(this,n(4))},622:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(6),o=n.n(a),c=n(1),l=n.n(c),s=n(13),u=n.n(s),d=n(2),f=n(0),g=n(16),m=n(623),p=n(434),h=Object(f.forwardRef)((function(t,n){var r=t.stage,a=t.mode,c=t.onAnimationEnd,l=[{title:Object(d.__)("Earn money from your site","google-site-kit"),description:Object(d.__)("Focus on writing good content and let AdSense help you make it profitable","google-site-kit")},{title:Object(d.__)("Save time with automated ads","google-site-kit"),description:Object(d.__)("Auto ads automatically place and optimize your ads for you so you don't have to spend time doing it yourself","google-site-kit")},{title:Object(d.__)("You’re in control","google-site-kit"),description:Object(d.__)("Block ads you don't like, customize where ads appear, and choose which types fit your site best","google-site-kit")}],s={smSize:4,mdSize:4,lgSize:6};return e.createElement(f.Fragment,null,e.createElement(g.k,null,e.createElement(g.a,{size:12},e.createElement("p",{className:"googlesitekit-setup__intro-title"},Object(d.__)("Connect Service","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(p.a,{width:"33",height:"33"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(d._x)("AdSense","Service name","google-site-kit"))))),e.createElement(g.k,{ref:n},e.createElement(g.a,i()({},s,{smOrder:2,mdOrder:1,className:"googlesitekit-setup-module--adsense__stage-captions"}),e.createElement("ul",{className:"googlesitekit-setup-module--adsense__stage-caption-container"},l.map((function(t,n){var i=t.title,c=t.description;return e.createElement("li",{key:n,className:u()("googlesitekit-setup-module--adsense__stage-caption",o()({},"googlesitekit-setup-module--adsense__stage-caption--current--".concat(a),r===n))},e.createElement("div",{className:"googlesitekit-setup-module--adsense__stage-caption-indicator"}),e.createElement("div",null,e.createElement("h4",null,i),e.createElement("p",null,c)))}))),e.createElement("ul",{className:"googlesitekit-setup-module--adsense__stage-indicator"},l.map((function(t,n){return e.createElement("li",{key:n,className:u()(o()({},"googlesitekit-setup-module--adsense__stage-indicator--current--".concat(a),r===n))})})))),e.createElement(g.a,i()({},s,{smOrder:1,mdOrder:2,className:"googlesitekit-setup-module--adsense__stage-images"}),e.createElement("div",{className:"googlesitekit-setup-module--adsense__stage-image-container"},l.map((function(t,n){return e.createElement("div",{key:n,className:u()("googlesitekit-setup-module--adsense__stage-image",o()({},"googlesitekit-setup-module--adsense__stage-image--current--".concat(a),r===n)),onAnimationEnd:r===n?c:void 0},e.createElement(m.a,{stage:n}))}))))))}));h.propTypes={stage:l.a.oneOf([0,1,2]),mode:l.a.oneOf(["static","enter","leave"]),onAnimationEnd:l.a.func},t.a=h}).call(this,n(4))},623:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ContentSVG}));var r=n(1),i=n(0),a=n(2),o=n(44),c=n(248),l=Object(i.lazy)((function(){return n.e(31).then(n.bind(null,1095))})),s=Object(i.lazy)((function(){return n.e(32).then(n.bind(null,1096))})),u=Object(i.lazy)((function(){return n.e(33).then(n.bind(null,1097))}));function LazyContentSVG(t){var n=t.stage,r={0:e.createElement(l,null),1:e.createElement(s,null),2:e.createElement(u,null)};return r[n]?e.createElement(c.a,{errorMessage:Object(a.__)("Failed to load graphic","google-site-kit")},r[n]):null}function ContentSVG(t){var n=t.stage;return e.createElement(i.Suspense,{fallback:e.createElement(o.a,{width:"100%",height:"100%"})},e.createElement(LazyContentSVG,{stage:n}))}ContentSVG.propTypes={stage:r.PropTypes.oneOf([0,1,2]).isRequired}}).call(this,n(4))},624:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return NeedsAttention}));var i=n(0),a=n(2),o=n(3),c=n(61),l=n(8),s=n(28),u=n(331);function NeedsAttention(){var t=Object(i.useContext)(c.b),n=Object(o.useSelect)((function(e){return e(s.m).getServiceAccountManageSitesURL()})),d=Object(i.useCallback)((function(r){r.preventDefault(),Object(l.J)("".concat(t,"_adsense"),"review_site_state","needs_attention"),e.open(n,"_blank")}),[n,t]),f=Object(a.__)("Your site isn’t ready to show ads yet","google-site-kit"),g=Object(a.__)("You need to fix some things with this site before we can connect Site Kit to your AdSense account","google-site-kit"),m={label:Object(a.__)("Review site in AdSense","google-site-kit"),href:n,onClick:d};return r.createElement(u.a,{heading:f,description:g,primaryButton:m})}}).call(this,n(26),n(4))},625:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return GettingReady}));var i=n(0),a=n(2),o=n(3),c=n(61),l=n(8),s=n(28),u=n(331);function GettingReady(){var t=Object(i.useContext)(c.b),n=Object(o.useSelect)((function(e){return e(s.m).getServiceAccountManageSitesURL()})),d=Object(i.useCallback)((function(r){r.preventDefault(),Object(l.J)("".concat(t,"_adsense"),"review_site_state","getting_ready"),e.open(n,"_blank")}),[n,t]),f=Object(a.__)("Your site is getting ready","google-site-kit"),g=Object(a.__)("This usually takes a few days, but in some cases can take a few weeks. You’ll get an email from AdSense as soon as they have run some checks on your site.","google-site-kit"),m={label:Object(a.__)("Review site in AdSense","google-site-kit"),href:n,onClick:d};return r.createElement(u.a,{heading:f,description:g,primaryButton:m})}}).call(this,n(26),n(4))},626:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return RequiresReview}));var i=n(0),a=n(2),o=n(3),c=n(61),l=n(8),s=n(28),u=n(331);function RequiresReview(){var t=Object(i.useContext)(c.b),n=Object(o.useSelect)((function(e){return e(s.m).getServiceAccountManageSitesURL()})),d=Object(i.useCallback)((function(r){r.preventDefault(),Object(l.J)("".concat(t,"_adsense"),"review_site_state","requires_review"),e.open(n,"_blank")}),[n,t]),f=Object(a.__)("Your site requires review","google-site-kit"),g=Object(a.__)("To start serving ads, your site needs to be approved first. Go to AdSense to request the review.","google-site-kit"),m={label:Object(a.__)("Request review in AdSense","google-site-kit"),href:n,onClick:d};return r.createElement(u.a,{heading:f,description:g,primaryButton:m})}}).call(this,n(26),n(4))},627:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Ready}));var i=n(5),a=n.n(i),o=n(17),c=n.n(o),l=n(15),s=n.n(l),u=n(0),d=n(2),f=n(3),g=n(61),m=n(8),p=n(28),h=n(23),b=n(331);function Ready(t){var n=t.site,i=t.finishSetup,o=Object(u.useState)(!1),l=s()(o,2),v=l[0],_=l[1],E=Object(u.useContext)(g.b),O=Object(f.useSelect)((function(e){return e(p.m).getExistingTag()})),y=Object(f.useSelect)((function(e){return e(p.m).getServiceAccountSiteAdsPreviewURL()})),k=Object(f.useSelect)((function(e){return e(p.m).isDoingSubmitChanges()})),j=Object(f.useDispatch)(p.m),S=j.completeSiteSetup,w=j.completeAccountSetup,N=Object(f.useDispatch)(h.b).setValue,A=Object(u.useCallback)((function(t){t.preventDefault(),Object(m.J)("".concat(E,"_adsense"),"enable_auto_ads"),e.open(y,"_blank")}),[y,E]),C=Object(u.useCallback)((function(e){e.preventDefault(),Object(m.J)("".concat(E,"_adsense"),"disable_auto_ads"),_(!0)}),[E]),x=Object(u.useCallback)(c()(a.a.mark((function e(){var t,n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!k){e.next=2;break}return e.abrupt("return");case 2:return N(p.i,!0),e.next=5,S();case 5:return t=e.sent,e.next=8,w();case 8:n=e.sent,N(p.i,!1),t&&n&&"function"==typeof i&&i();case 11:case"end":return e.stop()}}),e)}))),[k,N,S,w,i]),T={};return n.autoAdsEnabled||v?(T.heading=O?Object(d.__)("Your AdSense account is ready to connect to Site Kit","google-site-kit"):Object(d.__)("Your site is ready to use AdSense","google-site-kit"),T.description=O?Object(d.__)("Connect your AdSense account to see stats on your overall earnings, page CTR, and top earning pages","google-site-kit"):Object(d.__)("Site Kit has placed AdSense code on your site to connect your site to AdSense and help you get the most out of ads","google-site-kit"),T.primaryButton={label:Object(d.__)("Complete setup","google-site-kit"),onClick:x}):(T.heading=Object(d.__)("Enable auto ads for your site","google-site-kit"),T.description=Object(d.__)("To start serving ads via Site Kit, you need to activate auto ads first. Go to AdSense and enable auto ads for your site.","google-site-kit"),T.primaryButton={label:Object(d.__)("Enable auto ads","google-site-kit"),href:y,onClick:A},O&&(T.description=Object(d.__)("Site Kit recommends enabling auto ads. If your existing AdSense setup relies on individual ad units, you can proceed without enabling auto ads.","google-site-kit"),T.secondaryButton={label:Object(d.__)("Proceed without enabling auto ads","google-site-kit"),onClick:C})),r.createElement(b.a,T)}}).call(this,n(26),n(4))},63:function(e,t,n){"use strict";n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return _}));var r=n(6),i=n.n(r),a=n(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var c=a.createElement("path",{d:"M10 15.27L16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27z"});var l=function SvgInfoIcon(e){return a.createElement("svg",o({viewBox:"0 0 20 20",fill:"currentColor"},e),c)};function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var u=a.createElement("path",{d:"M0 4h2v7H0zm0-4h2v2H0z",fill:"currentColor",fillRule:"evenodd"});var d,f=function SvgSuggestionIcon(e){return a.createElement("svg",s({viewBox:"0 0 2 11"},e),u)},g=n(177),m=n(73),p="warning",h="info",b="suggestion",v=(d={},i()(d,h,l),i()(d,p,g.a),i()(d,b,f),d),_=function(e){return v[e]||m.a}},66:function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var r,i=n(6),a=n.n(i),o=n(42),c=n(96),l=n(93),s=(r={},a()(r,o.c.QUARTER,3),a()(r,o.c.HALF,6),a()(r,o.c.FULL,12),r),u="googlesitekit-hidden",d=[c.a,l.a]},67:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(13),o=n.n(a),c=n(11),l=n(20);function CTA(t){var n=t.title,r=t.headerText,i=t.headerContent,a=t.description,s=t.ctaLink,u=t.ctaLabel,d=t.ctaLinkExternal,f=t.ctaType,g=t.error,m=t.onClick,p=t["aria-label"],h=t.children;return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":g})},(r||i)&&e.createElement("div",{className:"googlesitekit-cta__header"},r&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},r),i),e.createElement("div",{className:"googlesitekit-cta__body"},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),a&&"string"==typeof a&&e.createElement("p",{className:"googlesitekit-cta__description"},a),a&&"string"!=typeof a&&e.createElement("div",{className:"googlesitekit-cta__description"},a),u&&"button"===f&&e.createElement(c.Button,{"aria-label":p,href:s,onClick:m},u),u&&"link"===f&&e.createElement(l.a,{href:s,onClick:m,"aria-label":p,external:d,hideExternalIndicator:d,arrow:!0},u),h))}CTA.propTypes={title:i.a.string.isRequired,headerText:i.a.string,description:i.a.oneOfType([i.a.string,i.a.node]),ctaLink:i.a.string,ctaLinkExternal:i.a.bool,ctaLabel:i.a.string,ctaType:i.a.string,"aria-label":i.a.string,error:i.a.bool,onClick:i.a.func,children:i.a.node,headerContent:i.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"z",(function(){return l})),n.d(t,"E",(function(){return s})),n.d(t,"G",(function(){return u})),n.d(t,"C",(function(){return d})),n.d(t,"D",(function(){return f})),n.d(t,"B",(function(){return g})),n.d(t,"A",(function(){return m})),n.d(t,"F",(function(){return p})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return v})),n.d(t,"j",(function(){return _})),n.d(t,"l",(function(){return E})),n.d(t,"m",(function(){return O})),n.d(t,"n",(function(){return y})),n.d(t,"o",(function(){return k})),n.d(t,"q",(function(){return j})),n.d(t,"r",(function(){return S})),n.d(t,"s",(function(){return w})),n.d(t,"t",(function(){return N})),n.d(t,"v",(function(){return A})),n.d(t,"k",(function(){return C})),n.d(t,"x",(function(){return x})),n.d(t,"u",(function(){return T})),n.d(t,"y",(function(){return R})),n.d(t,"w",(function(){return D})),n.d(t,"i",(function(){return L})),n.d(t,"p",(function(){return M})),n.d(t,"I",(function(){return I})),n.d(t,"H",(function(){return P}));var r="core/user",i="connected_url_mismatch",a="__global",o="temporary_persist_permission_error",c="adblocker_active",l="googlesitekit_authenticate",s="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",f="googlesitekit_read_shared_module_data",g="googlesitekit_manage_module_sharing_options",m="googlesitekit_delegate_module_sharing_management",p="googlesitekit_update_plugins",h="kmAnalyticsAdSenseTopEarningContent",b="kmAnalyticsEngagedTrafficSource",v="kmAnalyticsLeastEngagingPages",_="kmAnalyticsNewVisitors",E="kmAnalyticsPopularAuthors",O="kmAnalyticsPopularContent",y="kmAnalyticsPopularProducts",k="kmAnalyticsReturningVisitors",j="kmAnalyticsTopCities",S="kmAnalyticsTopConvertingTrafficSource",w="kmAnalyticsTopCountries",N="kmAnalyticsTopRecentTrendingPages",A="kmAnalyticsTopTrafficSource",C="kmAnalyticsPagesPerVisit",x="kmAnalyticsVisitLength",T="kmAnalyticsTopReturningVisitorPages",R="kmSearchConsolePopularKeywords",D="kmAnalyticsVisitsPerVisitor",L="kmAnalyticsMostEngagingPages",M="kmAnalyticsTopCategories",I=[h,b,v,_,E,O,y,k,M,j,S,w,N,A,C,x,T,D,L,M],P=[].concat(I,[R])},70:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a}));var r=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function a(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},71:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(108),o=n(2),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL,i=t.noPrefix;if(!n)return null;var l=n;void 0!==i&&i||(l=Object(o.sprintf)(
/* translators: %s: Error message */
Object(o.__)("Error: %s","google-site-kit"),n)),r&&Object(a.a)(r)&&(l=l+" "+Object(o.sprintf)(
/* translators: %s: Reconnect URL */
Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(l,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:i.a.string.isRequired,reconnectURL:i.a.string,noPrefix:i.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},72:function(e,t,n){"use strict";n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return d}));var r=n(31),i=n.n(r),a=n(12),o=n(109);function c(e){var t=function(e){return"string"==typeof e&&/^[a-zA-Z0-9_]+$/.test(e)};return"string"==typeof e?e.split(",").every(t):Object(o.c)(e,(function(e){var n=e.hasOwnProperty("name")&&t(e.name);if(!e.hasOwnProperty("expression"))return n;var r="string"==typeof e.expression;return n&&r}),t)}function l(e){return Object(o.c)(e,(function(e){return e.hasOwnProperty("name")&&"string"==typeof e.name}))}function s(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(i()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(i()(e))}));if(Object(a.isPlainObject)(e[n])){var r=Object.keys(e[n]);return r.includes("filterType")&&r.includes("value")}return!1}))}function u(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(i()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(i()(e))}));if(Object(a.isPlainObject)(e[n])){var r=Object.keys(e[n]);if(r.includes("filterType")&&!["numericFilter","betweenFilter"].includes(e[n].filterType))return!1;if(r.includes("filterType")&&"numericFilter"===e[n].filterType||!r.includes("filterType"))return!(r.includes("value")&&Object(a.isPlainObject)(e[n].value)&&!Object.keys(e[n].value).includes("int64Value"))&&(r.includes("operation")&&r.includes("value"));if(r.includes("filterType")&&"betweenFilter"===e[n].filterType){var o=["fromValue","toValue"].every((function(t){return!(r.includes(t)&&Object(a.isPlainObject)(e[n][t])&&!Object.keys(e[n][t]).includes("int64Value"))}));return r.includes("fromValue")&&r.includes("toValue")&&o}}return!1}))}function d(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(a.isPlainObject)(e)&&((!e.hasOwnProperty("desc")||"boolean"==typeof e.desc)&&(e.metric?!e.dimension&&"string"==typeof(null===(t=e.metric)||void 0===t?void 0:t.metricName):!!e.dimension&&"string"==typeof(null===(n=e.dimension)||void 0===n?void 0:n.dimensionName)));var t,n}))}},73:function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},74:function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_MAIN_DASHBOARD_KEY_METRICS",(function(){return r})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return i})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return a})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return o})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return c})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return l})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return s})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return d}));var r="mainDashboardKeyMetrics",i="mainDashboardTraffic",a="mainDashboardContent",o="mainDashboardSpeed",c="mainDashboardMonetization",l="entityDashboardTraffic",s="entityDashboardContent",u="entityDashboardSpeed",d="entityDashboardMonetization";t.default={CONTEXT_MAIN_DASHBOARD_KEY_METRICS:r,CONTEXT_MAIN_DASHBOARD_TRAFFIC:i,CONTEXT_MAIN_DASHBOARD_CONTENT:a,CONTEXT_MAIN_DASHBOARD_SPEED:o,CONTEXT_MAIN_DASHBOARD_MONETIZATION:c,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:l,CONTEXT_ENTITY_DASHBOARD_CONTENT:s,CONTEXT_ENTITY_DASHBOARD_SPEED:u,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:d}},75:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={EXTERNAL:"external",INTERNAL:"internal"}},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return k})),n.d(t,"d",(function(){return j})),n.d(t,"e",(function(){return w})),n.d(t,"c",(function(){return N})),n.d(t,"b",(function(){return A}));var r=n(15),i=n.n(r),a=n(31),o=n.n(a),c=n(6),l=n.n(c),s=n(22),u=n.n(s),d=n(12),f=n(55),g=n.n(f),m=n(2);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=E(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},v=function(e){var t=_(e),n=t.hours,r=t.minutes,i=t.seconds;return i=("0"+i).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(i):"".concat(n,":").concat(r,":").concat(i)},_=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=_(e),r=n.hours,i=n.minutes,a=n.seconds;return{hours:r,minutes:i,seconds:a,formatUnit:function(){var n=t.unitDisplay,o=h(h({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(a,h(h({},o),{},{unit:"second"})):Object(m.sprintf)(
/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?w(a,h(h({},o),{},{unit:"second"})):"",i?w(i,h(h({},o),{},{unit:"minute"})):"",r?w(r,h(h({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(m.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit.
Object(m.__)("%ds","google-site-kit"),a);if(0===e)return t;var n=Object(m.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit.
Object(m.__)("%dm","google-site-kit"),i),o=Object(m.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit.
Object(m.__)("%dh","google-site-kit"),r);return Object(m.sprintf)(
/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",i?n:"",r?o:"").trim()}}},O=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},y=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in millions.
Object(m.__)("%sM","google-site-kit"),w(O(e),e%10==0?{}:t)):1e4<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands.
Object(m.__)("%sK","google-site-kit"),w(O(e))):1e3<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands.
Object(m.__)("%sK","google-site-kit"),w(O(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function k(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=h({},e)),t}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=k(t),r=n.style,i=void 0===r?"metric":r;return"metric"===i?y(e):"duration"===i?b(e,n):"durationISO"===i?v(e):w(e,n)}var S=g()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?A():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){S("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,f=Object.entries(a);d<f.length;d++){var g=i()(f[d],2),m=g[0],p=g[1];c[m]&&p===c[m]||(l.includes(m)||(s[m]=p))}try{return new Intl.NumberFormat(r,s).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?A():n,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var l=new Intl.ListFormat(r,{style:a,type:c});return l.format(e)}
/* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},78:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(31),i=n.n(r),a=n(79),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},79:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(148),i=n.n(r)()(e)}).call(this,n(26))},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return i.b})),n.d(t,"K",(function(){return i.c})),n.d(t,"G",(function(){return a.a})),n.d(t,"L",(function(){return a.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"j",(function(){return b})),n.d(t,"d",(function(){return k})),n.d(t,"c",(function(){return j})),n.d(t,"e",(function(){return S})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return N})),n.d(t,"g",(function(){return A})),n.d(t,"f",(function(){return C})),n.d(t,"o",(function(){return x})),n.d(t,"x",(function(){return T})),n.d(t,"q",(function(){return R})),n.d(t,"H",(function(){return D})),n.d(t,"t",(function(){return L})),n.d(t,"w",(function(){return M})),n.d(t,"l",(function(){return I})),n.d(t,"p",(function(){return P.b})),n.d(t,"i",(function(){return P.a})),n.d(t,"u",(function(){return B.b})),n.d(t,"r",(function(){return B.a})),n.d(t,"B",(function(){return B.c})),n.d(t,"y",(function(){return F})),n.d(t,"v",(function(){return z})),n.d(t,"F",(function(){return W})),n.d(t,"E",(function(){return V.a})),n.d(t,"h",(function(){return G})),n.d(t,"M",(function(){return q})),n.d(t,"m",(function(){return K}));var r=n(12),i=n(35),a=n(78),o=n(31),c=n.n(o),l=n(94),s=n.n(l),u=function(e){return s()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===c()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};n(97);var d=n(77);function f(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function g(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function p(e){for(var t=e,n=0,r=[f,g,m];n<r.length;n++){t=(0,r[n])(t)}return t}var h=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},b=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},v=n(15),_=n.n(v),E=n(10),O=n.n(E),y=n(2),k="Invalid dateString parameter, it must be a string.",j='Invalid date range, it must be a string with the format "last-x-days".',S=60,w=60*S,N=24*w,A=7*N,C=30*N;function x(){var e=function(e){return Object(y.sprintf)(
/* translators: %s: number of days */
Object(y._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function R(e){O()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function D(e){O()(T(e),k);var t=e.split("-"),n=_()(t,3),r=n[0],i=n[1],a=n[2];return new Date(r,i-1,a)}function L(e,t){return R(I(e,t*N))}function M(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function I(e,t){O()(T(e)||Object(r.isDate)(e)&&!isNaN(e),k);var n=T(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var P=n(98),B=n(83);function F(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function z(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var U=n(27),H=n.n(U),W=function(e){return Array.isArray(e)?H()(e).sort():e},V=n(87);function G(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var q=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},K=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},80:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),i=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,i=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:i}},n)}IconWrapper.propTypes={children:i.a.node.isRequired,marginLeft:i.a.number,marginRight:i.a.number}}).call(this,n(4))},81:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(108);function i(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),i=e.replace(n.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},84:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(13),o=n.n(a);function ChangeArrow(t){var n=t.direction,r=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},85:function(e,t,n){"use strict";var r=n(15),i=n.n(r),a=n(262),o=n(1),c=n.n(o),l=n(0),s=n(133);function Portal(e){var t=e.children,n=e.slug,r=Object(l.useState)(document.createElement("div")),o=i()(r,1)[0];return Object(a.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(s.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},86:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(3),a=n(42);function o(e,t,n){var o=Object(i.useDispatch)(a.a),c=o.setWidgetState,l=o.unsetWidgetState;Object(r.useEffect)((function(){return c(e,t,n),function(){l(e,t,n)}}),[e,t,n,c,l])}},87:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(10),i=n.n(r),a=function(e,t){var n=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},88:function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(15),o=n.n(a),c=n(0),l=n(404),s=n(176);t.a=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=Object(c.useState)(Object(l.a)(r.location.href,t)||n),u=o()(a,2),d=u[0],f=u[1],g=function(e){f(e);var n=Object(s.a)(r.location.href,i()({},t,e));r.history.replaceState(null,"",n)};return[d,g]}}).call(this,n(26))},89:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(24),i=n(130);function a(t,n){var r=document.querySelector(t);if(!r)return 0;var i=r.getBoundingClientRect().top,a=o(n);return i+e.scrollY-a}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,a=document.querySelector(".googlesitekit-header");return n=!!a&&"sticky"===e.getComputedStyle(a).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===r.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==r.b?t.offsetHeight:0}(t),(n=Object(i.a)(n))<0?0:n}}).call(this,n(26))},9:function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"q",(function(){return a})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return f})),n.d(t,"j",(function(){return g})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return p})),n.d(t,"g",(function(){return h})),n.d(t,"v",(function(){return b})),n.d(t,"u",(function(){return v})),n.d(t,"w",(function(){return _})),n.d(t,"s",(function(){return E})),n.d(t,"t",(function(){return O})),n.d(t,"e",(function(){return y})),n.d(t,"r",(function(){return k})),n.d(t,"b",(function(){return j})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return w}));var r="modules/analytics-4",i="account_create",a="property_create",o="webdatastream_create",c="analyticsSetup",l=10,s=1,u="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",f="enhanced-measurement-enabled",g="enhanced-measurement-should-dismiss-activation-banner",m="analyticsAccountCreate",p="analyticsCustomDimensionsCreate",h="https://www.googleapis.com/auth/analytics.edit",b="dashboardAllTrafficWidgetDimensionName",v="dashboardAllTrafficWidgetDimensionColor",_="dashboardAllTrafficWidgetDimensionValue",E="dashboardAllTrafficWidgetActiveRowIndex",O="dashboardAllTrafficWidgetLoaded",y={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},k={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},j="audiencePermissionsSetup",S="audienceTileCustomDimensionCreate",w={USER_AUDIENCE:0,SITE_KIT_AUDIENCE:1,DEFAULT_AUDIENCE:2}},90:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",i({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),a,o)}},93:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RecoverableModules}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(18),l=n(67);function RecoverableModules(t){var n=t.moduleSlugs,r=Object(o.useSelect)((function(e){var t=e(c.a).getModules();if(void 0!==t)return n.map((function(e){return t[e].name}))}));if(void 0===r)return null;var i=1===r.length?Object(a.sprintf)(
/* translators: %s: Module name */
Object(a.__)("%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.","google-site-kit"),r[0]):Object(a.sprintf)(
/* translators: %s: List of module names */
Object(a.__)("The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.","google-site-kit"),r.join(Object(a._x)(", ","Recoverable modules","google-site-kit")));return e.createElement(l.a,{title:Object(a.__)("Data Unavailable","google-site-kit"),description:i})}RecoverableModules.propTypes={moduleSlugs:i.a.arrayOf(i.a.string).isRequired}}).call(this,n(4))},96:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportZero}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(18),l=n(67);function ReportZero(t){var n=t.moduleSlug,r=Object(o.useSelect)((function(e){return e(c.a).getModule(n)}));return e.createElement(l.a,{title:Object(a.sprintf)(
/* translators: %s: Module name */
Object(a.__)("%s Gathering Data","google-site-kit"),null==r?void 0:r.name),description:Object(a.sprintf)(
/* translators: %s: Module name */
Object(a.__)("%s data is not yet available, please check back later","google-site-kit"),null==r?void 0:r.name)})}ReportZero.propTypes={moduleSlug:i.a.string.isRequired}}).call(this,n(4))},97:function(e,t,n){"use strict";(function(e){n(48),n(49)}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(226),i=n(84),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,o=void 0!==a&&a;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(6),i=n.n(r),a=n(12),o=n(100),c=n(101);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=s(s({},u),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var l=Object(o.a)(i,n),d=Object(c.a)(i,n,l,r),f={},g=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);f[r]||(f[r]=Object(a.once)(d)),f[r].apply(f,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:l,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:d,trackEventOnce:g}}}).call(this,n(26))}},[[1146,1,0]]]);