Site Kit by Google - Version 1.49.1

Version Description

Fixed

  • Update Google Analytics 4 integration to use new dataStreams endpoint after breaking change in alpha API. See #4677.
Download this release

Release Info

Developer flixos90
Plugin Icon 128x128 Site Kit by Google
Version 1.49.1
Comparing to
See all releases

Code changes from version 1.49.0 to 1.49.1

dist/assets/js/{googlesitekit-activation-f3ef7b2ba2c393a40b4d.js → googlesitekit-activation-5212b49ee7678ab5b92e.js} RENAMED
@@ -6,7 +6,7 @@ Object(p.__)("Choose at least %s answers","google-site-kit"),u)),e.createElement
6
  /* translators: %s: Option name */
7
  Object(o.__)("Text input for option %s","google-site-kit"),g))),e.createElement(l.n,null,e.createElement(l.d,{id:v,onChange:function(e){return u(e.target.value.slice(0,100))},value:i,disabled:!p}))))};u.propTypes={choice:i.a.shape({answer_ordinal:i.a.oneOfType([i.a.string,i.a.number]),text:i.a.string,write_in:i.a.bool}),value:i.a.string.isRequired,setValue:i.a.func.isRequired,writeIn:i.a.string.isRequired,setWriteIn:i.a.func.isRequired},t.a=u}).call(this,n(3))},182:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SurveyTerms}));var r=n(1),i=n(126),a=n(4),o=n.n(a),c=n(15),l=n(22),s=o.a.useSelect;function SurveyTerms(){var t=s((function(e){return e(c.c).getGooglePrivacyPolicyURL()})),n=s((function(e){return e(c.c).getGoogleTermsURL()}));return e.createElement("p",{className:"googlesitekit-survey__terms"},Object(i.a)(Object(r.__)("By continuing, you agree to allow Google to use your answers and account info to improve services, per our <privacy>Privacy</privacy> & <terms>Terms</terms>.","google-site-kit"),{privacy:e.createElement(l.a,{href:t,inherit:!0,external:!0}),terms:e.createElement(l.a,{href:n,inherit:!0,external:!0})}))}}).call(this,n(3))},195:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSettingsWarning}));var r=n(4),i=n.n(r),a=n(20),o=n(10),c=n.n(o),l=n(116),s=i.a.useSelect;function ModuleSettingsWarning(t){var n=t.slug,r=s((function(e){var t;return null===(t=e(a.a))||void 0===t?void 0:t.getCheckRequirementsError(n)}));return r?e.createElement("div",{className:c()("googlesitekit-settings-module-warning","googlesitekit-settings-module-warning--modules-list")},e.createElement(l.a,{height:"20",width:"23"})," ",r.message):null}}).call(this,n(3))},20: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"},203:function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(15),s=n(13),u=n(219),d=c.a.useSelect;t.a=function CoreSiteBannerNotifications(){var t=Object(a.useState)(!1),n=i()(t,2),r=n[0],o=n[1],c=Object(a.useState)(!1),f=i()(c,2),g=f[0],m=f[1],p=Object(a.useRef)(Date.now()),v=d((function(e){return e(s.a).getCurrentSurvey()})),b=d((function(e){return e(l.c).getNotifications()}));return Object(a.useEffect)((function(){var e=setTimeout((function(){g||o(!0)}),5e3);return function(){clearTimeout(e)}}),[g]),Object(a.useEffect)((function(){Math.floor((Date.now()-p.current)/1e3)<5&&v&&m(!0)}),[p,v,m]),Array.isArray(b)&&r&&!g?b.map((function(t){return e.createElement(u.a,{content:t.content,ctaLabel:t.ctaLabel,ctaTarget:t.ctaTarget,ctaURL:t.ctaURL,dismissLabel:t.dismissLabel,dismissible:t.dismissible,id:t.id,key:t.id,learnMoreLabel:t.learnMoreLabel,learnMoreURL:t.learnMoreURL,title:t.title})})):null}}).call(this,n(3))},204:function(e,t,n){"use strict";(function(e,r){var i=n(5),a=n.n(i),o=n(14),c=n.n(o),l=n(103),s=n(2),u=n(1),d=n(375),f=n(4),g=n.n(f),m=n(9),p=n(42),v=n(220),b=n(222),h=n(223),y=n(20),_=n(15),k=n(16),O=n(13),E=n(30),j=n(65),w=g.a.useSelect;t.a=function SetupSuccessBannerNotification(){var t,n=Object(j.a)("unifiedDashboard"),i=Object(m.j)("slug"),o=w((function(e){return e(y.a).getModules()})),f=w((function(e){return e(O.a).hasCapability(O.c)})),g=w((function(e){return e(_.c).hasMultipleAdmins()})),S=w((function(e){return e(_.c).isUsingProxy()})),x=w((function(e){var t,n=null==o||null===(t=o[i])||void 0===t?void 0:t.storeName;if(!n)return null;var r=e(n).getSetupSuccessContent;return r?r():null}));Object(l.a)((function(){Object(E.b)("".concat(k.g,"_authentication-success-notification"),"view_notification"),null===i&&(Object(E.b)("".concat(k.g,"_authentication-success-notification"),"complete_user_setup",S?"proxy":"custom-oauth"),g||Object(E.b)("".concat(k.g,"_authentication-success-notification"),"complete_site_setup",S?"proxy":"custom-oauth"))}));var N=Object(s.useCallback)(c()(a.a.mark((function t(){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(E.b)("".concat(k.g,"_authentication-success-notification"),"confirm_notification");case 2:n=Object(d.a)(e.location.href,"notification"),e.history.replaceState(null,"",n);case 4:case"end":return t.stop()}}),t)}))),[]);if(void 0===o)return null;var C=Object(m.j)("notification");if(!C||""===C)return null;var D={id:"connected-successfully",setupTitle:Object(u.__)("Site Kit","google-site-kit"),description:Object(u.__)("Now you’ll be able to see how your site is doing in search. To get even more detailed stats, activate more modules. Here are our recommendations for what to include in your Site Kit:","google-site-kit"),learnMore:{label:"",url:"",description:""}};switch(C){case"authentication_success":if(!f)return null;if(i&&!(null===(t=o[i])||void 0===t?void 0:t.active))return null;if(o[i]&&(D.id="".concat(D.id,"-").concat(i),D.setupTitle=o[i].name,D.description=Object(u.__)("Here are some other services you can connect to see even more stats:","google-site-kit"),x)){var T=x.description,R=x.learnMore;D.description=T,D.learnMore=R}var M={link:"",label:""};return"pagespeed-insights"===i?(M.link=n?"#speed":"#googlesitekit-pagespeed-header",M.label=Object(u.__)("Jump to the bottom of the dashboard to see how fast your home page is","google-site-kit")):"idea-hub"===i&&(M.link="#googlesitekit-idea-hub-widget",M.label=Object(u.__)("Jump directly to Idea Hub to see topic suggestions for your site","google-site-kit")),r.createElement(s.Fragment,null,r.createElement(p.a,{id:D.id,title:Object(u.sprintf)(
8
  /* translators: %s: the name of a module that setup was completed for */
9
- Object(u.__)("Congrats on completing the setup for %s!","google-site-kit"),D.setupTitle),description:D.description,handleDismiss:function(){},WinImageSVG:b.a,dismiss:Object(u.__)("OK, Got it!","google-site-kit"),onDismiss:N,format:"large",type:"win-success",learnMoreLabel:D.learnMore.label,learnMoreDescription:D.learnMore.description,learnMoreURL:D.learnMore.url,anchorLink:M.link,anchorLinkLabel:M.label},r.createElement(v.a,{moduleSlugs:["search-console","adsense","analytics","pagespeed-insights"]})));case"user_input_success":return r.createElement(h.a,null)}}}).call(this,n(18),n(3))},205:function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(9),s=n(206),u=n(24),d=n(13),f=c.a.useSelect;t.a=function UserInputPromptBannerNotification(){var t=Object(a.useContext)(u.b),n=f((function(e){return e(d.a).getUserInputState()})),r="".concat(t,"_user-input-prompt-notification"),o=Object(a.useState)(!1),c=i()(o,2),g=c[0],m=c[1];Object(a.useEffect)((function(){g||void 0===n||"completed"===n||Object(l.v)(r,"view_notification").finally((function(){return m(!0)}))}),[r,n,g]);return e.createElement(s.a,{isDismissible:!0,onCTAClick:function(){Object(l.v)(r,"confirm_notification")},onDismiss:function(){Object(l.v)(r,"dismiss_notification")}})}}).call(this,n(3))},206:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputSettings}));var r=n(0),i=n.n(r),a=n(127),o=n(1),c=n(4),l=n.n(c),s=n(42),u=n(9),d=n(13),f=n(15),g=n(225),m=l.a.useSelect;function UserInputSettings(t){var n=t.onCTAClick,r=t.onDismiss,i=t.isDismissible,c=Object(a.a)(UserInputSettings),l=m((function(e){return e(f.c).getAdminURL("googlesitekit-user-input")}));return"completed"===m((function(e){return e(d.a).getUserInputState()}))?null:e.createElement(s.a,{id:"user-input-settings-notification-".concat(c),className:"googlesitekit-user-input__notification",title:Object(o.__)("Customize Site Kit to match your goals","google-site-kit"),description:Object(o.__)("Answer 5 questions and Site Kit will customize your dashboard with specific metrics and opportunities that match your site’s goals","google-site-kit"),format:"large",dismissExpires:3*Object(u.k)("hour"),ctaLink:l,ctaLabel:Object(o.__)("Let’s go","google-site-kit"),onCTAClick:n,dismiss:Object(o.__)("Remind me later","google-site-kit"),WinImageSVG:g.a,isDismissible:i,onDismiss:r})}UserInputSettings.propTypes={onCTAClick:i.a.func,onDismiss:i.a.func,isDismissible:i.a.bool}}).call(this,n(3))},207:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IdeaHubPromptBannerNotification}));var r=n(5),i=n.n(r),a=n(14),o=n.n(a),c=n(12),l=n.n(c),s=n(1),u=n(2),d=n(4),f=n.n(d),g=n(226),m=n(20),p=n(13),v=n(36),b=n(15),h=n(31),y=n(16),_=n(9),k=n(42),O=f.a.useSelect,E=f.a.useDispatch;function IdeaHubPromptBannerNotification(){var t=Object(u.useState)(!1),n=l()(t,2),r=n[0],a=n[1],c=E(p.a).dismissItem,d=E(m.a).activateModule,f=E(v.a).navigateTo,j=E(b.c).setInternalServerError,w=O((function(e){return e(m.a).isModuleActive("idea-hub")})),S=O((function(e){return e(p.a).isItemDismissed("idea-hub-module-notification")})),x=O((function(e){var t;return null===(t=e(h.u))||void 0===t?void 0:t.getAdminReauthURL()})),N=Object(u.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c("idea-hub-module-notification");case 2:Object(_.v)("".concat(y.g,"_module-activation-notification"),"dismiss_notification","idea-hub");case 3:case"end":return e.stop()}}),e)}))),[c]),C=Object(u.useCallback)(function(){var e=o()(i.a.mark((function e(t){var n,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,d("idea-hub");case 3:if(n=e.sent,r=n.error,a=n.response,!r){e.next=8;break}return e.abrupt("return",j({id:"idea-hub-setup-error",description:r.message}));case 8:return e.next=10,Object(_.v)("".concat(y.g,"_module-activation-notification"),"confirm_notification","idea-hub");case 10:return e.next=12,Object(_.v)("".concat(y.g,"_module-activation-notification"),"activate_module","idea-hub");case 12:f(a.moduleReauthURL);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[d,f,j]),D=w||void 0===w||S||void 0===S;return Object(u.useEffect)((function(){D||!1!==r||(Object(_.v)("".concat(y.g,"_module-activation-notification"),"view_notification","idea-hub"),a(!0))}),[D,r,a]),D?null:e.createElement(k.a,{id:"idea-hub-module-notification",title:Object(s.__)("Get new ideas to write about based on what people are searching for","google-site-kit"),description:Object(s.__)("Set up Idea Hub to get topic suggestions based on unanswered searches that match your site’s topics.","google-site-kit"),ctaLabel:Object(s.__)("Set up","google-site-kit"),ctaLink:x,SmallImageSVG:g.a,format:"small",type:"win-success",dismiss:Object(s.__)("Dismiss","google-site-kit"),onDismiss:N,onCTAClick:C})}}).call(this,n(3))},21:function(e,t,n){"use strict";(function(e){var r=n(19),i=n.n(r),a=n(17),o=n.n(a),c=n(10),l=n.n(c),s=n(0),u=n.n(s),d=n(118),f=n(274),g=n(2),m=n(1),p=n(8),v=Object(g.forwardRef)((function(t,n){var r=t.children,a=t.href,c=t.text,s=t.className,u=t.danger,v=t.disabled,b=t.target,h=t.icon,y=t.trailingIcon,_=t["aria-label"],k=t.title,O=t.tooltip,E=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","tooltip"]),j=Object(g.useCallback)((function(e){null!==e&&p.i.attachTo(e)}),[]),w=Object(d.a)(n,j),S=a&&!v?"a":"button",x=e.createElement(S,i()({className:l()("mdc-button",s,{"mdc-button--raised":!c,"mdc-button--danger":u}),href:v?void 0:a,ref:w,disabled:!!v,"aria-label":function(){var e=_;if("_blank"!==b)return e;var t=Object(m._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof r&&(e=e||r),e?"".concat(e," ").concat(t):t}(),target:b||"_self",role:"a"===S?"button":void 0},E),h,r&&e.createElement("span",{className:"mdc-button__label"},r),y);return O&&(k||_)||h&&(k||_)&&void 0===r?e.createElement(f.a,{title:k||_,classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},x):x}));v.displayName="Button",v.propTypes={onClick:u.a.func,children:u.a.node,href:u.a.string,text:u.a.bool,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,icon:u.a.element,trailingIcon:u.a.element,title:u.a.string,tooltip:u.a.bool},v.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null,tooltip:!1},t.a=v}).call(this,n(3))},219:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(1),o=n(2),c=n(4),l=n.n(c),s=n(42),u=n(15),d=l.a.useDispatch,f=function CoreSiteBannerNotification(t){var n=t.content,r=t.ctaLabel,i=t.ctaTarget,a=t.ctaURL,c=t.dismissLabel,l=t.dismissible,f=t.id,g=t.learnMoreLabel,m=t.learnMoreURL,p=t.title,v=d(u.c),b=v.dismissNotification,h=v.acceptNotification,y=Object(o.useCallback)((function(){h(f)}),[f,h]),_=Object(o.useCallback)((function(){b(f)}),[f,b]);return e.createElement(s.a,{key:f,id:f,title:p,description:n,learnMoreURL:m,learnMoreLabel:g,ctaLink:a,ctaLabel:r,ctaTarget:i,dismiss:c,isDismissible:l,onCTAClick:y,onDismiss:_})};f.propTypes={content:i.a.string,ctaLabel:i.a.string,ctaTarget:i.a.string,ctaURL:i.a.string,dismissLabel:i.a.string,dismissible:i.a.bool,id:i.a.string.isRequired,learnMoreLabel:i.a.string,learnMoreURL:i.a.string,title:i.a.string.isRequired},f.defaultProps={content:"",ctaLabel:"",ctaTarget:"",ctaURL:"",dismissLabel:Object(a.__)("OK, Got it!","google-site-kit"),dismissible:!0,learnMoreLabel:"",learnMoreURL:""},t.a=f}).call(this,n(3))},22:function(e,t,n){"use strict";(function(e){var r=n(19),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n.n(c),s=n(10),u=n.n(s),d=n(122),f=n(1),g=n(2),m=Object(g.forwardRef)((function(t,n){var r,a=t["aria-label"],c=t.arrow,l=t.back,s=t.caps,g=t.children,m=t.className,p=t.danger,v=t.disabled,b=t.external,h=t.hideExternalIndicator,y=t.href,_=t.inherit,k=t.inverse,O=t.onClick,E=t.small,j=t.to,w=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inherit","inverse","onClick","small","to"]),S=y||j||!O?j?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",x="BUTTON"===S||"BUTTON_DISABLED"===S?"button":"ROUTER_LINK"===S?d.b:"a",N=("EXTERNAL_LINK"===S&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===S&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof g?"".concat(g," ").concat(r):void 0:a);return e.createElement(x,i()({"aria-label":N,className:u()("googlesitekit-cta-link",m,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":k,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":E,"googlesitekit-cta-link--inherit":_,"googlesitekit-cta-link--caps":s,"googlesitekit-cta-link--danger":p,"googlesitekit-cta-link--disabled":v}),disabled:v,href:"LINK"===S||"EXTERNAL_LINK"===S?y:void 0,onClick:O,rel:"EXTERNAL_LINK"===S?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===S?"_blank":void 0,to:j},w),g)}));m.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inherit:l.a.bool,inverse:l.a.bool,onClick:l.a.func,small:l.a.bool,to:l.a.string},m.defaultProps={arrow:!1,back:!1,caps:!1,className:"",danger:!1,disabled:!1,external:!1,hideExternalIndicator:!1,href:"",inherit:!1,inverse:!1,small:!1},t.a=m}).call(this,n(3))},220:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModulesList}));var r=n(6),i=n.n(r),a=n(5),o=n.n(a),c=n(14),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(4),g=n.n(f),m=n(15),p=n(20),v=n(36),b=n(16),h=n(9),y=n(221);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 k(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}var O=g.a.useSelect,E=g.a.useDispatch;function ModulesList(t){var n=t.moduleSlugs,r=E(p.a).activateModule,a=E(v.a).navigateTo,c=E(m.c).setInternalServerError,s=O((function(e){return e(p.a).getModules()})),u=Object(d.useCallback)(function(){var e=l()(o.a.mark((function e(t){var n,i,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r(t);case 2:if(n=e.sent,i=n.response,!(l=n.error)){e.next=8;break}return c({id:"setup-module-error",description:l.message}),e.abrupt("return",null);case 8:return e.next=10,Object(h.v)("".concat(b.g,"_authentication-success-notification"),"activate_module",t);case 10:a(i.moduleReauthURL);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,a,c]);if(void 0===s)return null;var f=Array.isArray(n)&&n.length?n.filter((function(e){return s[e]})).reduce((function(e,t){return k(k({},e),{},i()({},t,s[t]))}),{}):s,g=Object.values(f).filter((function(e){return!e.internal&&0===e.dependencies.length})).sort((function(e,t){return e.order-t.order}));return e.createElement("div",{className:"googlesitekit-modules-list"},g.map((function(t){return e.createElement(y.a,{key:t.slug,module:t,handleSetupModule:u})})))}ModulesList.propTypes={moduleSlugs:u.a.arrayOf(u.a.string).isRequired}}).call(this,n(3))},221:function(e,t,n){"use strict";(function(e){var r=n(10),i=n.n(r),a=n(1),o=n(22),c=n(121),l=n(195),s=n(4),u=n.n(s),d=n(20),f=u.a.useSelect;t.a=function ModulesListItem(t){var n=t.module,r=t.handleSetupModule,s=n.slug,u=n.name,g=n.connected,m=n.active,p=g&&m,v=f((function(e){return e(d.a).canActivateModule(s)}));return e.createElement("div",{className:i()("googlesitekit-modules-list__module","googlesitekit-modules-list__module--".concat(s),{"googlesitekit-settings-connect-module--disabled":!p&&!v})},e.createElement("div",{className:"googlesitekit-settings-connect-module__wrapper"},e.createElement("div",{className:"googlesitekit-settings-connect-module__logo"},e.createElement(c.a,{slug:s})),e.createElement("h3",{className:"googlesitekit-settings-connect-module__title"},u)),!p&&e.createElement(l.a,{slug:s,context:"modules-list"}),p&&e.createElement("span",{className:"googlesitekit-settings-module__status"},e.createElement("span",{className:"googlesitekit-settings-module__status-icon googlesitekit-settings-module__status-icon--connected"}),Object(a.__)("Connected","google-site-kit")),!p&&e.createElement(o.a,{onClick:function(){return r(s)},arrow:!0,small:!0,inherit:!0,disabled:!v},Object(a.__)("Connect Service","google-site-kit")))}}).call(this,n(3))},222:function(e,t,n){"use strict";var r=n(2);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",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M200 10v31.42M105 35.46l15.71 27.2M35.46 105l27.2 15.71M10 200h31.42M35.46 295l27.2-15.71M364.54 295l-27.2-15.71M390 200h-31.42M364.54 105l-27.2 15.71M295 35.46l-15.71 27.2"}),o=r.createElement("path",{d:"M251.2 51.21c-.67-1 10.33-9.56 11.16-10.16 5.81-4.22 12.64-8 19.94-8.46 7.91-.53 15.45 2.58 23 4.58 10.31 2.77 21.44 3.8 32.09 1.69 9.59-1.9 20.83-5.9 27.87-12.93-.24.24.3 2.83.33 3.18a65.31 65.31 0 010 8.51 59.1 59.1 0 01-7 25.06 43.41 43.41 0 01-18.94 18.13C329.14 86 317.78 88.93 307 93.41c-6.7 2.79-18.11 7.23-18.11 16.07z",fill:"#F439A0"}),c=r.createElement("path",{stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:7,d:"M248.83 47.55l93.63 144.69"}),l=r.createElement("path",{d:"M279.89 172.88c18.52 6.68 53.35 9.87 64.53-10.87 14.77-27.39-23.47-38.52-43.87-34.53M88.94 145C13 233.15 70 296.93 119 267.62",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:9}),s=r.createElement("path",{d:"M234.54 260.65c59.23 111 7.37 98-23.53 93.23l2 20.19M186.58 274.6c31.93 144.76-28.4 65.93-35.58 53.33l-12.25 14.36",stroke:"#188038",strokeLinejoin:"round",strokeWidth:9}),u=r.createElement("path",{d:"M234.54 260.65q3.92 7.32 7.19 14M186.58 274.6q2.19 9.88 3.81 18.42",stroke:"#137333",strokeLinejoin:"round",strokeWidth:9}),d=r.createElement("path",{fill:"#1E8E3E",d:"M170.71 172.85l-98 39.35 39.35 98 98-39.35 98-39.35-39.35-98-98 39.35z"}),f=r.createElement("path",{d:"M158.45 268.63c-16.25 2.37-32.52-5.2-43.75-18.63l83.92-22.8",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6}),g=r.createElement("path",{stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:7,d:"M316.62 152.31l25.84 39.93"});t.a=function SvgSuccessGreen(e){return r.createElement("svg",i({viewBox:"0 0 400 400",fill:"none"},e),a,o,c,l,s,u,d,f,g)}},223:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputSuccessBannerNotification}));var r=n(1),i=n(2),a=n(42),o=n(224),c=n(9),l=n(24);function UserInputSuccessBannerNotification(){var t=Object(i.useContext)(l.b),n="".concat(t,"_user-input-success-notification");Object(i.useEffect)((function(){Object(c.v)(n,"view_notification")}),[n]);return e.createElement(a.a,{id:"user-input-success",title:Object(r.__)("Congrats! You set your site goals","google-site-kit"),description:Object(r.__)("Now Site Kit will begin suggesting metrics to add to your dashboard that are relevant specifically to you, based on the goals you shared","google-site-kit"),SmallImageSVG:o.a,dismiss:Object(r.__)("OK, got it!","google-site-kit"),format:"small",onDismiss:function(){Object(c.v)(n,"confirm_notification")}})}}).call(this,n(3))},224:function(e,t,n){"use strict";var r=n(2);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("circle",{cx:150,cy:150,r:100,fill:"#D2E3FC"}),o=r.createElement("path",{d:"M154.32 135.43c-10.56 8.65-20.59 16.68-30.15 23.63-5.07 3.7-14.21-1.31-15.28-8.16-1.86-12.85-3-26.17-3.63-39.8-12.15-7.93-24.13-15.53-35.44-22.35-6.11-3.63-4.22-12.48 3-15.39 13.28-5.23 26.64-10.44 40-15.38 4.23-13.83 8.45-27.77 12.11-41.4 2-7.39 10.41-8.93 14.89-2.73 8.25 11.45 17.13 23 26 34.42 14.22-.1 28.56 0 42.84.22 7.73.18 12.64 7.79 8.2 13.35-8.15 10.38-16.67 21.73-25.21 33.45 4.25 13 7.89 25.84 10.7 38.51 1.43 6.79-5.34 14.71-11.39 13-11.49-3.06-23.71-7.03-36.64-11.37z",fill:"#FBBC04"}),c=r.createElement("path",{d:"M205.44 73.7c10.67 26.59 20.64 47.74 16.58 76.8-4.67 33.43-33.31 70.54-68.1 75.46-17.34 2.45-35.57-2.42-47.85-15-12-12.26-18.78-29.18-21.81-45.85-3.25-17.94-2.2-36.87 3.91-54.11a77.26 77.26 0 014.71-10.76",stroke:"#4285F4",strokeLinecap:"square",strokeLinejoin:"round",strokeWidth:6}),l=r.createElement("g",{clipPath:"url(#milestone-blue_svg__clip0)",strokeLinejoin:"round",strokeWidth:6},r.createElement("path",{d:"M151.73 225.81L144 246.63a35.18 35.18 0 00.07 24.7l6.51 12.51h-8.34",stroke:"#1967D2"}),r.createElement("path",{stroke:"#185ABC",d:"M151.73 225.81l-5.6 15.04"}),r.createElement("path",{stroke:"#1967D2",d:"M164.04 231.67v52.17h7.76"}),r.createElement("path",{stroke:"#185ABC",d:"M164.04 221.67v20.1"})),s=r.createElement("path",{d:"M161.08 235.06a36.17 36.17 0 0026.08-44L117.07 209a36.17 36.17 0 0044.01 26.06z",fill:"#1A73E8"}),u=r.createElement("path",{d:"M142.64 217.51c5.53 7.83 16.11 10.61 24.45 1.64M145.07 215.59c-2.58.66-2.41 3.54-5.51 4.88",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:3}),d=r.createElement("path",{stroke:"#FEEFC3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:6,d:"M101.3 47.04L75.8 22.68M60.45 68.72l-34.37-6.91M208.28 22.68l-18.86 17.87M265.17 73.7l-32.36 3.02M66.15 109.02l-49.01 15.36"}),f=r.createElement("defs",null,r.createElement("clipPath",{id:"milestone-blue_svg__clip0"},r.createElement("circle",{cx:150,cy:150,r:100})));t.a=function SvgMilestoneBlue(e){return r.createElement("svg",i({viewBox:"0 0 300 300",fill:"none"},e),a,o,c,l,s,u,d,f)}},225:function(e,t,n){"use strict";var r=n(2);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:"M294.5 39.35h244.69v251.12a7.5 7.5 0 01-7.5 7.5H302a7.5 7.5 0 01-7.5-7.5V39.35z",fill:"#F1F3F4"}),o=r.createElement("path",{fill:"#FFF",stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:1.5,d:"M314.5 68.28h45.25v45.25H314.5zM314.5 146.04h45.25v45.25H314.5z"}),c=r.createElement("path",{d:"M313.38 145.1c14.28 17.62 17.8 21.42 32.08 39",stroke:"#9AA0A6",strokeLinejoin:"round",strokeWidth:5}),l=r.createElement("path",{fill:"#FFF",stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:1.5,d:"M314.5 223.79h45.25v45.25H314.5z"}),s=r.createElement("ellipse",{cx:149.01,cy:322.24,rx:72.28,ry:7.51,fill:"#F1F3F4"}),u=r.createElement("path",{d:"M302 10h229.69a7.5 7.5 0 017.5 7.5v21.85H294.5V17.5A7.5 7.5 0 01302 10z",fill:"#80868B"}),d=r.createElement("circle",{cx:314.91,cy:24.68,r:5.32,fill:"#FFF"}),f=r.createElement("circle",{cx:336.18,cy:24.68,r:5.32,fill:"#FFF"}),g=r.createElement("path",{d:"M232.78 231.28c42.24.91 55.06-20.59 39.78-70.34",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:8.03}),m=r.createElement("path",{d:"M158.93 241.76c-2.23 25.53-1.22 59.63 6.93 80.6H184M126.69 241.76c-2.29 25-.62 58.69 6.93 80.6H116.8",stroke:"#188038",strokeLinejoin:"round",strokeWidth:8.03}),p=r.createElement("path",{d:"M158.93 241.76a244.31 244.31 0 00-1 26.13M126.69 241.76c-.57 6.24-.9 17.52-1 23.59",stroke:"#137333",strokeLinejoin:"round",strokeWidth:8.03}),v=r.createElement("path",{d:"M36.83 277.33c-9.72-9.09-13.91-26.06-8.22-38.36 4.92-10.64 20.49-22.29 31.69-23.47",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:8.03}),b=r.createElement("path",{fill:"#1E8E3E",d:"M151.1 160.94l93.85 6.87-6.87 93.85-93.85-6.87-93.85-6.87 6.87-93.85 93.85 6.87z"}),h=r.createElement("path",{d:"M181.25 219.25c-18.11 15.64-48.49 18.13-68.47-5",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5.74}),y=r.createElement("path",{stroke:"#DADCE0",strokeLinejoin:"round",strokeWidth:20,d:"M380.07 90.91h139.12M380.07 168.66h139.12M380.07 246.42h139.12"}),_=r.createElement("path",{fill:"#FBBC04",d:"M319.603 184.523l-155.3-70.055 8.98-19.908 155.3 70.055z"}),k=r.createElement("path",{fill:"#DADCE0",d:"M328.59 164.62l25.17 22.94-34.15-3.03 8.98-19.91z"}),O=r.createElement("path",{fill:"#5F6368",d:"M344.35 186.72l9.41.84-6.92-6.29-2.49 5.45z"}),E=r.createElement("path",{d:"M164.22 114.43h.09L175 119.3l9-19.91-10.7-4.84h-.09a10.92 10.92 0 00-9 19.91z",fill:"#EE675C"}),j=r.createElement("path",{fill:"#DADCE0",d:"M176.772 120.092l-4.557-2.056 8.984-19.917 4.558 2.056z"}),w=r.createElement("path",{stroke:"#F29900",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:4,d:"M318.21 172.07l-130.15-58.71"}),S=r.createElement("path",{d:"M307.33 65.64a267 267 0 0064.05 58M312.39 117.93l40.77-54.45",stroke:"#9AA0A6",strokeLinejoin:"round",strokeWidth:5});t.a=function SvgUserInputPrompt(e){return r.createElement("svg",i({viewBox:"0 0 570 336",fill:"none"},e),a,o,c,l,s,u,d,f,g,m,p,v,b,h,y,_,k,O,E,j,w,S)}},226:function(e,t,n){"use strict";var r=n(2);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("circle",{cx:72,cy:72,r:72,fill:"#FDE9CC"}),o=r.createElement("g",{clipPath:"url(#idea-hub-notification_svg__clip0)"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M74.755 64.393c1.844 1.18 2.421 3.625 1.33 5.519l-.073.12L67.567 83.6H79.02c3.314 0 5.194 3.82 3.254 6.5l-.076.103-14.014 18.223a3.993 3.993 0 01-5.657.709c-1.717-1.359-2.054-3.849-.784-5.623l.085-.115 8.936-11.62H60.256c-3.13 0-5.05-3.452-3.475-6.158l.067-.113 12.348-19.839a3.997 3.997 0 015.56-1.274zm16.02-18.441l.044.027.023.014a4.071 4.071 0 011.287 5.575l-4.313 7a3.995 3.995 0 01-5.498 1.306l-.043-.027-.023-.014a4.071 4.071 0 01-1.286-5.575l4.312-7a3.996 3.996 0 015.497-1.306zm-36.837 0a3.996 3.996 0 015.498 1.306l4.312 7a4.071 4.071 0 01-1.287 5.575l-.023.014-.043.027a3.995 3.995 0 01-5.497-1.306l-4.313-7a4.071 4.071 0 011.287-5.575l.023-.014.043-.027zM72.34 34c2.183 0 3.96 1.76 4.03 3.956l.001.132v14.138c0 2.258-1.804 4.088-4.03 4.088-2.183 0-3.96-1.76-4.029-3.956l-.002-.132V38.088c0-2.258 1.805-4.088 4.03-4.088z",fill:"url(#idea-hub-notification_svg__paint0_linear)"})),c=r.createElement("defs",null,r.createElement("linearGradient",{id:"idea-hub-notification_svg__paint0_linear",x1:76.563,y1:27.817,x2:53.123,y2:106.964,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#FAA900"}),r.createElement("stop",{offset:1,stopColor:"#F57F00"})),r.createElement("clipPath",{id:"idea-hub-notification_svg__clip0"},r.createElement("path",{fill:"#fff",transform:"translate(52 34)",d:"M0 0h40.714v76H0z"})));t.a=function SvgIdeaHubNotification(e){return r.createElement("svg",i({viewBox:"0 0 144 144",fill:"none"},e),a,o,c)}},227:function(e,t,n){"use strict";(function(e){var r=n(1),i=n(88),a=n(228),o=n(54);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(3))},228:function(e,t,n){"use strict";var r=n(2);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)}},24:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},27: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"},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n(81),i=e._googlesitekitBaseData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,l=i.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:i.trackingID,referenceSiteURL:i.referenceSiteURL,userIDHash:i.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),m=u.trackEvent;function p(e){e?d():f()}c&&l&&g()}).call(this,n(18))},301:function(e,t,n){"use strict";(function(e){var t=n(120),r=n(33),i=n(53),a=n(9),o=n(203),c=n(204),l=n(205),s=n(207),u=Object(a.j)("notification"),d=Object(i.a)(e.createElement(o.a,null)),f=Object(i.a)(e.createElement(c.a,null)),g=Object(i.a)(e.createElement(l.a,null)),m=Object(i.a)(e.createElement(s.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",g,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",m,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},31:function(e,t,n){"use strict";n.d(t,"u",(function(){return i})),n.d(t,"i",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"k",(function(){return c})),n.d(t,"l",(function(){return l})),n.d(t,"j",(function(){return s})),n.d(t,"q",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return p})),n.d(t,"g",(function(){return v})),n.d(t,"f",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"o",(function(){return y})),n.d(t,"p",(function(){return _})),n.d(t,"n",(function(){return k})),n.d(t,"s",(function(){return O})),n.d(t,"t",(function(){return E})),n.d(t,"r",(function(){return j}));var r=n(16),i="modules/idea-hub",a="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",l="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",g="IDEA_HUB_ACTIVITY_IS_DELETING",m="IDEA_HUB_ACTIVITY_DELETED",p="IDEA_HUB_ACTIVITY_IS_PINNING",v="IDEA_HUB_ACTIVITY_PINNED",b="IDEA_HUB_ACTIVITY_IS_UNPINNING",h="IDEA_HUB_ACTIVITY_UNPINNED",y="".concat(r.g,"_idea-hub-widget"),_="".concat(r.o,"_idea-hub-saved-ideas-notification"),k="".concat(r.l,"_idea-hub"),O="new-ideas",E="saved-ideas",j="draft-ideas"},33: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(18))},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},38:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},39:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(5),i=n.n(r),a=n(14),o=n.n(a);n(23);function c(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 l(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 l(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 l(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 s,u="googlesitekit_".concat("1.49.0","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=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 m(){return p.apply(this,arguments)}function p(){return(p=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===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(a=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(a);case 11:if(!t.sent){t.next=13;break}s=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===s&&(s=null),t.abrupt("return",s);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,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).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)}}(),b=function(){var t=o()(i.a.mark((function t(n,r){var a,o,c,l,s,d,f,g,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,c=void 0===o?3600:o,l=a.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=a.isError,f=void 0!==d&&d,t.next=3,m();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),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)}}(),h=function(){var t=o()(i.a.mark((function t(n){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),y=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,m();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(u)&&r.push(o.substring(u.length));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)}}()}).call(this,n(18))},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e,r){var i=n(6),a=n.n(i),o=n(5),c=n.n(o),l=n(14),s=n.n(l),u=n(12),d=n.n(u),f=n(0),g=n.n(f),m=n(10),p=n.n(m),v=n(231),b=n.n(v),h=n(103),y=n(2),_=n(88),k=n(8),O=n(114),E=n(49),j=n(60),w=n(74),S=n(21),x=n(155),N=n(116),C=n(22),D=n(121),T=n(39),R=n(9),M=n(16),P=n(99);function BannerNotification(t){var n,i=t.anchorLink,o=t.anchorLinkLabel,l=t.blockData,u=t.children,f=t.className,g=t.ctaLabel,m=t.ctaLink,v=t.ctaTarget,A=t.description,L=t.dismiss,I=t.dismissExpires,z=t.format,q=t.id,U=t.isDismissible,F=t.learnMoreDescription,B=t.learnMoreLabel,H=t.learnMoreURL,V=t.logo,K=t.module,W=t.moduleName,G=t.onCTAClick,Q=t.onDismiss,$=t.pageIndex,Y=t.showOnce,J=t.SmallImageSVG,X=t.title,Z=t.type,ee=t.WinImageSVG,te=Object(y.useState)(!1),ne=d()(te,2),re=ne[0],ie=ne[1],ae=Object(y.useState)(!1),oe=d()(ae,2),ce=oe[0],le=oe[1],se=Object(y.useRef)(),ue="notification::dismissed::".concat(q),de=function(){return Object(T.d)(ue,new Date,{ttl:null})},fe=Object(P.a)();function ge(){return(ge=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(R.v)("".concat(M.g,"_site-notification"),"dismiss_notification",q);case 4:if(!Q){e.next=7;break}return e.next=7,Q(t);case 7:me();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function me(){var e=se.current;ie(!0),setTimeout(s()(c.a.mark((function t(){var n;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,de();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function pe(){return(pe=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(R.v)("".concat(M.g,"_site-notification"),"confirm_notification",q);case 3:if(!G){e.next=6;break}return e.next=6,G(t);case 6:U&&me();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(h.a)(s()(c.a.mark((function e(){var t,n;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(R.v)("".concat(M.g,"_site-notification"),"view_notification",q);case 2:if(!(I>0)){e.next=5;break}return e.next=5,he();case 5:if(!U){e.next=11;break}return e.next=8,Object(T.b)(ue);case 8:t=e.sent,n=t.cacheHit,le(n);case 11:if(!Y){e.next=14;break}return e.next=14,de();case 14:case"end":return e.stop()}}),e)}))));var ve=Object(y.useCallback)((function(t){Object(E.c)(i)&&(t.preventDefault(),e.history.replaceState({},"",i),e.scrollTo({top:Object(O.a)(i,fe),behavior:"smooth"}))}),[i,fe]);function be(){return(be=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(R.v)("".concat(M.g,"_site-notification"),"click_learn_more_link",q);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(){return ye.apply(this,arguments)}function ye(){return(ye=s()(c.a.mark((function e(){var t,n,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(T.b)(ue);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(I,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(T.a)(ue);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(U&&(void 0===ce||ce))return null;var _e,ke,Oe=re?"is-closed":"is-open",Ee="large"===z&&"win-stats-increase"===Z;_e="large"===z?Ee?{mdSize:5,lgSize:8,smOrder:2,mdOrder:1}:{mdSize:6,lgSize:8,smOrder:2,mdOrder:1}:"small"===z?{smSize:3,mdSize:7,lgSize:11}:{size:12},ke="win-warning"===Z?r.createElement(x.a,{width:34}):"win-error"===Z?r.createElement(N.a,{width:28}):"";var je=r.createElement(y.Fragment,null,l&&r.createElement(k.l,null,b()(l,(function(e,t){return r.createElement(k.a,{key:t,lgSize:Ee?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(w.a,e)))})))),we=r.createElement(y.Fragment,null,X&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},X),i&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(C.a,{href:i,onClick:ve},o)),A&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(y.isValidElement)(A)?A:r.createElement("span",{dangerouslySetInnerHTML:Object(j.a)(A,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),B&&r.createElement(y.Fragment,null," ",r.createElement(C.a,{onClick:function(e){return be.apply(this,arguments)},href:H,external:!0,inherit:!0},B),F),$&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},$))),u),Se=K?r.createElement(D.a,{slug:K,size:19}):r.createElement(_.a,{height:"34",width:"32"}),xe=Ee?{size:12,smOrder:2,mdOrder:1}:{size:12};return r.createElement("section",{id:q,ref:se,className:p()(f,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(z),z),a()(n,"googlesitekit-publisher-win--".concat(Z),Z),a()(n,"googlesitekit-publisher-win--".concat(Oe),Oe),n))},r.createElement(k.b,null,r.createElement(k.l,null,V&&r.createElement(k.a,xe,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},Se),W&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},W)),J&&r.createElement(k.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(J,null)),r.createElement(k.a,_e,Ee?r.createElement(k.l,null,r.createElement(k.a,{mdSize:8,lgSize:5},we),r.createElement(k.a,{alignBottom:!0,mdSize:8,lgSize:7},je)):r.createElement(y.Fragment,null,we,je),m&&r.createElement(S.a,{className:"googlesitekit-notification__cta",href:m,target:v,onClick:function(e){return pe.apply(this,arguments)}},g),U&&L&&r.createElement(C.a,{onClick:function(e){return ge.apply(this,arguments)}},L)),ee&&r.createElement(k.a,{mdSize:2,lgSize:4,smOrder:1,mdOrder:2},r.createElement("div",{className:"googlesitekit-publisher-win__image-large"},r.createElement(ee,null))),("win-error"===Z||"win-warning"===Z)&&r.createElement(k.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},ke)))))}BannerNotification.propTypes={id:g.a.string.isRequired,className:g.a.string,title:g.a.string.isRequired,description:g.a.node,learnMoreURL:g.a.string,learnMoreDescription:g.a.string,learnMoreLabel:g.a.string,blockData:g.a.array,WinImageSVG:g.a.elementType,SmallImageSVG:g.a.elementType,format:g.a.string,ctaLink:g.a.string,ctaLabel:g.a.string,type:g.a.string,dismiss:g.a.string,isDismissible:g.a.bool,logo:g.a.bool,module:g.a.string,moduleName:g.a.string,pageIndex:g.a.string,dismissExpires:g.a.number,showOnce:g.a.bool,onCTAClick:g.a.func,onDismiss:g.a.func,anchorLink:g.a.string,anchorLinkLabel:g.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(18),n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(27);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},49:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(105);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){return/^#\w[A-Za-z0-9-_]*$/.test(e)}function l(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)}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),i=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},54:function(e,t,n){"use strict";(function(e){var r=n(19),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n.n(c),s=n(10),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(3))},56:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",i='Invalid date range, it must be a string with the format "last-x-days".',a=n(7),o=n.n(a),c=n(37),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(38),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),i=n[0],a=n[1],c=n[2];return new Date(i,a-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function p(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
10
  /* translators: %s: number of days */
11
  Object(v._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}}}},57:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(1),o=n(202),c=n(330),l=n(21),s=n(88),u=function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.a,{"aria-label":Object(a.__)("Dismiss","google-site-kit"),icon:e.createElement(o.a,{icon:c.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))};u.propTypes={title:i.a.string.isRequired,dismissSurvey:i.a.func.isRequired},t.a=u}).call(this,n(3))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/ui"},59:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(10),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(3))},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(28),i=n.n(r),a=n(66),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,/\/+$/,"")}},65:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),i=n(95),a=n(33),o=function(e){var t=Object(r.useContext)(i.a);return Object(a.b)(e,t)}},66:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(111),i=n.n(r)()(e)}).call(this,n(18))},69:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return k})),n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return j})),n.d(t,"a",(function(){return w}));var r=n(12),i=n.n(r),a=n(28),o=n.n(a),c=n(6),l=n.n(c),s=n(17),u=n.n(s),d=n(26),f=n(64),g=n.n(f),m=n(1);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 v(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=h(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var n=Math.floor(e/60/60),r=Math.floor(e/60%60),i=Math.floor(e%60);return{hours:n,minutes:r,seconds:i,formatUnit:function(){var a=t.unitDisplay,o=v(v({unitDisplay:void 0===a?"short":a},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?E(i,v(v({},o),{},{unit:"second"})):Object(m.sprintf)(
12
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
@@ -21,6 +21,6 @@ Object(m.__)("%sK","google-site-kit"),E(y(e))):1e3<=e?Object(m.sprintf)(// trans
21
  Object(m.__)("%sK","google-site-kit"),E(y(e),e%10==0?{}:t)):E(e,{signDisplay:"never",maximumFractionDigits:1})},k=function(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={};if("%"===t)n={style:"percent",maximumFractionDigits:2};else{if("s"===t)return b(e,{unitDisplay:"narrow"});t&&"string"==typeof t?n={style:"currency",currency:t}:Object(d.isPlainObject)(t)&&(n=v({},t))}var r=n,i=r.style,a=void 0===i?"metric":i;return"metric"===a?_(e):"duration"===a?b(e,t):E(e,n)},O=g()(console.warn),E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?w():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){O("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)}},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?w():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)}
22
  /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},w=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(18))},74:function(e,t,n){"use strict";(function(e){var r=n(44),i=n.n(r),a=n(45),o=n.n(a),c=n(78),l=n.n(c),s=n(67),u=n.n(s),d=n(68),f=n.n(d),g=n(46),m=n.n(g),p=n(0),v=n.n(p),b=n(10),h=n.n(b),y=n(2),_=n(1),k=n(59),O=n(94),E=n(9);function j(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=m()(e);if(t){var i=m()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var w=function(t){u()(DataBlock,t);var n=j(DataBlock);function DataBlock(e){var t;return i()(this,DataBlock),(t=n.call(this,e)).handleClick=t.handleClick.bind(l()(t)),t.handleKeyPress=t.handleKeyPress.bind(l()(t)),t}return o()(DataBlock,[{key:"handleClick",value:function(){var e=this.props,t=e.stat;(0,e.handleStatSelection)(t)}},{key:"handleKeyPress",value:function(e){e.preventDefault();var t=this.props,n=t.stat,r=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||r(n)}},{key:"render",value:function(){var t=this.props,n=t.className,r=t.title,i=t.datapoint,a=t.datapointUnit,o=t.change,c=t.changeDataUnit,l=t.context,s=t.period,u=t.selected,d=t.handleStatSelection,f=t.source,g=t.sparkline,m=t.invertChangeColor,p="button"===l?"button":"",v=g;v&&m&&(v=Object(y.cloneElement)(g,{invertChangeColor:m}));var b=o;c&&(b="%"===c?Object(E.q)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(E.q)(o,c)),s&&(b=Object(_.sprintf)(s,b));var j=void 0===i?i:Object(E.q)(i,a||void 0);return e.createElement("div",{className:h()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(l),{"googlesitekit-data-block--selected":u}),tabIndex:"button"===l?"0":"-1",role:d&&p,onClick:d&&this.handleClick,onKeyPress:d&&this.handleKeyPress,"aria-label":d&&r,"aria-pressed":d&&u},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},r),e.createElement("div",{className:"googlesitekit-data-block__datapoint"},j)),v&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},v),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:h()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(y.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(k.a,{direction:0<parseFloat(o)?"up":"down",invertColor:m})),e.createElement("span",{className:"googlesitekit-data-block__value"},b))),f&&e.createElement(O.a,{className:"googlesitekit-data-block__source",name:f.name,href:f.link,external:null==f?void 0:f.external})))}}]),DataBlock}(y.Component);w.propTypes={stat:v.a.number,onClick:v.a.func,className:v.a.string,title:v.a.string,datapoint:v.a.oneOfType([v.a.string,v.a.number]),datapointUnit:v.a.string,change:v.a.oneOfType([v.a.string,v.a.number]),changeDataUnit:v.a.oneOfType([v.a.string,v.a.bool]),context:v.a.string,period:v.a.string,selected:v.a.bool,handleStatSelection:v.a.func,invertChangeColor:v.a.bool},w.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1},t.a=w}).call(this,n(3))},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));var r=n(12),i=n.n(r),a=n(1);function o(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 c(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 c(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,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw a}}}}function c(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 l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),i=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&i)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var l=document.createElement("span");return l.setAttribute("class","screen-reader-text"),l.textContent=Object(a.sprintf)(
23
  /* translators: %d is the number of notifications */
24
- Object(a._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===i&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,a={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=i()(r.value,2),s=l[0],d=l[1];a[s]=d}}catch(e){c.e(e)}finally{c.f()}return a}}).call(this,n(18))},785:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivationApp}));var r=n(5),i=n.n(r),a=n(14),o=n.n(a),c=n(103),l=n(2),s=n(1),u=n(4),d=n.n(u),f=n(21),g=n(227),m=n(8),p=n(16),v=n(9),b=n(15),h=n(13),y=n(36),_=d.a.useSelect,k=d.a.useDispatch;function ActivationApp(){var t=k(y.a).navigateTo,n=_((function(e){return e(b.c).getAdminURL("googlesitekit-dashboard")})),r=_((function(e){return e(b.c).getAdminURL("googlesitekit-splash")})),a=_((function(e){return e(h.a).hasCapability(h.e)}));Object(c.a)((function(){Object(v.v)(p.e,"view_notification")}));var u=a?n:r,d=a?Object(s.__)("Go to Dashboard","google-site-kit"):Object(s.__)("Start setup","google-site-kit"),O=Object(l.useCallback)(function(){var e=o()(i.a.mark((function e(n){var r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),r=a?"dashboard":"splash",e.next=4,Object(v.v)(p.e,"confirm_notification",r);case 4:t(u);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[u,a,t]);return u?e.createElement(m.b,null,e.createElement(m.l,null,e.createElement(m.a,{size:12},e.createElement(g.a,null),e.createElement("h3",{className:"googlesitekit-heading-3 googlesitekit-activation__title"},Object(s.__)("Congratulations, the Site Kit plugin is now activated.","google-site-kit")),e.createElement(f.a,{id:"start-setup-link",className:"googlesitekit-start-setup",onClick:O},d)))):null}}).call(this,n(3))},79:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},8:function(e,t,n){"use strict";var r=n(84),i=n.n(r);n.d(t,"n",(function(){return i.a})),n.d(t,"c",(function(){return r.HelperText})),n.d(t,"d",(function(){return r.Input}));var a=n(187);n.d(t,"i",(function(){return a.a}));var o=n(239);n.d(t,"f",(function(){return o.a}));var c=n(240);n.d(t,"h",(function(){return c.a}));var l=n(104),s=n.n(l);n.d(t,"m",(function(){return s.a})),n.d(t,"k",(function(){return l.Option}));var u=n(241);n.d(t,"j",(function(){return u.a}));var d=n(238);n.d(t,"e",(function(){return d.a}));var f=n(237);n.d(t,"g",(function(){return f.a}));var g=n(86);n.d(t,"a",(function(){return g.a})),n.d(t,"b",(function(){return g.b})),n.d(t,"l",(function(){return g.c}))},80:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(185),i=n(59),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){var t,n,r,i,a,o,c,l,s,u,d,f,g,m,p;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(i=e[0])||void 0===i||null===(a=i.data)||void 0===a||null===(o=a.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(m=g[0])||void 0===m||null===(p=m.values)||void 0===p?void 0:p[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),i=n.n(r),a=n(82),o=n(83);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 l(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}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(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=l(l({},s),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(i,n);return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:Object(o.a)(i,n,c,r)}}}).call(this,n(18))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(47),i=n(27);function a(t,n){var a,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===a&&(a=!!n.querySelector("script[".concat(i.b,"]"))),!a){var r=n.createElement("script");r.setAttribute(i.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),a=!0}}}}).call(this,n(18))},83:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),a=n(6),o=n.n(a),c=n(14),l=n.n(c),s=n(47),u=n(33);function d(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,a){var o=Object(s.a)(n);return function(){var n=l()(i.a.mark((function n(c,l,s,d){var g,m,p,v,b,h,y,_,k,O;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,b=t.referenceSiteURL,h=t.trackingEnabled,y=t.trackingID,_=t.userIDHash,h){n.next=3;break}return n.abrupt("return");case 3:return r(),k=null!==(g=null===(m=e._googlesitekitUserData)||void 0===m||null===(p=m.user)||void 0===p?void 0:p.roles)&&void 0!==g?g:[],O={send_to:y,event_category:c,event_label:s,value:d,dimension1:b,dimension2:k.join(","),dimension3:_,dimension4:"1.49.0",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){a.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),i=function(){clearTimeout(r),e()};o("event",l,f(f({},O),{},{event_callback:i})),(null===(t=a._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&i()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,i){return n.apply(this,arguments)}}()}}).call(this,n(18))},86:function(e,t,n){"use strict";var r=n(100);n.d(t,"a",(function(){return r.a}));var i=n(101);n.d(t,"c",(function(){return i.a}));var a=n(102);n.d(t,"b",(function(){return a.a}))},88:function(e,t,n){"use strict";var r=n(2);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)}},9:function(e,t,n){"use strict";n.d(t,"v",(function(){return c.b})),n.d(t,"s",(function(){return l.a})),n.d(t,"w",(function(){return l.b})),n.d(t,"u",(function(){return g})),n.d(t,"c",(function(){return m.b})),n.d(t,"j",(function(){return m.c})),n.d(t,"q",(function(){return p.c})),n.d(t,"r",(function(){return p.d})),n.d(t,"n",(function(){return p.b})),n.d(t,"i",(function(){return p.a})),n.d(t,"o",(function(){return y})),n.d(t,"d",(function(){return _})),n.d(t,"f",(function(){return k.c})),n.d(t,"t",(function(){return k.i})),n.d(t,"g",(function(){return O.b})),n.d(t,"m",(function(){return O.c})),n.d(t,"b",(function(){return O.a})),n.d(t,"l",(function(){return E.b})),n.d(t,"h",(function(){return E.a})),n.d(t,"p",(function(){return E.d})),n.d(t,"k",(function(){return j})),n.d(t,"a",(function(){return w})),n.d(t,"x",(function(){return S})),n.d(t,"e",(function(){return x}));var r=n(110),i=n.n(r),a=n(108),o=n.n(a),c=n(30),l=n(60),s=n(28),u=n.n(s),d=n(73),f=n.n(d),g=function(e){return f()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===u()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};var m=n(77),p=(n(79),n(69));n(53);function v(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function b(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function h(e){return e.replace(/\n/gi,"<br>")}function y(e){for(var t=e,n=0,r=[v,b,h];n<r.length;n++){t=(0,r[n])(t)}return t}var _=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)]},k=n(56),O=n(80),E=n(49),j=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},w=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!i()(n)?null:n},S=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},x=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},92:function(e,t,n){"use strict";var r=n(12),i=n.n(r),a=n(289),o=n(0),c=n.n(o),l=n(2),s=n(107);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},93: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 h}));var r=n(17),i=n.n(r),a=n(6),o=n.n(a),c=n(5),l=n.n(c),s=n(7),u=n.n(s),d=n(4),f=n.n(d),g=n(39),m=f.a.createRegistryControl,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.a)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",m((function(t){return function(){return Object(g.d)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(g.b)("datastore::cache::".concat(e),3600)})),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}}}},v=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(v(e).map((function(e){return e.getActions().createSnapshot()})))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(v(e).map((function(e){return e.getActions().restoreSnapshot()})))}},94:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(10),o=n.n(a),c=n(126),l=n(1),s=n(22);function SourceLink(t){var n=t.name,r=t.href,i=t.className,a=t.external;return e.createElement("div",{className:o()("googlesitekit-source-link",i)},Object(c.a)(Object(l.sprintf)(
25
  /* translators: %s: source link */
26
  Object(l.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(s.a,{key:"link",href:r,external:a,inherit:!0})}))}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(3))},95:function(e,t,n){"use strict";var r=n(2),i=n(33),a=Object(r.createContext)(i.a);t.a=a},96:function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(0),o=n.n(a);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 l(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}function Spinner(t){var n=t.isSaving,r=t.style,i=void 0===r?{}:r;return e.createElement("span",{className:"spinner",style:l({display:n?"inline-block":"none",float:"none",marginTop:"0",visibility:"visible"},i)})}Spinner.propTypes={isSaving:o.a.bool,style:o.a.object},t.a=Spinner}).call(this,n(3))},99:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(115),i=function(){var e=Object(r.a)();return e>1280?"xlarge":e>960?"desktop":e>600?"tablet":"small"}}},[[1030,1,0]]]);
6
  /* translators: %s: Option name */
7
  Object(o.__)("Text input for option %s","google-site-kit"),g))),e.createElement(l.n,null,e.createElement(l.d,{id:v,onChange:function(e){return u(e.target.value.slice(0,100))},value:i,disabled:!p}))))};u.propTypes={choice:i.a.shape({answer_ordinal:i.a.oneOfType([i.a.string,i.a.number]),text:i.a.string,write_in:i.a.bool}),value:i.a.string.isRequired,setValue:i.a.func.isRequired,writeIn:i.a.string.isRequired,setWriteIn:i.a.func.isRequired},t.a=u}).call(this,n(3))},182:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SurveyTerms}));var r=n(1),i=n(126),a=n(4),o=n.n(a),c=n(15),l=n(22),s=o.a.useSelect;function SurveyTerms(){var t=s((function(e){return e(c.c).getGooglePrivacyPolicyURL()})),n=s((function(e){return e(c.c).getGoogleTermsURL()}));return e.createElement("p",{className:"googlesitekit-survey__terms"},Object(i.a)(Object(r.__)("By continuing, you agree to allow Google to use your answers and account info to improve services, per our <privacy>Privacy</privacy> & <terms>Terms</terms>.","google-site-kit"),{privacy:e.createElement(l.a,{href:t,inherit:!0,external:!0}),terms:e.createElement(l.a,{href:n,inherit:!0,external:!0})}))}}).call(this,n(3))},195:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSettingsWarning}));var r=n(4),i=n.n(r),a=n(20),o=n(10),c=n.n(o),l=n(116),s=i.a.useSelect;function ModuleSettingsWarning(t){var n=t.slug,r=s((function(e){var t;return null===(t=e(a.a))||void 0===t?void 0:t.getCheckRequirementsError(n)}));return r?e.createElement("div",{className:c()("googlesitekit-settings-module-warning","googlesitekit-settings-module-warning--modules-list")},e.createElement(l.a,{height:"20",width:"23"})," ",r.message):null}}).call(this,n(3))},20: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"},203:function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(15),s=n(13),u=n(219),d=c.a.useSelect;t.a=function CoreSiteBannerNotifications(){var t=Object(a.useState)(!1),n=i()(t,2),r=n[0],o=n[1],c=Object(a.useState)(!1),f=i()(c,2),g=f[0],m=f[1],p=Object(a.useRef)(Date.now()),v=d((function(e){return e(s.a).getCurrentSurvey()})),b=d((function(e){return e(l.c).getNotifications()}));return Object(a.useEffect)((function(){var e=setTimeout((function(){g||o(!0)}),5e3);return function(){clearTimeout(e)}}),[g]),Object(a.useEffect)((function(){Math.floor((Date.now()-p.current)/1e3)<5&&v&&m(!0)}),[p,v,m]),Array.isArray(b)&&r&&!g?b.map((function(t){return e.createElement(u.a,{content:t.content,ctaLabel:t.ctaLabel,ctaTarget:t.ctaTarget,ctaURL:t.ctaURL,dismissLabel:t.dismissLabel,dismissible:t.dismissible,id:t.id,key:t.id,learnMoreLabel:t.learnMoreLabel,learnMoreURL:t.learnMoreURL,title:t.title})})):null}}).call(this,n(3))},204:function(e,t,n){"use strict";(function(e,r){var i=n(5),a=n.n(i),o=n(14),c=n.n(o),l=n(103),s=n(2),u=n(1),d=n(375),f=n(4),g=n.n(f),m=n(9),p=n(42),v=n(220),b=n(222),h=n(223),y=n(20),_=n(15),k=n(16),O=n(13),E=n(30),j=n(65),w=g.a.useSelect;t.a=function SetupSuccessBannerNotification(){var t,n=Object(j.a)("unifiedDashboard"),i=Object(m.j)("slug"),o=w((function(e){return e(y.a).getModules()})),f=w((function(e){return e(O.a).hasCapability(O.c)})),g=w((function(e){return e(_.c).hasMultipleAdmins()})),S=w((function(e){return e(_.c).isUsingProxy()})),x=w((function(e){var t,n=null==o||null===(t=o[i])||void 0===t?void 0:t.storeName;if(!n)return null;var r=e(n).getSetupSuccessContent;return r?r():null}));Object(l.a)((function(){Object(E.b)("".concat(k.g,"_authentication-success-notification"),"view_notification"),null===i&&(Object(E.b)("".concat(k.g,"_authentication-success-notification"),"complete_user_setup",S?"proxy":"custom-oauth"),g||Object(E.b)("".concat(k.g,"_authentication-success-notification"),"complete_site_setup",S?"proxy":"custom-oauth"))}));var N=Object(s.useCallback)(c()(a.a.mark((function t(){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(E.b)("".concat(k.g,"_authentication-success-notification"),"confirm_notification");case 2:n=Object(d.a)(e.location.href,"notification"),e.history.replaceState(null,"",n);case 4:case"end":return t.stop()}}),t)}))),[]);if(void 0===o)return null;var C=Object(m.j)("notification");if(!C||""===C)return null;var D={id:"connected-successfully",setupTitle:Object(u.__)("Site Kit","google-site-kit"),description:Object(u.__)("Now you’ll be able to see how your site is doing in search. To get even more detailed stats, activate more modules. Here are our recommendations for what to include in your Site Kit:","google-site-kit"),learnMore:{label:"",url:"",description:""}};switch(C){case"authentication_success":if(!f)return null;if(i&&!(null===(t=o[i])||void 0===t?void 0:t.active))return null;if(o[i]&&(D.id="".concat(D.id,"-").concat(i),D.setupTitle=o[i].name,D.description=Object(u.__)("Here are some other services you can connect to see even more stats:","google-site-kit"),x)){var T=x.description,R=x.learnMore;D.description=T,D.learnMore=R}var M={link:"",label:""};return"pagespeed-insights"===i?(M.link=n?"#speed":"#googlesitekit-pagespeed-header",M.label=Object(u.__)("Jump to the bottom of the dashboard to see how fast your home page is","google-site-kit")):"idea-hub"===i&&(M.link="#googlesitekit-idea-hub-widget",M.label=Object(u.__)("Jump directly to Idea Hub to see topic suggestions for your site","google-site-kit")),r.createElement(s.Fragment,null,r.createElement(p.a,{id:D.id,title:Object(u.sprintf)(
8
  /* translators: %s: the name of a module that setup was completed for */
9
+ Object(u.__)("Congrats on completing the setup for %s!","google-site-kit"),D.setupTitle),description:D.description,handleDismiss:function(){},WinImageSVG:b.a,dismiss:Object(u.__)("OK, Got it!","google-site-kit"),onDismiss:N,format:"large",type:"win-success",learnMoreLabel:D.learnMore.label,learnMoreDescription:D.learnMore.description,learnMoreURL:D.learnMore.url,anchorLink:M.link,anchorLinkLabel:M.label},r.createElement(v.a,{moduleSlugs:["search-console","adsense","analytics","pagespeed-insights"]})));case"user_input_success":return r.createElement(h.a,null)}}}).call(this,n(18),n(3))},205:function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(9),s=n(206),u=n(24),d=n(13),f=c.a.useSelect;t.a=function UserInputPromptBannerNotification(){var t=Object(a.useContext)(u.b),n=f((function(e){return e(d.a).getUserInputState()})),r="".concat(t,"_user-input-prompt-notification"),o=Object(a.useState)(!1),c=i()(o,2),g=c[0],m=c[1];Object(a.useEffect)((function(){g||void 0===n||"completed"===n||Object(l.v)(r,"view_notification").finally((function(){return m(!0)}))}),[r,n,g]);return e.createElement(s.a,{isDismissible:!0,onCTAClick:function(){Object(l.v)(r,"confirm_notification")},onDismiss:function(){Object(l.v)(r,"dismiss_notification")}})}}).call(this,n(3))},206:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputSettings}));var r=n(0),i=n.n(r),a=n(127),o=n(1),c=n(4),l=n.n(c),s=n(42),u=n(9),d=n(13),f=n(15),g=n(225),m=l.a.useSelect;function UserInputSettings(t){var n=t.onCTAClick,r=t.onDismiss,i=t.isDismissible,c=Object(a.a)(UserInputSettings),l=m((function(e){return e(f.c).getAdminURL("googlesitekit-user-input")}));return"completed"===m((function(e){return e(d.a).getUserInputState()}))?null:e.createElement(s.a,{id:"user-input-settings-notification-".concat(c),className:"googlesitekit-user-input__notification",title:Object(o.__)("Customize Site Kit to match your goals","google-site-kit"),description:Object(o.__)("Answer 5 questions and Site Kit will customize your dashboard with specific metrics and opportunities that match your site’s goals","google-site-kit"),format:"large",dismissExpires:3*Object(u.k)("hour"),ctaLink:l,ctaLabel:Object(o.__)("Let’s go","google-site-kit"),onCTAClick:n,dismiss:Object(o.__)("Remind me later","google-site-kit"),WinImageSVG:g.a,isDismissible:i,onDismiss:r})}UserInputSettings.propTypes={onCTAClick:i.a.func,onDismiss:i.a.func,isDismissible:i.a.bool}}).call(this,n(3))},207:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IdeaHubPromptBannerNotification}));var r=n(5),i=n.n(r),a=n(14),o=n.n(a),c=n(12),l=n.n(c),s=n(1),u=n(2),d=n(4),f=n.n(d),g=n(226),m=n(20),p=n(13),v=n(36),b=n(15),h=n(31),y=n(16),_=n(9),k=n(42),O=f.a.useSelect,E=f.a.useDispatch;function IdeaHubPromptBannerNotification(){var t=Object(u.useState)(!1),n=l()(t,2),r=n[0],a=n[1],c=E(p.a).dismissItem,d=E(m.a).activateModule,f=E(v.a).navigateTo,j=E(b.c).setInternalServerError,w=O((function(e){return e(m.a).isModuleActive("idea-hub")})),S=O((function(e){return e(p.a).isItemDismissed("idea-hub-module-notification")})),x=O((function(e){var t;return null===(t=e(h.u))||void 0===t?void 0:t.getAdminReauthURL()})),N=Object(u.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c("idea-hub-module-notification");case 2:Object(_.v)("".concat(y.g,"_module-activation-notification"),"dismiss_notification","idea-hub");case 3:case"end":return e.stop()}}),e)}))),[c]),C=Object(u.useCallback)(function(){var e=o()(i.a.mark((function e(t){var n,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,d("idea-hub");case 3:if(n=e.sent,r=n.error,a=n.response,!r){e.next=8;break}return e.abrupt("return",j({id:"idea-hub-setup-error",description:r.message}));case 8:return e.next=10,Object(_.v)("".concat(y.g,"_module-activation-notification"),"confirm_notification","idea-hub");case 10:return e.next=12,Object(_.v)("".concat(y.g,"_module-activation-notification"),"activate_module","idea-hub");case 12:f(a.moduleReauthURL);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[d,f,j]),D=w||void 0===w||S||void 0===S;return Object(u.useEffect)((function(){D||!1!==r||(Object(_.v)("".concat(y.g,"_module-activation-notification"),"view_notification","idea-hub"),a(!0))}),[D,r,a]),D?null:e.createElement(k.a,{id:"idea-hub-module-notification",title:Object(s.__)("Get new ideas to write about based on what people are searching for","google-site-kit"),description:Object(s.__)("Set up Idea Hub to get topic suggestions based on unanswered searches that match your site’s topics.","google-site-kit"),ctaLabel:Object(s.__)("Set up","google-site-kit"),ctaLink:x,SmallImageSVG:g.a,format:"small",type:"win-success",dismiss:Object(s.__)("Dismiss","google-site-kit"),onDismiss:N,onCTAClick:C})}}).call(this,n(3))},21:function(e,t,n){"use strict";(function(e){var r=n(19),i=n.n(r),a=n(17),o=n.n(a),c=n(10),l=n.n(c),s=n(0),u=n.n(s),d=n(118),f=n(274),g=n(2),m=n(1),p=n(8),v=Object(g.forwardRef)((function(t,n){var r=t.children,a=t.href,c=t.text,s=t.className,u=t.danger,v=t.disabled,b=t.target,h=t.icon,y=t.trailingIcon,_=t["aria-label"],k=t.title,O=t.tooltip,E=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","tooltip"]),j=Object(g.useCallback)((function(e){null!==e&&p.i.attachTo(e)}),[]),w=Object(d.a)(n,j),S=a&&!v?"a":"button",x=e.createElement(S,i()({className:l()("mdc-button",s,{"mdc-button--raised":!c,"mdc-button--danger":u}),href:v?void 0:a,ref:w,disabled:!!v,"aria-label":function(){var e=_;if("_blank"!==b)return e;var t=Object(m._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof r&&(e=e||r),e?"".concat(e," ").concat(t):t}(),target:b||"_self",role:"a"===S?"button":void 0},E),h,r&&e.createElement("span",{className:"mdc-button__label"},r),y);return O&&(k||_)||h&&(k||_)&&void 0===r?e.createElement(f.a,{title:k||_,classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},x):x}));v.displayName="Button",v.propTypes={onClick:u.a.func,children:u.a.node,href:u.a.string,text:u.a.bool,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,icon:u.a.element,trailingIcon:u.a.element,title:u.a.string,tooltip:u.a.bool},v.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null,tooltip:!1},t.a=v}).call(this,n(3))},219:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(1),o=n(2),c=n(4),l=n.n(c),s=n(42),u=n(15),d=l.a.useDispatch,f=function CoreSiteBannerNotification(t){var n=t.content,r=t.ctaLabel,i=t.ctaTarget,a=t.ctaURL,c=t.dismissLabel,l=t.dismissible,f=t.id,g=t.learnMoreLabel,m=t.learnMoreURL,p=t.title,v=d(u.c),b=v.dismissNotification,h=v.acceptNotification,y=Object(o.useCallback)((function(){h(f)}),[f,h]),_=Object(o.useCallback)((function(){b(f)}),[f,b]);return e.createElement(s.a,{key:f,id:f,title:p,description:n,learnMoreURL:m,learnMoreLabel:g,ctaLink:a,ctaLabel:r,ctaTarget:i,dismiss:c,isDismissible:l,onCTAClick:y,onDismiss:_})};f.propTypes={content:i.a.string,ctaLabel:i.a.string,ctaTarget:i.a.string,ctaURL:i.a.string,dismissLabel:i.a.string,dismissible:i.a.bool,id:i.a.string.isRequired,learnMoreLabel:i.a.string,learnMoreURL:i.a.string,title:i.a.string.isRequired},f.defaultProps={content:"",ctaLabel:"",ctaTarget:"",ctaURL:"",dismissLabel:Object(a.__)("OK, Got it!","google-site-kit"),dismissible:!0,learnMoreLabel:"",learnMoreURL:""},t.a=f}).call(this,n(3))},22:function(e,t,n){"use strict";(function(e){var r=n(19),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n.n(c),s=n(10),u=n.n(s),d=n(122),f=n(1),g=n(2),m=Object(g.forwardRef)((function(t,n){var r,a=t["aria-label"],c=t.arrow,l=t.back,s=t.caps,g=t.children,m=t.className,p=t.danger,v=t.disabled,b=t.external,h=t.hideExternalIndicator,y=t.href,_=t.inherit,k=t.inverse,O=t.onClick,E=t.small,j=t.to,w=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inherit","inverse","onClick","small","to"]),S=y||j||!O?j?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",x="BUTTON"===S||"BUTTON_DISABLED"===S?"button":"ROUTER_LINK"===S?d.b:"a",N=("EXTERNAL_LINK"===S&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===S&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof g?"".concat(g," ").concat(r):void 0:a);return e.createElement(x,i()({"aria-label":N,className:u()("googlesitekit-cta-link",m,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":k,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":E,"googlesitekit-cta-link--inherit":_,"googlesitekit-cta-link--caps":s,"googlesitekit-cta-link--danger":p,"googlesitekit-cta-link--disabled":v}),disabled:v,href:"LINK"===S||"EXTERNAL_LINK"===S?y:void 0,onClick:O,rel:"EXTERNAL_LINK"===S?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===S?"_blank":void 0,to:j},w),g)}));m.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inherit:l.a.bool,inverse:l.a.bool,onClick:l.a.func,small:l.a.bool,to:l.a.string},m.defaultProps={arrow:!1,back:!1,caps:!1,className:"",danger:!1,disabled:!1,external:!1,hideExternalIndicator:!1,href:"",inherit:!1,inverse:!1,small:!1},t.a=m}).call(this,n(3))},220:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModulesList}));var r=n(6),i=n.n(r),a=n(5),o=n.n(a),c=n(14),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(4),g=n.n(f),m=n(15),p=n(20),v=n(36),b=n(16),h=n(9),y=n(221);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 k(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}var O=g.a.useSelect,E=g.a.useDispatch;function ModulesList(t){var n=t.moduleSlugs,r=E(p.a).activateModule,a=E(v.a).navigateTo,c=E(m.c).setInternalServerError,s=O((function(e){return e(p.a).getModules()})),u=Object(d.useCallback)(function(){var e=l()(o.a.mark((function e(t){var n,i,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r(t);case 2:if(n=e.sent,i=n.response,!(l=n.error)){e.next=8;break}return c({id:"setup-module-error",description:l.message}),e.abrupt("return",null);case 8:return e.next=10,Object(h.v)("".concat(b.g,"_authentication-success-notification"),"activate_module",t);case 10:a(i.moduleReauthURL);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,a,c]);if(void 0===s)return null;var f=Array.isArray(n)&&n.length?n.filter((function(e){return s[e]})).reduce((function(e,t){return k(k({},e),{},i()({},t,s[t]))}),{}):s,g=Object.values(f).filter((function(e){return!e.internal&&0===e.dependencies.length})).sort((function(e,t){return e.order-t.order}));return e.createElement("div",{className:"googlesitekit-modules-list"},g.map((function(t){return e.createElement(y.a,{key:t.slug,module:t,handleSetupModule:u})})))}ModulesList.propTypes={moduleSlugs:u.a.arrayOf(u.a.string).isRequired}}).call(this,n(3))},221:function(e,t,n){"use strict";(function(e){var r=n(10),i=n.n(r),a=n(1),o=n(22),c=n(121),l=n(195),s=n(4),u=n.n(s),d=n(20),f=u.a.useSelect;t.a=function ModulesListItem(t){var n=t.module,r=t.handleSetupModule,s=n.slug,u=n.name,g=n.connected,m=n.active,p=g&&m,v=f((function(e){return e(d.a).canActivateModule(s)}));return e.createElement("div",{className:i()("googlesitekit-modules-list__module","googlesitekit-modules-list__module--".concat(s),{"googlesitekit-settings-connect-module--disabled":!p&&!v})},e.createElement("div",{className:"googlesitekit-settings-connect-module__wrapper"},e.createElement("div",{className:"googlesitekit-settings-connect-module__logo"},e.createElement(c.a,{slug:s})),e.createElement("h3",{className:"googlesitekit-settings-connect-module__title"},u)),!p&&e.createElement(l.a,{slug:s,context:"modules-list"}),p&&e.createElement("span",{className:"googlesitekit-settings-module__status"},e.createElement("span",{className:"googlesitekit-settings-module__status-icon googlesitekit-settings-module__status-icon--connected"}),Object(a.__)("Connected","google-site-kit")),!p&&e.createElement(o.a,{onClick:function(){return r(s)},arrow:!0,small:!0,inherit:!0,disabled:!v},Object(a.__)("Connect Service","google-site-kit")))}}).call(this,n(3))},222:function(e,t,n){"use strict";var r=n(2);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",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M200 10v31.42M105 35.46l15.71 27.2M35.46 105l27.2 15.71M10 200h31.42M35.46 295l27.2-15.71M364.54 295l-27.2-15.71M390 200h-31.42M364.54 105l-27.2 15.71M295 35.46l-15.71 27.2"}),o=r.createElement("path",{d:"M251.2 51.21c-.67-1 10.33-9.56 11.16-10.16 5.81-4.22 12.64-8 19.94-8.46 7.91-.53 15.45 2.58 23 4.58 10.31 2.77 21.44 3.8 32.09 1.69 9.59-1.9 20.83-5.9 27.87-12.93-.24.24.3 2.83.33 3.18a65.31 65.31 0 010 8.51 59.1 59.1 0 01-7 25.06 43.41 43.41 0 01-18.94 18.13C329.14 86 317.78 88.93 307 93.41c-6.7 2.79-18.11 7.23-18.11 16.07z",fill:"#F439A0"}),c=r.createElement("path",{stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:7,d:"M248.83 47.55l93.63 144.69"}),l=r.createElement("path",{d:"M279.89 172.88c18.52 6.68 53.35 9.87 64.53-10.87 14.77-27.39-23.47-38.52-43.87-34.53M88.94 145C13 233.15 70 296.93 119 267.62",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:9}),s=r.createElement("path",{d:"M234.54 260.65c59.23 111 7.37 98-23.53 93.23l2 20.19M186.58 274.6c31.93 144.76-28.4 65.93-35.58 53.33l-12.25 14.36",stroke:"#188038",strokeLinejoin:"round",strokeWidth:9}),u=r.createElement("path",{d:"M234.54 260.65q3.92 7.32 7.19 14M186.58 274.6q2.19 9.88 3.81 18.42",stroke:"#137333",strokeLinejoin:"round",strokeWidth:9}),d=r.createElement("path",{fill:"#1E8E3E",d:"M170.71 172.85l-98 39.35 39.35 98 98-39.35 98-39.35-39.35-98-98 39.35z"}),f=r.createElement("path",{d:"M158.45 268.63c-16.25 2.37-32.52-5.2-43.75-18.63l83.92-22.8",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6}),g=r.createElement("path",{stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:7,d:"M316.62 152.31l25.84 39.93"});t.a=function SvgSuccessGreen(e){return r.createElement("svg",i({viewBox:"0 0 400 400",fill:"none"},e),a,o,c,l,s,u,d,f,g)}},223:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputSuccessBannerNotification}));var r=n(1),i=n(2),a=n(42),o=n(224),c=n(9),l=n(24);function UserInputSuccessBannerNotification(){var t=Object(i.useContext)(l.b),n="".concat(t,"_user-input-success-notification");Object(i.useEffect)((function(){Object(c.v)(n,"view_notification")}),[n]);return e.createElement(a.a,{id:"user-input-success",title:Object(r.__)("Congrats! You set your site goals","google-site-kit"),description:Object(r.__)("Now Site Kit will begin suggesting metrics to add to your dashboard that are relevant specifically to you, based on the goals you shared","google-site-kit"),SmallImageSVG:o.a,dismiss:Object(r.__)("OK, got it!","google-site-kit"),format:"small",onDismiss:function(){Object(c.v)(n,"confirm_notification")}})}}).call(this,n(3))},224:function(e,t,n){"use strict";var r=n(2);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("circle",{cx:150,cy:150,r:100,fill:"#D2E3FC"}),o=r.createElement("path",{d:"M154.32 135.43c-10.56 8.65-20.59 16.68-30.15 23.63-5.07 3.7-14.21-1.31-15.28-8.16-1.86-12.85-3-26.17-3.63-39.8-12.15-7.93-24.13-15.53-35.44-22.35-6.11-3.63-4.22-12.48 3-15.39 13.28-5.23 26.64-10.44 40-15.38 4.23-13.83 8.45-27.77 12.11-41.4 2-7.39 10.41-8.93 14.89-2.73 8.25 11.45 17.13 23 26 34.42 14.22-.1 28.56 0 42.84.22 7.73.18 12.64 7.79 8.2 13.35-8.15 10.38-16.67 21.73-25.21 33.45 4.25 13 7.89 25.84 10.7 38.51 1.43 6.79-5.34 14.71-11.39 13-11.49-3.06-23.71-7.03-36.64-11.37z",fill:"#FBBC04"}),c=r.createElement("path",{d:"M205.44 73.7c10.67 26.59 20.64 47.74 16.58 76.8-4.67 33.43-33.31 70.54-68.1 75.46-17.34 2.45-35.57-2.42-47.85-15-12-12.26-18.78-29.18-21.81-45.85-3.25-17.94-2.2-36.87 3.91-54.11a77.26 77.26 0 014.71-10.76",stroke:"#4285F4",strokeLinecap:"square",strokeLinejoin:"round",strokeWidth:6}),l=r.createElement("g",{clipPath:"url(#milestone-blue_svg__clip0)",strokeLinejoin:"round",strokeWidth:6},r.createElement("path",{d:"M151.73 225.81L144 246.63a35.18 35.18 0 00.07 24.7l6.51 12.51h-8.34",stroke:"#1967D2"}),r.createElement("path",{stroke:"#185ABC",d:"M151.73 225.81l-5.6 15.04"}),r.createElement("path",{stroke:"#1967D2",d:"M164.04 231.67v52.17h7.76"}),r.createElement("path",{stroke:"#185ABC",d:"M164.04 221.67v20.1"})),s=r.createElement("path",{d:"M161.08 235.06a36.17 36.17 0 0026.08-44L117.07 209a36.17 36.17 0 0044.01 26.06z",fill:"#1A73E8"}),u=r.createElement("path",{d:"M142.64 217.51c5.53 7.83 16.11 10.61 24.45 1.64M145.07 215.59c-2.58.66-2.41 3.54-5.51 4.88",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:3}),d=r.createElement("path",{stroke:"#FEEFC3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:6,d:"M101.3 47.04L75.8 22.68M60.45 68.72l-34.37-6.91M208.28 22.68l-18.86 17.87M265.17 73.7l-32.36 3.02M66.15 109.02l-49.01 15.36"}),f=r.createElement("defs",null,r.createElement("clipPath",{id:"milestone-blue_svg__clip0"},r.createElement("circle",{cx:150,cy:150,r:100})));t.a=function SvgMilestoneBlue(e){return r.createElement("svg",i({viewBox:"0 0 300 300",fill:"none"},e),a,o,c,l,s,u,d,f)}},225:function(e,t,n){"use strict";var r=n(2);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:"M294.5 39.35h244.69v251.12a7.5 7.5 0 01-7.5 7.5H302a7.5 7.5 0 01-7.5-7.5V39.35z",fill:"#F1F3F4"}),o=r.createElement("path",{fill:"#FFF",stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:1.5,d:"M314.5 68.28h45.25v45.25H314.5zM314.5 146.04h45.25v45.25H314.5z"}),c=r.createElement("path",{d:"M313.38 145.1c14.28 17.62 17.8 21.42 32.08 39",stroke:"#9AA0A6",strokeLinejoin:"round",strokeWidth:5}),l=r.createElement("path",{fill:"#FFF",stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:1.5,d:"M314.5 223.79h45.25v45.25H314.5z"}),s=r.createElement("ellipse",{cx:149.01,cy:322.24,rx:72.28,ry:7.51,fill:"#F1F3F4"}),u=r.createElement("path",{d:"M302 10h229.69a7.5 7.5 0 017.5 7.5v21.85H294.5V17.5A7.5 7.5 0 01302 10z",fill:"#80868B"}),d=r.createElement("circle",{cx:314.91,cy:24.68,r:5.32,fill:"#FFF"}),f=r.createElement("circle",{cx:336.18,cy:24.68,r:5.32,fill:"#FFF"}),g=r.createElement("path",{d:"M232.78 231.28c42.24.91 55.06-20.59 39.78-70.34",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:8.03}),m=r.createElement("path",{d:"M158.93 241.76c-2.23 25.53-1.22 59.63 6.93 80.6H184M126.69 241.76c-2.29 25-.62 58.69 6.93 80.6H116.8",stroke:"#188038",strokeLinejoin:"round",strokeWidth:8.03}),p=r.createElement("path",{d:"M158.93 241.76a244.31 244.31 0 00-1 26.13M126.69 241.76c-.57 6.24-.9 17.52-1 23.59",stroke:"#137333",strokeLinejoin:"round",strokeWidth:8.03}),v=r.createElement("path",{d:"M36.83 277.33c-9.72-9.09-13.91-26.06-8.22-38.36 4.92-10.64 20.49-22.29 31.69-23.47",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:8.03}),b=r.createElement("path",{fill:"#1E8E3E",d:"M151.1 160.94l93.85 6.87-6.87 93.85-93.85-6.87-93.85-6.87 6.87-93.85 93.85 6.87z"}),h=r.createElement("path",{d:"M181.25 219.25c-18.11 15.64-48.49 18.13-68.47-5",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5.74}),y=r.createElement("path",{stroke:"#DADCE0",strokeLinejoin:"round",strokeWidth:20,d:"M380.07 90.91h139.12M380.07 168.66h139.12M380.07 246.42h139.12"}),_=r.createElement("path",{fill:"#FBBC04",d:"M319.603 184.523l-155.3-70.055 8.98-19.908 155.3 70.055z"}),k=r.createElement("path",{fill:"#DADCE0",d:"M328.59 164.62l25.17 22.94-34.15-3.03 8.98-19.91z"}),O=r.createElement("path",{fill:"#5F6368",d:"M344.35 186.72l9.41.84-6.92-6.29-2.49 5.45z"}),E=r.createElement("path",{d:"M164.22 114.43h.09L175 119.3l9-19.91-10.7-4.84h-.09a10.92 10.92 0 00-9 19.91z",fill:"#EE675C"}),j=r.createElement("path",{fill:"#DADCE0",d:"M176.772 120.092l-4.557-2.056 8.984-19.917 4.558 2.056z"}),w=r.createElement("path",{stroke:"#F29900",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:4,d:"M318.21 172.07l-130.15-58.71"}),S=r.createElement("path",{d:"M307.33 65.64a267 267 0 0064.05 58M312.39 117.93l40.77-54.45",stroke:"#9AA0A6",strokeLinejoin:"round",strokeWidth:5});t.a=function SvgUserInputPrompt(e){return r.createElement("svg",i({viewBox:"0 0 570 336",fill:"none"},e),a,o,c,l,s,u,d,f,g,m,p,v,b,h,y,_,k,O,E,j,w,S)}},226:function(e,t,n){"use strict";var r=n(2);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("circle",{cx:72,cy:72,r:72,fill:"#FDE9CC"}),o=r.createElement("g",{clipPath:"url(#idea-hub-notification_svg__clip0)"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M74.755 64.393c1.844 1.18 2.421 3.625 1.33 5.519l-.073.12L67.567 83.6H79.02c3.314 0 5.194 3.82 3.254 6.5l-.076.103-14.014 18.223a3.993 3.993 0 01-5.657.709c-1.717-1.359-2.054-3.849-.784-5.623l.085-.115 8.936-11.62H60.256c-3.13 0-5.05-3.452-3.475-6.158l.067-.113 12.348-19.839a3.997 3.997 0 015.56-1.274zm16.02-18.441l.044.027.023.014a4.071 4.071 0 011.287 5.575l-4.313 7a3.995 3.995 0 01-5.498 1.306l-.043-.027-.023-.014a4.071 4.071 0 01-1.286-5.575l4.312-7a3.996 3.996 0 015.497-1.306zm-36.837 0a3.996 3.996 0 015.498 1.306l4.312 7a4.071 4.071 0 01-1.287 5.575l-.023.014-.043.027a3.995 3.995 0 01-5.497-1.306l-4.313-7a4.071 4.071 0 011.287-5.575l.023-.014.043-.027zM72.34 34c2.183 0 3.96 1.76 4.03 3.956l.001.132v14.138c0 2.258-1.804 4.088-4.03 4.088-2.183 0-3.96-1.76-4.029-3.956l-.002-.132V38.088c0-2.258 1.805-4.088 4.03-4.088z",fill:"url(#idea-hub-notification_svg__paint0_linear)"})),c=r.createElement("defs",null,r.createElement("linearGradient",{id:"idea-hub-notification_svg__paint0_linear",x1:76.563,y1:27.817,x2:53.123,y2:106.964,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#FAA900"}),r.createElement("stop",{offset:1,stopColor:"#F57F00"})),r.createElement("clipPath",{id:"idea-hub-notification_svg__clip0"},r.createElement("path",{fill:"#fff",transform:"translate(52 34)",d:"M0 0h40.714v76H0z"})));t.a=function SvgIdeaHubNotification(e){return r.createElement("svg",i({viewBox:"0 0 144 144",fill:"none"},e),a,o,c)}},227:function(e,t,n){"use strict";(function(e){var r=n(1),i=n(88),a=n(228),o=n(54);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(3))},228:function(e,t,n){"use strict";var r=n(2);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)}},24:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},27: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"},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n(81),i=e._googlesitekitBaseData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,l=i.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:i.trackingID,referenceSiteURL:i.referenceSiteURL,userIDHash:i.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),m=u.trackEvent;function p(e){e?d():f()}c&&l&&g()}).call(this,n(18))},301:function(e,t,n){"use strict";(function(e){var t=n(120),r=n(33),i=n(53),a=n(9),o=n(203),c=n(204),l=n(205),s=n(207),u=Object(a.j)("notification"),d=Object(i.a)(e.createElement(o.a,null)),f=Object(i.a)(e.createElement(c.a,null)),g=Object(i.a)(e.createElement(l.a,null)),m=Object(i.a)(e.createElement(s.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",g,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",m,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},31:function(e,t,n){"use strict";n.d(t,"u",(function(){return i})),n.d(t,"i",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"k",(function(){return c})),n.d(t,"l",(function(){return l})),n.d(t,"j",(function(){return s})),n.d(t,"q",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return p})),n.d(t,"g",(function(){return v})),n.d(t,"f",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"o",(function(){return y})),n.d(t,"p",(function(){return _})),n.d(t,"n",(function(){return k})),n.d(t,"s",(function(){return O})),n.d(t,"t",(function(){return E})),n.d(t,"r",(function(){return j}));var r=n(16),i="modules/idea-hub",a="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",l="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",g="IDEA_HUB_ACTIVITY_IS_DELETING",m="IDEA_HUB_ACTIVITY_DELETED",p="IDEA_HUB_ACTIVITY_IS_PINNING",v="IDEA_HUB_ACTIVITY_PINNED",b="IDEA_HUB_ACTIVITY_IS_UNPINNING",h="IDEA_HUB_ACTIVITY_UNPINNED",y="".concat(r.g,"_idea-hub-widget"),_="".concat(r.o,"_idea-hub-saved-ideas-notification"),k="".concat(r.l,"_idea-hub"),O="new-ideas",E="saved-ideas",j="draft-ideas"},33: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(18))},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},38:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},39:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(5),i=n.n(r),a=n(14),o=n.n(a);n(23);function c(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 l(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 l(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 l(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 s,u="googlesitekit_".concat("1.49.1","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=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 m(){return p.apply(this,arguments)}function p(){return(p=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===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(a=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(a);case 11:if(!t.sent){t.next=13;break}s=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===s&&(s=null),t.abrupt("return",s);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,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).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)}}(),b=function(){var t=o()(i.a.mark((function t(n,r){var a,o,c,l,s,d,f,g,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,c=void 0===o?3600:o,l=a.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=a.isError,f=void 0!==d&&d,t.next=3,m();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),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)}}(),h=function(){var t=o()(i.a.mark((function t(n){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),y=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,m();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(u)&&r.push(o.substring(u.length));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)}}()}).call(this,n(18))},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e,r){var i=n(6),a=n.n(i),o=n(5),c=n.n(o),l=n(14),s=n.n(l),u=n(12),d=n.n(u),f=n(0),g=n.n(f),m=n(10),p=n.n(m),v=n(231),b=n.n(v),h=n(103),y=n(2),_=n(88),k=n(8),O=n(114),E=n(49),j=n(60),w=n(74),S=n(21),x=n(155),N=n(116),C=n(22),D=n(121),T=n(39),R=n(9),M=n(16),P=n(99);function BannerNotification(t){var n,i=t.anchorLink,o=t.anchorLinkLabel,l=t.blockData,u=t.children,f=t.className,g=t.ctaLabel,m=t.ctaLink,v=t.ctaTarget,A=t.description,L=t.dismiss,I=t.dismissExpires,z=t.format,q=t.id,U=t.isDismissible,F=t.learnMoreDescription,B=t.learnMoreLabel,H=t.learnMoreURL,V=t.logo,K=t.module,W=t.moduleName,G=t.onCTAClick,Q=t.onDismiss,$=t.pageIndex,Y=t.showOnce,J=t.SmallImageSVG,X=t.title,Z=t.type,ee=t.WinImageSVG,te=Object(y.useState)(!1),ne=d()(te,2),re=ne[0],ie=ne[1],ae=Object(y.useState)(!1),oe=d()(ae,2),ce=oe[0],le=oe[1],se=Object(y.useRef)(),ue="notification::dismissed::".concat(q),de=function(){return Object(T.d)(ue,new Date,{ttl:null})},fe=Object(P.a)();function ge(){return(ge=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(R.v)("".concat(M.g,"_site-notification"),"dismiss_notification",q);case 4:if(!Q){e.next=7;break}return e.next=7,Q(t);case 7:me();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function me(){var e=se.current;ie(!0),setTimeout(s()(c.a.mark((function t(){var n;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,de();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function pe(){return(pe=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(R.v)("".concat(M.g,"_site-notification"),"confirm_notification",q);case 3:if(!G){e.next=6;break}return e.next=6,G(t);case 6:U&&me();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(h.a)(s()(c.a.mark((function e(){var t,n;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(R.v)("".concat(M.g,"_site-notification"),"view_notification",q);case 2:if(!(I>0)){e.next=5;break}return e.next=5,he();case 5:if(!U){e.next=11;break}return e.next=8,Object(T.b)(ue);case 8:t=e.sent,n=t.cacheHit,le(n);case 11:if(!Y){e.next=14;break}return e.next=14,de();case 14:case"end":return e.stop()}}),e)}))));var ve=Object(y.useCallback)((function(t){Object(E.c)(i)&&(t.preventDefault(),e.history.replaceState({},"",i),e.scrollTo({top:Object(O.a)(i,fe),behavior:"smooth"}))}),[i,fe]);function be(){return(be=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(R.v)("".concat(M.g,"_site-notification"),"click_learn_more_link",q);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(){return ye.apply(this,arguments)}function ye(){return(ye=s()(c.a.mark((function e(){var t,n,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(T.b)(ue);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(I,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(T.a)(ue);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(U&&(void 0===ce||ce))return null;var _e,ke,Oe=re?"is-closed":"is-open",Ee="large"===z&&"win-stats-increase"===Z;_e="large"===z?Ee?{mdSize:5,lgSize:8,smOrder:2,mdOrder:1}:{mdSize:6,lgSize:8,smOrder:2,mdOrder:1}:"small"===z?{smSize:3,mdSize:7,lgSize:11}:{size:12},ke="win-warning"===Z?r.createElement(x.a,{width:34}):"win-error"===Z?r.createElement(N.a,{width:28}):"";var je=r.createElement(y.Fragment,null,l&&r.createElement(k.l,null,b()(l,(function(e,t){return r.createElement(k.a,{key:t,lgSize:Ee?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(w.a,e)))})))),we=r.createElement(y.Fragment,null,X&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},X),i&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(C.a,{href:i,onClick:ve},o)),A&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(y.isValidElement)(A)?A:r.createElement("span",{dangerouslySetInnerHTML:Object(j.a)(A,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),B&&r.createElement(y.Fragment,null," ",r.createElement(C.a,{onClick:function(e){return be.apply(this,arguments)},href:H,external:!0,inherit:!0},B),F),$&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},$))),u),Se=K?r.createElement(D.a,{slug:K,size:19}):r.createElement(_.a,{height:"34",width:"32"}),xe=Ee?{size:12,smOrder:2,mdOrder:1}:{size:12};return r.createElement("section",{id:q,ref:se,className:p()(f,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(z),z),a()(n,"googlesitekit-publisher-win--".concat(Z),Z),a()(n,"googlesitekit-publisher-win--".concat(Oe),Oe),n))},r.createElement(k.b,null,r.createElement(k.l,null,V&&r.createElement(k.a,xe,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},Se),W&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},W)),J&&r.createElement(k.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(J,null)),r.createElement(k.a,_e,Ee?r.createElement(k.l,null,r.createElement(k.a,{mdSize:8,lgSize:5},we),r.createElement(k.a,{alignBottom:!0,mdSize:8,lgSize:7},je)):r.createElement(y.Fragment,null,we,je),m&&r.createElement(S.a,{className:"googlesitekit-notification__cta",href:m,target:v,onClick:function(e){return pe.apply(this,arguments)}},g),U&&L&&r.createElement(C.a,{onClick:function(e){return ge.apply(this,arguments)}},L)),ee&&r.createElement(k.a,{mdSize:2,lgSize:4,smOrder:1,mdOrder:2},r.createElement("div",{className:"googlesitekit-publisher-win__image-large"},r.createElement(ee,null))),("win-error"===Z||"win-warning"===Z)&&r.createElement(k.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},ke)))))}BannerNotification.propTypes={id:g.a.string.isRequired,className:g.a.string,title:g.a.string.isRequired,description:g.a.node,learnMoreURL:g.a.string,learnMoreDescription:g.a.string,learnMoreLabel:g.a.string,blockData:g.a.array,WinImageSVG:g.a.elementType,SmallImageSVG:g.a.elementType,format:g.a.string,ctaLink:g.a.string,ctaLabel:g.a.string,type:g.a.string,dismiss:g.a.string,isDismissible:g.a.bool,logo:g.a.bool,module:g.a.string,moduleName:g.a.string,pageIndex:g.a.string,dismissExpires:g.a.number,showOnce:g.a.bool,onCTAClick:g.a.func,onDismiss:g.a.func,anchorLink:g.a.string,anchorLinkLabel:g.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(18),n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(27);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},49:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(105);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){return/^#\w[A-Za-z0-9-_]*$/.test(e)}function l(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)}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),i=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},54:function(e,t,n){"use strict";(function(e){var r=n(19),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n.n(c),s=n(10),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(3))},56:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",i='Invalid date range, it must be a string with the format "last-x-days".',a=n(7),o=n.n(a),c=n(37),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(38),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),i=n[0],a=n[1],c=n[2];return new Date(i,a-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function p(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
10
  /* translators: %s: number of days */
11
  Object(v._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}}}},57:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(1),o=n(202),c=n(330),l=n(21),s=n(88),u=function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.a,{"aria-label":Object(a.__)("Dismiss","google-site-kit"),icon:e.createElement(o.a,{icon:c.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))};u.propTypes={title:i.a.string.isRequired,dismissSurvey:i.a.func.isRequired},t.a=u}).call(this,n(3))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/ui"},59:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(10),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(3))},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(28),i=n.n(r),a=n(66),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,/\/+$/,"")}},65:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),i=n(95),a=n(33),o=function(e){var t=Object(r.useContext)(i.a);return Object(a.b)(e,t)}},66:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(111),i=n.n(r)()(e)}).call(this,n(18))},69:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return k})),n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return j})),n.d(t,"a",(function(){return w}));var r=n(12),i=n.n(r),a=n(28),o=n.n(a),c=n(6),l=n.n(c),s=n(17),u=n.n(s),d=n(26),f=n(64),g=n.n(f),m=n(1);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 v(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=h(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var n=Math.floor(e/60/60),r=Math.floor(e/60%60),i=Math.floor(e%60);return{hours:n,minutes:r,seconds:i,formatUnit:function(){var a=t.unitDisplay,o=v(v({unitDisplay:void 0===a?"short":a},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?E(i,v(v({},o),{},{unit:"second"})):Object(m.sprintf)(
12
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
21
  Object(m.__)("%sK","google-site-kit"),E(y(e),e%10==0?{}:t)):E(e,{signDisplay:"never",maximumFractionDigits:1})},k=function(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={};if("%"===t)n={style:"percent",maximumFractionDigits:2};else{if("s"===t)return b(e,{unitDisplay:"narrow"});t&&"string"==typeof t?n={style:"currency",currency:t}:Object(d.isPlainObject)(t)&&(n=v({},t))}var r=n,i=r.style,a=void 0===i?"metric":i;return"metric"===a?_(e):"duration"===a?b(e,t):E(e,n)},O=g()(console.warn),E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?w():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){O("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)}},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?w():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)}
22
  /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},w=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(18))},74:function(e,t,n){"use strict";(function(e){var r=n(44),i=n.n(r),a=n(45),o=n.n(a),c=n(78),l=n.n(c),s=n(67),u=n.n(s),d=n(68),f=n.n(d),g=n(46),m=n.n(g),p=n(0),v=n.n(p),b=n(10),h=n.n(b),y=n(2),_=n(1),k=n(59),O=n(94),E=n(9);function j(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=m()(e);if(t){var i=m()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var w=function(t){u()(DataBlock,t);var n=j(DataBlock);function DataBlock(e){var t;return i()(this,DataBlock),(t=n.call(this,e)).handleClick=t.handleClick.bind(l()(t)),t.handleKeyPress=t.handleKeyPress.bind(l()(t)),t}return o()(DataBlock,[{key:"handleClick",value:function(){var e=this.props,t=e.stat;(0,e.handleStatSelection)(t)}},{key:"handleKeyPress",value:function(e){e.preventDefault();var t=this.props,n=t.stat,r=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||r(n)}},{key:"render",value:function(){var t=this.props,n=t.className,r=t.title,i=t.datapoint,a=t.datapointUnit,o=t.change,c=t.changeDataUnit,l=t.context,s=t.period,u=t.selected,d=t.handleStatSelection,f=t.source,g=t.sparkline,m=t.invertChangeColor,p="button"===l?"button":"",v=g;v&&m&&(v=Object(y.cloneElement)(g,{invertChangeColor:m}));var b=o;c&&(b="%"===c?Object(E.q)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(E.q)(o,c)),s&&(b=Object(_.sprintf)(s,b));var j=void 0===i?i:Object(E.q)(i,a||void 0);return e.createElement("div",{className:h()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(l),{"googlesitekit-data-block--selected":u}),tabIndex:"button"===l?"0":"-1",role:d&&p,onClick:d&&this.handleClick,onKeyPress:d&&this.handleKeyPress,"aria-label":d&&r,"aria-pressed":d&&u},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},r),e.createElement("div",{className:"googlesitekit-data-block__datapoint"},j)),v&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},v),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:h()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(y.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(k.a,{direction:0<parseFloat(o)?"up":"down",invertColor:m})),e.createElement("span",{className:"googlesitekit-data-block__value"},b))),f&&e.createElement(O.a,{className:"googlesitekit-data-block__source",name:f.name,href:f.link,external:null==f?void 0:f.external})))}}]),DataBlock}(y.Component);w.propTypes={stat:v.a.number,onClick:v.a.func,className:v.a.string,title:v.a.string,datapoint:v.a.oneOfType([v.a.string,v.a.number]),datapointUnit:v.a.string,change:v.a.oneOfType([v.a.string,v.a.number]),changeDataUnit:v.a.oneOfType([v.a.string,v.a.bool]),context:v.a.string,period:v.a.string,selected:v.a.bool,handleStatSelection:v.a.func,invertChangeColor:v.a.bool},w.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1},t.a=w}).call(this,n(3))},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));var r=n(12),i=n.n(r),a=n(1);function o(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 c(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 c(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,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw a}}}}function c(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 l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),i=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&i)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var l=document.createElement("span");return l.setAttribute("class","screen-reader-text"),l.textContent=Object(a.sprintf)(
23
  /* translators: %d is the number of notifications */
24
+ Object(a._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===i&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,a={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=i()(r.value,2),s=l[0],d=l[1];a[s]=d}}catch(e){c.e(e)}finally{c.f()}return a}}).call(this,n(18))},785:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivationApp}));var r=n(5),i=n.n(r),a=n(14),o=n.n(a),c=n(103),l=n(2),s=n(1),u=n(4),d=n.n(u),f=n(21),g=n(227),m=n(8),p=n(16),v=n(9),b=n(15),h=n(13),y=n(36),_=d.a.useSelect,k=d.a.useDispatch;function ActivationApp(){var t=k(y.a).navigateTo,n=_((function(e){return e(b.c).getAdminURL("googlesitekit-dashboard")})),r=_((function(e){return e(b.c).getAdminURL("googlesitekit-splash")})),a=_((function(e){return e(h.a).hasCapability(h.e)}));Object(c.a)((function(){Object(v.v)(p.e,"view_notification")}));var u=a?n:r,d=a?Object(s.__)("Go to Dashboard","google-site-kit"):Object(s.__)("Start setup","google-site-kit"),O=Object(l.useCallback)(function(){var e=o()(i.a.mark((function e(n){var r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),r=a?"dashboard":"splash",e.next=4,Object(v.v)(p.e,"confirm_notification",r);case 4:t(u);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[u,a,t]);return u?e.createElement(m.b,null,e.createElement(m.l,null,e.createElement(m.a,{size:12},e.createElement(g.a,null),e.createElement("h3",{className:"googlesitekit-heading-3 googlesitekit-activation__title"},Object(s.__)("Congratulations, the Site Kit plugin is now activated.","google-site-kit")),e.createElement(f.a,{id:"start-setup-link",className:"googlesitekit-start-setup",onClick:O},d)))):null}}).call(this,n(3))},79:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},8:function(e,t,n){"use strict";var r=n(84),i=n.n(r);n.d(t,"n",(function(){return i.a})),n.d(t,"c",(function(){return r.HelperText})),n.d(t,"d",(function(){return r.Input}));var a=n(187);n.d(t,"i",(function(){return a.a}));var o=n(239);n.d(t,"f",(function(){return o.a}));var c=n(240);n.d(t,"h",(function(){return c.a}));var l=n(104),s=n.n(l);n.d(t,"m",(function(){return s.a})),n.d(t,"k",(function(){return l.Option}));var u=n(241);n.d(t,"j",(function(){return u.a}));var d=n(238);n.d(t,"e",(function(){return d.a}));var f=n(237);n.d(t,"g",(function(){return f.a}));var g=n(86);n.d(t,"a",(function(){return g.a})),n.d(t,"b",(function(){return g.b})),n.d(t,"l",(function(){return g.c}))},80:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(185),i=n(59),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){var t,n,r,i,a,o,c,l,s,u,d,f,g,m,p;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(i=e[0])||void 0===i||null===(a=i.data)||void 0===a||null===(o=a.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(m=g[0])||void 0===m||null===(p=m.values)||void 0===p?void 0:p[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),i=n.n(r),a=n(82),o=n(83);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 l(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}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(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=l(l({},s),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(i,n);return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:Object(o.a)(i,n,c,r)}}}).call(this,n(18))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(47),i=n(27);function a(t,n){var a,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===a&&(a=!!n.querySelector("script[".concat(i.b,"]"))),!a){var r=n.createElement("script");r.setAttribute(i.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),a=!0}}}}).call(this,n(18))},83:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),a=n(6),o=n.n(a),c=n(14),l=n.n(c),s=n(47),u=n(33);function d(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,a){var o=Object(s.a)(n);return function(){var n=l()(i.a.mark((function n(c,l,s,d){var g,m,p,v,b,h,y,_,k,O;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,b=t.referenceSiteURL,h=t.trackingEnabled,y=t.trackingID,_=t.userIDHash,h){n.next=3;break}return n.abrupt("return");case 3:return r(),k=null!==(g=null===(m=e._googlesitekitUserData)||void 0===m||null===(p=m.user)||void 0===p?void 0:p.roles)&&void 0!==g?g:[],O={send_to:y,event_category:c,event_label:s,value:d,dimension1:b,dimension2:k.join(","),dimension3:_,dimension4:"1.49.1",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){a.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),i=function(){clearTimeout(r),e()};o("event",l,f(f({},O),{},{event_callback:i})),(null===(t=a._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&i()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,i){return n.apply(this,arguments)}}()}}).call(this,n(18))},86:function(e,t,n){"use strict";var r=n(100);n.d(t,"a",(function(){return r.a}));var i=n(101);n.d(t,"c",(function(){return i.a}));var a=n(102);n.d(t,"b",(function(){return a.a}))},88:function(e,t,n){"use strict";var r=n(2);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)}},9:function(e,t,n){"use strict";n.d(t,"v",(function(){return c.b})),n.d(t,"s",(function(){return l.a})),n.d(t,"w",(function(){return l.b})),n.d(t,"u",(function(){return g})),n.d(t,"c",(function(){return m.b})),n.d(t,"j",(function(){return m.c})),n.d(t,"q",(function(){return p.c})),n.d(t,"r",(function(){return p.d})),n.d(t,"n",(function(){return p.b})),n.d(t,"i",(function(){return p.a})),n.d(t,"o",(function(){return y})),n.d(t,"d",(function(){return _})),n.d(t,"f",(function(){return k.c})),n.d(t,"t",(function(){return k.i})),n.d(t,"g",(function(){return O.b})),n.d(t,"m",(function(){return O.c})),n.d(t,"b",(function(){return O.a})),n.d(t,"l",(function(){return E.b})),n.d(t,"h",(function(){return E.a})),n.d(t,"p",(function(){return E.d})),n.d(t,"k",(function(){return j})),n.d(t,"a",(function(){return w})),n.d(t,"x",(function(){return S})),n.d(t,"e",(function(){return x}));var r=n(110),i=n.n(r),a=n(108),o=n.n(a),c=n(30),l=n(60),s=n(28),u=n.n(s),d=n(73),f=n.n(d),g=function(e){return f()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===u()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};var m=n(77),p=(n(79),n(69));n(53);function v(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function b(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function h(e){return e.replace(/\n/gi,"<br>")}function y(e){for(var t=e,n=0,r=[v,b,h];n<r.length;n++){t=(0,r[n])(t)}return t}var _=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)]},k=n(56),O=n(80),E=n(49),j=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},w=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!i()(n)?null:n},S=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},x=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},92:function(e,t,n){"use strict";var r=n(12),i=n.n(r),a=n(289),o=n(0),c=n.n(o),l=n(2),s=n(107);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},93: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 h}));var r=n(17),i=n.n(r),a=n(6),o=n.n(a),c=n(5),l=n.n(c),s=n(7),u=n.n(s),d=n(4),f=n.n(d),g=n(39),m=f.a.createRegistryControl,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.a)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",m((function(t){return function(){return Object(g.d)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(g.b)("datastore::cache::".concat(e),3600)})),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}}}},v=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(v(e).map((function(e){return e.getActions().createSnapshot()})))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(v(e).map((function(e){return e.getActions().restoreSnapshot()})))}},94:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(10),o=n.n(a),c=n(126),l=n(1),s=n(22);function SourceLink(t){var n=t.name,r=t.href,i=t.className,a=t.external;return e.createElement("div",{className:o()("googlesitekit-source-link",i)},Object(c.a)(Object(l.sprintf)(
25
  /* translators: %s: source link */
26
  Object(l.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(s.a,{key:"link",href:r,external:a,inherit:!0})}))}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(3))},95:function(e,t,n){"use strict";var r=n(2),i=n(33),a=Object(r.createContext)(i.a);t.a=a},96:function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(0),o=n.n(a);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 l(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}function Spinner(t){var n=t.isSaving,r=t.style,i=void 0===r?{}:r;return e.createElement("span",{className:"spinner",style:l({display:n?"inline-block":"none",float:"none",marginTop:"0",visibility:"visible"},i)})}Spinner.propTypes={isSaving:o.a.bool,style:o.a.object},t.a=Spinner}).call(this,n(3))},99:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(115),i=function(){var e=Object(r.a)();return e>1280?"xlarge":e>960?"desktop":e>600?"tablet":"small"}}},[[1030,1,0]]]);
dist/assets/js/{googlesitekit-adminbar-31b21c37a249b2b57017.js → googlesitekit-adminbar-25d8f70d4f48bfe6b0b1.js} RENAMED
@@ -32,7 +32,7 @@ Object(o.__)("Text input for option %s","google-site-kit"),g))),e.createElement(
32
  /* translators: %s: module name */
33
  Object(i.__)("Data error in %s","google-site-kit"),null==o?void 0:o.name),m=a.message;Object(s.b)(a)&&(c=Object(i.sprintf)(
34
  /* translators: %s: module name */
35
- Object(i.__)("Insufficient permissions in %s","google-site-kit"),null==o?void 0:o.name),m=Object(u.a)(m,o));var v=null==a||null===(n=a.data)||void 0===n?void 0:n.reconnectURL,b=v?e.createElement(f.a,{message:m,reconnectURL:v}):d.a.sanitize(m,{ALLOWED_TAGS:[]});return e.createElement(g.a,{title:c,description:b,error:!0})}ReportError.propTypes={moduleSlug:a.a.string.isRequired,error:a.a.object.isRequired}}).call(this,n(3))},20:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="core/modules",a="insufficient_module_dependencies"},21:function(e,t,n){"use strict";(function(e){var r=n(19),a=n.n(r),i=n(17),o=n.n(i),c=n(10),l=n.n(c),s=n(0),u=n.n(s),d=n(118),f=n(274),g=n(2),p=n(1),m=n(8),v=Object(g.forwardRef)((function(t,n){var r=t.children,i=t.href,c=t.text,s=t.className,u=t.danger,v=t.disabled,b=t.target,h=t.icon,y=t.trailingIcon,O=t["aria-label"],k=t.title,_=t.tooltip,E=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","tooltip"]),j=Object(g.useCallback)((function(e){null!==e&&m.i.attachTo(e)}),[]),w=Object(d.a)(n,j),S=i&&!v?"a":"button",x=e.createElement(S,a()({className:l()("mdc-button",s,{"mdc-button--raised":!c,"mdc-button--danger":u}),href:v?void 0:i,ref:w,disabled:!!v,"aria-label":function(){var e=O;if("_blank"!==b)return e;var t=Object(p._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof r&&(e=e||r),e?"".concat(e," ").concat(t):t}(),target:b||"_self",role:"a"===S?"button":void 0},E),h,r&&e.createElement("span",{className:"mdc-button__label"},r),y);return _&&(k||O)||h&&(k||O)&&void 0===r?e.createElement(f.a,{title:k||O,classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},x):x}));v.displayName="Button",v.propTypes={onClick:u.a.func,children:u.a.node,href:u.a.string,text:u.a.bool,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,icon:u.a.element,trailingIcon:u.a.element,title:u.a.string,tooltip:u.a.bool},v.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null,tooltip:!1},t.a=v}).call(this,n(3))},213:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return m}));var r=n(19),a=n.n(r),i=n(64),o=n.n(i),c=n(229),l=n(292),s=n(293),u=n(294),d=n(295),f=n(296),g=o()((function(e){return{Widget:p(e)(c.a),WidgetReportZero:p(e)(l.a),WidgetReportError:p(e)(s.a),WidgetActivateModuleCTA:p(e)(u.a),WidgetCompleteModuleActivationCTA:p(e)(d.a),WidgetNull:p(e)(f.a)}}));function p(t){return function(n){var r=function WithWidgetSlug(r){return e.createElement(n,a()({},r,{widgetSlug:t}))};return r.displayName="WithWidgetSlug",(n.displayName||n.name)&&(r.displayName+="(".concat(n.displayName||n.name,")")),r}}var m=function(t){var n=g(t);return function(t){var r=function DecoratedComponent(r){return e.createElement(t,a()({},r,n))};return r.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(r.displayName+="(".concat(t.displayName||t.name,")")),r}}}).call(this,n(3))},22:function(e,t,n){"use strict";(function(e){var r=n(19),a=n.n(r),i=n(17),o=n.n(i),c=n(0),l=n.n(c),s=n(10),u=n.n(s),d=n(122),f=n(1),g=n(2),p=Object(g.forwardRef)((function(t,n){var r,i=t["aria-label"],c=t.arrow,l=t.back,s=t.caps,g=t.children,p=t.className,m=t.danger,v=t.disabled,b=t.external,h=t.hideExternalIndicator,y=t.href,O=t.inherit,k=t.inverse,_=t.onClick,E=t.small,j=t.to,w=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inherit","inverse","onClick","small","to"]),S=y||j||!_?j?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",x="BUTTON"===S||"BUTTON_DISABLED"===S?"button":"ROUTER_LINK"===S?d.b:"a",R=("EXTERNAL_LINK"===S&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===S&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?i?"".concat(i," ").concat(r):"string"==typeof g?"".concat(g," ").concat(r):void 0:i);return e.createElement(x,a()({"aria-label":R,className:u()("googlesitekit-cta-link",p,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":k,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":E,"googlesitekit-cta-link--inherit":O,"googlesitekit-cta-link--caps":s,"googlesitekit-cta-link--danger":m,"googlesitekit-cta-link--disabled":v}),disabled:v,href:"LINK"===S||"EXTERNAL_LINK"===S?y:void 0,onClick:_,rel:"EXTERNAL_LINK"===S?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===S?"_blank":void 0,to:j},w),g)}));p.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inherit:l.a.bool,inverse:l.a.bool,onClick:l.a.func,small:l.a.bool,to:l.a.string},p.defaultProps={arrow:!1,back:!1,caps:!1,className:"",danger:!1,disabled:!1,external:!1,hideExternalIndicator:!1,href:"",inherit:!1,inverse:!1,small:!1},t.a=p}).call(this,n(3))},229:function(e,t,n){"use strict";(function(e){var r=n(10),a=n.n(r),i=n(0),o=n.n(i),c=function Widget(t){var n=t.children,r=t.className,i=t.widgetSlug,o=t.noPadding,c=t.Header,l=t.Footer;return e.createElement("div",{className:a()("googlesitekit-widget","googlesitekit-widget--".concat(i),{"googlesitekit-widget--no-padding":o},r)},c&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(c,null)),e.createElement("div",{className:"googlesitekit-widget__body"},n),l&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(l,null)))};c.defaultProps={children:void 0,noPadding:!1},c.propTypes={children:o.a.node,widgetSlug:o.a.string.isRequired,noPadding:o.a.bool,Header:o.a.elementType,Footer:o.a.elementType},t.a=c}).call(this,n(3))},234:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(398),a=n.n(r);function i(e,t){return a()(e,t)||0}},24:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),a=Object(r.createContext)(""),i=(a.Consumer,a.Provider);t.b=a},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},275:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(7),a=n.n(r),i=n(38),o=function(e){var t=e.startDate,n=e.endDate;return a()(Object(i.a)(t),"A valid startDate is required."),a()(Object(i.a)(n),"A valid endDate is required."),{start_date:t.replace(/-/g,""),end_date:n.replace(/-/g,"")}}},292:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(6),a=n.n(r),i=n(19),o=n.n(i),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(123);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 WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetReportZero.propTypes=function(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){a()(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}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},293:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(0),l=n.n(c),s=n(199);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){a()(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(3))},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetActivateModuleCTA}));var r=n(6),a=n.n(r),i=n(19),o=n.n(i),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(133);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 WidgetActivateModuleCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetActivateModuleCTA.propTypes=function(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){a()(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}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},295:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetCompleteModuleActivationCTA}));var r=n(6),a=n.n(r),i=n(19),o=n.n(i),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(132);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 WidgetCompleteModuleActivationCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetCompleteModuleActivationCTA.propTypes=function(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){a()(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}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},296:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(6),a=n.n(r),i=n(0),o=n.n(i),c=n(124),l=n(125);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){a()(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(3))},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return p}));var r=n(81),a=e._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),p=u.trackEvent;function m(e){e?d():f()}c&&l&&g()}).call(this,n(18))},33:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(18))},35:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},38:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(37),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},39:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i);n(23);function c(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 l(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 l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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 i,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,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function l(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 s,u="googlesitekit_".concat("1.49.0","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.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,i="__storage_test__",r.setItem(i,i),r.removeItem(i),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 p(){return m.apply(this,arguments)}function m(){return(m=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(i);case 11:if(!t.sent){t.next=13;break}s=e[i];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===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,l,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,l=i.value,s=i.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)}}(),b=function(){var t=o()(a.a.mark((function t(n,r){var i,o,c,l,s,d,f,g,m=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=m.length>2&&void 0!==m[2]?m[2]:{},o=i.ttl,c=void 0===o?3600:o,l=i.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=i.isError,f=void 0!==d&&d,t.next=3,p();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),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)}}(),h=function(){var t=o()(a.a.mark((function t(n){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(u)&&r.push(o.substring(u.length));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)}}()}).call(this,n(18))},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e,r){var a=n(6),i=n.n(a),o=n(5),c=n.n(o),l=n(14),s=n.n(l),u=n(12),d=n.n(u),f=n(0),g=n.n(f),p=n(10),m=n.n(p),v=n(231),b=n.n(v),h=n(103),y=n(2),O=n(88),k=n(8),_=n(114),E=n(49),j=n(60),w=n(74),S=n(21),x=n(155),R=n(116),C=n(22),N=n(121),P=n(39),T=n(9),D=n(16),A=n(99);function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,l=t.blockData,u=t.children,f=t.className,g=t.ctaLabel,p=t.ctaLink,v=t.ctaTarget,L=t.description,q=t.dismiss,I=t.dismissExpires,M=t.format,z=t.id,B=t.isDismissible,U=t.learnMoreDescription,F=t.learnMoreLabel,W=t.learnMoreURL,H=t.logo,K=t.module,V=t.moduleName,Q=t.onCTAClick,G=t.onDismiss,$=t.pageIndex,Z=t.showOnce,J=t.SmallImageSVG,X=t.title,Y=t.type,ee=t.WinImageSVG,te=Object(y.useState)(!1),ne=d()(te,2),re=ne[0],ae=ne[1],ie=Object(y.useState)(!1),oe=d()(ie,2),ce=oe[0],le=oe[1],se=Object(y.useRef)(),ue="notification::dismissed::".concat(z),de=function(){return Object(P.d)(ue,new Date,{ttl:null})},fe=Object(A.a)();function ge(){return(ge=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(T.v)("".concat(D.g,"_site-notification"),"dismiss_notification",z);case 4:if(!G){e.next=7;break}return e.next=7,G(t);case 7:pe();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function pe(){var e=se.current;ae(!0),setTimeout(s()(c.a.mark((function t(){var n;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,de();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function me(){return(me=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(T.v)("".concat(D.g,"_site-notification"),"confirm_notification",z);case 3:if(!Q){e.next=6;break}return e.next=6,Q(t);case 6:B&&pe();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(h.a)(s()(c.a.mark((function e(){var t,n;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(T.v)("".concat(D.g,"_site-notification"),"view_notification",z);case 2:if(!(I>0)){e.next=5;break}return e.next=5,he();case 5:if(!B){e.next=11;break}return e.next=8,Object(P.b)(ue);case 8:t=e.sent,n=t.cacheHit,le(n);case 11:if(!Z){e.next=14;break}return e.next=14,de();case 14:case"end":return e.stop()}}),e)}))));var ve=Object(y.useCallback)((function(t){Object(E.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(_.a)(a,fe),behavior:"smooth"}))}),[a,fe]);function be(){return(be=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(T.v)("".concat(D.g,"_site-notification"),"click_learn_more_link",z);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(){return ye.apply(this,arguments)}function ye(){return(ye=s()(c.a.mark((function e(){var t,n,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(P.b)(ue);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(I,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(P.a)(ue);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(B&&(void 0===ce||ce))return null;var Oe,ke,_e=re?"is-closed":"is-open",Ee="large"===M&&"win-stats-increase"===Y;Oe="large"===M?Ee?{mdSize:5,lgSize:8,smOrder:2,mdOrder:1}:{mdSize:6,lgSize:8,smOrder:2,mdOrder:1}:"small"===M?{smSize:3,mdSize:7,lgSize:11}:{size:12},ke="win-warning"===Y?r.createElement(x.a,{width:34}):"win-error"===Y?r.createElement(R.a,{width:28}):"";var je=r.createElement(y.Fragment,null,l&&r.createElement(k.l,null,b()(l,(function(e,t){return r.createElement(k.a,{key:t,lgSize:Ee?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(w.a,e)))})))),we=r.createElement(y.Fragment,null,X&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},X),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(C.a,{href:a,onClick:ve},o)),L&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(y.isValidElement)(L)?L:r.createElement("span",{dangerouslySetInnerHTML:Object(j.a)(L,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),F&&r.createElement(y.Fragment,null," ",r.createElement(C.a,{onClick:function(e){return be.apply(this,arguments)},href:W,external:!0,inherit:!0},F),U),$&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},$))),u),Se=K?r.createElement(N.a,{slug:K,size:19}):r.createElement(O.a,{height:"34",width:"32"}),xe=Ee?{size:12,smOrder:2,mdOrder:1}:{size:12};return r.createElement("section",{id:z,ref:se,className:m()(f,"googlesitekit-publisher-win",(n={},i()(n,"googlesitekit-publisher-win--".concat(M),M),i()(n,"googlesitekit-publisher-win--".concat(Y),Y),i()(n,"googlesitekit-publisher-win--".concat(_e),_e),n))},r.createElement(k.b,null,r.createElement(k.l,null,H&&r.createElement(k.a,xe,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},Se),V&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},V)),J&&r.createElement(k.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(J,null)),r.createElement(k.a,Oe,Ee?r.createElement(k.l,null,r.createElement(k.a,{mdSize:8,lgSize:5},we),r.createElement(k.a,{alignBottom:!0,mdSize:8,lgSize:7},je)):r.createElement(y.Fragment,null,we,je),p&&r.createElement(S.a,{className:"googlesitekit-notification__cta",href:p,target:v,onClick:function(e){return me.apply(this,arguments)}},g),B&&q&&r.createElement(C.a,{onClick:function(e){return ge.apply(this,arguments)}},q)),ee&&r.createElement(k.a,{mdSize:2,lgSize:4,smOrder:1,mdOrder:2},r.createElement("div",{className:"googlesitekit-publisher-win__image-large"},r.createElement(ee,null))),("win-error"===Y||"win-warning"===Y)&&r.createElement(k.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},ke)))))}BannerNotification.propTypes={id:g.a.string.isRequired,className:g.a.string,title:g.a.string.isRequired,description:g.a.node,learnMoreURL:g.a.string,learnMoreDescription:g.a.string,learnMoreLabel:g.a.string,blockData:g.a.array,WinImageSVG:g.a.elementType,SmallImageSVG:g.a.elementType,format:g.a.string,ctaLink:g.a.string,ctaLabel:g.a.string,type:g.a.string,dismiss:g.a.string,isDismissible:g.a.bool,logo:g.a.bool,module:g.a.string,moduleName:g.a.string,pageIndex:g.a.string,dismissExpires:g.a.number,showOnce:g.a.bool,onCTAClick:g.a.func,onDismiss:g.a.func,anchorLink:g.a.string,anchorLinkLabel:g.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(18),n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(27);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},49:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(105);function a(e){try{return new URL(e).pathname}catch(e){}return null}function i(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){return/^#\w[A-Za-z0-9-_]*$/.test(e)}function l(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),a=e.replace(n.origin,"");if(a.length<t)return a;var i=a.length-Math.floor(t)+1;return"…"+a.substr(i)}},51:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="modules/search-console",a=1},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),a=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},54:function(e,t,n){"use strict";(function(e){var r=n(19),a=n.n(r),i=n(17),o=n.n(i),c=n(0),l=n.n(c),s=n(10),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{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(3))},56:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return p})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(37),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(38),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function m(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
36
  /* translators: %s: number of days */
37
  Object(v._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}}}},57:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(202),c=n(330),l=n(21),s=n(88),u=function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.a,{"aria-label":Object(i.__)("Dismiss","google-site-kit"),icon:e.createElement(o.a,{icon:c.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))};u.propTypes={title:a.a.string.isRequired,dismissSurvey:a.a.func.isRequired},t.a=u}).call(this,n(3))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/ui"},59:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(10),o=n.n(i);function ChangeArrow(t){var n=t.direction,r=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(3))},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(28),a=n.n(r),i=n(66),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===a()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},66:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(111),a=n.n(r)()(e)}).call(this,n(18))},69:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return k})),n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return j})),n.d(t,"a",(function(){return w}));var r=n(12),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(17),u=n.n(s),d=n(26),f=n(64),g=n.n(f),p=n(1);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 v(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){l()(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}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=h(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var n=Math.floor(e/60/60),r=Math.floor(e/60%60),a=Math.floor(e%60);return{hours:n,minutes:r,seconds:a,formatUnit:function(){var i=t.unitDisplay,o=v(v({unitDisplay:void 0===i?"short":i},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?E(a,v(v({},o),{},{unit:"second"})):Object(p.sprintf)(
38
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
@@ -49,7 +49,7 @@ Object(p.__)("%sK","google-site-kit"),E(y(e),e%10==0?{}:t)):E(e,{signDisplay:"ne
49
  /* translators: %d is the number of notifications */
50
  Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===a&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,i={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=a()(r.value,2),s=l[0],d=l[1];i[s]=d}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,n(18))},787:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminBarApp}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(2),l=n(1),s=n(4),u=n.n(s),d=n(22),f=n(8),g=n(15),p=n(13),m=n(9),v=n(16),b=n(788),h=u.a.useSelect;function AdminBarApp(){var t=h((function(e){return e(g.c).getCurrentEntityURL()})),n=h((function(e){return e(g.c).getCurrentEntityTitle()})),r=h((function(e){return e(g.c).getAdminURL("googlesitekit-dashboard",{permaLink:t})})),i=h((function(e){return e(p.a).getDateRangeNumberOfDays()})),s=Object(c.useCallback)(o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(m.v)(v.f,"open_urldetails");case 2:document.location.assign(r);case 3:case"end":return e.stop()}}),e)}))),[r]);return r&&t?e.createElement(c.Fragment,null,e.createElement(f.b,null,e.createElement(f.l,null,e.createElement(f.a,{alignMiddle:!0,size:3},e.createElement("div",{className:"googlesitekit-adminbar__subtitle"},Object(l.__)("Stats for","google-site-kit")),e.createElement("div",{className:"googlesitekit-adminbar__title"},n?Object(m.e)(n):t,e.createElement("p",{className:"googlesitekit-adminbar__title--date-range"},Object(l.sprintf)(
51
  /* translators: %s: number of days */
52
- Object(l._n)("over the last %s day","over the last %s days",i,"google-site-kit"),i)))),e.createElement(f.a,{alignMiddle:!0,mdSize:8,lgSize:7},e.createElement(b.a,null)),e.createElement(f.a,{alignMiddle:!0,size:2},e.createElement(d.a,{className:"googlesitekit-adminbar__link",href:"#",onClick:s},Object(l.__)("More details","google-site-kit"))))),e.createElement(d.a,{className:"googlesitekit-adminbar__link googlesitekit-adminbar__link--mobile",href:"#",onClick:s},Object(l.__)("More details","google-site-kit"))):null}}).call(this,n(3))},788:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminBarWidgets}));var r=n(6),a=n.n(r),i=n(10),o=n.n(i),c=n(2),l=n(4),s=n.n(l),u=n(789),d=n(790),f=n(791),g=n(792),p=n(133),m=n(132),v=n(793),b=n(20),h=n(8),y=n(35),O=n(106),k=n(123),_=n(213),E=s.a.useSelect,j=Object(_.b)("adminBarImpressions")(u.a),w=Object(_.b)("adminBarClicks")(d.a),S=Object(_.b)("adminBarUniqueVisitors")(f.a),x=Object(_.b)("adminBarSessions")(g.a);function AdminBarWidgets(){var t=E((function(e){return e(b.a).isModuleConnected("analytics")})),n=E((function(e){return e(b.a).isModuleActive("analytics")})),r=E((function(e){var t,n;return(null===(t=e(y.a).getWidgetState("adminBarImpressions"))||void 0===t?void 0:t.Component)===k.a&&(null===(n=e(y.a).getWidgetState("adminBarClicks"))||void 0===n?void 0:n.Component)===k.a})),i=E((function(e){var t,n;return(null===(t=e(y.a).getWidgetState("adminBarUniqueVisitors"))||void 0===t?void 0:t.Component)===k.a&&(null===(n=e(y.a).getWidgetState("adminBarSessions"))||void 0===n?void 0:n.Component)===k.a})),l=r&&i||r&&!t;return e.createElement(c.Fragment,null,l&&e.createElement(v.a,null),e.createElement(h.l,{className:o()(a()({},O.a,l))},e.createElement(h.a,{lgSize:r?6:3,mdSize:r?4:2},e.createElement(j,null)),e.createElement(h.a,{lgSize:3,mdSize:2,className:o()(a()({},O.a,r))},e.createElement(w,null)),t&&n&&e.createElement(c.Fragment,null,e.createElement(h.a,{lgSize:3,mdSize:2},e.createElement(S,null)),e.createElement(h.a,{lgSize:3,mdSize:2},e.createElement(x,null))),(!t||!n)&&e.createElement(h.a,{lgSize:6,mdSize:4},!n&&e.createElement(p.a,{moduleSlug:"analytics"}),n&&!t&&e.createElement(m.a,{moduleSlug:"analytics"}))))}}).call(this,n(3))},789:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(4),i=n.n(a),o=n(74),c=n(85),l=n(13),s=n(15),u=n(51),d=n(9),f=n(138),g=n(234),p=n(137),m=i.a.useSelect;t.a=function AdminBarImpressions(t){var n=t.WidgetReportZero,a=t.WidgetReportError,i=m((function(e){return e(u.b).isGatheringData()})),v=m((function(e){return e(s.c).getCurrentEntityURL()})),b=m((function(e){return e(l.a).getDateRangeDates({compare:!0,offsetDays:u.a})})),h=b.compareStartDate,y=b.endDate,O=m((function(e){return e(l.a).getDateRangeNumberOfDays()})),k={startDate:h,endDate:y,dimensions:"date",url:v},_=m((function(e){return e(u.b).getReport(k)})),E=m((function(e){return e(u.b).hasFinishedResolution("getReport",[k])})),j=m((function(e){return e(u.b).getErrorForSelector("getReport",[k])}));if(!E||void 0===i)return e.createElement(c.a,{width:"auto",height:"59px"});if(j)return e.createElement(a,{moduleSlug:"search-console",error:j});if(Object(f.e)(_)&&i)return e.createElement(n,{moduleSlug:"search-console"});var w=Object(p.a)(_,{dateRangeLength:O}),S=w.compareRange,x=w.currentRange,R=Object(g.a)(x,"impressions"),C=Object(g.a)(S,"impressions"),N=Object(d.a)(C,R);return e.createElement(o.a,{className:"overview-total-impressions",title:Object(r.__)("Total Impressions","google-site-kit"),datapoint:R,change:N,changeDataUnit:"%"})}}).call(this,n(3))},79:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},790:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(4),i=n.n(a),o=n(13),c=n(15),l=n(51),s=n(9),u=n(138),d=n(85),f=n(74),g=n(234),p=n(137),m=i.a.useSelect;t.a=function AdminBarClicks(t){var n=t.WidgetReportZero,a=t.WidgetReportError,i=m((function(e){return e(l.b).isGatheringData()})),v=m((function(e){return e(c.c).getCurrentEntityURL()})),b=m((function(e){return e(o.a).getDateRangeDates({compare:!0,offsetDays:l.a})})),h=b.compareStartDate,y=b.endDate,O=m((function(e){return e(o.a).getDateRangeNumberOfDays()})),k={startDate:h,endDate:y,dimensions:"date",url:v},_=m((function(e){return e(l.b).getReport(k)})),E=m((function(e){return e(l.b).hasFinishedResolution("getReport",[k])})),j=m((function(e){return e(l.b).getErrorForSelector("getReport",[k])}));if(!E||void 0===i)return e.createElement(d.a,{width:"auto",height:"59px"});if(j)return e.createElement(a,{moduleSlug:"search-console",error:j});if(Object(u.e)(_)&&i)return e.createElement(n,{moduleSlug:"search-console"});var w=Object(p.a)(_,{dateRangeLength:O}),S=w.compareRange,x=w.currentRange,R=Object(g.a)(x,"clicks"),C=Object(g.a)(S,"clicks"),N=Object(s.a)(C,R);return e.createElement(f.a,{className:"overview-total-clicks",title:Object(r.__)("Total Clicks","google-site-kit"),datapoint:R,change:N,changeDataUnit:"%"})}}).call(this,n(3))},791:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(1),o=n(74),c=n(4),l=n.n(c),s=n(85),u=n(13),d=n(15),f=n(11),g=n(9),p=n(183);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 v(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){a()(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}var b=l.a.useSelect;t.a=function AdminBarUniqueVisitors(t){var n=t.WidgetReportZero,r=t.WidgetReportError,a=b((function(e){return e(f.f).isGatheringData()})),c=b((function(e){return e(d.c).getCurrentEntityURL()})),l=v(v({},b((function(e){return e(u.a).getDateRangeDates({compare:!0,offsetDays:f.b})}))),{},{metrics:[{expression:"ga:users",alias:"Total Users"}],url:c}),m=b((function(e){return e(f.f).getReport(l)})),h=b((function(e){return e(f.f).hasFinishedResolution("getReport",[l])})),y=b((function(e){return e(f.f).getErrorForSelector("getReport",[l])}));if(!h||void 0===a)return e.createElement(s.a,{width:"auto",height:"59px"});if(y)return e.createElement(r,{moduleSlug:"analytics",error:y});if(Object(p.a)(m)&&a)return e.createElement(n,{moduleSlug:"analytics"});var O=m[0].data.totals,k=O[0].values,_=O[1].values,E=k[0],j=_[0];return e.createElement(o.a,{className:"overview-total-users",title:Object(i.__)("Total Users","google-site-kit"),datapoint:E,change:Object(g.a)(j,E),changeDataUnit:"%"})}}).call(this,n(3))},792:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(1),o=n(4),c=n.n(o),l=n(74),s=n(85),u=n(13),d=n(15),f=n(11),g=n(9),p=n(183);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 v(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){a()(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}var b=c.a.useSelect;t.a=function AdminBarSessions(t){var n=t.WidgetReportZero,r=t.WidgetReportError,a=b((function(e){return e(f.f).isGatheringData()})),o=b((function(e){return e(d.c).getCurrentEntityURL()})),c=v(v({},b((function(e){return e(u.a).getDateRangeDates({compare:!0,offsetDays:f.b})}))),{},{dimensions:"ga:date",limit:10,metrics:[{expression:"ga:sessions",alias:"Sessions"}],url:o}),m=b((function(e){return e(f.f).getReport(c)})),h=b((function(e){return e(f.f).hasFinishedResolution("getReport",[c])})),y=b((function(e){return e(f.f).getErrorForSelector("getReport",[c])}));if(!h||void 0===a)return e.createElement(s.a,{width:"auto",height:"59px"});if(y)return e.createElement(r,{moduleSlug:"analytics",error:y});if(Object(p.a)(m)&&a)return e.createElement(n,{moduleSlug:"analytics"});var O=m[0].data.totals,k=O[0].values,_=O[1].values,E=k[0],j=Object(g.a)(_[0],k[0]);return e.createElement(l.a,{className:"overview-total-sessions",title:Object(i.__)("Total Sessions","google-site-kit"),datapoint:E,change:j,changeDataUnit:"%"})}}).call(this,n(3))},793:function(e,t,n){"use strict";(function(e){var r=n(1);t.a=function AdminBarZeroData(){return e.createElement("div",null,e.createElement("div",{className:"googlesitekit-adminbar__subtitle googlesitekit-font-weight-bold"},Object(r.__)("No data available yet","google-site-kit")),e.createElement("div",{className:"googlesitekit-adminbar__subtitle"},Object(r.__)("There is no data available for this content yet. This could be because it was recently created or because nobody has accessed it so far.","google-site-kit")))}}).call(this,n(3))},8:function(e,t,n){"use strict";var r=n(84),a=n.n(r);n.d(t,"n",(function(){return a.a})),n.d(t,"c",(function(){return r.HelperText})),n.d(t,"d",(function(){return r.Input}));var i=n(187);n.d(t,"i",(function(){return i.a}));var o=n(239);n.d(t,"f",(function(){return o.a}));var c=n(240);n.d(t,"h",(function(){return c.a}));var l=n(104),s=n.n(l);n.d(t,"m",(function(){return s.a})),n.d(t,"k",(function(){return l.Option}));var u=n(241);n.d(t,"j",(function(){return u.a}));var d=n(238);n.d(t,"e",(function(){return d.a}));var f=n(237);n.d(t,"g",(function(){return f.a}));var g=n(86);n.d(t,"a",(function(){return g.a})),n.d(t,"b",(function(){return g.b})),n.d(t,"l",(function(){return g.c}))},80:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(185),a=n(59),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,n,r,a,i,o,c,l,s,u,d,f,g,p,m;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(a=e[0])||void 0===a||null===(i=a.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(p=g[0])||void 0===p||null===(m=p.values)||void 0===m?void 0:m[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),a=n.n(r),i=n(82),o=n(83);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 l(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){a()(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}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=l(l({},s),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(a,n);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(o.a)(a,n,c,r)}}}).call(this,n(18))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(47),a=n(27);function i(t,n){var i,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(a.b,"]"))),!i){var r=n.createElement("script");r.setAttribute(a.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,n(18))},83:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(14),l=n.n(c),s=n(47),u=n(33);function d(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,i){var o=Object(s.a)(n);return function(){var n=l()(a.a.mark((function n(c,l,s,d){var g,p,m,v,b,h,y,O,k,_;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,b=t.referenceSiteURL,h=t.trackingEnabled,y=t.trackingID,O=t.userIDHash,h){n.next=3;break}return n.abrupt("return");case 3:return r(),k=null!==(g=null===(p=e._googlesitekitUserData)||void 0===p||null===(m=p.user)||void 0===m?void 0:m.roles)&&void 0!==g?g:[],_={send_to:y,event_category:c,event_label:s,value:d,dimension1:b,dimension2:k.join(","),dimension3:O,dimension4:"1.49.0",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),a=function(){clearTimeout(r),e()};o("event",l,f(f({},_),{},{event_callback:a})),(null===(t=i._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},85:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(10),o=n.n(i),c=n(99);function PreviewBlock(t){var n=t.className,r=t.width,a=t.height,i=t.shape,l=t.padding,s=t.smallWidth,u=t.smallHeight,d=t.tabletWidth,f=t.tabletHeight,g=t.desktopWidth,p=t.desktopHeight,m=Object(c.a)(),v=r,b=a;return"small"===m&&s&&u&&(v=s,b=u),"tablet"===m&&d&&f&&(v=d,b=f),("xlarge"===m||"desktop"===m)&&g&&p&&(v=g,b=p),e.createElement("div",{className:o()("googlesitekit-preview-block",n,{"googlesitekit-preview-block--padding":l}),style:{width:v,height:b}},e.createElement("div",{className:o()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===i})}))}PreviewBlock.propTypes={className:a.a.string,width:a.a.string,height:a.a.string,shape:a.a.string,padding:a.a.bool,smallWidth:a.a.string,smallHeight:a.a.string,tabletWidth:a.a.string,tabletHeight:a.a.string,desktopWidth:a.a.string,desktopHeight:a.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(3))},86:function(e,t,n){"use strict";var r=n(100);n.d(t,"a",(function(){return r.a}));var a=n(101);n.d(t,"c",(function(){return a.a}));var i=n(102);n.d(t,"b",(function(){return i.a}))},87:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(105),o=n(1),c=n(9);function ErrorText(t){var n=t.message,r=t.reconnectURL;if(!n)return null;var a=Object(o.sprintf)(
53
  /* translators: %s: Error message */
54
  Object(o.__)("Error: %s","google-site-kit"),n);r&&Object(i.a)(r)&&(a=a+" "+Object(o.sprintf)(
55
  /* translators: %s: Reconnect URL */
32
  /* translators: %s: module name */
33
  Object(i.__)("Data error in %s","google-site-kit"),null==o?void 0:o.name),m=a.message;Object(s.b)(a)&&(c=Object(i.sprintf)(
34
  /* translators: %s: module name */
35
+ Object(i.__)("Insufficient permissions in %s","google-site-kit"),null==o?void 0:o.name),m=Object(u.a)(m,o));var v=null==a||null===(n=a.data)||void 0===n?void 0:n.reconnectURL,b=v?e.createElement(f.a,{message:m,reconnectURL:v}):d.a.sanitize(m,{ALLOWED_TAGS:[]});return e.createElement(g.a,{title:c,description:b,error:!0})}ReportError.propTypes={moduleSlug:a.a.string.isRequired,error:a.a.object.isRequired}}).call(this,n(3))},20:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="core/modules",a="insufficient_module_dependencies"},21:function(e,t,n){"use strict";(function(e){var r=n(19),a=n.n(r),i=n(17),o=n.n(i),c=n(10),l=n.n(c),s=n(0),u=n.n(s),d=n(118),f=n(274),g=n(2),p=n(1),m=n(8),v=Object(g.forwardRef)((function(t,n){var r=t.children,i=t.href,c=t.text,s=t.className,u=t.danger,v=t.disabled,b=t.target,h=t.icon,y=t.trailingIcon,O=t["aria-label"],k=t.title,_=t.tooltip,E=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","tooltip"]),j=Object(g.useCallback)((function(e){null!==e&&m.i.attachTo(e)}),[]),w=Object(d.a)(n,j),S=i&&!v?"a":"button",x=e.createElement(S,a()({className:l()("mdc-button",s,{"mdc-button--raised":!c,"mdc-button--danger":u}),href:v?void 0:i,ref:w,disabled:!!v,"aria-label":function(){var e=O;if("_blank"!==b)return e;var t=Object(p._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof r&&(e=e||r),e?"".concat(e," ").concat(t):t}(),target:b||"_self",role:"a"===S?"button":void 0},E),h,r&&e.createElement("span",{className:"mdc-button__label"},r),y);return _&&(k||O)||h&&(k||O)&&void 0===r?e.createElement(f.a,{title:k||O,classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},x):x}));v.displayName="Button",v.propTypes={onClick:u.a.func,children:u.a.node,href:u.a.string,text:u.a.bool,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,icon:u.a.element,trailingIcon:u.a.element,title:u.a.string,tooltip:u.a.bool},v.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null,tooltip:!1},t.a=v}).call(this,n(3))},213:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return m}));var r=n(19),a=n.n(r),i=n(64),o=n.n(i),c=n(229),l=n(292),s=n(293),u=n(294),d=n(295),f=n(296),g=o()((function(e){return{Widget:p(e)(c.a),WidgetReportZero:p(e)(l.a),WidgetReportError:p(e)(s.a),WidgetActivateModuleCTA:p(e)(u.a),WidgetCompleteModuleActivationCTA:p(e)(d.a),WidgetNull:p(e)(f.a)}}));function p(t){return function(n){var r=function WithWidgetSlug(r){return e.createElement(n,a()({},r,{widgetSlug:t}))};return r.displayName="WithWidgetSlug",(n.displayName||n.name)&&(r.displayName+="(".concat(n.displayName||n.name,")")),r}}var m=function(t){var n=g(t);return function(t){var r=function DecoratedComponent(r){return e.createElement(t,a()({},r,n))};return r.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(r.displayName+="(".concat(t.displayName||t.name,")")),r}}}).call(this,n(3))},22:function(e,t,n){"use strict";(function(e){var r=n(19),a=n.n(r),i=n(17),o=n.n(i),c=n(0),l=n.n(c),s=n(10),u=n.n(s),d=n(122),f=n(1),g=n(2),p=Object(g.forwardRef)((function(t,n){var r,i=t["aria-label"],c=t.arrow,l=t.back,s=t.caps,g=t.children,p=t.className,m=t.danger,v=t.disabled,b=t.external,h=t.hideExternalIndicator,y=t.href,O=t.inherit,k=t.inverse,_=t.onClick,E=t.small,j=t.to,w=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inherit","inverse","onClick","small","to"]),S=y||j||!_?j?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",x="BUTTON"===S||"BUTTON_DISABLED"===S?"button":"ROUTER_LINK"===S?d.b:"a",R=("EXTERNAL_LINK"===S&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===S&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?i?"".concat(i," ").concat(r):"string"==typeof g?"".concat(g," ").concat(r):void 0:i);return e.createElement(x,a()({"aria-label":R,className:u()("googlesitekit-cta-link",p,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":k,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":E,"googlesitekit-cta-link--inherit":O,"googlesitekit-cta-link--caps":s,"googlesitekit-cta-link--danger":m,"googlesitekit-cta-link--disabled":v}),disabled:v,href:"LINK"===S||"EXTERNAL_LINK"===S?y:void 0,onClick:_,rel:"EXTERNAL_LINK"===S?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===S?"_blank":void 0,to:j},w),g)}));p.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inherit:l.a.bool,inverse:l.a.bool,onClick:l.a.func,small:l.a.bool,to:l.a.string},p.defaultProps={arrow:!1,back:!1,caps:!1,className:"",danger:!1,disabled:!1,external:!1,hideExternalIndicator:!1,href:"",inherit:!1,inverse:!1,small:!1},t.a=p}).call(this,n(3))},229:function(e,t,n){"use strict";(function(e){var r=n(10),a=n.n(r),i=n(0),o=n.n(i),c=function Widget(t){var n=t.children,r=t.className,i=t.widgetSlug,o=t.noPadding,c=t.Header,l=t.Footer;return e.createElement("div",{className:a()("googlesitekit-widget","googlesitekit-widget--".concat(i),{"googlesitekit-widget--no-padding":o},r)},c&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(c,null)),e.createElement("div",{className:"googlesitekit-widget__body"},n),l&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(l,null)))};c.defaultProps={children:void 0,noPadding:!1},c.propTypes={children:o.a.node,widgetSlug:o.a.string.isRequired,noPadding:o.a.bool,Header:o.a.elementType,Footer:o.a.elementType},t.a=c}).call(this,n(3))},234:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(398),a=n.n(r);function i(e,t){return a()(e,t)||0}},24:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),a=Object(r.createContext)(""),i=(a.Consumer,a.Provider);t.b=a},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},275:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(7),a=n.n(r),i=n(38),o=function(e){var t=e.startDate,n=e.endDate;return a()(Object(i.a)(t),"A valid startDate is required."),a()(Object(i.a)(n),"A valid endDate is required."),{start_date:t.replace(/-/g,""),end_date:n.replace(/-/g,"")}}},292:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(6),a=n.n(r),i=n(19),o=n.n(i),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(123);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 WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetReportZero.propTypes=function(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){a()(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}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},293:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(0),l=n.n(c),s=n(199);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){a()(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(3))},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetActivateModuleCTA}));var r=n(6),a=n.n(r),i=n(19),o=n.n(i),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(133);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 WidgetActivateModuleCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetActivateModuleCTA.propTypes=function(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){a()(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}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},295:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetCompleteModuleActivationCTA}));var r=n(6),a=n.n(r),i=n(19),o=n.n(i),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(132);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 WidgetCompleteModuleActivationCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetCompleteModuleActivationCTA.propTypes=function(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){a()(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}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},296:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(6),a=n.n(r),i=n(0),o=n.n(i),c=n(124),l=n(125);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){a()(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(3))},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return p}));var r=n(81),a=e._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),p=u.trackEvent;function m(e){e?d():f()}c&&l&&g()}).call(this,n(18))},33:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(18))},35:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},38:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(37),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},39:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i);n(23);function c(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 l(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 l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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 i,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,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function l(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 s,u="googlesitekit_".concat("1.49.1","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.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,i="__storage_test__",r.setItem(i,i),r.removeItem(i),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 p(){return m.apply(this,arguments)}function m(){return(m=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(i);case 11:if(!t.sent){t.next=13;break}s=e[i];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===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,l,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,l=i.value,s=i.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)}}(),b=function(){var t=o()(a.a.mark((function t(n,r){var i,o,c,l,s,d,f,g,m=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=m.length>2&&void 0!==m[2]?m[2]:{},o=i.ttl,c=void 0===o?3600:o,l=i.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=i.isError,f=void 0!==d&&d,t.next=3,p();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),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)}}(),h=function(){var t=o()(a.a.mark((function t(n){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(u)&&r.push(o.substring(u.length));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)}}()}).call(this,n(18))},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e,r){var a=n(6),i=n.n(a),o=n(5),c=n.n(o),l=n(14),s=n.n(l),u=n(12),d=n.n(u),f=n(0),g=n.n(f),p=n(10),m=n.n(p),v=n(231),b=n.n(v),h=n(103),y=n(2),O=n(88),k=n(8),_=n(114),E=n(49),j=n(60),w=n(74),S=n(21),x=n(155),R=n(116),C=n(22),N=n(121),P=n(39),T=n(9),D=n(16),A=n(99);function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,l=t.blockData,u=t.children,f=t.className,g=t.ctaLabel,p=t.ctaLink,v=t.ctaTarget,L=t.description,q=t.dismiss,I=t.dismissExpires,M=t.format,z=t.id,B=t.isDismissible,U=t.learnMoreDescription,F=t.learnMoreLabel,W=t.learnMoreURL,H=t.logo,K=t.module,V=t.moduleName,Q=t.onCTAClick,G=t.onDismiss,$=t.pageIndex,Z=t.showOnce,J=t.SmallImageSVG,X=t.title,Y=t.type,ee=t.WinImageSVG,te=Object(y.useState)(!1),ne=d()(te,2),re=ne[0],ae=ne[1],ie=Object(y.useState)(!1),oe=d()(ie,2),ce=oe[0],le=oe[1],se=Object(y.useRef)(),ue="notification::dismissed::".concat(z),de=function(){return Object(P.d)(ue,new Date,{ttl:null})},fe=Object(A.a)();function ge(){return(ge=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(T.v)("".concat(D.g,"_site-notification"),"dismiss_notification",z);case 4:if(!G){e.next=7;break}return e.next=7,G(t);case 7:pe();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function pe(){var e=se.current;ae(!0),setTimeout(s()(c.a.mark((function t(){var n;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,de();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function me(){return(me=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(T.v)("".concat(D.g,"_site-notification"),"confirm_notification",z);case 3:if(!Q){e.next=6;break}return e.next=6,Q(t);case 6:B&&pe();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(h.a)(s()(c.a.mark((function e(){var t,n;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(T.v)("".concat(D.g,"_site-notification"),"view_notification",z);case 2:if(!(I>0)){e.next=5;break}return e.next=5,he();case 5:if(!B){e.next=11;break}return e.next=8,Object(P.b)(ue);case 8:t=e.sent,n=t.cacheHit,le(n);case 11:if(!Z){e.next=14;break}return e.next=14,de();case 14:case"end":return e.stop()}}),e)}))));var ve=Object(y.useCallback)((function(t){Object(E.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(_.a)(a,fe),behavior:"smooth"}))}),[a,fe]);function be(){return(be=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(T.v)("".concat(D.g,"_site-notification"),"click_learn_more_link",z);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(){return ye.apply(this,arguments)}function ye(){return(ye=s()(c.a.mark((function e(){var t,n,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(P.b)(ue);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(I,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(P.a)(ue);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(B&&(void 0===ce||ce))return null;var Oe,ke,_e=re?"is-closed":"is-open",Ee="large"===M&&"win-stats-increase"===Y;Oe="large"===M?Ee?{mdSize:5,lgSize:8,smOrder:2,mdOrder:1}:{mdSize:6,lgSize:8,smOrder:2,mdOrder:1}:"small"===M?{smSize:3,mdSize:7,lgSize:11}:{size:12},ke="win-warning"===Y?r.createElement(x.a,{width:34}):"win-error"===Y?r.createElement(R.a,{width:28}):"";var je=r.createElement(y.Fragment,null,l&&r.createElement(k.l,null,b()(l,(function(e,t){return r.createElement(k.a,{key:t,lgSize:Ee?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(w.a,e)))})))),we=r.createElement(y.Fragment,null,X&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},X),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(C.a,{href:a,onClick:ve},o)),L&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(y.isValidElement)(L)?L:r.createElement("span",{dangerouslySetInnerHTML:Object(j.a)(L,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),F&&r.createElement(y.Fragment,null," ",r.createElement(C.a,{onClick:function(e){return be.apply(this,arguments)},href:W,external:!0,inherit:!0},F),U),$&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},$))),u),Se=K?r.createElement(N.a,{slug:K,size:19}):r.createElement(O.a,{height:"34",width:"32"}),xe=Ee?{size:12,smOrder:2,mdOrder:1}:{size:12};return r.createElement("section",{id:z,ref:se,className:m()(f,"googlesitekit-publisher-win",(n={},i()(n,"googlesitekit-publisher-win--".concat(M),M),i()(n,"googlesitekit-publisher-win--".concat(Y),Y),i()(n,"googlesitekit-publisher-win--".concat(_e),_e),n))},r.createElement(k.b,null,r.createElement(k.l,null,H&&r.createElement(k.a,xe,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},Se),V&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},V)),J&&r.createElement(k.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(J,null)),r.createElement(k.a,Oe,Ee?r.createElement(k.l,null,r.createElement(k.a,{mdSize:8,lgSize:5},we),r.createElement(k.a,{alignBottom:!0,mdSize:8,lgSize:7},je)):r.createElement(y.Fragment,null,we,je),p&&r.createElement(S.a,{className:"googlesitekit-notification__cta",href:p,target:v,onClick:function(e){return me.apply(this,arguments)}},g),B&&q&&r.createElement(C.a,{onClick:function(e){return ge.apply(this,arguments)}},q)),ee&&r.createElement(k.a,{mdSize:2,lgSize:4,smOrder:1,mdOrder:2},r.createElement("div",{className:"googlesitekit-publisher-win__image-large"},r.createElement(ee,null))),("win-error"===Y||"win-warning"===Y)&&r.createElement(k.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},ke)))))}BannerNotification.propTypes={id:g.a.string.isRequired,className:g.a.string,title:g.a.string.isRequired,description:g.a.node,learnMoreURL:g.a.string,learnMoreDescription:g.a.string,learnMoreLabel:g.a.string,blockData:g.a.array,WinImageSVG:g.a.elementType,SmallImageSVG:g.a.elementType,format:g.a.string,ctaLink:g.a.string,ctaLabel:g.a.string,type:g.a.string,dismiss:g.a.string,isDismissible:g.a.bool,logo:g.a.bool,module:g.a.string,moduleName:g.a.string,pageIndex:g.a.string,dismissExpires:g.a.number,showOnce:g.a.bool,onCTAClick:g.a.func,onDismiss:g.a.func,anchorLink:g.a.string,anchorLinkLabel:g.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(18),n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(27);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},49:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(105);function a(e){try{return new URL(e).pathname}catch(e){}return null}function i(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){return/^#\w[A-Za-z0-9-_]*$/.test(e)}function l(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),a=e.replace(n.origin,"");if(a.length<t)return a;var i=a.length-Math.floor(t)+1;return"…"+a.substr(i)}},51:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="modules/search-console",a=1},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),a=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},54:function(e,t,n){"use strict";(function(e){var r=n(19),a=n.n(r),i=n(17),o=n.n(i),c=n(0),l=n.n(c),s=n(10),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{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(3))},56:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return p})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(37),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(38),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function m(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
36
  /* translators: %s: number of days */
37
  Object(v._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}}}},57:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(202),c=n(330),l=n(21),s=n(88),u=function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.a,{"aria-label":Object(i.__)("Dismiss","google-site-kit"),icon:e.createElement(o.a,{icon:c.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))};u.propTypes={title:a.a.string.isRequired,dismissSurvey:a.a.func.isRequired},t.a=u}).call(this,n(3))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/ui"},59:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(10),o=n.n(i);function ChangeArrow(t){var n=t.direction,r=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(3))},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(28),a=n.n(r),i=n(66),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===a()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},66:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(111),a=n.n(r)()(e)}).call(this,n(18))},69:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return k})),n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return j})),n.d(t,"a",(function(){return w}));var r=n(12),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(17),u=n.n(s),d=n(26),f=n(64),g=n.n(f),p=n(1);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 v(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){l()(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}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=h(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var n=Math.floor(e/60/60),r=Math.floor(e/60%60),a=Math.floor(e%60);return{hours:n,minutes:r,seconds:a,formatUnit:function(){var i=t.unitDisplay,o=v(v({unitDisplay:void 0===i?"short":i},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?E(a,v(v({},o),{},{unit:"second"})):Object(p.sprintf)(
38
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
49
  /* translators: %d is the number of notifications */
50
  Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===a&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,i={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=a()(r.value,2),s=l[0],d=l[1];i[s]=d}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,n(18))},787:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminBarApp}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(2),l=n(1),s=n(4),u=n.n(s),d=n(22),f=n(8),g=n(15),p=n(13),m=n(9),v=n(16),b=n(788),h=u.a.useSelect;function AdminBarApp(){var t=h((function(e){return e(g.c).getCurrentEntityURL()})),n=h((function(e){return e(g.c).getCurrentEntityTitle()})),r=h((function(e){return e(g.c).getAdminURL("googlesitekit-dashboard",{permaLink:t})})),i=h((function(e){return e(p.a).getDateRangeNumberOfDays()})),s=Object(c.useCallback)(o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(m.v)(v.f,"open_urldetails");case 2:document.location.assign(r);case 3:case"end":return e.stop()}}),e)}))),[r]);return r&&t?e.createElement(c.Fragment,null,e.createElement(f.b,null,e.createElement(f.l,null,e.createElement(f.a,{alignMiddle:!0,size:3},e.createElement("div",{className:"googlesitekit-adminbar__subtitle"},Object(l.__)("Stats for","google-site-kit")),e.createElement("div",{className:"googlesitekit-adminbar__title"},n?Object(m.e)(n):t,e.createElement("p",{className:"googlesitekit-adminbar__title--date-range"},Object(l.sprintf)(
51
  /* translators: %s: number of days */
52
+ Object(l._n)("over the last %s day","over the last %s days",i,"google-site-kit"),i)))),e.createElement(f.a,{alignMiddle:!0,mdSize:8,lgSize:7},e.createElement(b.a,null)),e.createElement(f.a,{alignMiddle:!0,size:2},e.createElement(d.a,{className:"googlesitekit-adminbar__link",href:"#",onClick:s},Object(l.__)("More details","google-site-kit"))))),e.createElement(d.a,{className:"googlesitekit-adminbar__link googlesitekit-adminbar__link--mobile",href:"#",onClick:s},Object(l.__)("More details","google-site-kit"))):null}}).call(this,n(3))},788:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminBarWidgets}));var r=n(6),a=n.n(r),i=n(10),o=n.n(i),c=n(2),l=n(4),s=n.n(l),u=n(789),d=n(790),f=n(791),g=n(792),p=n(133),m=n(132),v=n(793),b=n(20),h=n(8),y=n(35),O=n(106),k=n(123),_=n(213),E=s.a.useSelect,j=Object(_.b)("adminBarImpressions")(u.a),w=Object(_.b)("adminBarClicks")(d.a),S=Object(_.b)("adminBarUniqueVisitors")(f.a),x=Object(_.b)("adminBarSessions")(g.a);function AdminBarWidgets(){var t=E((function(e){return e(b.a).isModuleConnected("analytics")})),n=E((function(e){return e(b.a).isModuleActive("analytics")})),r=E((function(e){var t,n;return(null===(t=e(y.a).getWidgetState("adminBarImpressions"))||void 0===t?void 0:t.Component)===k.a&&(null===(n=e(y.a).getWidgetState("adminBarClicks"))||void 0===n?void 0:n.Component)===k.a})),i=E((function(e){var t,n;return(null===(t=e(y.a).getWidgetState("adminBarUniqueVisitors"))||void 0===t?void 0:t.Component)===k.a&&(null===(n=e(y.a).getWidgetState("adminBarSessions"))||void 0===n?void 0:n.Component)===k.a})),l=r&&i||r&&!t;return e.createElement(c.Fragment,null,l&&e.createElement(v.a,null),e.createElement(h.l,{className:o()(a()({},O.a,l))},e.createElement(h.a,{lgSize:r?6:3,mdSize:r?4:2},e.createElement(j,null)),e.createElement(h.a,{lgSize:3,mdSize:2,className:o()(a()({},O.a,r))},e.createElement(w,null)),t&&n&&e.createElement(c.Fragment,null,e.createElement(h.a,{lgSize:3,mdSize:2},e.createElement(S,null)),e.createElement(h.a,{lgSize:3,mdSize:2},e.createElement(x,null))),(!t||!n)&&e.createElement(h.a,{lgSize:6,mdSize:4},!n&&e.createElement(p.a,{moduleSlug:"analytics"}),n&&!t&&e.createElement(m.a,{moduleSlug:"analytics"}))))}}).call(this,n(3))},789:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(4),i=n.n(a),o=n(74),c=n(85),l=n(13),s=n(15),u=n(51),d=n(9),f=n(138),g=n(234),p=n(137),m=i.a.useSelect;t.a=function AdminBarImpressions(t){var n=t.WidgetReportZero,a=t.WidgetReportError,i=m((function(e){return e(u.b).isGatheringData()})),v=m((function(e){return e(s.c).getCurrentEntityURL()})),b=m((function(e){return e(l.a).getDateRangeDates({compare:!0,offsetDays:u.a})})),h=b.compareStartDate,y=b.endDate,O=m((function(e){return e(l.a).getDateRangeNumberOfDays()})),k={startDate:h,endDate:y,dimensions:"date",url:v},_=m((function(e){return e(u.b).getReport(k)})),E=m((function(e){return e(u.b).hasFinishedResolution("getReport",[k])})),j=m((function(e){return e(u.b).getErrorForSelector("getReport",[k])}));if(!E||void 0===i)return e.createElement(c.a,{width:"auto",height:"59px"});if(j)return e.createElement(a,{moduleSlug:"search-console",error:j});if(Object(f.e)(_)&&i)return e.createElement(n,{moduleSlug:"search-console"});var w=Object(p.a)(_,{dateRangeLength:O}),S=w.compareRange,x=w.currentRange,R=Object(g.a)(x,"impressions"),C=Object(g.a)(S,"impressions"),N=Object(d.a)(C,R);return e.createElement(o.a,{className:"overview-total-impressions",title:Object(r.__)("Total Impressions","google-site-kit"),datapoint:R,change:N,changeDataUnit:"%"})}}).call(this,n(3))},79:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},790:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(4),i=n.n(a),o=n(13),c=n(15),l=n(51),s=n(9),u=n(138),d=n(85),f=n(74),g=n(234),p=n(137),m=i.a.useSelect;t.a=function AdminBarClicks(t){var n=t.WidgetReportZero,a=t.WidgetReportError,i=m((function(e){return e(l.b).isGatheringData()})),v=m((function(e){return e(c.c).getCurrentEntityURL()})),b=m((function(e){return e(o.a).getDateRangeDates({compare:!0,offsetDays:l.a})})),h=b.compareStartDate,y=b.endDate,O=m((function(e){return e(o.a).getDateRangeNumberOfDays()})),k={startDate:h,endDate:y,dimensions:"date",url:v},_=m((function(e){return e(l.b).getReport(k)})),E=m((function(e){return e(l.b).hasFinishedResolution("getReport",[k])})),j=m((function(e){return e(l.b).getErrorForSelector("getReport",[k])}));if(!E||void 0===i)return e.createElement(d.a,{width:"auto",height:"59px"});if(j)return e.createElement(a,{moduleSlug:"search-console",error:j});if(Object(u.e)(_)&&i)return e.createElement(n,{moduleSlug:"search-console"});var w=Object(p.a)(_,{dateRangeLength:O}),S=w.compareRange,x=w.currentRange,R=Object(g.a)(x,"clicks"),C=Object(g.a)(S,"clicks"),N=Object(s.a)(C,R);return e.createElement(f.a,{className:"overview-total-clicks",title:Object(r.__)("Total Clicks","google-site-kit"),datapoint:R,change:N,changeDataUnit:"%"})}}).call(this,n(3))},791:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(1),o=n(74),c=n(4),l=n.n(c),s=n(85),u=n(13),d=n(15),f=n(11),g=n(9),p=n(183);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 v(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){a()(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}var b=l.a.useSelect;t.a=function AdminBarUniqueVisitors(t){var n=t.WidgetReportZero,r=t.WidgetReportError,a=b((function(e){return e(f.f).isGatheringData()})),c=b((function(e){return e(d.c).getCurrentEntityURL()})),l=v(v({},b((function(e){return e(u.a).getDateRangeDates({compare:!0,offsetDays:f.b})}))),{},{metrics:[{expression:"ga:users",alias:"Total Users"}],url:c}),m=b((function(e){return e(f.f).getReport(l)})),h=b((function(e){return e(f.f).hasFinishedResolution("getReport",[l])})),y=b((function(e){return e(f.f).getErrorForSelector("getReport",[l])}));if(!h||void 0===a)return e.createElement(s.a,{width:"auto",height:"59px"});if(y)return e.createElement(r,{moduleSlug:"analytics",error:y});if(Object(p.a)(m)&&a)return e.createElement(n,{moduleSlug:"analytics"});var O=m[0].data.totals,k=O[0].values,_=O[1].values,E=k[0],j=_[0];return e.createElement(o.a,{className:"overview-total-users",title:Object(i.__)("Total Users","google-site-kit"),datapoint:E,change:Object(g.a)(j,E),changeDataUnit:"%"})}}).call(this,n(3))},792:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(1),o=n(4),c=n.n(o),l=n(74),s=n(85),u=n(13),d=n(15),f=n(11),g=n(9),p=n(183);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 v(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){a()(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}var b=c.a.useSelect;t.a=function AdminBarSessions(t){var n=t.WidgetReportZero,r=t.WidgetReportError,a=b((function(e){return e(f.f).isGatheringData()})),o=b((function(e){return e(d.c).getCurrentEntityURL()})),c=v(v({},b((function(e){return e(u.a).getDateRangeDates({compare:!0,offsetDays:f.b})}))),{},{dimensions:"ga:date",limit:10,metrics:[{expression:"ga:sessions",alias:"Sessions"}],url:o}),m=b((function(e){return e(f.f).getReport(c)})),h=b((function(e){return e(f.f).hasFinishedResolution("getReport",[c])})),y=b((function(e){return e(f.f).getErrorForSelector("getReport",[c])}));if(!h||void 0===a)return e.createElement(s.a,{width:"auto",height:"59px"});if(y)return e.createElement(r,{moduleSlug:"analytics",error:y});if(Object(p.a)(m)&&a)return e.createElement(n,{moduleSlug:"analytics"});var O=m[0].data.totals,k=O[0].values,_=O[1].values,E=k[0],j=Object(g.a)(_[0],k[0]);return e.createElement(l.a,{className:"overview-total-sessions",title:Object(i.__)("Total Sessions","google-site-kit"),datapoint:E,change:j,changeDataUnit:"%"})}}).call(this,n(3))},793:function(e,t,n){"use strict";(function(e){var r=n(1);t.a=function AdminBarZeroData(){return e.createElement("div",null,e.createElement("div",{className:"googlesitekit-adminbar__subtitle googlesitekit-font-weight-bold"},Object(r.__)("No data available yet","google-site-kit")),e.createElement("div",{className:"googlesitekit-adminbar__subtitle"},Object(r.__)("There is no data available for this content yet. This could be because it was recently created or because nobody has accessed it so far.","google-site-kit")))}}).call(this,n(3))},8:function(e,t,n){"use strict";var r=n(84),a=n.n(r);n.d(t,"n",(function(){return a.a})),n.d(t,"c",(function(){return r.HelperText})),n.d(t,"d",(function(){return r.Input}));var i=n(187);n.d(t,"i",(function(){return i.a}));var o=n(239);n.d(t,"f",(function(){return o.a}));var c=n(240);n.d(t,"h",(function(){return c.a}));var l=n(104),s=n.n(l);n.d(t,"m",(function(){return s.a})),n.d(t,"k",(function(){return l.Option}));var u=n(241);n.d(t,"j",(function(){return u.a}));var d=n(238);n.d(t,"e",(function(){return d.a}));var f=n(237);n.d(t,"g",(function(){return f.a}));var g=n(86);n.d(t,"a",(function(){return g.a})),n.d(t,"b",(function(){return g.b})),n.d(t,"l",(function(){return g.c}))},80:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(185),a=n(59),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,n,r,a,i,o,c,l,s,u,d,f,g,p,m;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(a=e[0])||void 0===a||null===(i=a.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(p=g[0])||void 0===p||null===(m=p.values)||void 0===m?void 0:m[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),a=n.n(r),i=n(82),o=n(83);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 l(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){a()(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}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=l(l({},s),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(a,n);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(o.a)(a,n,c,r)}}}).call(this,n(18))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(47),a=n(27);function i(t,n){var i,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(a.b,"]"))),!i){var r=n.createElement("script");r.setAttribute(a.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,n(18))},83:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(14),l=n.n(c),s=n(47),u=n(33);function d(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,i){var o=Object(s.a)(n);return function(){var n=l()(a.a.mark((function n(c,l,s,d){var g,p,m,v,b,h,y,O,k,_;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,b=t.referenceSiteURL,h=t.trackingEnabled,y=t.trackingID,O=t.userIDHash,h){n.next=3;break}return n.abrupt("return");case 3:return r(),k=null!==(g=null===(p=e._googlesitekitUserData)||void 0===p||null===(m=p.user)||void 0===m?void 0:m.roles)&&void 0!==g?g:[],_={send_to:y,event_category:c,event_label:s,value:d,dimension1:b,dimension2:k.join(","),dimension3:O,dimension4:"1.49.1",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),a=function(){clearTimeout(r),e()};o("event",l,f(f({},_),{},{event_callback:a})),(null===(t=i._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},85:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(10),o=n.n(i),c=n(99);function PreviewBlock(t){var n=t.className,r=t.width,a=t.height,i=t.shape,l=t.padding,s=t.smallWidth,u=t.smallHeight,d=t.tabletWidth,f=t.tabletHeight,g=t.desktopWidth,p=t.desktopHeight,m=Object(c.a)(),v=r,b=a;return"small"===m&&s&&u&&(v=s,b=u),"tablet"===m&&d&&f&&(v=d,b=f),("xlarge"===m||"desktop"===m)&&g&&p&&(v=g,b=p),e.createElement("div",{className:o()("googlesitekit-preview-block",n,{"googlesitekit-preview-block--padding":l}),style:{width:v,height:b}},e.createElement("div",{className:o()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===i})}))}PreviewBlock.propTypes={className:a.a.string,width:a.a.string,height:a.a.string,shape:a.a.string,padding:a.a.bool,smallWidth:a.a.string,smallHeight:a.a.string,tabletWidth:a.a.string,tabletHeight:a.a.string,desktopWidth:a.a.string,desktopHeight:a.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(3))},86:function(e,t,n){"use strict";var r=n(100);n.d(t,"a",(function(){return r.a}));var a=n(101);n.d(t,"c",(function(){return a.a}));var i=n(102);n.d(t,"b",(function(){return i.a}))},87:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(105),o=n(1),c=n(9);function ErrorText(t){var n=t.message,r=t.reconnectURL;if(!n)return null;var a=Object(o.sprintf)(
53
  /* translators: %s: Error message */
54
  Object(o.__)("Error: %s","google-site-kit"),n);r&&Object(i.a)(r)&&(a=a+" "+Object(o.sprintf)(
55
  /* translators: %s: Reconnect URL */
dist/assets/js/{googlesitekit-api-bd429cff2d67cb2f9762.js → googlesitekit-api-6d5a142c0a8e6c714aea.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[4],{1:function(t,e){t.exports=googlesitekit.i18n},13:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return o})),n.d(e,"c",(function(){return c}));var r="core/user",a="connected_url_mismatch",i="googlesitekit_setup",o="googlesitekit_view_dashboard",c="googlesitekit_manage_options"},217:function(t,e,n){"use strict";(function(t){var r=n(48),a=n.n(r),i=n(218),o=t._googlesitekitAPIFetchData||{},c=o.nonce,u=o.nonceEndpoint,s=o.preloadedData,l=o.rootURL;a.a.nonceEndpoint=u,a.a.nonceMiddleware=a.a.createNonceMiddleware(c),a.a.rootURLMiddleware=a.a.createRootURLMiddleware(l),a.a.preloadingMiddleware=Object(i.a)(s),a.a.use(a.a.nonceMiddleware),a.a.use(a.a.mediaUploadMiddleware),a.a.use(a.a.rootURLMiddleware),a.a.use(a.a.preloadingMiddleware),e.default=a.a}).call(this,n(18))},218:function(t,e,n){"use strict";var r=n(211);e.a=function(t){var e=Object.keys(t).reduce((function(e,n){return e[Object(r.getStablePath)(n)]=t[n],e}),{}),n=!1;return function(t,a){if(n)return a(t);setTimeout((function(){n=!0}),1e3);var i=t.parse,o=void 0===i||i,c=t.path;if("string"==typeof t.path){var u,s=(null===(u=t.method)||void 0===u?void 0:u.toUpperCase())||"GET",l=Object(r.getStablePath)(c);if(o&&"GET"===s&&e[l]){var f=Promise.resolve(e[l].body);return delete e[l],f}if("OPTIONS"===s&&e[s]&&e[s][l]){var d=Promise.resolve(e[s][l]);return delete e[s][l],d}}return a(t)}}},27:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},30:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return p}));var r=n(81),a=t._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,u=a.trackingEnabled,s={activeModules:o,trackingEnabled:u,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},l=Object(r.a)(s),f=l.enableTracking,d=l.disableTracking,v=(l.isTrackingEnabled,l.initializeSnippet),p=l.trackEvent;function g(t){t?f():d()}c&&u&&v()}).call(this,n(18))},33:function(t,e,n){"use strict";(function(t){var r,a;n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var i=new Set((null===(r=t)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return e instanceof Set&&e.has(t)}}).call(this,n(18))},37:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return t instanceof Date&&!isNaN(t)}},38:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(37),a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="string"==typeof t;if(!e)return!1;var n=t.split("-");return 3===n.length&&Object(r.a)(new Date(t))}},389:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return h}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(7),u=n.n(c),s=n(217),l=n(280),f=n(39),d=n(9),v=n(91),p=n(431),g=n(13),b=!0,h=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=[t,e,n].filter((function(t){return!!t&&t.length}));return 3===a.length&&r&&r.constructor===Object&&Object.keys(r).length&&a.push(Object(d.u)(r)),a.join("::")},m=function(e){var n,r,a,i,o=null===(n=t.googlesitekit)||void 0===n||null===(r=n.data)||void 0===r||null===(a=r.dispatch)||void 0===a?void 0:a.call(r,g.a);o&&(e.code===v.a?o.setPermissionScopeError(e):(null===(i=e.data)||void 0===i?void 0:i.reconnectURL)&&o.setAuthError(e))},y=function(){var e=o()(a.a.mark((function e(n,r,i){var o,c,d,v,g,b,y,w,O,j,_,x,S,D,E,P,I,L=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=L.length>3&&void 0!==L[3]?L[3]:{},c=o.bodyParams,d=o.cacheTTL,v=void 0===d?3600:d,g=o.method,b=void 0===g?"GET":g,y=o.queryParams,w=o.useCache,O=void 0===w?void 0:w,j=o.signal,u()(n,"`type` argument for requests is required."),u()(r,"`identifier` argument for requests is required."),u()(i,"`datapoint` argument for requests is required."),_="GET"===b&&(void 0!==O?O:k()),x=h(n,r,i,y),!_){e.next=18;break}return e.next=9,Object(f.b)(x);case 9:if(S=e.sent,D=S.cacheHit,E=S.value,!S.isError){e.next=16;break}throw m(E),E;case 16:if(!D){e.next=18;break}return e.abrupt("return",E);case 18:return e.prev=18,e.next=21,Object(s.default)({data:c,method:b,signal:j,path:Object(l.a)("/google-site-kit/v1/".concat(n,"/").concat(r,"/data/").concat(i),y)});case 21:if(P=e.sent,!_){e.next=25;break}return e.next=25,Object(f.d)(x,P,{ttl:v});case 25:return e.abrupt("return",P);case 28:if(e.prev=28,e.t0=e.catch(18),!(null===e.t0||void 0===e.t0||null===(I=e.t0.data)||void 0===I?void 0:I.cacheTTL)){e.next=33;break}return e.next=33,Object(f.d)(x,e.t0,{ttl:e.t0.data.cacheTTL,isError:!0});case 33:throw Object(p.a)({method:b,datapoint:i,type:n,identifier:r,error:e.t0}),m(e.t0),t.console.error("Google Site Kit API Error","method:".concat(b),"datapoint:".concat(i),"type:".concat(n),"identifier:".concat(r),'error:"'.concat(e.t0.message,'"')),e.t0;case 37:case"end":return e.stop()}}),e,null,[[18,28]])})));return function(t,n,r){return e.apply(this,arguments)}}(),w=function(){var t=o()(a.a.mark((function t(e,n,r,i){var o,c,u,s,l,f,d=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.cacheTTL,u=void 0===c?3600:c,s=o.useCache,l=void 0===s?void 0:s,f=o.signal,t.abrupt("return",y(e,n,r,{cacheTTL:u,queryParams:i,useCache:l,signal:f}));case 2:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}(),O=function(){var t=o()(a.a.mark((function t(e,n,r,i){var o,c,u,s,l,f,d=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.method,u=void 0===c?"POST":c,s=o.queryParams,l=void 0===s?{}:s,t.next=3,y(e,n,r,{bodyParams:{data:i},method:u,queryParams:l,useCache:!1});case 3:return f=t.sent,t.next=6,j(e,n,r);case 6:return t.abrupt("return",f);case 7:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}(),k=function(){return b},j=function(){var t=o()(a.a.mark((function t(e,n,r){var i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=h(e,n,r),t.next=3,Object(f.c)();case 3:t.sent.forEach((function(t){0===t.indexOf(i)&&Object(f.a)(t)}));case 5:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}(),_={invalidateCache:j,get:w,set:O,setUsingCache:function(t){return b=!!t},usingCache:k};e.b=_}).call(this,n(18))},39:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return b})),n.d(e,"d",(function(){return h})),n.d(e,"a",(function(){return m})),n.d(e,"c",(function(){return y}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i);n(23);function c(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,a=function(){};return{s:a,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:a}}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 i,o=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){c=!0,i=t},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var s,l="googlesitekit_".concat("1.49.0","_"),f=["sessionStorage","localStorage"],d=[].concat(f),v=function(){var e=o()(a.a.mark((function e(n){var r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t[n]){e.next=3;break}return e.abrupt("return",!1);case 3:return e.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",e.t0 instanceof DOMException&&(22===e.t0.code||1014===e.t0.code||"QuotaExceededError"===e.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.t0.name)&&0!==r.length);case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}();function p(){return g.apply(this,arguments)}function g(){return(g=o()(a.a.mark((function e(){var n,r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===s){e.next=2;break}return e.abrupt("return",s);case 2:n=c(d),e.prev=3,n.s();case 5:if((r=n.n()).done){e.next=15;break}if(i=r.value,!s){e.next=9;break}return e.abrupt("continue",13);case 9:return e.next=11,v(i);case 11:if(!e.sent){e.next=13;break}s=t[i];case 13:e.next=5;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(3),n.e(e.t0);case 20:return e.prev=20,n.f(),e.finish(20);case 23:return void 0===s&&(s=null),e.abrupt("return",s);case 25:case"end":return e.stop()}}),e,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var t=o()(a.a.mark((function t(e){var n,r,i,o,c,u,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(n=t.sent)){t.next=10;break}if(!(r=n.getItem("".concat(l).concat(e)))){t.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,u=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),h=function(){var e=o()(a.a.mark((function e(n,r){var i,o,c,u,s,f,d,v,g=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=g.length>2&&void 0!==g[2]?g[2]:{},o=i.ttl,c=void 0===o?3600:o,u=i.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=i.isError,d=void 0!==f&&f,e.next=3,p();case 3:if(!(v=e.sent)){e.next=14;break}return e.prev=5,v.setItem("".concat(l).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:d})),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(5),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e,null,[[5,10]])})));return function(t,n){return e.apply(this,arguments)}}(),m=function(){var e=o()(a.a.mark((function e(n){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:if(!(r=e.sent)){e.next=13;break}return e.prev=4,r.removeItem("".concat(l).concat(n)),e.abrupt("return",!0);case 9:return e.prev=9,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[4,9]])})));return function(t){return e.apply(this,arguments)}}(),y=function(){var e=o()(a.a.mark((function e(){var n,r,i,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:if(!(n=e.sent)){e.next=14;break}for(e.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(l)&&r.push(o.substring(l.length));return e.abrupt("return",r);case 10:return e.prev=10,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",[]);case 14:return e.abrupt("return",[]);case 15:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(18))},431:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(9),u=["fetch_error"];function s(t){return l.apply(this,arguments)}function l(){return(l=o()(a.a.mark((function t(e){var n,r,i,o,s,l,f,d;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=e.method,o=e.type,s=e.identifier,l=e.datapoint,(f=e.error)&&!u.includes(null==f?void 0:f.code)){t.next=3;break}return t.abrupt("return");case 3:return d="code: ".concat(f.code),(null===(n=f.data)||void 0===n?void 0:n.reason)&&(d+=", reason: ".concat(f.data.reason)),t.next=7,Object(c.v)("api_error","".concat(i,":").concat(o,"/").concat(s,"/data/").concat(l),"".concat(f.message," (").concat(d,")"),(null===(r=f.data)||void 0===r?void 0:r.status)||f.code);case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},47:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(27);function a(t){return function(){t[r.a]=t[r.a]||[],t[r.a].push(arguments)}}},49:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return i})),n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return c})),n.d(e,"e",(function(){return u}));var r=n(105);function a(t){try{return new URL(t).pathname}catch(t){}return null}function i(t,e){try{return new URL(e,t).href}catch(t){}return("string"==typeof t?t:"")+("string"==typeof e?e:"")}function o(t){return"string"!=typeof t?t:t.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(t){return/^#\w[A-Za-z0-9-_]*$/.test(t)}function u(t,e){if(!Object(r.a)(t))return t;if(t.length<=e)return t;var n=new URL(t),a=t.replace(n.origin,"");if(a.length<e)return a;var i=a.length-Math.floor(e)+1;return"…"+a.substr(i)}},53:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(2),a=function(t){return function(e){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(e,n),t)}}}},56:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return r})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return v})),n.d(e,"g",(function(){return p})),n.d(e,"h",(function(){return f.a})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return h})),n.d(e,"i",(function(){return d}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(37),u=function(t){var e=new Date(t);o()(Object(c.a)(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(e.getMonth()+1),r="".concat(e.getDate());return[e.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),l=n.n(s),f=n(38),d=function(t){o()(Object(f.a)(t),r);var e=t.split("-"),n=l()(e,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=d(t);return n.setDate(n.getDate()-e),u(n)},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.split("-");return 3===e.length&&"last"===e[0]&&!Number.isNaN(e[1])&&!Number.isNaN(parseFloat(e[1]))&&"days"===e[2]};function g(t){var e=t.match(/last-(\d+)-days/);if(e&&e[1])return parseInt(e[1],10);throw new Error("Unrecognized date range slug.")}var b=n(1);function h(){var t=function(t){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._n)("Last %s day","Last %s days",t,"google-site-kit"),t)};return{"last-7-days":{slug:"last-7-days",label:t(7),days:7},"last-14-days":{slug:"last-14-days",label:t(14),days:14},"last-28-days":{slug:"last-28-days",label:t(28),days:28},"last-90-days":{slug:"last-90-days",label:t(90),days:90}}}},59:function(t,e,n){"use strict";(function(t){var r=n(0),a=n.n(r),i=n(10),o=n.n(i);function ChangeArrow(e){var n=e.direction,r=e.invertColor,a=e.width,i=e.height;return t.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},e.a=ChangeArrow}).call(this,n(3))},60:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return c}));var r=n(28),a=n.n(r),i=n(66),o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(t,e)}};function c(t){var e,n="object"===a()(t)?t.toString():t;return null==n||null===(e=n.replace)||void 0===e?void 0:e.call(n,/\/+$/,"")}},66:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a}));var r=n(111),a=n.n(r)()(t)}).call(this,n(18))},69:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return O})),n.d(e,"d",(function(){return j})),n.d(e,"b",(function(){return _})),n.d(e,"a",(function(){return x}));var r=n(12),a=n.n(r),i=n(28),o=n.n(i),c=n(6),u=n.n(c),s=n(17),l=n.n(s),f=n(26),d=n(64),v=n.n(d),p=n(1);function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach((function(e){u()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=m(t,e),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(t){return a()}},m=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=parseInt(t,10),Number.isNaN(t)&&(t=0);var n=Math.floor(t/60/60),r=Math.floor(t/60%60),a=Math.floor(t%60);return{hours:n,minutes:r,seconds:a,formatUnit:function(){var i=e.unitDisplay,o=b(b({unitDisplay:void 0===i?"short":i},l()(e,["unitDisplay"])),{},{style:"unit"});return 0===t?j(a,b(b({},o),{},{unit:"second"})):Object(p.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
@@ -13,4 +13,4 @@ Object(p.__)("%sK","google-site-kit"),j(y(t))):1e3<=t?Object(p.sprintf)(// trans
13
  Object(p.__)("%sK","google-site-kit"),j(y(t),t%10==0?{}:e)):j(t,{signDisplay:"never",maximumFractionDigits:1})},O=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object(f.isFinite)(t)?t:Number(t),Object(f.isFinite)(t)||(console.warn("Invalid number",t,o()(t)),t=0);var n={};if("%"===e)n={style:"percent",maximumFractionDigits:2};else{if("s"===e)return h(t,{unitDisplay:"narrow"});e&&"string"==typeof e?n={style:"currency",currency:e}:Object(f.isPlainObject)(e)&&(n=b({},e))}var r=n,a=r.style,i=void 0===a?"metric":a;return"metric"===i?w(t):"duration"===i?h(t,e):j(t,n)},k=v()(console.warn),j=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.locale,r=void 0===n?x():n,i=l()(e,["locale"]);try{return new Intl.NumberFormat(r,i).format(t)}catch(e){k("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(t)," )"),e.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(i);f<d.length;f++){var v=a()(d[f],2),p=v[0],g=v[1];c[p]&&g===c[p]||(u.includes(p)||(s[p]=g))}try{return new Intl.NumberFormat(r,s).format(t)}catch(e){return new Intl.NumberFormat(r).format(t)}},_=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.locale,r=void 0===n?x():n,a=e.style,i=void 0===a?"long":a,o=e.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var u=new Intl.ListFormat(r,{style:i,type:c});return u.format(t)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(p.__)(", ","google-site-kit");return t.join(s)},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,n=Object(f.get)(e,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return e.navigator.language}}).call(this,n(18))},77:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return f}));var r=n(12),a=n.n(r),i=n(1);function o(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,a=function(){};return{s:a,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:a}}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 i,o=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){u=!0,i=t},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw i}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&a)return!1;if(e=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===e&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(t));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=t;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(i.sprintf)(
15
  /* translators: %d is the number of notifications */
16
- Object(i._n)("%d notification","%d notifications",t,"google-site-kit"),t),o.appendChild(c),o.appendChild(u),e&&null===r&&e.appendChild(o),n&&null===a&&n.appendChild(o),o},s=function(){t.localStorage&&t.localStorage.clear(),t.sessionStorage&&t.sessionStorage.clear()},l=function(t){for(var e=location.search.substr(1).split("&"),n={},r=0;r<e.length;r++)n[e[r].split("=")[0]]=decodeURIComponent(e[r].split("=")[1]);return t?n.hasOwnProperty(t)?decodeURIComponent(n[t].replace(/\+/g," ")):"":n},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(e.href);if(t)return n.searchParams&&n.searchParams.get?n.searchParams.get(t):l(t);var r,i={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var u=a()(r.value,2),s=u[0],f=u[1];i[s]=f}}catch(t){c.e(t)}finally{c.f()}return i}}).call(this,n(18))},79:function(t,e,n){"use strict";(function(t){n(44),n(45)}).call(this,n(18))},80:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return c}));var r=n(185),a=n(59),i=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(e)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(t.createElement(a.a,{direction:e>0?"up":"down",invertColor:o}))},o=function(t){var e,n,r,a,i,o,c,u,s,l,f,d,v,p,g;if(void 0!==t)return 1===(null==t||null===(e=t[0])||void 0===e||null===(n=e.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==t||null===(a=t[0])||void 0===a||null===(i=a.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==t||null===(f=t[0])||void 0===f||null===(d=f.data)||void 0===d||null===(v=d.totals)||void 0===v||null===(p=v[0])||void 0===p||null===(g=p.values)||void 0===g?void 0:g[0])},c=function(t,e){return t>0&&e>0?t/e-1:t>0?1:e>0?-1:0}}).call(this,n(3))},81:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return l}));var r=n(6),a=n.n(r),i=n(82),o=n(83);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){a()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,a=u(u({},s),e);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(a,n);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(o.a)(a,n,c,r)}}}).call(this,n(18))},82:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return i}));var r=n(47),a=n(27);function i(e,n){var i,o=Object(r.a)(n);return function(){var n=t.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(a.b,"]"))),!i){var r=n.createElement("script");r.setAttribute(a.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(e.trackingID,"&l=").concat(a.a),n.head.appendChild(r),o("js",new Date),o("config",e.trackingID,{send_page_view:e.isSiteKitScreen}),i=!0}}}}).call(this,n(18))},83:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return v}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(14),u=n.n(c),s=n(47),l=n(33);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){o()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function v(e,n,r,i){var o=Object(s.a)(n);return function(){var n=u()(a.a.mark((function n(c,u,s,f){var v,p,g,b,h,m,y,w,O,k;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(b=e.activeModules,h=e.referenceSiteURL,m=e.trackingEnabled,y=e.trackingID,w=e.userIDHash,m){n.next=3;break}return n.abrupt("return");case 3:return r(),O=null!==(v=null===(p=t._googlesitekitUserData)||void 0===p||null===(g=p.user)||void 0===g?void 0:g.roles)&&void 0!==v?v:[],k={send_to:y,event_category:c,event_label:s,value:f,dimension1:h,dimension2:O.join(","),dimension3:w,dimension4:"1.49.0",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},n.abrupt("return",new Promise((function(t){var e,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),t()}),1e3),a=function(){clearTimeout(r),t()};o("event",u,d(d({},k),{},{event_callback:a})),(null===(e=i._gaUserPrefs)||void 0===e||null===(n=e.ioo)||void 0===n?void 0:n.call(e))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(t,e,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},854:function(t,e,n){"use strict";n.r(e),function(t){var r=n(389);void 0===t.googlesitekit&&(t.googlesitekit={}),void 0===t.googlesitekit.api&&(t.googlesitekit.api=r.b),e.default=r.b}.call(this,n(18))},9:function(t,e,n){"use strict";n.d(e,"v",(function(){return c.b})),n.d(e,"s",(function(){return u.a})),n.d(e,"w",(function(){return u.b})),n.d(e,"u",(function(){return v})),n.d(e,"c",(function(){return p.b})),n.d(e,"j",(function(){return p.c})),n.d(e,"q",(function(){return g.c})),n.d(e,"r",(function(){return g.d})),n.d(e,"n",(function(){return g.b})),n.d(e,"i",(function(){return g.a})),n.d(e,"o",(function(){return y})),n.d(e,"d",(function(){return w})),n.d(e,"f",(function(){return O.c})),n.d(e,"t",(function(){return O.i})),n.d(e,"g",(function(){return k.b})),n.d(e,"m",(function(){return k.c})),n.d(e,"b",(function(){return k.a})),n.d(e,"l",(function(){return j.b})),n.d(e,"h",(function(){return j.a})),n.d(e,"p",(function(){return j.d})),n.d(e,"k",(function(){return _})),n.d(e,"a",(function(){return x})),n.d(e,"x",(function(){return S})),n.d(e,"e",(function(){return D}));var r=n(110),a=n.n(r),i=n(108),o=n.n(i),c=n(30),u=n(60),s=n(28),l=n.n(s),f=n(73),d=n.n(f),v=function(t){return d()(JSON.stringify(function t(e){var n={};return Object.keys(e).sort().forEach((function(r){var a=e[r];a&&"object"===l()(a)&&!Array.isArray(a)&&(a=t(a)),n[r]=a})),n}(t)))};var p=n(77),g=(n(79),n(69));n(53);function b(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function h(t){return"<p>".concat(t.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(t){return t.replace(/\n/gi,"<br>")}function y(t){for(var e=t,n=0,r=[b,h,m];n<r.length;n++){e=(0,r[n])(e)}return e}var w=function(t){return t=parseFloat(t),isNaN(t)||0===t?[0,0,0,0]:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60),Math.floor(1e3*t)-1e3*Math.floor(t)]},O=n(56),k=n(80),j=n(49),_=function(t){switch(t){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},x=function(t,e){if("0"===t||0===t||isNaN(t))return null;var n=(e-t)/t;return isNaN(n)||!a()(n)?null:n},S=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},D=function(t){if(!t)return"";var e=t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/(\\)/g,"");return o()(e)}},91:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return i}));n(52);var r="missing_required_scopes";function a(t){return(null==t?void 0:t.code)===r}function i(t){var e;return"insufficientPermissions"===(null==t||null===(e=t.data)||void 0===e?void 0:e.reason)}}},[[854,1,0]]]);
1
+ (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[4],{1:function(t,e){t.exports=googlesitekit.i18n},13:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return o})),n.d(e,"c",(function(){return c}));var r="core/user",a="connected_url_mismatch",i="googlesitekit_setup",o="googlesitekit_view_dashboard",c="googlesitekit_manage_options"},217:function(t,e,n){"use strict";(function(t){var r=n(48),a=n.n(r),i=n(218),o=t._googlesitekitAPIFetchData||{},c=o.nonce,u=o.nonceEndpoint,s=o.preloadedData,l=o.rootURL;a.a.nonceEndpoint=u,a.a.nonceMiddleware=a.a.createNonceMiddleware(c),a.a.rootURLMiddleware=a.a.createRootURLMiddleware(l),a.a.preloadingMiddleware=Object(i.a)(s),a.a.use(a.a.nonceMiddleware),a.a.use(a.a.mediaUploadMiddleware),a.a.use(a.a.rootURLMiddleware),a.a.use(a.a.preloadingMiddleware),e.default=a.a}).call(this,n(18))},218:function(t,e,n){"use strict";var r=n(211);e.a=function(t){var e=Object.keys(t).reduce((function(e,n){return e[Object(r.getStablePath)(n)]=t[n],e}),{}),n=!1;return function(t,a){if(n)return a(t);setTimeout((function(){n=!0}),1e3);var i=t.parse,o=void 0===i||i,c=t.path;if("string"==typeof t.path){var u,s=(null===(u=t.method)||void 0===u?void 0:u.toUpperCase())||"GET",l=Object(r.getStablePath)(c);if(o&&"GET"===s&&e[l]){var f=Promise.resolve(e[l].body);return delete e[l],f}if("OPTIONS"===s&&e[s]&&e[s][l]){var d=Promise.resolve(e[s][l]);return delete e[s][l],d}}return a(t)}}},27:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},30:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return p}));var r=n(81),a=t._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,u=a.trackingEnabled,s={activeModules:o,trackingEnabled:u,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},l=Object(r.a)(s),f=l.enableTracking,d=l.disableTracking,v=(l.isTrackingEnabled,l.initializeSnippet),p=l.trackEvent;function g(t){t?f():d()}c&&u&&v()}).call(this,n(18))},33:function(t,e,n){"use strict";(function(t){var r,a;n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var i=new Set((null===(r=t)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return e instanceof Set&&e.has(t)}}).call(this,n(18))},37:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return t instanceof Date&&!isNaN(t)}},38:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(37),a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="string"==typeof t;if(!e)return!1;var n=t.split("-");return 3===n.length&&Object(r.a)(new Date(t))}},389:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return h}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(7),u=n.n(c),s=n(217),l=n(280),f=n(39),d=n(9),v=n(91),p=n(431),g=n(13),b=!0,h=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=[t,e,n].filter((function(t){return!!t&&t.length}));return 3===a.length&&r&&r.constructor===Object&&Object.keys(r).length&&a.push(Object(d.u)(r)),a.join("::")},m=function(e){var n,r,a,i,o=null===(n=t.googlesitekit)||void 0===n||null===(r=n.data)||void 0===r||null===(a=r.dispatch)||void 0===a?void 0:a.call(r,g.a);o&&(e.code===v.a?o.setPermissionScopeError(e):(null===(i=e.data)||void 0===i?void 0:i.reconnectURL)&&o.setAuthError(e))},y=function(){var e=o()(a.a.mark((function e(n,r,i){var o,c,d,v,g,b,y,w,O,j,_,x,S,D,E,P,I,L=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=L.length>3&&void 0!==L[3]?L[3]:{},c=o.bodyParams,d=o.cacheTTL,v=void 0===d?3600:d,g=o.method,b=void 0===g?"GET":g,y=o.queryParams,w=o.useCache,O=void 0===w?void 0:w,j=o.signal,u()(n,"`type` argument for requests is required."),u()(r,"`identifier` argument for requests is required."),u()(i,"`datapoint` argument for requests is required."),_="GET"===b&&(void 0!==O?O:k()),x=h(n,r,i,y),!_){e.next=18;break}return e.next=9,Object(f.b)(x);case 9:if(S=e.sent,D=S.cacheHit,E=S.value,!S.isError){e.next=16;break}throw m(E),E;case 16:if(!D){e.next=18;break}return e.abrupt("return",E);case 18:return e.prev=18,e.next=21,Object(s.default)({data:c,method:b,signal:j,path:Object(l.a)("/google-site-kit/v1/".concat(n,"/").concat(r,"/data/").concat(i),y)});case 21:if(P=e.sent,!_){e.next=25;break}return e.next=25,Object(f.d)(x,P,{ttl:v});case 25:return e.abrupt("return",P);case 28:if(e.prev=28,e.t0=e.catch(18),!(null===e.t0||void 0===e.t0||null===(I=e.t0.data)||void 0===I?void 0:I.cacheTTL)){e.next=33;break}return e.next=33,Object(f.d)(x,e.t0,{ttl:e.t0.data.cacheTTL,isError:!0});case 33:throw Object(p.a)({method:b,datapoint:i,type:n,identifier:r,error:e.t0}),m(e.t0),t.console.error("Google Site Kit API Error","method:".concat(b),"datapoint:".concat(i),"type:".concat(n),"identifier:".concat(r),'error:"'.concat(e.t0.message,'"')),e.t0;case 37:case"end":return e.stop()}}),e,null,[[18,28]])})));return function(t,n,r){return e.apply(this,arguments)}}(),w=function(){var t=o()(a.a.mark((function t(e,n,r,i){var o,c,u,s,l,f,d=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.cacheTTL,u=void 0===c?3600:c,s=o.useCache,l=void 0===s?void 0:s,f=o.signal,t.abrupt("return",y(e,n,r,{cacheTTL:u,queryParams:i,useCache:l,signal:f}));case 2:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}(),O=function(){var t=o()(a.a.mark((function t(e,n,r,i){var o,c,u,s,l,f,d=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.method,u=void 0===c?"POST":c,s=o.queryParams,l=void 0===s?{}:s,t.next=3,y(e,n,r,{bodyParams:{data:i},method:u,queryParams:l,useCache:!1});case 3:return f=t.sent,t.next=6,j(e,n,r);case 6:return t.abrupt("return",f);case 7:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}(),k=function(){return b},j=function(){var t=o()(a.a.mark((function t(e,n,r){var i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=h(e,n,r),t.next=3,Object(f.c)();case 3:t.sent.forEach((function(t){0===t.indexOf(i)&&Object(f.a)(t)}));case 5:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}(),_={invalidateCache:j,get:w,set:O,setUsingCache:function(t){return b=!!t},usingCache:k};e.b=_}).call(this,n(18))},39:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return b})),n.d(e,"d",(function(){return h})),n.d(e,"a",(function(){return m})),n.d(e,"c",(function(){return y}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i);n(23);function c(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,a=function(){};return{s:a,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:a}}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 i,o=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){c=!0,i=t},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var s,l="googlesitekit_".concat("1.49.1","_"),f=["sessionStorage","localStorage"],d=[].concat(f),v=function(){var e=o()(a.a.mark((function e(n){var r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t[n]){e.next=3;break}return e.abrupt("return",!1);case 3:return e.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",e.t0 instanceof DOMException&&(22===e.t0.code||1014===e.t0.code||"QuotaExceededError"===e.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.t0.name)&&0!==r.length);case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}();function p(){return g.apply(this,arguments)}function g(){return(g=o()(a.a.mark((function e(){var n,r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===s){e.next=2;break}return e.abrupt("return",s);case 2:n=c(d),e.prev=3,n.s();case 5:if((r=n.n()).done){e.next=15;break}if(i=r.value,!s){e.next=9;break}return e.abrupt("continue",13);case 9:return e.next=11,v(i);case 11:if(!e.sent){e.next=13;break}s=t[i];case 13:e.next=5;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(3),n.e(e.t0);case 20:return e.prev=20,n.f(),e.finish(20);case 23:return void 0===s&&(s=null),e.abrupt("return",s);case 25:case"end":return e.stop()}}),e,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var t=o()(a.a.mark((function t(e){var n,r,i,o,c,u,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(n=t.sent)){t.next=10;break}if(!(r=n.getItem("".concat(l).concat(e)))){t.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,u=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),h=function(){var e=o()(a.a.mark((function e(n,r){var i,o,c,u,s,f,d,v,g=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=g.length>2&&void 0!==g[2]?g[2]:{},o=i.ttl,c=void 0===o?3600:o,u=i.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=i.isError,d=void 0!==f&&f,e.next=3,p();case 3:if(!(v=e.sent)){e.next=14;break}return e.prev=5,v.setItem("".concat(l).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:d})),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(5),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e,null,[[5,10]])})));return function(t,n){return e.apply(this,arguments)}}(),m=function(){var e=o()(a.a.mark((function e(n){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:if(!(r=e.sent)){e.next=13;break}return e.prev=4,r.removeItem("".concat(l).concat(n)),e.abrupt("return",!0);case 9:return e.prev=9,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[4,9]])})));return function(t){return e.apply(this,arguments)}}(),y=function(){var e=o()(a.a.mark((function e(){var n,r,i,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:if(!(n=e.sent)){e.next=14;break}for(e.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(l)&&r.push(o.substring(l.length));return e.abrupt("return",r);case 10:return e.prev=10,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",[]);case 14:return e.abrupt("return",[]);case 15:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(18))},431:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(9),u=["fetch_error"];function s(t){return l.apply(this,arguments)}function l(){return(l=o()(a.a.mark((function t(e){var n,r,i,o,s,l,f,d;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=e.method,o=e.type,s=e.identifier,l=e.datapoint,(f=e.error)&&!u.includes(null==f?void 0:f.code)){t.next=3;break}return t.abrupt("return");case 3:return d="code: ".concat(f.code),(null===(n=f.data)||void 0===n?void 0:n.reason)&&(d+=", reason: ".concat(f.data.reason)),t.next=7,Object(c.v)("api_error","".concat(i,":").concat(o,"/").concat(s,"/data/").concat(l),"".concat(f.message," (").concat(d,")"),(null===(r=f.data)||void 0===r?void 0:r.status)||f.code);case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},47:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(27);function a(t){return function(){t[r.a]=t[r.a]||[],t[r.a].push(arguments)}}},49:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return i})),n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return c})),n.d(e,"e",(function(){return u}));var r=n(105);function a(t){try{return new URL(t).pathname}catch(t){}return null}function i(t,e){try{return new URL(e,t).href}catch(t){}return("string"==typeof t?t:"")+("string"==typeof e?e:"")}function o(t){return"string"!=typeof t?t:t.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(t){return/^#\w[A-Za-z0-9-_]*$/.test(t)}function u(t,e){if(!Object(r.a)(t))return t;if(t.length<=e)return t;var n=new URL(t),a=t.replace(n.origin,"");if(a.length<e)return a;var i=a.length-Math.floor(e)+1;return"…"+a.substr(i)}},53:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(2),a=function(t){return function(e){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(e,n),t)}}}},56:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return r})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return v})),n.d(e,"g",(function(){return p})),n.d(e,"h",(function(){return f.a})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return h})),n.d(e,"i",(function(){return d}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(37),u=function(t){var e=new Date(t);o()(Object(c.a)(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(e.getMonth()+1),r="".concat(e.getDate());return[e.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),l=n.n(s),f=n(38),d=function(t){o()(Object(f.a)(t),r);var e=t.split("-"),n=l()(e,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=d(t);return n.setDate(n.getDate()-e),u(n)},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.split("-");return 3===e.length&&"last"===e[0]&&!Number.isNaN(e[1])&&!Number.isNaN(parseFloat(e[1]))&&"days"===e[2]};function g(t){var e=t.match(/last-(\d+)-days/);if(e&&e[1])return parseInt(e[1],10);throw new Error("Unrecognized date range slug.")}var b=n(1);function h(){var t=function(t){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._n)("Last %s day","Last %s days",t,"google-site-kit"),t)};return{"last-7-days":{slug:"last-7-days",label:t(7),days:7},"last-14-days":{slug:"last-14-days",label:t(14),days:14},"last-28-days":{slug:"last-28-days",label:t(28),days:28},"last-90-days":{slug:"last-90-days",label:t(90),days:90}}}},59:function(t,e,n){"use strict";(function(t){var r=n(0),a=n.n(r),i=n(10),o=n.n(i);function ChangeArrow(e){var n=e.direction,r=e.invertColor,a=e.width,i=e.height;return t.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},e.a=ChangeArrow}).call(this,n(3))},60:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return c}));var r=n(28),a=n.n(r),i=n(66),o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(t,e)}};function c(t){var e,n="object"===a()(t)?t.toString():t;return null==n||null===(e=n.replace)||void 0===e?void 0:e.call(n,/\/+$/,"")}},66:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a}));var r=n(111),a=n.n(r)()(t)}).call(this,n(18))},69:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return O})),n.d(e,"d",(function(){return j})),n.d(e,"b",(function(){return _})),n.d(e,"a",(function(){return x}));var r=n(12),a=n.n(r),i=n(28),o=n.n(i),c=n(6),u=n.n(c),s=n(17),l=n.n(s),f=n(26),d=n(64),v=n.n(d),p=n(1);function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach((function(e){u()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=m(t,e),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(t){return a()}},m=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=parseInt(t,10),Number.isNaN(t)&&(t=0);var n=Math.floor(t/60/60),r=Math.floor(t/60%60),a=Math.floor(t%60);return{hours:n,minutes:r,seconds:a,formatUnit:function(){var i=e.unitDisplay,o=b(b({unitDisplay:void 0===i?"short":i},l()(e,["unitDisplay"])),{},{style:"unit"});return 0===t?j(a,b(b({},o),{},{unit:"second"})):Object(p.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
13
  Object(p.__)("%sK","google-site-kit"),j(y(t),t%10==0?{}:e)):j(t,{signDisplay:"never",maximumFractionDigits:1})},O=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object(f.isFinite)(t)?t:Number(t),Object(f.isFinite)(t)||(console.warn("Invalid number",t,o()(t)),t=0);var n={};if("%"===e)n={style:"percent",maximumFractionDigits:2};else{if("s"===e)return h(t,{unitDisplay:"narrow"});e&&"string"==typeof e?n={style:"currency",currency:e}:Object(f.isPlainObject)(e)&&(n=b({},e))}var r=n,a=r.style,i=void 0===a?"metric":a;return"metric"===i?w(t):"duration"===i?h(t,e):j(t,n)},k=v()(console.warn),j=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.locale,r=void 0===n?x():n,i=l()(e,["locale"]);try{return new Intl.NumberFormat(r,i).format(t)}catch(e){k("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(t)," )"),e.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(i);f<d.length;f++){var v=a()(d[f],2),p=v[0],g=v[1];c[p]&&g===c[p]||(u.includes(p)||(s[p]=g))}try{return new Intl.NumberFormat(r,s).format(t)}catch(e){return new Intl.NumberFormat(r).format(t)}},_=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.locale,r=void 0===n?x():n,a=e.style,i=void 0===a?"long":a,o=e.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var u=new Intl.ListFormat(r,{style:i,type:c});return u.format(t)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(p.__)(", ","google-site-kit");return t.join(s)},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,n=Object(f.get)(e,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return e.navigator.language}}).call(this,n(18))},77:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return f}));var r=n(12),a=n.n(r),i=n(1);function o(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,a=function(){};return{s:a,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:a}}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 i,o=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){u=!0,i=t},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw i}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&a)return!1;if(e=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===e&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(t));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=t;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(i.sprintf)(
15
  /* translators: %d is the number of notifications */
16
+ Object(i._n)("%d notification","%d notifications",t,"google-site-kit"),t),o.appendChild(c),o.appendChild(u),e&&null===r&&e.appendChild(o),n&&null===a&&n.appendChild(o),o},s=function(){t.localStorage&&t.localStorage.clear(),t.sessionStorage&&t.sessionStorage.clear()},l=function(t){for(var e=location.search.substr(1).split("&"),n={},r=0;r<e.length;r++)n[e[r].split("=")[0]]=decodeURIComponent(e[r].split("=")[1]);return t?n.hasOwnProperty(t)?decodeURIComponent(n[t].replace(/\+/g," ")):"":n},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(e.href);if(t)return n.searchParams&&n.searchParams.get?n.searchParams.get(t):l(t);var r,i={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var u=a()(r.value,2),s=u[0],f=u[1];i[s]=f}}catch(t){c.e(t)}finally{c.f()}return i}}).call(this,n(18))},79:function(t,e,n){"use strict";(function(t){n(44),n(45)}).call(this,n(18))},80:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return c}));var r=n(185),a=n(59),i=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(e)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(t.createElement(a.a,{direction:e>0?"up":"down",invertColor:o}))},o=function(t){var e,n,r,a,i,o,c,u,s,l,f,d,v,p,g;if(void 0!==t)return 1===(null==t||null===(e=t[0])||void 0===e||null===(n=e.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==t||null===(a=t[0])||void 0===a||null===(i=a.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==t||null===(f=t[0])||void 0===f||null===(d=f.data)||void 0===d||null===(v=d.totals)||void 0===v||null===(p=v[0])||void 0===p||null===(g=p.values)||void 0===g?void 0:g[0])},c=function(t,e){return t>0&&e>0?t/e-1:t>0?1:e>0?-1:0}}).call(this,n(3))},81:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return l}));var r=n(6),a=n.n(r),i=n(82),o=n(83);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){a()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,a=u(u({},s),e);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(a,n);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(o.a)(a,n,c,r)}}}).call(this,n(18))},82:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return i}));var r=n(47),a=n(27);function i(e,n){var i,o=Object(r.a)(n);return function(){var n=t.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(a.b,"]"))),!i){var r=n.createElement("script");r.setAttribute(a.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(e.trackingID,"&l=").concat(a.a),n.head.appendChild(r),o("js",new Date),o("config",e.trackingID,{send_page_view:e.isSiteKitScreen}),i=!0}}}}).call(this,n(18))},83:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return v}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(14),u=n.n(c),s=n(47),l=n(33);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){o()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function v(e,n,r,i){var o=Object(s.a)(n);return function(){var n=u()(a.a.mark((function n(c,u,s,f){var v,p,g,b,h,m,y,w,O,k;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(b=e.activeModules,h=e.referenceSiteURL,m=e.trackingEnabled,y=e.trackingID,w=e.userIDHash,m){n.next=3;break}return n.abrupt("return");case 3:return r(),O=null!==(v=null===(p=t._googlesitekitUserData)||void 0===p||null===(g=p.user)||void 0===g?void 0:g.roles)&&void 0!==v?v:[],k={send_to:y,event_category:c,event_label:s,value:f,dimension1:h,dimension2:O.join(","),dimension3:w,dimension4:"1.49.1",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},n.abrupt("return",new Promise((function(t){var e,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),t()}),1e3),a=function(){clearTimeout(r),t()};o("event",u,d(d({},k),{},{event_callback:a})),(null===(e=i._gaUserPrefs)||void 0===e||null===(n=e.ioo)||void 0===n?void 0:n.call(e))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(t,e,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},854:function(t,e,n){"use strict";n.r(e),function(t){var r=n(389);void 0===t.googlesitekit&&(t.googlesitekit={}),void 0===t.googlesitekit.api&&(t.googlesitekit.api=r.b),e.default=r.b}.call(this,n(18))},9:function(t,e,n){"use strict";n.d(e,"v",(function(){return c.b})),n.d(e,"s",(function(){return u.a})),n.d(e,"w",(function(){return u.b})),n.d(e,"u",(function(){return v})),n.d(e,"c",(function(){return p.b})),n.d(e,"j",(function(){return p.c})),n.d(e,"q",(function(){return g.c})),n.d(e,"r",(function(){return g.d})),n.d(e,"n",(function(){return g.b})),n.d(e,"i",(function(){return g.a})),n.d(e,"o",(function(){return y})),n.d(e,"d",(function(){return w})),n.d(e,"f",(function(){return O.c})),n.d(e,"t",(function(){return O.i})),n.d(e,"g",(function(){return k.b})),n.d(e,"m",(function(){return k.c})),n.d(e,"b",(function(){return k.a})),n.d(e,"l",(function(){return j.b})),n.d(e,"h",(function(){return j.a})),n.d(e,"p",(function(){return j.d})),n.d(e,"k",(function(){return _})),n.d(e,"a",(function(){return x})),n.d(e,"x",(function(){return S})),n.d(e,"e",(function(){return D}));var r=n(110),a=n.n(r),i=n(108),o=n.n(i),c=n(30),u=n(60),s=n(28),l=n.n(s),f=n(73),d=n.n(f),v=function(t){return d()(JSON.stringify(function t(e){var n={};return Object.keys(e).sort().forEach((function(r){var a=e[r];a&&"object"===l()(a)&&!Array.isArray(a)&&(a=t(a)),n[r]=a})),n}(t)))};var p=n(77),g=(n(79),n(69));n(53);function b(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function h(t){return"<p>".concat(t.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(t){return t.replace(/\n/gi,"<br>")}function y(t){for(var e=t,n=0,r=[b,h,m];n<r.length;n++){e=(0,r[n])(e)}return e}var w=function(t){return t=parseFloat(t),isNaN(t)||0===t?[0,0,0,0]:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60),Math.floor(1e3*t)-1e3*Math.floor(t)]},O=n(56),k=n(80),j=n(49),_=function(t){switch(t){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},x=function(t,e){if("0"===t||0===t||isNaN(t))return null;var n=(e-t)/t;return isNaN(n)||!a()(n)?null:n},S=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},D=function(t){if(!t)return"";var e=t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/(\\)/g,"");return o()(e)}},91:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return i}));n(52);var r="missing_required_scopes";function a(t){return(null==t?void 0:t.code)===r}function i(t){var e;return"insufficientPermissions"===(null==t||null===(e=t.data)||void 0===e?void 0:e.reason)}}},[[854,1,0]]]);
dist/assets/js/{googlesitekit-dashboard-9c56488534c865dbd2c6.js → googlesitekit-dashboard-200767fa66bcc73bd4a7.js} RENAMED
@@ -34,7 +34,7 @@ Object(u.__)("Congrats on completing the setup for %s!","google-site-kit"),D.set
34
  /* translators: %s: List of product names */
35
  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(f.n)(t));break;case"single":n=Object(l.sprintf)(
36
  /* translators: %1$s: Product name */
37
- 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"),t[0]);break;case"generic":n=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(d.a,{id:"authentication error",title:Object(l.__)("Site Kit can’t access necessary data","google-site-kit"),description:n,format:"small",type:"win-error",isDismissible:!1,ctaLink:s,ctaLabel:Object(l.__)("Redo setup","google-site-kit")})}}).call(this,n(18),n(3))},262:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(4),i=n.n(r),a=n(15),o=n(42),c=i.a.useSelect;function InternalServerError(){var t=c((function(e){return e(a.c).getInternalServerError()}));return t?e.createElement(o.a,t):null}}).call(this,n(3))},263:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardNavigation}));var i=n(23),a=n.n(i),o=n(12),c=n.n(o),l=n(158),s=n(103),u=n(200),d=n.n(u),f=n(2),g=n(1),m=n(4),p=n.n(m),v=n(264),b=n(265),h=n(266),O=n(267),_=n(16),E=n(35),y=n(75),k=n(134),j=n(99),S=n(114);function w(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 N(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 N(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 N(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 C=p.a.useSelect;function DashboardNavigation(){var t=Object(k.b)(),n=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_TRAFFIC:y.CONTEXT_ENTITY_DASHBOARD_TRAFFIC)})),i=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_CONTENT:y.CONTEXT_ENTITY_DASHBOARD_CONTENT)})),o=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_SPEED:y.CONTEXT_ENTITY_DASHBOARD_SPEED)})),u=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_MONETIZATION:y.CONTEXT_ENTITY_DASHBOARD_MONETIZATION)})),m=Object(j.a)(),p=Object(f.useState)(e.location.hash.substring(1)),N=c()(p,2),T=N[0],D=N[1],A=Object(f.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.scrollTo({top:i!==_.d?Object(S.a)("#".concat(i),m):0,behavior:"smooth"})}),[m]);return Object(s.a)((function(){var t=e.location.hash;t&&setTimeout((function(){e.scrollTo({top:t.substring(1)!==_.d?Object(S.a)(t,m):0,behavior:"smooth"})}),25)})),Object(f.useEffect)((function(){var t=d()((function(){var t,r,c,l,s,d,f=null===(t=document.querySelector(".googlesitekit-entity-header"))||void 0===t||null===(r=t.getBoundingClientRect())||void 0===r?void 0:r.bottom,g=null===(c=document.querySelector(".googlesitekit-navigation"))||void 0===c||null===(l=c.getBoundingClientRect())||void 0===l?void 0:l.bottom,m=[].concat(a()(n?[_.d]:[]),a()(i?[_.a]:[]),a()(o?[_.c]:[]),a()(u?[_.b]:[])),p=_.d,v=w(m);try{for(v.s();!(d=v.n()).done;){var b=d.value,h=document.getElementById(b);if(h){var O=h.getBoundingClientRect().top-20-(f||g||0);O<0&&(void 0===s||s<O)&&(s=O,p=b)}}}catch(e){v.e(e)}finally{v.f()}var E=e.location.hash;p!==(null==E?void 0:E.substring(1))&&(e.history.replaceState({},"","#".concat(p)),D(p))}),50);return e.addEventListener("scroll",t),t(),function(){e.removeEventListener("scroll",t)}}),[n,i,o,u]),r.createElement("div",{className:"googlesitekit-navigation mdc-chip-set"},n&&r.createElement(l.Chip,{id:_.d,label:Object(g.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"16"}),onClick:A,selected:T===_.d,"data-context-id":_.d}),i&&r.createElement(l.Chip,{id:_.a,label:Object(g.__)("Content","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"18"}),onClick:A,selected:T===_.a,"data-context-id":_.a}),o&&r.createElement(l.Chip,{id:_.c,label:Object(g.__)("Speed","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"20",height:"16"}),onClick:A,selected:T===_.c,"data-context-id":_.c}),u&&r.createElement(l.Chip,{id:_.b,label:Object(g.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(O.a,{width:"18",height:"16"}),onClick:A,selected:T===_.b,"data-context-id":_.b}))}}).call(this,n(18),n(3))},264:function(e,t,n){"use strict";var r=n(2);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)}},265:function(e,t,n){"use strict";var r=n(2);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)}},266:function(e,t,n){"use strict";var r=n(2);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)}},267:function(e,t,n){"use strict";var r=n(2);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)}},268:function(e,t,n){"use strict";(function(e,r){var i=n(12),a=n.n(i),o=n(10),c=n.n(o),l=n(315),s=n(200),u=n.n(s),d=n(1),f=n(2),g=n(4),m=n.n(g),p=n(24),v=n(16),b=n(21),h=n(15),O=n(269),_=n(36),E=n(22),y=n(49),k=m.a.useSelect,j=m.a.useDispatch;t.a=function EntityHeader(){var t=Object(f.useContext)(p.b),n=k((function(e){return e(h.c).getCurrentEntityTitle()})),i=k((function(e){return e(h.c).getCurrentEntityURL()})),o=Object(f.useRef)(),s=Object(f.useState)(i),g=a()(s,2),m=g[0],S=g[1];Object(f.useEffect)((function(){var t=function(){if(o.current){var t=o.current.clientWidth-40,n=e.getComputedStyle(o.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);S(Object(y.e)(i,r))}},n=u()(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[i,o,S]);var w=j(_.a).navigateTo,N=k((function(e){return e(h.c).getAdminURL("googlesitekit-dashboard")})),C=Object(f.useCallback)((function(){w(N)}),[N,w]),T=Object(l.a)().y;return v.k!==t||null===i||null===n?null:r.createElement("div",{className:c()("googlesitekit-entity-header",{"googlesitekit-entity-header--has-scrolled":T>1})},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(b.a,{icon:r.createElement(O.a,{width:24,height:24}),"aria-label":Object(d.__)("Back to dashboard","google-site-kit"),onClick:C,text:!0},Object(d.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:o,className:"googlesitekit-entity-header__details"},r.createElement("p",null,n),r.createElement(E.a,{href:i,"aria-label":i,external:!0,inherit:!0},m)))}}).call(this,n(18),n(3))},269:function(e,t,n){"use strict";var r=n(2);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)}},27: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"},270:function(e,t,n){"use strict";var r=n(2);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)}},272:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var r=n(10),i=n.n(r),a=n(0),o=n.n(a),c=n(8);function PageHeader(t){var n=t.title,r=t.icon,a=t.className,o=t.status,l=t.statusText,s=t.fullWidth,u=t.children,d=s?{size:12}:{smSize:4,mdSize:4,lgSize:6},f=""!==o||Boolean(u);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement(c.l,null,n&&e.createElement(c.a,d,r,e.createElement("h1",{className:i()("googlesitekit-page-header__title",a)},n)),f&&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))},l),u))))}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(3))},273:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return p.a}));var r=n(12),i=n.n(r),a=n(23),o=n.n(a),c=n(106),l=n(297);function s(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 u(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function d(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var a=0,o=0,d=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(Object(l.a)(t[m.slug]))return n.push(0),void r.push(o);var v=u(a,m),b=function(e,t,n){for(;++e<t.length;)if(!Object(l.a)(n[t[e].slug]))return t[e];return null}(p,e,t);null!==b&&0!==u(v.sort(d)[0].counter,b).filter(g).length||v.some(g)&&(v=(v=v.sort(f)).filter(g));var h=v[0].width;if(r.push(o),(a+=c.c[h])>12){if(a-=c.c[h],r[p]++,9===a){var O=s(n,a),_=i()(O,2);n=_[0],a=_[1]}a=c.c[h],o++}else 12===a&&(a=0,o++);n.push(c.c[h])})),9===a){var m=s(n,a),p=i()(m,2);n=p[0],a=p[1]}return{columnWidths:n,rowIndexes:r}}var f=n(208),g=n.n(f);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,v;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,v=i[o+1],p===v&&g()(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(213)},283:function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(12),o=n.n(a),c=n(2),l=n(374),s=n(280);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(18))},292: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(19),o=n.n(a),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(123);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(3))},293: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(17),o=n.n(a),c=n(0),l=n.n(c),s=n(199);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(3))},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetActivateModuleCTA}));var r=n(6),i=n.n(r),a=n(19),o=n.n(a),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(133);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 WidgetActivateModuleCTA(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))}WidgetActivateModuleCTA.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(3))},295:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetCompleteModuleActivationCTA}));var r=n(6),i=n.n(r),a=n(19),o=n.n(a),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(132);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 WidgetCompleteModuleActivationCTA(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))}WidgetCompleteModuleActivationCTA.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(3))},296: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(0),o=n.n(a),c=n(124),l=n(125);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(3))},297:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(125);function i(e){return!!e&&e.Component===r.a}},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n(81),i=e._googlesitekitBaseData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,l=i.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:i.trackingID,referenceSiteURL:i.referenceSiteURL,userIDHash:i.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),m=u.trackEvent;function p(e){e?d():f()}c&&l&&g()}).call(this,n(18))},301:function(e,t,n){"use strict";(function(e){var t=n(120),r=n(33),i=n(53),a=n(9),o=n(203),c=n(204),l=n(205),s=n(207),u=Object(a.j)("notification"),d=Object(i.a)(e.createElement(o.a,null)),f=Object(i.a)(e.createElement(c.a,null)),g=Object(i.a)(e.createElement(l.a,null)),m=Object(i.a)(e.createElement(s.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",g,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",m,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},31:function(e,t,n){"use strict";n.d(t,"u",(function(){return i})),n.d(t,"i",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"k",(function(){return c})),n.d(t,"l",(function(){return l})),n.d(t,"j",(function(){return s})),n.d(t,"q",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return p})),n.d(t,"g",(function(){return v})),n.d(t,"f",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"o",(function(){return O})),n.d(t,"p",(function(){return _})),n.d(t,"n",(function(){return E})),n.d(t,"s",(function(){return y})),n.d(t,"t",(function(){return k})),n.d(t,"r",(function(){return j}));var r=n(16),i="modules/idea-hub",a="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",l="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",g="IDEA_HUB_ACTIVITY_IS_DELETING",m="IDEA_HUB_ACTIVITY_DELETED",p="IDEA_HUB_ACTIVITY_IS_PINNING",v="IDEA_HUB_ACTIVITY_PINNED",b="IDEA_HUB_ACTIVITY_IS_UNPINNING",h="IDEA_HUB_ACTIVITY_UNPINNED",O="".concat(r.g,"_idea-hub-widget"),_="".concat(r.o,"_idea-hub-saved-ideas-notification"),E="".concat(r.l,"_idea-hub"),y="new-ideas",k="saved-ideas",j="draft-ideas"},311:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(12),i=n.n(r),a=n(290),o=n(10),c=n.n(o),l=n(2),s=n(72),u=n(1),d=n(4),f=n.n(d),g=n(353),m=n(13),p=n(144),v=n(56),b=n(24),h=n(143),O=n(21),_=n(9),E=n(65),y=n(58),k=f.a.useSelect,j=f.a.useDispatch;function DateRangeSelector(){var t,n=Object(E.a)("unifiedDashboard"),r=Object(v.c)(),o=k((function(e){return e(m.a).getDateRange()})),d=j(m.a).setDateRange,f=j(y.a).resetInViewHook,S=Object(l.useState)(!1),w=i()(S,2),N=w[0],C=w[1],T=Object(l.useRef)(),D=Object(l.useContext)(b.b);Object(a.a)(T,(function(){return C(!1)})),Object(p.a)([s.c,s.d],T,(function(){return C(!1)}));var A=Object(l.useCallback)((function(){C(!N)}),[N]),x=Object(l.useCallback)((function(e){var t=Object.values(r)[e].slug;o!==t&&Object(_.v)("".concat(D,"_headerbar"),"change_daterange",t),f(),d(t),C(!1)}),[r,o,f,d,D]),R=null===(t=r[o])||void 0===t?void 0:t.label,M=Object.values(r).map((function(e){return e.label}));return e.createElement("div",{ref:T,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(O.a,{className:c()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu","googlesitekit-border-radius-round--phone","googlesitekit-button-icon--phone",{"googlesitekit-header__date-range-selector-menu--has-unified-dashboard":n}),text:!0,onClick:A,icon:e.createElement(g.a,{width:"20",height:"20"}),"aria-haspopup":"menu","aria-expanded":N,"aria-controls":"date-range-selector-menu",title:Object(u.__)("Date range","google-site-kit"),tooltip:!0},R),e.createElement(h.a,{menuOpen:N,menuItems:M,onSelected:x,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(3))},32:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="modules/adsense",i=1},33: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(18))},339:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return d}));var r=n(5),i=n.n(r),a=n(14),o=n.n(a),c=n(120);Object(c.c)("googlesitekit.winCallbacks",{});function l(){return s.apply(this,arguments)}function s(){return(s=o()(i.a.mark((function t(){var n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((n=e._googlesitekitLegacyData.setup).isSiteKitConnected&&(n.isAuthenticated||n.isVerified)){t.next=3;break}return t.abrupt("return",0);case 3:return 0,e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",0),t.abrupt("return",0);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var u=function(t){var n=Math.abs(t.count)+1;return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}},d=function(t){var n=Math.max(0,Math.abs(t.count)-1);return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}}}).call(this,n(18))},34:function(e,t){e.exports=googlesitekit.api},342:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(12),i=n.n(r),a=n(0),o=n.n(a),c=n(191),l=n(2),s=n(1),u=n(72),d=n(34),f=n.n(d),g=n(4),m=n.n(g),p=n(343),v=n(65),b=n(15),h=m.a.useSelect;function PostSearcherAutoSuggest(t){var n=t.id,r=t.match,a=t.setMatch,o=t.isLoading,d=t.showDropdown,g=void 0===d||d,m=t.setIsLoading,O=t.setIsActive,_=void 0===O?function(){}:O,E=t.autoFocus,y=t.setCanSubmit,k=void 0===y?function(){}:y,j=t.onClose,S=void 0===j?function(){}:j,w=t.placeholder,N=void 0===w?"":w,C=Object(l.useState)(""),T=i()(C,2),D=T[0],A=T[1],x=null==r?void 0:r.post_title,R=Object(p.a)(D,D===x?0:200),M=Object(l.useState)([]),P=i()(M,2),I=P[0],L=P[1],z=Object(s.__)("No results found","google-site-kit"),B=Object(v.a)("unifiedDashboard"),H=h((function(e){return e(b.c).getCurrentEntityTitle()})),q=Object(l.useRef)(null),F=Object(l.useCallback)((function(){_(!0)}),[_]),U=Object(l.useCallback)((function(e){var t,n,r;(null===(t=e.relatedTarget)||void 0===t?void 0:t.classList.contains("autocomplete__option--result"))||(_(!1),A(null!==(n=null!==(r=q.current)&&void 0!==r?r:H)&&void 0!==n?n:""))}),[H,_]),W=Object(l.useCallback)((function(e){if(Array.isArray(I)&&e!==z){var t=I.find((function(t){return t.post_title.toLowerCase()===e.toLowerCase()}));t?(q.current=t.post_title,k(!0),a(t),A(t.post_title)):q.current=null}else q.current=null,k(!1)}),[I,k,a,z,A]),V=Object(l.useCallback)((function(e){k(!1),A(e.target.value)}),[k]);Object(l.useEffect)((function(){if(""!==R&&R!==H&&(null==R?void 0:R.toLowerCase())!==(null==x?void 0:x.toLowerCase())){null==m||m(!0);var e="undefined"==typeof AbortController?void 0:new AbortController;return f.a.get("core","search","post-search",{query:encodeURIComponent(R)},{useCache:!1,signal:null==e?void 0:e.signal}).then((function(e){return L(e)})).catch((function(){return L([])})).finally((function(){return null==m?void 0:m(!1)})),function(){return null==e?void 0:e.abort()}}}),[R,m,H,x]),Object(l.useEffect)((function(){D||L([])}),[D]),Object(l.useEffect)((function(){H&&A(H)}),[H]);var K=Object(l.useCallback)((function(e){if(B)return e.keyCode===u.c?S():e.keyCode===u.b?W(D):void 0}),[S,W,D,B]);return e.createElement(c.a,{className:"autocomplete__wrapper",onSelect:W},e.createElement(c.b,{id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onBlur:U,onChange:V,onFocus:F,placeholder:N,onKeyDown:K,value:D,autoFocus:E}),(!B||!o)&&g&&R!==H&&""!==R&&0===I.length&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(c.d,{value:z,className:"autocomplete__option autocomplete__option--no-results"}))),g&&""!==R&&R!==H&&I.length>0&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},I.map((function(t){var n=t.ID,r=t.post_title;return e.createElement(c.d,{key:n,value:r,className:"autocomplete__option autocomplete__option--result"})})))))}PostSearcherAutoSuggest.propTypes={id:o.a.string,match:o.a.object,setCanSubmit:o.a.func,setMatch:o.a.func,isLoading:o.a.bool,setIsLoading:o.a.func,onKeyDown:o.a.func,autoFocus:o.a.bool,placeholder:o.a.string}}).call(this,n(3))},343:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(12),i=n.n(r),a=n(2);function o(e,t){var n=Object(a.useState)(e),r=i()(n,2),o=r[0],c=r[1];return Object(a.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),o}},35: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"},350:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(6),i=n.n(r),a=n(12),o=n.n(a),c=n(0),l=n.n(c),s=n(10),u=n.n(s),d=n(364),f=n(2),g=n(4),m=n.n(g),p=n(106),v=n(35),b=n(351),h=n(273),O=n(8),_=n(352),E=n(140),y=n(65),k=m.a.useSelect;function WidgetAreaRenderer(t){var n=t.slug,r=t.totalAreas,a=Object(y.a)("unifiedDashboard"),c=Object(f.useRef)(),l=Object(d.a)(c,{rootMargin:"0px",threshold:0}),s=k((function(e){return e(v.a).getWidgetArea(n)})),g=k((function(e){return e(v.a).getWidgets(n)})),m=k((function(e){return e(v.a).getWidgetStates()})),j=k((function(e){return e(v.a).isWidgetAreaActive(n)})),S=Object(f.useState)({key:"WidgetAreaRenderer-".concat(n),value:!!(null==l?void 0:l.intersectionRatio)}),w=o()(S,2),N=w[0],C=w[1];Object(f.useEffect)((function(){C({key:"WidgetAreaRenderer-".concat(n),value:!!(null==l?void 0:l.intersectionRatio)})}),[l,n]);var T,D=Object(h.c)(g,m),A=D.columnWidths,x=D.rowIndexes,R=Object(h.a)(g,m,{columnWidths:A,rowIndexes:x}),M=R.gridColumnWidths,P=R.overrideComponents,I=g.map((function(t,n){return e.createElement(_.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:M[n]},e.createElement(b.a,{OverrideComponent:P[n]?function(){var t=P[n],r=t.Component,i=t.metadata;return e.createElement(r,i)}:void 0,slug:t.slug}))})),L=s.Icon,z=s.title,B=s.style,H=s.subtitle;return j?e.createElement(E.a,{value:N},e.createElement(O.b,{className:u()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(n),"googlesitekit-widget-area--".concat(B)),ref:c},(a||r>1)&&e.createElement(O.l,null,e.createElement(O.a,{className:"googlesitekit-widget-area-header",size:12},L&&e.createElement(L,{width:33,height:33}),z&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},z),H&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},H))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(O.l,null,B===v.b.BOXES&&I,B===v.b.COMPOSITE&&e.createElement(O.a,{size:12},e.createElement(O.b,null,e.createElement(O.l,null,I))))))):e.createElement(O.b,{className:u()(p.a,"googlesitekit-widget-area",(T={},i()(T,"googlesitekit-widget-area--".concat(n),!!n),i()(T,"googlesitekit-widget-area--".concat(B),!!B),T)),ref:c},I)}WidgetAreaRenderer.propTypes={slug:l.a.string.isRequired}}).call(this,n(3))},351:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(35),s=n(229),u=n(273),d=n(106),f=c.a.useSelect,g=function WidgetRenderer(t){var n=t.slug,r=t.OverrideComponent,i=f((function(e){return e(l.a).getWidget(n)})),o=Object(u.b)(n),c=o.Widget,g=o.WidgetNull;if(!i)return e.createElement(g,null);var m=i.Component,p=i.wrapWidget,v=e.createElement(m,o);return r?v=e.createElement(a.Fragment,null,e.createElement(s.a,{widgetSlug:"overridden"},e.createElement(r,null)),e.createElement("div",{className:d.a},v)):p&&(v=e.createElement(c,null,v)),v};g.propTypes={slug:i.a.string.isRequired,OverrideComponent:i.a.elementType},t.a=g}).call(this,n(3))},352:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(106),o=n(8),c=function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:a.a},r):n<6?e.createElement(o.a,{lgSize:n,mdSize:4,smSize:2},r):n<8?e.createElement(o.a,{lgSize:n,mdSize:8},r):e.createElement(o.a,{size:n},r)};c.propTypes={gridColumnWidth:i.a.number.isRequired,children:i.a.element.isRequired},t.a=c}).call(this,n(3))},353:function(e,t,n){"use strict";var r=n(2);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 9H4v2h2V9zm4 0H8v2h2V9zm4 0h-2v2h2V9zm2-7h-1V0h-2v2H5V0H3v2H2C.89 2 .01 2.9.01 4L0 18a2 2 0 002 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 16H2V7h14v11z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgDateRange(e){return r.createElement("svg",i({viewBox:"0 0 18 20"},e),a)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},38:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},39:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return O}));var r=n(5),i=n.n(r),a=n(14),o=n.n(a);n(23);function c(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 l(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 l(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 l(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 s,u="googlesitekit_".concat("1.49.0","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=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 m(){return p.apply(this,arguments)}function p(){return(p=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===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(a=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(a);case 11:if(!t.sent){t.next=13;break}s=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===s&&(s=null),t.abrupt("return",s);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,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).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)}}(),b=function(){var t=o()(i.a.mark((function t(n,r){var a,o,c,l,s,d,f,g,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,c=void 0===o?3600:o,l=a.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=a.isError,f=void 0!==d&&d,t.next=3,m();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),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)}}(),h=function(){var t=o()(i.a.mark((function t(n){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));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,m();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(u)&&r.push(o.substring(u.length));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)}}()}).call(this,n(18))},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e,r){var i=n(6),a=n.n(i),o=n(5),c=n.n(o),l=n(14),s=n.n(l),u=n(12),d=n.n(u),f=n(0),g=n.n(f),m=n(10),p=n.n(m),v=n(231),b=n.n(v),h=n(103),O=n(2),_=n(88),E=n(8),y=n(114),k=n(49),j=n(60),S=n(74),w=n(21),N=n(155),C=n(116),T=n(22),D=n(121),A=n(39),x=n(9),R=n(16),M=n(99);function BannerNotification(t){var n,i=t.anchorLink,o=t.anchorLinkLabel,l=t.blockData,u=t.children,f=t.className,g=t.ctaLabel,m=t.ctaLink,v=t.ctaTarget,P=t.description,I=t.dismiss,L=t.dismissExpires,z=t.format,B=t.id,H=t.isDismissible,q=t.learnMoreDescription,F=t.learnMoreLabel,U=t.learnMoreURL,W=t.logo,V=t.module,K=t.moduleName,X=t.onCTAClick,G=t.onDismiss,Y=t.pageIndex,Q=t.showOnce,$=t.SmallImageSVG,Z=t.title,J=t.type,ee=t.WinImageSVG,te=Object(O.useState)(!1),ne=d()(te,2),re=ne[0],ie=ne[1],ae=Object(O.useState)(!1),oe=d()(ae,2),ce=oe[0],le=oe[1],se=Object(O.useRef)(),ue="notification::dismissed::".concat(B),de=function(){return Object(A.d)(ue,new Date,{ttl:null})},fe=Object(M.a)();function ge(){return(ge=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(x.v)("".concat(R.g,"_site-notification"),"dismiss_notification",B);case 4:if(!G){e.next=7;break}return e.next=7,G(t);case 7:me();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function me(){var e=se.current;ie(!0),setTimeout(s()(c.a.mark((function t(){var n;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,de();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function pe(){return(pe=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(x.v)("".concat(R.g,"_site-notification"),"confirm_notification",B);case 3:if(!X){e.next=6;break}return e.next=6,X(t);case 6:H&&me();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(h.a)(s()(c.a.mark((function e(){var t,n;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(x.v)("".concat(R.g,"_site-notification"),"view_notification",B);case 2:if(!(L>0)){e.next=5;break}return e.next=5,he();case 5:if(!H){e.next=11;break}return e.next=8,Object(A.b)(ue);case 8:t=e.sent,n=t.cacheHit,le(n);case 11:if(!Q){e.next=14;break}return e.next=14,de();case 14:case"end":return e.stop()}}),e)}))));var ve=Object(O.useCallback)((function(t){Object(k.c)(i)&&(t.preventDefault(),e.history.replaceState({},"",i),e.scrollTo({top:Object(y.a)(i,fe),behavior:"smooth"}))}),[i,fe]);function be(){return(be=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(x.v)("".concat(R.g,"_site-notification"),"click_learn_more_link",B);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(){return Oe.apply(this,arguments)}function Oe(){return(Oe=s()(c.a.mark((function e(){var t,n,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(A.b)(ue);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(L,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(A.a)(ue);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(H&&(void 0===ce||ce))return null;var _e,Ee,ye=re?"is-closed":"is-open",ke="large"===z&&"win-stats-increase"===J;_e="large"===z?ke?{mdSize:5,lgSize:8,smOrder:2,mdOrder:1}:{mdSize:6,lgSize:8,smOrder:2,mdOrder:1}:"small"===z?{smSize:3,mdSize:7,lgSize:11}:{size:12},Ee="win-warning"===J?r.createElement(N.a,{width:34}):"win-error"===J?r.createElement(C.a,{width:28}):"";var je=r.createElement(O.Fragment,null,l&&r.createElement(E.l,null,b()(l,(function(e,t){return r.createElement(E.a,{key:t,lgSize:ke?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(S.a,e)))})))),Se=r.createElement(O.Fragment,null,Z&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},Z),i&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(T.a,{href:i,onClick:ve},o)),P&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(O.isValidElement)(P)?P:r.createElement("span",{dangerouslySetInnerHTML:Object(j.a)(P,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),F&&r.createElement(O.Fragment,null," ",r.createElement(T.a,{onClick:function(e){return be.apply(this,arguments)},href:U,external:!0,inherit:!0},F),q),Y&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},Y))),u),we=V?r.createElement(D.a,{slug:V,size:19}):r.createElement(_.a,{height:"34",width:"32"}),Ne=ke?{size:12,smOrder:2,mdOrder:1}:{size:12};return r.createElement("section",{id:B,ref:se,className:p()(f,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(z),z),a()(n,"googlesitekit-publisher-win--".concat(J),J),a()(n,"googlesitekit-publisher-win--".concat(ye),ye),n))},r.createElement(E.b,null,r.createElement(E.l,null,W&&r.createElement(E.a,Ne,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},we),K&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},K)),$&&r.createElement(E.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement($,null)),r.createElement(E.a,_e,ke?r.createElement(E.l,null,r.createElement(E.a,{mdSize:8,lgSize:5},Se),r.createElement(E.a,{alignBottom:!0,mdSize:8,lgSize:7},je)):r.createElement(O.Fragment,null,Se,je),m&&r.createElement(w.a,{className:"googlesitekit-notification__cta",href:m,target:v,onClick:function(e){return pe.apply(this,arguments)}},g),H&&I&&r.createElement(T.a,{onClick:function(e){return ge.apply(this,arguments)}},I)),ee&&r.createElement(E.a,{mdSize:2,lgSize:4,smOrder:1,mdOrder:2},r.createElement("div",{className:"googlesitekit-publisher-win__image-large"},r.createElement(ee,null))),("win-error"===J||"win-warning"===J)&&r.createElement(E.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},Ee)))))}BannerNotification.propTypes={id:g.a.string.isRequired,className:g.a.string,title:g.a.string.isRequired,description:g.a.node,learnMoreURL:g.a.string,learnMoreDescription:g.a.string,learnMoreLabel:g.a.string,blockData:g.a.array,WinImageSVG:g.a.elementType,SmallImageSVG:g.a.elementType,format:g.a.string,ctaLink:g.a.string,ctaLabel:g.a.string,type:g.a.string,dismiss:g.a.string,isDismissible:g.a.bool,logo:g.a.bool,module:g.a.string,moduleName:g.a.string,pageIndex:g.a.string,dismissExpires:g.a.number,showOnce:g.a.bool,onCTAClick:g.a.func,onDismiss:g.a.func,anchorLink:g.a.string,anchorLinkLabel:g.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(18),n(3))},443:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSetup}));var r=n(5),i=n.n(r),a=n(14),o=n.n(a),c=n(0),l=n.n(c),s=n(103),u=n(2),d=n(1),f=n(4),g=n.n(f),m=n(15),p=n(20),v=n(36),b=n(9),h=n(189),O=n(8),_=n(188),E=n(22),y=g.a.useSelect,k=g.a.useDispatch;function ModuleSetup(t){var n=t.moduleSlug,r=k(v.a).navigateTo,a=y((function(e){return e(m.c).getAdminURL("googlesitekit-settings")})),c=y((function(e){return e(p.a).getModule(n)})),l={notification:"authentication_success"};n&&(l.slug=n);var f=y((function(e){return e(m.c).getAdminURL("googlesitekit-dashboard",l)})),g=Object(u.useCallback)(function(){var e=o()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(b.v)("moduleSetup","complete_module_setup",n);case 2:r(t||f);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[f,r,n]),j=Object(u.useCallback)(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(b.v)("moduleSetup","cancel_module_setup",n);case 2:case"end":return e.stop()}}),e)}))),[n]);if(Object(s.a)((function(){Object(b.v)("moduleSetup","view_module_setup",n)})),!(null==c?void 0:c.SetupComponent))return null;var S=c.SetupComponent;return e.createElement(u.Fragment,null,e.createElement(_.a,null,e.createElement(h.a,null)),e.createElement("div",{className:"googlesitekit-setup"},e.createElement(O.b,null,e.createElement(O.l,null,e.createElement(O.a,{size:12},e.createElement("section",{className:"googlesitekit-setup__wrapper"},e.createElement(O.b,null,e.createElement(O.l,null,e.createElement(O.a,{size:12},e.createElement("p",{className:" googlesitekit-setup__intro-title googlesitekit-overline "},Object(d.__)("Connect Service","google-site-kit")),e.createElement(S,{module:c,finishSetup:g})))),e.createElement("div",{className:"googlesitekit-setup__footer"},e.createElement(O.b,null,e.createElement(O.l,null,e.createElement(O.a,{smSize:2,mdSize:4,lgSize:6},e.createElement(E.a,{id:"setup-".concat(c.slug,"-cancel"),href:a,onClick:j},Object(d.__)("Cancel","google-site-kit"))))))))))))}ModuleSetup.propTypes={moduleSlug:l.a.string.isRequired}}).call(this,n(3))},444:function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(103),o=n(410),c=n(127),l=n(2),s=n(1),u=n(4),d=n.n(u),f=n(21),g=n(61),m=n(54),p=n(445),v=n(446),b=n(342),h=n(24),O=n(15),_=n(16),E=n(36),y=n(9),k=d.a.useSelect,j=d.a.useDispatch;t.a=function EntitySearchInput(){var t=Object(c.a)(EntitySearchInput,"EntitySearchInput"),n=Object(l.useState)(!1),r=i()(n,2),u=r[0],d=r[1],S=Object(l.useState)(!1),w=i()(S,2),N=w[0],C=w[1],T=Object(l.useState)(!1),D=i()(T,2),A=D[0],x=D[1],R=Object(l.useRef)(),M=Object(l.useCallback)((function(){d(!0)}),[]),P=Object(l.useCallback)((function(){d(!1)}),[]),I=Object(l.useState)({}),L=i()(I,2),z=L[0],B=L[1],H=Object(l.useContext)(h.b),q=k((function(e){return(null==z?void 0:z.permalink)?e(O.c).getAdminURL("googlesitekit-dashboard",{permaLink:z.permalink}):null})),F=j(E.a).navigateTo;return Object(l.useEffect)((function(){q&&Object(y.v)("".concat(H,"_headerbar"),"open_urldetails").finally((function(){F(q)}))}),[q,F,H]),Object(a.a)((function(){H===_.k&&d(!0)})),Object(o.a)((function(){var e;u||(null==R||null===(e=R.current)||void 0===e||e.focus())}),[u]),u?e.createElement("div",{className:"googlesitekit-entity-search googlesitekit-entity-search--is-open"},e.createElement(m.a,null,e.createElement("label",{htmlFor:t},Object(s.__)("Page/URL Search","google-site-kit"))),e.createElement(b.a,{id:t,match:z,setIsActive:x,setMatch:B,placeholder:Object(s.__)("Enter title or URL…","google-site-kit"),isLoading:N,setIsLoading:C,showDropdown:A,onClose:P,autoFocus:!0}),N&&A&&e.createElement(g.a,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(f.a,{onClick:P,trailingIcon:e.createElement(v.a,{width:"30",height:"20"}),className:"googlesitekit-entity-search__close",title:Object(s.__)("Close","google-site-kit"),text:!0,tooltip:!0}))):e.createElement("div",{className:"googlesitekit-entity-search"},e.createElement(f.a,{className:"googlesitekit-border-radius-round--phone googlesitekit-button-icon--phone",onClick:M,text:!0,ref:R,title:Object(s.__)("Search","google-site-kit"),trailingIcon:e.createElement(p.a,{width:"20",height:"20"}),tooltip:!0},Object(s.__)("URL Search","google-site-kit")))}}).call(this,n(3))},445:function(e,t,n){"use strict";var r=n(2);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:"M16 9.5c0 1.407-.45 2.714-1.218 3.783L20.49 19 19 20.49l-5.717-5.708A6.463 6.463 0 019.5 16 6.5 6.5 0 1116 9.5zm-11 0C5 11.99 7.01 14 9.5 14S14 11.99 14 9.5 11.99 5 9.5 5 5 7.01 5 9.5z",fill:"currentColor"});t.a=function SvgMagnifyingGlass(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},446:function(e,t,n){"use strict";var r=n(2);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:"M15.833 5.342l-1.175-1.175L10 8.825 5.342 4.167 4.167 5.342 8.825 10l-4.658 4.658 1.175 1.175L10 11.175l4.658 4.658 1.175-1.175L11.175 10l4.658-4.658z",fill:"currentColor"});t.a=function SvgCloseDark(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},447:function(e,t,n){"use strict";(function(e){var r=n(44),i=n.n(r),a=n(45),o=n.n(a),c=n(78),l=n.n(c),s=n(67),u=n.n(s),d=n(68),f=n.n(d),g=n(46),m=n.n(g),p=n(10),v=n.n(p),b=n(107),h=n(2),O=n(1),_=n(339),E=n(54);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=m()(e);if(t){var i=m()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var k=function(t){u()(NotificationCounter,t);var n=y(NotificationCounter);function NotificationCounter(e){var t;return i()(this,NotificationCounter),(t=n.call(this,e)).state={count:0},t.handleIncrement=t.handleIncrement.bind(l()(t)),t.handleDecrement=t.handleDecrement.bind(l()(t)),t}return o()(NotificationCounter,[{key:"componentDidMount",value:function(){var e=this;Object(_.b)().then((function(t){e.setState({count:t})})),document.addEventListener("notificationDismissed",this.handleDecrement,!1)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("notificationDismissed",this.handleDecrement)}},{key:"handleIncrement",value:function(){this.setState(_.c)}},{key:"handleDecrement",value:function(){this.setState(_.a)}},{key:"render",value:function(){var t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name");if(!t)return null;var n=Object(O.sprintf)(
38
  /* translators: %d: the number of notifications */
39
  Object(O._n)("%d notification","%d notifications",this.state.count,"google-site-kit"),this.state.count),r=e.createElement("span",{className:v()("googlesitekit-notifications-counter","update-plugins","count-".concat(this.state.count))},e.createElement("span",{className:"plugin-count","aria-hidden":"true"},this.state.count),e.createElement(E.a,null,n));return Object(b.createPortal)(r,t)}}]),NotificationCounter}(h.Component);t.a=k}).call(this,n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(27);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},49:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(105);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){return/^#\w[A-Za-z0-9-_]*$/.test(e)}function l(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)}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),i=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},54:function(e,t,n){"use strict";(function(e){var r=n(19),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n.n(c),s=n(10),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(3))},56:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",i='Invalid date range, it must be a string with the format "last-x-days".',a=n(7),o=n.n(a),c=n(37),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(38),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),i=n[0],a=n[1],c=n[2];return new Date(i,a-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function p(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
40
  /* translators: %s: number of days */
@@ -51,7 +51,7 @@ Object(m.__)("%sK","google-site-kit"),k(O(e))):1e3<=e?Object(m.sprintf)(// trans
51
  Object(m.__)("%sK","google-site-kit"),k(O(e),e%10==0?{}:t)):k(e,{signDisplay:"never",maximumFractionDigits:1})},E=function(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={};if("%"===t)n={style:"percent",maximumFractionDigits:2};else{if("s"===t)return b(e,{unitDisplay:"narrow"});t&&"string"==typeof t?n={style:"currency",currency:t}:Object(d.isPlainObject)(t)&&(n=v({},t))}var r=n,i=r.style,a=void 0===i?"metric":i;return"metric"===a?_(e):"duration"===a?b(e,t):k(e,n)},y=g()(console.warn),k=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?S():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){y("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)}},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?S():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)}
52
  /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},S=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(18))},74:function(e,t,n){"use strict";(function(e){var r=n(44),i=n.n(r),a=n(45),o=n.n(a),c=n(78),l=n.n(c),s=n(67),u=n.n(s),d=n(68),f=n.n(d),g=n(46),m=n.n(g),p=n(0),v=n.n(p),b=n(10),h=n.n(b),O=n(2),_=n(1),E=n(59),y=n(94),k=n(9);function j(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=m()(e);if(t){var i=m()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var S=function(t){u()(DataBlock,t);var n=j(DataBlock);function DataBlock(e){var t;return i()(this,DataBlock),(t=n.call(this,e)).handleClick=t.handleClick.bind(l()(t)),t.handleKeyPress=t.handleKeyPress.bind(l()(t)),t}return o()(DataBlock,[{key:"handleClick",value:function(){var e=this.props,t=e.stat;(0,e.handleStatSelection)(t)}},{key:"handleKeyPress",value:function(e){e.preventDefault();var t=this.props,n=t.stat,r=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||r(n)}},{key:"render",value:function(){var t=this.props,n=t.className,r=t.title,i=t.datapoint,a=t.datapointUnit,o=t.change,c=t.changeDataUnit,l=t.context,s=t.period,u=t.selected,d=t.handleStatSelection,f=t.source,g=t.sparkline,m=t.invertChangeColor,p="button"===l?"button":"",v=g;v&&m&&(v=Object(O.cloneElement)(g,{invertChangeColor:m}));var b=o;c&&(b="%"===c?Object(k.q)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(k.q)(o,c)),s&&(b=Object(_.sprintf)(s,b));var j=void 0===i?i:Object(k.q)(i,a||void 0);return e.createElement("div",{className:h()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(l),{"googlesitekit-data-block--selected":u}),tabIndex:"button"===l?"0":"-1",role:d&&p,onClick:d&&this.handleClick,onKeyPress:d&&this.handleKeyPress,"aria-label":d&&r,"aria-pressed":d&&u},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},r),e.createElement("div",{className:"googlesitekit-data-block__datapoint"},j)),v&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},v),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:h()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(O.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(E.a,{direction:0<parseFloat(o)?"up":"down",invertColor:m})),e.createElement("span",{className:"googlesitekit-data-block__value"},b))),f&&e.createElement(y.a,{className:"googlesitekit-data-block__source",name:f.name,href:f.link,external:null==f?void 0:f.external})))}}]),DataBlock}(O.Component);S.propTypes={stat:v.a.number,onClick:v.a.func,className:v.a.string,title:v.a.string,datapoint:v.a.oneOfType([v.a.string,v.a.number]),datapointUnit:v.a.string,change:v.a.oneOfType([v.a.string,v.a.number]),changeDataUnit:v.a.oneOfType([v.a.string,v.a.bool]),context:v.a.string,period:v.a.string,selected:v.a.bool,handleStatSelection:v.a.func,invertChangeColor:v.a.bool},S.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1},t.a=S}).call(this,n(3))},75:function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_DASHBOARD",(function(){return r})),n.d(t,"CONTEXT_PAGE_DASHBOARD",(function(){return i})),n.d(t,"CONTEXT_MODULE_SEARCH_CONSOLE",(function(){return a})),n.d(t,"CONTEXT_MODULE_ANALYTICS",(function(){return o})),n.d(t,"CONTEXT_MODULE_ADSENSE",(function(){return c})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return l})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return s})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return d})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return f})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return g})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return m})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return p}));var r="dashboard",i="pageDashboard",a="moduleSearchConsole",o="moduleAnalytics",c="moduleAdsense",l="mainDashboardTraffic",s="mainDashboardContent",u="mainDashboardSpeed",d="mainDashboardMonetization",f="entityDashboardTraffic",g="entityDashboardContent",m="entityDashboardSpeed",p="entityDashboardMonetization";t.default={CONTEXT_DASHBOARD:r,CONTEXT_PAGE_DASHBOARD:i,CONTEXT_MODULE_SEARCH_CONSOLE:a,CONTEXT_MODULE_ANALYTICS:o,CONTEXT_MODULE_ADSENSE:c,CONTEXT_MAIN_DASHBOARD_TRAFFIC:l,CONTEXT_MAIN_DASHBOARD_CONTENT:s,CONTEXT_MAIN_DASHBOARD_SPEED:u,CONTEXT_MAIN_DASHBOARD_MONETIZATION:d,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:f,CONTEXT_ENTITY_DASHBOARD_CONTENT:g,CONTEXT_ENTITY_DASHBOARD_SPEED:m,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:p}},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));var r=n(12),i=n.n(r),a=n(1);function o(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 c(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 c(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,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw a}}}}function c(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 l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),i=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&i)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var l=document.createElement("span");return l.setAttribute("class","screen-reader-text"),l.textContent=Object(a.sprintf)(
53
  /* translators: %d is the number of notifications */
54
- Object(a._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===i&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,a={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=i()(r.value,2),s=l[0],d=l[1];a[s]=d}}catch(e){c.e(e)}finally{c.f()}return a}}).call(this,n(18))},79:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},8:function(e,t,n){"use strict";var r=n(84),i=n.n(r);n.d(t,"n",(function(){return i.a})),n.d(t,"c",(function(){return r.HelperText})),n.d(t,"d",(function(){return r.Input}));var a=n(187);n.d(t,"i",(function(){return a.a}));var o=n(239);n.d(t,"f",(function(){return o.a}));var c=n(240);n.d(t,"h",(function(){return c.a}));var l=n(104),s=n.n(l);n.d(t,"m",(function(){return s.a})),n.d(t,"k",(function(){return l.Option}));var u=n(241);n.d(t,"j",(function(){return u.a}));var d=n(238);n.d(t,"e",(function(){return d.a}));var f=n(237);n.d(t,"g",(function(){return f.a}));var g=n(86);n.d(t,"a",(function(){return g.a})),n.d(t,"b",(function(){return g.b})),n.d(t,"l",(function(){return g.c}))},80:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(185),i=n(59),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){var t,n,r,i,a,o,c,l,s,u,d,f,g,m,p;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(i=e[0])||void 0===i||null===(a=i.data)||void 0===a||null===(o=a.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(m=g[0])||void 0===m||null===(p=m.values)||void 0===p?void 0:p[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),i=n.n(r),a=n(82),o=n(83);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 l(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}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(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=l(l({},s),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(i,n);return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:Object(o.a)(i,n,c,r)}}}).call(this,n(18))},810:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardEntryPoint}));var r=n(0),i=n.n(r),a=n(2),o=n(65),c=n(443),l=n(811),s=n(815),u=n(447);function DashboardEntryPoint(t){var n=t.setupModuleSlug,r=Object(o.a)("unifiedDashboard");return n?e.createElement(c.a,{moduleSlug:n}):r?e.createElement(s.a,null):e.createElement(a.Fragment,null,e.createElement(u.a,null),e.createElement(l.a,null))}DashboardEntryPoint.propTypes={setupModuleSlug:i.a.string}}).call(this,n(3))},811:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardApp}));var r=n(2),i=n(256),a=n(812),o=n(813),c=n(188),l=n(311),s=n(189),u=n(814);function DashboardApp(){return e.createElement(r.Fragment,null,e.createElement(c.a,null,e.createElement(s.a,null),e.createElement(l.a,null)),e.createElement(o.a,null),e.createElement(i.a,{slug:"dashboard",className:"googlesitekit-module-page googlesitekit-dashboard",Header:a.a}),e.createElement(u.a,{triggerID:"view_dashboard",ttl:3600}))}}).call(this,n(3))},812:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardHeader}));var r=n(1),i=n(272);function DashboardHeader(){return e.createElement(i.a,{className:"googlesitekit-heading-2 googlesitekit-dashboard__heading",title:Object(r.__)("Site Overview","google-site-kit")})}}).call(this,n(3))},813:function(e,t,n){"use strict";var r=n(44),i=n.n(r),a=n(45),o=n.n(a),c=n(67),l=n.n(c),s=n(68),u=n.n(s),d=n(46),f=n.n(d),g=n(1056),m=n(2);function p(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 v=function(e){l()(DashboardNotifications,e);var t=p(DashboardNotifications);function DashboardNotifications(){return i()(this,DashboardNotifications),t.apply(this,arguments)}return o()(DashboardNotifications,[{key:"render",value:function(){return null}}]),DashboardNotifications}(m.Component);t.a=Object(g.a)("googlesitekit.DashboardNotifications")(v)},814:function(e,t,n){"use strict";var r=n(103),i=n(0),a=n.n(i),o=n(4),c=n.n(o),l=n(15),s=n(13),u=c.a.useSelect,d=c.a.useDispatch,f=function SurveyViewTrigger(e){var t=e.triggerID,n=e.ttl,i=u((function(e){return e(l.c).isUsingProxy()})),a=d(s.a).triggerSurvey;return Object(r.a)((function(){i&&a(t,{ttl:n})})),null};f.propTypes={triggerID:a.a.string.isRequired,ttl:a.a.number},f.defaultProps={ttl:0},t.a=f},815:function(e,t,n){"use strict";(function(e){var r=n(10),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(75),s=n(188),u=n(256),d=n(444),f=n(311),g=n(189),m=n(816),p=n(16),v=n(35),b=c.a.useSelect;t.a=function DashboardMainApp(){var t=b((function(e){return e(v.a).isWidgetContextActive(l.CONTEXT_MAIN_DASHBOARD_TRAFFIC)})),n=b((function(e){return e(v.a).isWidgetContextActive(l.CONTEXT_MAIN_DASHBOARD_CONTENT)})),r=b((function(e){return e(v.a).isWidgetContextActive(l.CONTEXT_MAIN_DASHBOARD_SPEED)})),o=null;return b((function(e){return e(v.a).isWidgetContextActive(l.CONTEXT_MAIN_DASHBOARD_MONETIZATION)}))?o=p.b:r?o=p.c:n?o=p.a:t&&(o=p.d),e.createElement(a.Fragment,null,e.createElement(s.a,{subHeader:e.createElement(m.a,null),showNavigation:!0},e.createElement(d.a,null),e.createElement(f.a,null),e.createElement(g.a,null)),e.createElement(u.a,{id:p.d,slug:l.CONTEXT_MAIN_DASHBOARD_TRAFFIC,className:i()({"googlesitekit-widget-context--last":o===p.d})}),e.createElement(u.a,{id:p.a,slug:l.CONTEXT_MAIN_DASHBOARD_CONTENT,className:i()({"googlesitekit-widget-context--last":o===p.a})}),e.createElement(u.a,{id:p.c,slug:l.CONTEXT_MAIN_DASHBOARD_SPEED,className:i()({"googlesitekit-widget-context--last":o===p.c})}),e.createElement(u.a,{id:p.b,slug:l.CONTEXT_MAIN_DASHBOARD_MONETIZATION,className:i()({"googlesitekit-widget-context--last":o===p.b})}))}}).call(this,n(3))},816:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerNotifications}));var r=n(12),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(65),s=n(20),u=n(283),d=n(204),f=n(203),g=n(207),m=n(205),p=n(817),v=c.a.useSelect;function BannerNotifications(){var t=v((function(e){return e(s.a).isModuleActive("adsense")})),n=Object(l.a)("ideaHubModule"),r=Object(l.a)("userInput"),o=Object(u.a)("notification"),c=i()(o,1)[0];return"authentication_success"===c||"user_input_success"===c?e.createElement(d.a,null):e.createElement(a.Fragment,null,r&&e.createElement(m.a,null),n&&e.createElement(g.a,null),t&&e.createElement(p.a,null),e.createElement(f.a,null))}}).call(this,n(3))},817:function(e,t,n){"use strict";(function(e){var r=n(2),i=n(1),a=n(4),o=n.n(a),c=n(20),l=n(32),s=n(818),u=n(42),d=o.a.useSelect;t.a=function AdSenseAlerts(){var t=d((function(e){return e(c.a).isModuleConnected("adsense")})),n=d((function(e){return e(l.b).getAccountID()})),a=d((function(e){return e(l.b).getNotifications()}));return t&&n&&void 0!==a?e.createElement(r.Fragment,null,a.map((function(t){return e.createElement(u.a,{key:t.id,id:t.id,title:t.title||"",description:t.description||"",blockData:t.blockData||[],WinImageSVG:function WinImageSVG(){return e.createElement(s.a,{height:"136"})},format:t.format||"small",learnMoreURL:t.learnMoreURL||"",learnMoreDescription:t.learnMoreDescription||"",learnMoreLabel:t.learnMoreLabel||"",ctaLink:t.ctaURL||"",ctaLabel:t.ctaLabel||"",ctaTarget:t.ctaTarget||"",type:t.severity||"",dismiss:t.dismiss||Object(i.__)("OK, Got it!","google-site-kit"),isDismissible:t.isDismissable||!0,logo:t.logo||!0,module:"adsense",moduleName:Object(i._x)("AdSense","Service name","google-site-kit"),pageIndex:t.pageIndex||"",dismissExpires:t.dismissExpires||0,showOnce:t.showOnce||!1})}))):null}}).call(this,n(3))},818:function(e,t,n){"use strict";var r=n(2);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("circle",{cx:150,cy:150,r:100,fill:"#D2E3FC"}),o=r.createElement("g",{clipPath:"url(#notification-alert_svg__clip0)",strokeMiterlimit:10,strokeWidth:15},r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15s44.18-11.1 65.14-20.18c9.91-4.3 20.07-8.62 30.85-9.31s22.46 2.9 28.7 11.71a24 24 0 013.78 17.65",stroke:"#4285F4"}),r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15",stroke:"#1A73E8"})),c=r.createElement("path",{stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33l-67.86 256.23"}),l=r.createElement("path",{stroke:"#A50E0E",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33L193.97 150"}),s=r.createElement("path",{d:"M221.3 13l-94.69 95.2a10 10 0 004.53 16.72L261 159.3a10 10 0 0012.18-12.3L238 17.39A10 10 0 00221.3 13z",fill:"#D93025"}),u=r.createElement("path",{d:"M137.37 111.56l87.36-87.87a3 3 0 015 1.33l32.42 119.6a3 3 0 01-3.66 3.68l-119.76-31.72a3 3 0 01-1.36-5.02z",stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:2}),d=r.createElement("path",{d:"M196.78 118.35a7.38 7.38 0 01-.78-5.84 7.25 7.25 0 013.56-4.64 7.46 7.46 0 015.83-.73 7.51 7.51 0 015.4 9.29 7.51 7.51 0 01-3.52 4.7 7.27 7.27 0 01-5.8.8 7.44 7.44 0 01-4.69-3.58zm12.05-46.1l5.56-21 10.82 2.87-5.55 21-8 25.41-8.6-2.28z",fill:"#FFF"}),f=r.createElement("path",{d:"M198.47 181.73a23.18 23.18 0 01-8.2 14.28c-9.2 7.58-24.24 6.67-32.46-2",stroke:"#4285F4",strokeMiterlimit:10,strokeWidth:15}),g=r.createElement("defs",null,r.createElement("clipPath",{id:"notification-alert_svg__clip0"},r.createElement("circle",{cx:150,cy:150,r:100})));t.a=function SvgNotificationAlert(e){return r.createElement("svg",i({viewBox:"0 0 300 300",fill:"none"},e),a,o,c,l,s,u,d,f,g)}},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(47),i=n(27);function a(t,n){var a,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===a&&(a=!!n.querySelector("script[".concat(i.b,"]"))),!a){var r=n.createElement("script");r.setAttribute(i.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),a=!0}}}}).call(this,n(18))},83:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),a=n(6),o=n.n(a),c=n(14),l=n.n(c),s=n(47),u=n(33);function d(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,a){var o=Object(s.a)(n);return function(){var n=l()(i.a.mark((function n(c,l,s,d){var g,m,p,v,b,h,O,_,E,y;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,b=t.referenceSiteURL,h=t.trackingEnabled,O=t.trackingID,_=t.userIDHash,h){n.next=3;break}return n.abrupt("return");case 3:return r(),E=null!==(g=null===(m=e._googlesitekitUserData)||void 0===m||null===(p=m.user)||void 0===p?void 0:p.roles)&&void 0!==g?g:[],y={send_to:O,event_category:c,event_label:s,value:d,dimension1:b,dimension2:E.join(","),dimension3:_,dimension4:"1.49.0",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){a.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),i=function(){clearTimeout(r),e()};o("event",l,f(f({},y),{},{event_callback:i})),(null===(t=a._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&i()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,i){return n.apply(this,arguments)}}()}}).call(this,n(18))},86:function(e,t,n){"use strict";var r=n(100);n.d(t,"a",(function(){return r.a}));var i=n(101);n.d(t,"c",(function(){return i.a}));var a=n(102);n.d(t,"b",(function(){return a.a}))},87:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(105),o=n(1),c=n(9);function ErrorText(t){var n=t.message,r=t.reconnectURL;if(!n)return null;var i=Object(o.sprintf)(
55
  /* translators: %s: Error message */
56
  Object(o.__)("Error: %s","google-site-kit"),n);r&&Object(a.a)(r)&&(i=i+" "+Object(o.sprintf)(
57
  /* translators: %s: Reconnect URL */
34
  /* translators: %s: List of product names */
35
  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(f.n)(t));break;case"single":n=Object(l.sprintf)(
36
  /* translators: %1$s: Product name */
37
+ 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"),t[0]);break;case"generic":n=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(d.a,{id:"authentication error",title:Object(l.__)("Site Kit can’t access necessary data","google-site-kit"),description:n,format:"small",type:"win-error",isDismissible:!1,ctaLink:s,ctaLabel:Object(l.__)("Redo setup","google-site-kit")})}}).call(this,n(18),n(3))},262:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(4),i=n.n(r),a=n(15),o=n(42),c=i.a.useSelect;function InternalServerError(){var t=c((function(e){return e(a.c).getInternalServerError()}));return t?e.createElement(o.a,t):null}}).call(this,n(3))},263:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardNavigation}));var i=n(23),a=n.n(i),o=n(12),c=n.n(o),l=n(158),s=n(103),u=n(200),d=n.n(u),f=n(2),g=n(1),m=n(4),p=n.n(m),v=n(264),b=n(265),h=n(266),O=n(267),_=n(16),E=n(35),y=n(75),k=n(134),j=n(99),S=n(114);function w(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 N(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 N(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 N(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 C=p.a.useSelect;function DashboardNavigation(){var t=Object(k.b)(),n=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_TRAFFIC:y.CONTEXT_ENTITY_DASHBOARD_TRAFFIC)})),i=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_CONTENT:y.CONTEXT_ENTITY_DASHBOARD_CONTENT)})),o=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_SPEED:y.CONTEXT_ENTITY_DASHBOARD_SPEED)})),u=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_MONETIZATION:y.CONTEXT_ENTITY_DASHBOARD_MONETIZATION)})),m=Object(j.a)(),p=Object(f.useState)(e.location.hash.substring(1)),N=c()(p,2),T=N[0],D=N[1],A=Object(f.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.scrollTo({top:i!==_.d?Object(S.a)("#".concat(i),m):0,behavior:"smooth"})}),[m]);return Object(s.a)((function(){var t=e.location.hash;t&&setTimeout((function(){e.scrollTo({top:t.substring(1)!==_.d?Object(S.a)(t,m):0,behavior:"smooth"})}),25)})),Object(f.useEffect)((function(){var t=d()((function(){var t,r,c,l,s,d,f=null===(t=document.querySelector(".googlesitekit-entity-header"))||void 0===t||null===(r=t.getBoundingClientRect())||void 0===r?void 0:r.bottom,g=null===(c=document.querySelector(".googlesitekit-navigation"))||void 0===c||null===(l=c.getBoundingClientRect())||void 0===l?void 0:l.bottom,m=[].concat(a()(n?[_.d]:[]),a()(i?[_.a]:[]),a()(o?[_.c]:[]),a()(u?[_.b]:[])),p=_.d,v=w(m);try{for(v.s();!(d=v.n()).done;){var b=d.value,h=document.getElementById(b);if(h){var O=h.getBoundingClientRect().top-20-(f||g||0);O<0&&(void 0===s||s<O)&&(s=O,p=b)}}}catch(e){v.e(e)}finally{v.f()}var E=e.location.hash;p!==(null==E?void 0:E.substring(1))&&(e.history.replaceState({},"","#".concat(p)),D(p))}),50);return e.addEventListener("scroll",t),t(),function(){e.removeEventListener("scroll",t)}}),[n,i,o,u]),r.createElement("div",{className:"googlesitekit-navigation mdc-chip-set"},n&&r.createElement(l.Chip,{id:_.d,label:Object(g.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"16"}),onClick:A,selected:T===_.d,"data-context-id":_.d}),i&&r.createElement(l.Chip,{id:_.a,label:Object(g.__)("Content","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"18"}),onClick:A,selected:T===_.a,"data-context-id":_.a}),o&&r.createElement(l.Chip,{id:_.c,label:Object(g.__)("Speed","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"20",height:"16"}),onClick:A,selected:T===_.c,"data-context-id":_.c}),u&&r.createElement(l.Chip,{id:_.b,label:Object(g.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(O.a,{width:"18",height:"16"}),onClick:A,selected:T===_.b,"data-context-id":_.b}))}}).call(this,n(18),n(3))},264:function(e,t,n){"use strict";var r=n(2);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)}},265:function(e,t,n){"use strict";var r=n(2);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)}},266:function(e,t,n){"use strict";var r=n(2);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)}},267:function(e,t,n){"use strict";var r=n(2);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)}},268:function(e,t,n){"use strict";(function(e,r){var i=n(12),a=n.n(i),o=n(10),c=n.n(o),l=n(315),s=n(200),u=n.n(s),d=n(1),f=n(2),g=n(4),m=n.n(g),p=n(24),v=n(16),b=n(21),h=n(15),O=n(269),_=n(36),E=n(22),y=n(49),k=m.a.useSelect,j=m.a.useDispatch;t.a=function EntityHeader(){var t=Object(f.useContext)(p.b),n=k((function(e){return e(h.c).getCurrentEntityTitle()})),i=k((function(e){return e(h.c).getCurrentEntityURL()})),o=Object(f.useRef)(),s=Object(f.useState)(i),g=a()(s,2),m=g[0],S=g[1];Object(f.useEffect)((function(){var t=function(){if(o.current){var t=o.current.clientWidth-40,n=e.getComputedStyle(o.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);S(Object(y.e)(i,r))}},n=u()(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[i,o,S]);var w=j(_.a).navigateTo,N=k((function(e){return e(h.c).getAdminURL("googlesitekit-dashboard")})),C=Object(f.useCallback)((function(){w(N)}),[N,w]),T=Object(l.a)().y;return v.k!==t||null===i||null===n?null:r.createElement("div",{className:c()("googlesitekit-entity-header",{"googlesitekit-entity-header--has-scrolled":T>1})},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(b.a,{icon:r.createElement(O.a,{width:24,height:24}),"aria-label":Object(d.__)("Back to dashboard","google-site-kit"),onClick:C,text:!0},Object(d.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:o,className:"googlesitekit-entity-header__details"},r.createElement("p",null,n),r.createElement(E.a,{href:i,"aria-label":i,external:!0,inherit:!0},m)))}}).call(this,n(18),n(3))},269:function(e,t,n){"use strict";var r=n(2);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)}},27: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"},270:function(e,t,n){"use strict";var r=n(2);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)}},272:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var r=n(10),i=n.n(r),a=n(0),o=n.n(a),c=n(8);function PageHeader(t){var n=t.title,r=t.icon,a=t.className,o=t.status,l=t.statusText,s=t.fullWidth,u=t.children,d=s?{size:12}:{smSize:4,mdSize:4,lgSize:6},f=""!==o||Boolean(u);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement(c.l,null,n&&e.createElement(c.a,d,r,e.createElement("h1",{className:i()("googlesitekit-page-header__title",a)},n)),f&&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))},l),u))))}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(3))},273:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return p.a}));var r=n(12),i=n.n(r),a=n(23),o=n.n(a),c=n(106),l=n(297);function s(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 u(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function d(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var a=0,o=0,d=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(Object(l.a)(t[m.slug]))return n.push(0),void r.push(o);var v=u(a,m),b=function(e,t,n){for(;++e<t.length;)if(!Object(l.a)(n[t[e].slug]))return t[e];return null}(p,e,t);null!==b&&0!==u(v.sort(d)[0].counter,b).filter(g).length||v.some(g)&&(v=(v=v.sort(f)).filter(g));var h=v[0].width;if(r.push(o),(a+=c.c[h])>12){if(a-=c.c[h],r[p]++,9===a){var O=s(n,a),_=i()(O,2);n=_[0],a=_[1]}a=c.c[h],o++}else 12===a&&(a=0,o++);n.push(c.c[h])})),9===a){var m=s(n,a),p=i()(m,2);n=p[0],a=p[1]}return{columnWidths:n,rowIndexes:r}}var f=n(208),g=n.n(f);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,v;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,v=i[o+1],p===v&&g()(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(213)},283:function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(12),o=n.n(a),c=n(2),l=n(374),s=n(280);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(18))},292: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(19),o=n.n(a),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(123);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(3))},293: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(17),o=n.n(a),c=n(0),l=n.n(c),s=n(199);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(3))},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetActivateModuleCTA}));var r=n(6),i=n.n(r),a=n(19),o=n.n(a),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(133);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 WidgetActivateModuleCTA(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))}WidgetActivateModuleCTA.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(3))},295:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetCompleteModuleActivationCTA}));var r=n(6),i=n.n(r),a=n(19),o=n.n(a),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(132);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 WidgetCompleteModuleActivationCTA(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))}WidgetCompleteModuleActivationCTA.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(3))},296: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(0),o=n.n(a),c=n(124),l=n(125);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(3))},297:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(125);function i(e){return!!e&&e.Component===r.a}},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n(81),i=e._googlesitekitBaseData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,l=i.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:i.trackingID,referenceSiteURL:i.referenceSiteURL,userIDHash:i.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),m=u.trackEvent;function p(e){e?d():f()}c&&l&&g()}).call(this,n(18))},301:function(e,t,n){"use strict";(function(e){var t=n(120),r=n(33),i=n(53),a=n(9),o=n(203),c=n(204),l=n(205),s=n(207),u=Object(a.j)("notification"),d=Object(i.a)(e.createElement(o.a,null)),f=Object(i.a)(e.createElement(c.a,null)),g=Object(i.a)(e.createElement(l.a,null)),m=Object(i.a)(e.createElement(s.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",g,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",m,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},31:function(e,t,n){"use strict";n.d(t,"u",(function(){return i})),n.d(t,"i",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"k",(function(){return c})),n.d(t,"l",(function(){return l})),n.d(t,"j",(function(){return s})),n.d(t,"q",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return p})),n.d(t,"g",(function(){return v})),n.d(t,"f",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"o",(function(){return O})),n.d(t,"p",(function(){return _})),n.d(t,"n",(function(){return E})),n.d(t,"s",(function(){return y})),n.d(t,"t",(function(){return k})),n.d(t,"r",(function(){return j}));var r=n(16),i="modules/idea-hub",a="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",l="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",g="IDEA_HUB_ACTIVITY_IS_DELETING",m="IDEA_HUB_ACTIVITY_DELETED",p="IDEA_HUB_ACTIVITY_IS_PINNING",v="IDEA_HUB_ACTIVITY_PINNED",b="IDEA_HUB_ACTIVITY_IS_UNPINNING",h="IDEA_HUB_ACTIVITY_UNPINNED",O="".concat(r.g,"_idea-hub-widget"),_="".concat(r.o,"_idea-hub-saved-ideas-notification"),E="".concat(r.l,"_idea-hub"),y="new-ideas",k="saved-ideas",j="draft-ideas"},311:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(12),i=n.n(r),a=n(290),o=n(10),c=n.n(o),l=n(2),s=n(72),u=n(1),d=n(4),f=n.n(d),g=n(353),m=n(13),p=n(144),v=n(56),b=n(24),h=n(143),O=n(21),_=n(9),E=n(65),y=n(58),k=f.a.useSelect,j=f.a.useDispatch;function DateRangeSelector(){var t,n=Object(E.a)("unifiedDashboard"),r=Object(v.c)(),o=k((function(e){return e(m.a).getDateRange()})),d=j(m.a).setDateRange,f=j(y.a).resetInViewHook,S=Object(l.useState)(!1),w=i()(S,2),N=w[0],C=w[1],T=Object(l.useRef)(),D=Object(l.useContext)(b.b);Object(a.a)(T,(function(){return C(!1)})),Object(p.a)([s.c,s.d],T,(function(){return C(!1)}));var A=Object(l.useCallback)((function(){C(!N)}),[N]),x=Object(l.useCallback)((function(e){var t=Object.values(r)[e].slug;o!==t&&Object(_.v)("".concat(D,"_headerbar"),"change_daterange",t),f(),d(t),C(!1)}),[r,o,f,d,D]),R=null===(t=r[o])||void 0===t?void 0:t.label,M=Object.values(r).map((function(e){return e.label}));return e.createElement("div",{ref:T,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(O.a,{className:c()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu","googlesitekit-border-radius-round--phone","googlesitekit-button-icon--phone",{"googlesitekit-header__date-range-selector-menu--has-unified-dashboard":n}),text:!0,onClick:A,icon:e.createElement(g.a,{width:"20",height:"20"}),"aria-haspopup":"menu","aria-expanded":N,"aria-controls":"date-range-selector-menu",title:Object(u.__)("Date range","google-site-kit"),tooltip:!0},R),e.createElement(h.a,{menuOpen:N,menuItems:M,onSelected:x,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(3))},32:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="modules/adsense",i=1},33: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(18))},339:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return d}));var r=n(5),i=n.n(r),a=n(14),o=n.n(a),c=n(120);Object(c.c)("googlesitekit.winCallbacks",{});function l(){return s.apply(this,arguments)}function s(){return(s=o()(i.a.mark((function t(){var n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((n=e._googlesitekitLegacyData.setup).isSiteKitConnected&&(n.isAuthenticated||n.isVerified)){t.next=3;break}return t.abrupt("return",0);case 3:return 0,e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",0),t.abrupt("return",0);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var u=function(t){var n=Math.abs(t.count)+1;return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}},d=function(t){var n=Math.max(0,Math.abs(t.count)-1);return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}}}).call(this,n(18))},34:function(e,t){e.exports=googlesitekit.api},342:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(12),i=n.n(r),a=n(0),o=n.n(a),c=n(191),l=n(2),s=n(1),u=n(72),d=n(34),f=n.n(d),g=n(4),m=n.n(g),p=n(343),v=n(65),b=n(15),h=m.a.useSelect;function PostSearcherAutoSuggest(t){var n=t.id,r=t.match,a=t.setMatch,o=t.isLoading,d=t.showDropdown,g=void 0===d||d,m=t.setIsLoading,O=t.setIsActive,_=void 0===O?function(){}:O,E=t.autoFocus,y=t.setCanSubmit,k=void 0===y?function(){}:y,j=t.onClose,S=void 0===j?function(){}:j,w=t.placeholder,N=void 0===w?"":w,C=Object(l.useState)(""),T=i()(C,2),D=T[0],A=T[1],x=null==r?void 0:r.post_title,R=Object(p.a)(D,D===x?0:200),M=Object(l.useState)([]),P=i()(M,2),I=P[0],L=P[1],z=Object(s.__)("No results found","google-site-kit"),B=Object(v.a)("unifiedDashboard"),H=h((function(e){return e(b.c).getCurrentEntityTitle()})),q=Object(l.useRef)(null),F=Object(l.useCallback)((function(){_(!0)}),[_]),U=Object(l.useCallback)((function(e){var t,n,r;(null===(t=e.relatedTarget)||void 0===t?void 0:t.classList.contains("autocomplete__option--result"))||(_(!1),A(null!==(n=null!==(r=q.current)&&void 0!==r?r:H)&&void 0!==n?n:""))}),[H,_]),W=Object(l.useCallback)((function(e){if(Array.isArray(I)&&e!==z){var t=I.find((function(t){return t.post_title.toLowerCase()===e.toLowerCase()}));t?(q.current=t.post_title,k(!0),a(t),A(t.post_title)):q.current=null}else q.current=null,k(!1)}),[I,k,a,z,A]),V=Object(l.useCallback)((function(e){k(!1),A(e.target.value)}),[k]);Object(l.useEffect)((function(){if(""!==R&&R!==H&&(null==R?void 0:R.toLowerCase())!==(null==x?void 0:x.toLowerCase())){null==m||m(!0);var e="undefined"==typeof AbortController?void 0:new AbortController;return f.a.get("core","search","post-search",{query:encodeURIComponent(R)},{useCache:!1,signal:null==e?void 0:e.signal}).then((function(e){return L(e)})).catch((function(){return L([])})).finally((function(){return null==m?void 0:m(!1)})),function(){return null==e?void 0:e.abort()}}}),[R,m,H,x]),Object(l.useEffect)((function(){D||L([])}),[D]),Object(l.useEffect)((function(){H&&A(H)}),[H]);var K=Object(l.useCallback)((function(e){if(B)return e.keyCode===u.c?S():e.keyCode===u.b?W(D):void 0}),[S,W,D,B]);return e.createElement(c.a,{className:"autocomplete__wrapper",onSelect:W},e.createElement(c.b,{id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onBlur:U,onChange:V,onFocus:F,placeholder:N,onKeyDown:K,value:D,autoFocus:E}),(!B||!o)&&g&&R!==H&&""!==R&&0===I.length&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(c.d,{value:z,className:"autocomplete__option autocomplete__option--no-results"}))),g&&""!==R&&R!==H&&I.length>0&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},I.map((function(t){var n=t.ID,r=t.post_title;return e.createElement(c.d,{key:n,value:r,className:"autocomplete__option autocomplete__option--result"})})))))}PostSearcherAutoSuggest.propTypes={id:o.a.string,match:o.a.object,setCanSubmit:o.a.func,setMatch:o.a.func,isLoading:o.a.bool,setIsLoading:o.a.func,onKeyDown:o.a.func,autoFocus:o.a.bool,placeholder:o.a.string}}).call(this,n(3))},343:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(12),i=n.n(r),a=n(2);function o(e,t){var n=Object(a.useState)(e),r=i()(n,2),o=r[0],c=r[1];return Object(a.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),o}},35: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"},350:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(6),i=n.n(r),a=n(12),o=n.n(a),c=n(0),l=n.n(c),s=n(10),u=n.n(s),d=n(364),f=n(2),g=n(4),m=n.n(g),p=n(106),v=n(35),b=n(351),h=n(273),O=n(8),_=n(352),E=n(140),y=n(65),k=m.a.useSelect;function WidgetAreaRenderer(t){var n=t.slug,r=t.totalAreas,a=Object(y.a)("unifiedDashboard"),c=Object(f.useRef)(),l=Object(d.a)(c,{rootMargin:"0px",threshold:0}),s=k((function(e){return e(v.a).getWidgetArea(n)})),g=k((function(e){return e(v.a).getWidgets(n)})),m=k((function(e){return e(v.a).getWidgetStates()})),j=k((function(e){return e(v.a).isWidgetAreaActive(n)})),S=Object(f.useState)({key:"WidgetAreaRenderer-".concat(n),value:!!(null==l?void 0:l.intersectionRatio)}),w=o()(S,2),N=w[0],C=w[1];Object(f.useEffect)((function(){C({key:"WidgetAreaRenderer-".concat(n),value:!!(null==l?void 0:l.intersectionRatio)})}),[l,n]);var T,D=Object(h.c)(g,m),A=D.columnWidths,x=D.rowIndexes,R=Object(h.a)(g,m,{columnWidths:A,rowIndexes:x}),M=R.gridColumnWidths,P=R.overrideComponents,I=g.map((function(t,n){return e.createElement(_.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:M[n]},e.createElement(b.a,{OverrideComponent:P[n]?function(){var t=P[n],r=t.Component,i=t.metadata;return e.createElement(r,i)}:void 0,slug:t.slug}))})),L=s.Icon,z=s.title,B=s.style,H=s.subtitle;return j?e.createElement(E.a,{value:N},e.createElement(O.b,{className:u()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(n),"googlesitekit-widget-area--".concat(B)),ref:c},(a||r>1)&&e.createElement(O.l,null,e.createElement(O.a,{className:"googlesitekit-widget-area-header",size:12},L&&e.createElement(L,{width:33,height:33}),z&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},z),H&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},H))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(O.l,null,B===v.b.BOXES&&I,B===v.b.COMPOSITE&&e.createElement(O.a,{size:12},e.createElement(O.b,null,e.createElement(O.l,null,I))))))):e.createElement(O.b,{className:u()(p.a,"googlesitekit-widget-area",(T={},i()(T,"googlesitekit-widget-area--".concat(n),!!n),i()(T,"googlesitekit-widget-area--".concat(B),!!B),T)),ref:c},I)}WidgetAreaRenderer.propTypes={slug:l.a.string.isRequired}}).call(this,n(3))},351:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(35),s=n(229),u=n(273),d=n(106),f=c.a.useSelect,g=function WidgetRenderer(t){var n=t.slug,r=t.OverrideComponent,i=f((function(e){return e(l.a).getWidget(n)})),o=Object(u.b)(n),c=o.Widget,g=o.WidgetNull;if(!i)return e.createElement(g,null);var m=i.Component,p=i.wrapWidget,v=e.createElement(m,o);return r?v=e.createElement(a.Fragment,null,e.createElement(s.a,{widgetSlug:"overridden"},e.createElement(r,null)),e.createElement("div",{className:d.a},v)):p&&(v=e.createElement(c,null,v)),v};g.propTypes={slug:i.a.string.isRequired,OverrideComponent:i.a.elementType},t.a=g}).call(this,n(3))},352:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(106),o=n(8),c=function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:a.a},r):n<6?e.createElement(o.a,{lgSize:n,mdSize:4,smSize:2},r):n<8?e.createElement(o.a,{lgSize:n,mdSize:8},r):e.createElement(o.a,{size:n},r)};c.propTypes={gridColumnWidth:i.a.number.isRequired,children:i.a.element.isRequired},t.a=c}).call(this,n(3))},353:function(e,t,n){"use strict";var r=n(2);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 9H4v2h2V9zm4 0H8v2h2V9zm4 0h-2v2h2V9zm2-7h-1V0h-2v2H5V0H3v2H2C.89 2 .01 2.9.01 4L0 18a2 2 0 002 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 16H2V7h14v11z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgDateRange(e){return r.createElement("svg",i({viewBox:"0 0 18 20"},e),a)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},38:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},39:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return O}));var r=n(5),i=n.n(r),a=n(14),o=n.n(a);n(23);function c(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 l(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 l(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 l(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 s,u="googlesitekit_".concat("1.49.1","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=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 m(){return p.apply(this,arguments)}function p(){return(p=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===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(a=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(a);case 11:if(!t.sent){t.next=13;break}s=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===s&&(s=null),t.abrupt("return",s);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,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).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)}}(),b=function(){var t=o()(i.a.mark((function t(n,r){var a,o,c,l,s,d,f,g,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,c=void 0===o?3600:o,l=a.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=a.isError,f=void 0!==d&&d,t.next=3,m();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),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)}}(),h=function(){var t=o()(i.a.mark((function t(n){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));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,m();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(u)&&r.push(o.substring(u.length));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)}}()}).call(this,n(18))},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e,r){var i=n(6),a=n.n(i),o=n(5),c=n.n(o),l=n(14),s=n.n(l),u=n(12),d=n.n(u),f=n(0),g=n.n(f),m=n(10),p=n.n(m),v=n(231),b=n.n(v),h=n(103),O=n(2),_=n(88),E=n(8),y=n(114),k=n(49),j=n(60),S=n(74),w=n(21),N=n(155),C=n(116),T=n(22),D=n(121),A=n(39),x=n(9),R=n(16),M=n(99);function BannerNotification(t){var n,i=t.anchorLink,o=t.anchorLinkLabel,l=t.blockData,u=t.children,f=t.className,g=t.ctaLabel,m=t.ctaLink,v=t.ctaTarget,P=t.description,I=t.dismiss,L=t.dismissExpires,z=t.format,B=t.id,H=t.isDismissible,q=t.learnMoreDescription,F=t.learnMoreLabel,U=t.learnMoreURL,W=t.logo,V=t.module,K=t.moduleName,X=t.onCTAClick,G=t.onDismiss,Y=t.pageIndex,Q=t.showOnce,$=t.SmallImageSVG,Z=t.title,J=t.type,ee=t.WinImageSVG,te=Object(O.useState)(!1),ne=d()(te,2),re=ne[0],ie=ne[1],ae=Object(O.useState)(!1),oe=d()(ae,2),ce=oe[0],le=oe[1],se=Object(O.useRef)(),ue="notification::dismissed::".concat(B),de=function(){return Object(A.d)(ue,new Date,{ttl:null})},fe=Object(M.a)();function ge(){return(ge=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(x.v)("".concat(R.g,"_site-notification"),"dismiss_notification",B);case 4:if(!G){e.next=7;break}return e.next=7,G(t);case 7:me();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function me(){var e=se.current;ie(!0),setTimeout(s()(c.a.mark((function t(){var n;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,de();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function pe(){return(pe=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(x.v)("".concat(R.g,"_site-notification"),"confirm_notification",B);case 3:if(!X){e.next=6;break}return e.next=6,X(t);case 6:H&&me();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(h.a)(s()(c.a.mark((function e(){var t,n;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(x.v)("".concat(R.g,"_site-notification"),"view_notification",B);case 2:if(!(L>0)){e.next=5;break}return e.next=5,he();case 5:if(!H){e.next=11;break}return e.next=8,Object(A.b)(ue);case 8:t=e.sent,n=t.cacheHit,le(n);case 11:if(!Q){e.next=14;break}return e.next=14,de();case 14:case"end":return e.stop()}}),e)}))));var ve=Object(O.useCallback)((function(t){Object(k.c)(i)&&(t.preventDefault(),e.history.replaceState({},"",i),e.scrollTo({top:Object(y.a)(i,fe),behavior:"smooth"}))}),[i,fe]);function be(){return(be=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(x.v)("".concat(R.g,"_site-notification"),"click_learn_more_link",B);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(){return Oe.apply(this,arguments)}function Oe(){return(Oe=s()(c.a.mark((function e(){var t,n,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(A.b)(ue);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(L,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(A.a)(ue);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(H&&(void 0===ce||ce))return null;var _e,Ee,ye=re?"is-closed":"is-open",ke="large"===z&&"win-stats-increase"===J;_e="large"===z?ke?{mdSize:5,lgSize:8,smOrder:2,mdOrder:1}:{mdSize:6,lgSize:8,smOrder:2,mdOrder:1}:"small"===z?{smSize:3,mdSize:7,lgSize:11}:{size:12},Ee="win-warning"===J?r.createElement(N.a,{width:34}):"win-error"===J?r.createElement(C.a,{width:28}):"";var je=r.createElement(O.Fragment,null,l&&r.createElement(E.l,null,b()(l,(function(e,t){return r.createElement(E.a,{key:t,lgSize:ke?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(S.a,e)))})))),Se=r.createElement(O.Fragment,null,Z&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},Z),i&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(T.a,{href:i,onClick:ve},o)),P&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(O.isValidElement)(P)?P:r.createElement("span",{dangerouslySetInnerHTML:Object(j.a)(P,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),F&&r.createElement(O.Fragment,null," ",r.createElement(T.a,{onClick:function(e){return be.apply(this,arguments)},href:U,external:!0,inherit:!0},F),q),Y&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},Y))),u),we=V?r.createElement(D.a,{slug:V,size:19}):r.createElement(_.a,{height:"34",width:"32"}),Ne=ke?{size:12,smOrder:2,mdOrder:1}:{size:12};return r.createElement("section",{id:B,ref:se,className:p()(f,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(z),z),a()(n,"googlesitekit-publisher-win--".concat(J),J),a()(n,"googlesitekit-publisher-win--".concat(ye),ye),n))},r.createElement(E.b,null,r.createElement(E.l,null,W&&r.createElement(E.a,Ne,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},we),K&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},K)),$&&r.createElement(E.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement($,null)),r.createElement(E.a,_e,ke?r.createElement(E.l,null,r.createElement(E.a,{mdSize:8,lgSize:5},Se),r.createElement(E.a,{alignBottom:!0,mdSize:8,lgSize:7},je)):r.createElement(O.Fragment,null,Se,je),m&&r.createElement(w.a,{className:"googlesitekit-notification__cta",href:m,target:v,onClick:function(e){return pe.apply(this,arguments)}},g),H&&I&&r.createElement(T.a,{onClick:function(e){return ge.apply(this,arguments)}},I)),ee&&r.createElement(E.a,{mdSize:2,lgSize:4,smOrder:1,mdOrder:2},r.createElement("div",{className:"googlesitekit-publisher-win__image-large"},r.createElement(ee,null))),("win-error"===J||"win-warning"===J)&&r.createElement(E.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},Ee)))))}BannerNotification.propTypes={id:g.a.string.isRequired,className:g.a.string,title:g.a.string.isRequired,description:g.a.node,learnMoreURL:g.a.string,learnMoreDescription:g.a.string,learnMoreLabel:g.a.string,blockData:g.a.array,WinImageSVG:g.a.elementType,SmallImageSVG:g.a.elementType,format:g.a.string,ctaLink:g.a.string,ctaLabel:g.a.string,type:g.a.string,dismiss:g.a.string,isDismissible:g.a.bool,logo:g.a.bool,module:g.a.string,moduleName:g.a.string,pageIndex:g.a.string,dismissExpires:g.a.number,showOnce:g.a.bool,onCTAClick:g.a.func,onDismiss:g.a.func,anchorLink:g.a.string,anchorLinkLabel:g.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(18),n(3))},443:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSetup}));var r=n(5),i=n.n(r),a=n(14),o=n.n(a),c=n(0),l=n.n(c),s=n(103),u=n(2),d=n(1),f=n(4),g=n.n(f),m=n(15),p=n(20),v=n(36),b=n(9),h=n(189),O=n(8),_=n(188),E=n(22),y=g.a.useSelect,k=g.a.useDispatch;function ModuleSetup(t){var n=t.moduleSlug,r=k(v.a).navigateTo,a=y((function(e){return e(m.c).getAdminURL("googlesitekit-settings")})),c=y((function(e){return e(p.a).getModule(n)})),l={notification:"authentication_success"};n&&(l.slug=n);var f=y((function(e){return e(m.c).getAdminURL("googlesitekit-dashboard",l)})),g=Object(u.useCallback)(function(){var e=o()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(b.v)("moduleSetup","complete_module_setup",n);case 2:r(t||f);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[f,r,n]),j=Object(u.useCallback)(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(b.v)("moduleSetup","cancel_module_setup",n);case 2:case"end":return e.stop()}}),e)}))),[n]);if(Object(s.a)((function(){Object(b.v)("moduleSetup","view_module_setup",n)})),!(null==c?void 0:c.SetupComponent))return null;var S=c.SetupComponent;return e.createElement(u.Fragment,null,e.createElement(_.a,null,e.createElement(h.a,null)),e.createElement("div",{className:"googlesitekit-setup"},e.createElement(O.b,null,e.createElement(O.l,null,e.createElement(O.a,{size:12},e.createElement("section",{className:"googlesitekit-setup__wrapper"},e.createElement(O.b,null,e.createElement(O.l,null,e.createElement(O.a,{size:12},e.createElement("p",{className:" googlesitekit-setup__intro-title googlesitekit-overline "},Object(d.__)("Connect Service","google-site-kit")),e.createElement(S,{module:c,finishSetup:g})))),e.createElement("div",{className:"googlesitekit-setup__footer"},e.createElement(O.b,null,e.createElement(O.l,null,e.createElement(O.a,{smSize:2,mdSize:4,lgSize:6},e.createElement(E.a,{id:"setup-".concat(c.slug,"-cancel"),href:a,onClick:j},Object(d.__)("Cancel","google-site-kit"))))))))))))}ModuleSetup.propTypes={moduleSlug:l.a.string.isRequired}}).call(this,n(3))},444:function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(103),o=n(410),c=n(127),l=n(2),s=n(1),u=n(4),d=n.n(u),f=n(21),g=n(61),m=n(54),p=n(445),v=n(446),b=n(342),h=n(24),O=n(15),_=n(16),E=n(36),y=n(9),k=d.a.useSelect,j=d.a.useDispatch;t.a=function EntitySearchInput(){var t=Object(c.a)(EntitySearchInput,"EntitySearchInput"),n=Object(l.useState)(!1),r=i()(n,2),u=r[0],d=r[1],S=Object(l.useState)(!1),w=i()(S,2),N=w[0],C=w[1],T=Object(l.useState)(!1),D=i()(T,2),A=D[0],x=D[1],R=Object(l.useRef)(),M=Object(l.useCallback)((function(){d(!0)}),[]),P=Object(l.useCallback)((function(){d(!1)}),[]),I=Object(l.useState)({}),L=i()(I,2),z=L[0],B=L[1],H=Object(l.useContext)(h.b),q=k((function(e){return(null==z?void 0:z.permalink)?e(O.c).getAdminURL("googlesitekit-dashboard",{permaLink:z.permalink}):null})),F=j(E.a).navigateTo;return Object(l.useEffect)((function(){q&&Object(y.v)("".concat(H,"_headerbar"),"open_urldetails").finally((function(){F(q)}))}),[q,F,H]),Object(a.a)((function(){H===_.k&&d(!0)})),Object(o.a)((function(){var e;u||(null==R||null===(e=R.current)||void 0===e||e.focus())}),[u]),u?e.createElement("div",{className:"googlesitekit-entity-search googlesitekit-entity-search--is-open"},e.createElement(m.a,null,e.createElement("label",{htmlFor:t},Object(s.__)("Page/URL Search","google-site-kit"))),e.createElement(b.a,{id:t,match:z,setIsActive:x,setMatch:B,placeholder:Object(s.__)("Enter title or URL…","google-site-kit"),isLoading:N,setIsLoading:C,showDropdown:A,onClose:P,autoFocus:!0}),N&&A&&e.createElement(g.a,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(f.a,{onClick:P,trailingIcon:e.createElement(v.a,{width:"30",height:"20"}),className:"googlesitekit-entity-search__close",title:Object(s.__)("Close","google-site-kit"),text:!0,tooltip:!0}))):e.createElement("div",{className:"googlesitekit-entity-search"},e.createElement(f.a,{className:"googlesitekit-border-radius-round--phone googlesitekit-button-icon--phone",onClick:M,text:!0,ref:R,title:Object(s.__)("Search","google-site-kit"),trailingIcon:e.createElement(p.a,{width:"20",height:"20"}),tooltip:!0},Object(s.__)("URL Search","google-site-kit")))}}).call(this,n(3))},445:function(e,t,n){"use strict";var r=n(2);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:"M16 9.5c0 1.407-.45 2.714-1.218 3.783L20.49 19 19 20.49l-5.717-5.708A6.463 6.463 0 019.5 16 6.5 6.5 0 1116 9.5zm-11 0C5 11.99 7.01 14 9.5 14S14 11.99 14 9.5 11.99 5 9.5 5 5 7.01 5 9.5z",fill:"currentColor"});t.a=function SvgMagnifyingGlass(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},446:function(e,t,n){"use strict";var r=n(2);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:"M15.833 5.342l-1.175-1.175L10 8.825 5.342 4.167 4.167 5.342 8.825 10l-4.658 4.658 1.175 1.175L10 11.175l4.658 4.658 1.175-1.175L11.175 10l4.658-4.658z",fill:"currentColor"});t.a=function SvgCloseDark(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},447:function(e,t,n){"use strict";(function(e){var r=n(44),i=n.n(r),a=n(45),o=n.n(a),c=n(78),l=n.n(c),s=n(67),u=n.n(s),d=n(68),f=n.n(d),g=n(46),m=n.n(g),p=n(10),v=n.n(p),b=n(107),h=n(2),O=n(1),_=n(339),E=n(54);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=m()(e);if(t){var i=m()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var k=function(t){u()(NotificationCounter,t);var n=y(NotificationCounter);function NotificationCounter(e){var t;return i()(this,NotificationCounter),(t=n.call(this,e)).state={count:0},t.handleIncrement=t.handleIncrement.bind(l()(t)),t.handleDecrement=t.handleDecrement.bind(l()(t)),t}return o()(NotificationCounter,[{key:"componentDidMount",value:function(){var e=this;Object(_.b)().then((function(t){e.setState({count:t})})),document.addEventListener("notificationDismissed",this.handleDecrement,!1)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("notificationDismissed",this.handleDecrement)}},{key:"handleIncrement",value:function(){this.setState(_.c)}},{key:"handleDecrement",value:function(){this.setState(_.a)}},{key:"render",value:function(){var t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name");if(!t)return null;var n=Object(O.sprintf)(
38
  /* translators: %d: the number of notifications */
39
  Object(O._n)("%d notification","%d notifications",this.state.count,"google-site-kit"),this.state.count),r=e.createElement("span",{className:v()("googlesitekit-notifications-counter","update-plugins","count-".concat(this.state.count))},e.createElement("span",{className:"plugin-count","aria-hidden":"true"},this.state.count),e.createElement(E.a,null,n));return Object(b.createPortal)(r,t)}}]),NotificationCounter}(h.Component);t.a=k}).call(this,n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(27);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},49:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(105);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){return/^#\w[A-Za-z0-9-_]*$/.test(e)}function l(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)}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),i=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},54:function(e,t,n){"use strict";(function(e){var r=n(19),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n.n(c),s=n(10),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(3))},56:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",i='Invalid date range, it must be a string with the format "last-x-days".',a=n(7),o=n.n(a),c=n(37),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(38),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),i=n[0],a=n[1],c=n[2];return new Date(i,a-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function p(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
40
  /* translators: %s: number of days */
51
  Object(m.__)("%sK","google-site-kit"),k(O(e),e%10==0?{}:t)):k(e,{signDisplay:"never",maximumFractionDigits:1})},E=function(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={};if("%"===t)n={style:"percent",maximumFractionDigits:2};else{if("s"===t)return b(e,{unitDisplay:"narrow"});t&&"string"==typeof t?n={style:"currency",currency:t}:Object(d.isPlainObject)(t)&&(n=v({},t))}var r=n,i=r.style,a=void 0===i?"metric":i;return"metric"===a?_(e):"duration"===a?b(e,t):k(e,n)},y=g()(console.warn),k=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?S():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){y("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)}},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?S():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)}
52
  /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},S=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(18))},74:function(e,t,n){"use strict";(function(e){var r=n(44),i=n.n(r),a=n(45),o=n.n(a),c=n(78),l=n.n(c),s=n(67),u=n.n(s),d=n(68),f=n.n(d),g=n(46),m=n.n(g),p=n(0),v=n.n(p),b=n(10),h=n.n(b),O=n(2),_=n(1),E=n(59),y=n(94),k=n(9);function j(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=m()(e);if(t){var i=m()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var S=function(t){u()(DataBlock,t);var n=j(DataBlock);function DataBlock(e){var t;return i()(this,DataBlock),(t=n.call(this,e)).handleClick=t.handleClick.bind(l()(t)),t.handleKeyPress=t.handleKeyPress.bind(l()(t)),t}return o()(DataBlock,[{key:"handleClick",value:function(){var e=this.props,t=e.stat;(0,e.handleStatSelection)(t)}},{key:"handleKeyPress",value:function(e){e.preventDefault();var t=this.props,n=t.stat,r=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||r(n)}},{key:"render",value:function(){var t=this.props,n=t.className,r=t.title,i=t.datapoint,a=t.datapointUnit,o=t.change,c=t.changeDataUnit,l=t.context,s=t.period,u=t.selected,d=t.handleStatSelection,f=t.source,g=t.sparkline,m=t.invertChangeColor,p="button"===l?"button":"",v=g;v&&m&&(v=Object(O.cloneElement)(g,{invertChangeColor:m}));var b=o;c&&(b="%"===c?Object(k.q)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(k.q)(o,c)),s&&(b=Object(_.sprintf)(s,b));var j=void 0===i?i:Object(k.q)(i,a||void 0);return e.createElement("div",{className:h()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(l),{"googlesitekit-data-block--selected":u}),tabIndex:"button"===l?"0":"-1",role:d&&p,onClick:d&&this.handleClick,onKeyPress:d&&this.handleKeyPress,"aria-label":d&&r,"aria-pressed":d&&u},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},r),e.createElement("div",{className:"googlesitekit-data-block__datapoint"},j)),v&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},v),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:h()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(O.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(E.a,{direction:0<parseFloat(o)?"up":"down",invertColor:m})),e.createElement("span",{className:"googlesitekit-data-block__value"},b))),f&&e.createElement(y.a,{className:"googlesitekit-data-block__source",name:f.name,href:f.link,external:null==f?void 0:f.external})))}}]),DataBlock}(O.Component);S.propTypes={stat:v.a.number,onClick:v.a.func,className:v.a.string,title:v.a.string,datapoint:v.a.oneOfType([v.a.string,v.a.number]),datapointUnit:v.a.string,change:v.a.oneOfType([v.a.string,v.a.number]),changeDataUnit:v.a.oneOfType([v.a.string,v.a.bool]),context:v.a.string,period:v.a.string,selected:v.a.bool,handleStatSelection:v.a.func,invertChangeColor:v.a.bool},S.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1},t.a=S}).call(this,n(3))},75:function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_DASHBOARD",(function(){return r})),n.d(t,"CONTEXT_PAGE_DASHBOARD",(function(){return i})),n.d(t,"CONTEXT_MODULE_SEARCH_CONSOLE",(function(){return a})),n.d(t,"CONTEXT_MODULE_ANALYTICS",(function(){return o})),n.d(t,"CONTEXT_MODULE_ADSENSE",(function(){return c})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return l})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return s})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return d})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return f})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return g})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return m})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return p}));var r="dashboard",i="pageDashboard",a="moduleSearchConsole",o="moduleAnalytics",c="moduleAdsense",l="mainDashboardTraffic",s="mainDashboardContent",u="mainDashboardSpeed",d="mainDashboardMonetization",f="entityDashboardTraffic",g="entityDashboardContent",m="entityDashboardSpeed",p="entityDashboardMonetization";t.default={CONTEXT_DASHBOARD:r,CONTEXT_PAGE_DASHBOARD:i,CONTEXT_MODULE_SEARCH_CONSOLE:a,CONTEXT_MODULE_ANALYTICS:o,CONTEXT_MODULE_ADSENSE:c,CONTEXT_MAIN_DASHBOARD_TRAFFIC:l,CONTEXT_MAIN_DASHBOARD_CONTENT:s,CONTEXT_MAIN_DASHBOARD_SPEED:u,CONTEXT_MAIN_DASHBOARD_MONETIZATION:d,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:f,CONTEXT_ENTITY_DASHBOARD_CONTENT:g,CONTEXT_ENTITY_DASHBOARD_SPEED:m,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:p}},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));var r=n(12),i=n.n(r),a=n(1);function o(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 c(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 c(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,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw a}}}}function c(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 l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),i=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&i)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var l=document.createElement("span");return l.setAttribute("class","screen-reader-text"),l.textContent=Object(a.sprintf)(
53
  /* translators: %d is the number of notifications */
54
+ Object(a._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===i&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,a={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=i()(r.value,2),s=l[0],d=l[1];a[s]=d}}catch(e){c.e(e)}finally{c.f()}return a}}).call(this,n(18))},79:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},8:function(e,t,n){"use strict";var r=n(84),i=n.n(r);n.d(t,"n",(function(){return i.a})),n.d(t,"c",(function(){return r.HelperText})),n.d(t,"d",(function(){return r.Input}));var a=n(187);n.d(t,"i",(function(){return a.a}));var o=n(239);n.d(t,"f",(function(){return o.a}));var c=n(240);n.d(t,"h",(function(){return c.a}));var l=n(104),s=n.n(l);n.d(t,"m",(function(){return s.a})),n.d(t,"k",(function(){return l.Option}));var u=n(241);n.d(t,"j",(function(){return u.a}));var d=n(238);n.d(t,"e",(function(){return d.a}));var f=n(237);n.d(t,"g",(function(){return f.a}));var g=n(86);n.d(t,"a",(function(){return g.a})),n.d(t,"b",(function(){return g.b})),n.d(t,"l",(function(){return g.c}))},80:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(185),i=n(59),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){var t,n,r,i,a,o,c,l,s,u,d,f,g,m,p;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(i=e[0])||void 0===i||null===(a=i.data)||void 0===a||null===(o=a.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(m=g[0])||void 0===m||null===(p=m.values)||void 0===p?void 0:p[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),i=n.n(r),a=n(82),o=n(83);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 l(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}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(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=l(l({},s),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(i,n);return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:Object(o.a)(i,n,c,r)}}}).call(this,n(18))},810:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardEntryPoint}));var r=n(0),i=n.n(r),a=n(2),o=n(65),c=n(443),l=n(811),s=n(815),u=n(447);function DashboardEntryPoint(t){var n=t.setupModuleSlug,r=Object(o.a)("unifiedDashboard");return n?e.createElement(c.a,{moduleSlug:n}):r?e.createElement(s.a,null):e.createElement(a.Fragment,null,e.createElement(u.a,null),e.createElement(l.a,null))}DashboardEntryPoint.propTypes={setupModuleSlug:i.a.string}}).call(this,n(3))},811:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardApp}));var r=n(2),i=n(256),a=n(812),o=n(813),c=n(188),l=n(311),s=n(189),u=n(814);function DashboardApp(){return e.createElement(r.Fragment,null,e.createElement(c.a,null,e.createElement(s.a,null),e.createElement(l.a,null)),e.createElement(o.a,null),e.createElement(i.a,{slug:"dashboard",className:"googlesitekit-module-page googlesitekit-dashboard",Header:a.a}),e.createElement(u.a,{triggerID:"view_dashboard",ttl:3600}))}}).call(this,n(3))},812:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardHeader}));var r=n(1),i=n(272);function DashboardHeader(){return e.createElement(i.a,{className:"googlesitekit-heading-2 googlesitekit-dashboard__heading",title:Object(r.__)("Site Overview","google-site-kit")})}}).call(this,n(3))},813:function(e,t,n){"use strict";var r=n(44),i=n.n(r),a=n(45),o=n.n(a),c=n(67),l=n.n(c),s=n(68),u=n.n(s),d=n(46),f=n.n(d),g=n(1056),m=n(2);function p(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 v=function(e){l()(DashboardNotifications,e);var t=p(DashboardNotifications);function DashboardNotifications(){return i()(this,DashboardNotifications),t.apply(this,arguments)}return o()(DashboardNotifications,[{key:"render",value:function(){return null}}]),DashboardNotifications}(m.Component);t.a=Object(g.a)("googlesitekit.DashboardNotifications")(v)},814:function(e,t,n){"use strict";var r=n(103),i=n(0),a=n.n(i),o=n(4),c=n.n(o),l=n(15),s=n(13),u=c.a.useSelect,d=c.a.useDispatch,f=function SurveyViewTrigger(e){var t=e.triggerID,n=e.ttl,i=u((function(e){return e(l.c).isUsingProxy()})),a=d(s.a).triggerSurvey;return Object(r.a)((function(){i&&a(t,{ttl:n})})),null};f.propTypes={triggerID:a.a.string.isRequired,ttl:a.a.number},f.defaultProps={ttl:0},t.a=f},815:function(e,t,n){"use strict";(function(e){var r=n(10),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(75),s=n(188),u=n(256),d=n(444),f=n(311),g=n(189),m=n(816),p=n(16),v=n(35),b=c.a.useSelect;t.a=function DashboardMainApp(){var t=b((function(e){return e(v.a).isWidgetContextActive(l.CONTEXT_MAIN_DASHBOARD_TRAFFIC)})),n=b((function(e){return e(v.a).isWidgetContextActive(l.CONTEXT_MAIN_DASHBOARD_CONTENT)})),r=b((function(e){return e(v.a).isWidgetContextActive(l.CONTEXT_MAIN_DASHBOARD_SPEED)})),o=null;return b((function(e){return e(v.a).isWidgetContextActive(l.CONTEXT_MAIN_DASHBOARD_MONETIZATION)}))?o=p.b:r?o=p.c:n?o=p.a:t&&(o=p.d),e.createElement(a.Fragment,null,e.createElement(s.a,{subHeader:e.createElement(m.a,null),showNavigation:!0},e.createElement(d.a,null),e.createElement(f.a,null),e.createElement(g.a,null)),e.createElement(u.a,{id:p.d,slug:l.CONTEXT_MAIN_DASHBOARD_TRAFFIC,className:i()({"googlesitekit-widget-context--last":o===p.d})}),e.createElement(u.a,{id:p.a,slug:l.CONTEXT_MAIN_DASHBOARD_CONTENT,className:i()({"googlesitekit-widget-context--last":o===p.a})}),e.createElement(u.a,{id:p.c,slug:l.CONTEXT_MAIN_DASHBOARD_SPEED,className:i()({"googlesitekit-widget-context--last":o===p.c})}),e.createElement(u.a,{id:p.b,slug:l.CONTEXT_MAIN_DASHBOARD_MONETIZATION,className:i()({"googlesitekit-widget-context--last":o===p.b})}))}}).call(this,n(3))},816:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerNotifications}));var r=n(12),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(65),s=n(20),u=n(283),d=n(204),f=n(203),g=n(207),m=n(205),p=n(817),v=c.a.useSelect;function BannerNotifications(){var t=v((function(e){return e(s.a).isModuleActive("adsense")})),n=Object(l.a)("ideaHubModule"),r=Object(l.a)("userInput"),o=Object(u.a)("notification"),c=i()(o,1)[0];return"authentication_success"===c||"user_input_success"===c?e.createElement(d.a,null):e.createElement(a.Fragment,null,r&&e.createElement(m.a,null),n&&e.createElement(g.a,null),t&&e.createElement(p.a,null),e.createElement(f.a,null))}}).call(this,n(3))},817:function(e,t,n){"use strict";(function(e){var r=n(2),i=n(1),a=n(4),o=n.n(a),c=n(20),l=n(32),s=n(818),u=n(42),d=o.a.useSelect;t.a=function AdSenseAlerts(){var t=d((function(e){return e(c.a).isModuleConnected("adsense")})),n=d((function(e){return e(l.b).getAccountID()})),a=d((function(e){return e(l.b).getNotifications()}));return t&&n&&void 0!==a?e.createElement(r.Fragment,null,a.map((function(t){return e.createElement(u.a,{key:t.id,id:t.id,title:t.title||"",description:t.description||"",blockData:t.blockData||[],WinImageSVG:function WinImageSVG(){return e.createElement(s.a,{height:"136"})},format:t.format||"small",learnMoreURL:t.learnMoreURL||"",learnMoreDescription:t.learnMoreDescription||"",learnMoreLabel:t.learnMoreLabel||"",ctaLink:t.ctaURL||"",ctaLabel:t.ctaLabel||"",ctaTarget:t.ctaTarget||"",type:t.severity||"",dismiss:t.dismiss||Object(i.__)("OK, Got it!","google-site-kit"),isDismissible:t.isDismissable||!0,logo:t.logo||!0,module:"adsense",moduleName:Object(i._x)("AdSense","Service name","google-site-kit"),pageIndex:t.pageIndex||"",dismissExpires:t.dismissExpires||0,showOnce:t.showOnce||!1})}))):null}}).call(this,n(3))},818:function(e,t,n){"use strict";var r=n(2);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("circle",{cx:150,cy:150,r:100,fill:"#D2E3FC"}),o=r.createElement("g",{clipPath:"url(#notification-alert_svg__clip0)",strokeMiterlimit:10,strokeWidth:15},r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15s44.18-11.1 65.14-20.18c9.91-4.3 20.07-8.62 30.85-9.31s22.46 2.9 28.7 11.71a24 24 0 013.78 17.65",stroke:"#4285F4"}),r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15",stroke:"#1A73E8"})),c=r.createElement("path",{stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33l-67.86 256.23"}),l=r.createElement("path",{stroke:"#A50E0E",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33L193.97 150"}),s=r.createElement("path",{d:"M221.3 13l-94.69 95.2a10 10 0 004.53 16.72L261 159.3a10 10 0 0012.18-12.3L238 17.39A10 10 0 00221.3 13z",fill:"#D93025"}),u=r.createElement("path",{d:"M137.37 111.56l87.36-87.87a3 3 0 015 1.33l32.42 119.6a3 3 0 01-3.66 3.68l-119.76-31.72a3 3 0 01-1.36-5.02z",stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:2}),d=r.createElement("path",{d:"M196.78 118.35a7.38 7.38 0 01-.78-5.84 7.25 7.25 0 013.56-4.64 7.46 7.46 0 015.83-.73 7.51 7.51 0 015.4 9.29 7.51 7.51 0 01-3.52 4.7 7.27 7.27 0 01-5.8.8 7.44 7.44 0 01-4.69-3.58zm12.05-46.1l5.56-21 10.82 2.87-5.55 21-8 25.41-8.6-2.28z",fill:"#FFF"}),f=r.createElement("path",{d:"M198.47 181.73a23.18 23.18 0 01-8.2 14.28c-9.2 7.58-24.24 6.67-32.46-2",stroke:"#4285F4",strokeMiterlimit:10,strokeWidth:15}),g=r.createElement("defs",null,r.createElement("clipPath",{id:"notification-alert_svg__clip0"},r.createElement("circle",{cx:150,cy:150,r:100})));t.a=function SvgNotificationAlert(e){return r.createElement("svg",i({viewBox:"0 0 300 300",fill:"none"},e),a,o,c,l,s,u,d,f,g)}},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(47),i=n(27);function a(t,n){var a,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===a&&(a=!!n.querySelector("script[".concat(i.b,"]"))),!a){var r=n.createElement("script");r.setAttribute(i.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),a=!0}}}}).call(this,n(18))},83:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),a=n(6),o=n.n(a),c=n(14),l=n.n(c),s=n(47),u=n(33);function d(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,a){var o=Object(s.a)(n);return function(){var n=l()(i.a.mark((function n(c,l,s,d){var g,m,p,v,b,h,O,_,E,y;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,b=t.referenceSiteURL,h=t.trackingEnabled,O=t.trackingID,_=t.userIDHash,h){n.next=3;break}return n.abrupt("return");case 3:return r(),E=null!==(g=null===(m=e._googlesitekitUserData)||void 0===m||null===(p=m.user)||void 0===p?void 0:p.roles)&&void 0!==g?g:[],y={send_to:O,event_category:c,event_label:s,value:d,dimension1:b,dimension2:E.join(","),dimension3:_,dimension4:"1.49.1",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){a.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),i=function(){clearTimeout(r),e()};o("event",l,f(f({},y),{},{event_callback:i})),(null===(t=a._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&i()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,i){return n.apply(this,arguments)}}()}}).call(this,n(18))},86:function(e,t,n){"use strict";var r=n(100);n.d(t,"a",(function(){return r.a}));var i=n(101);n.d(t,"c",(function(){return i.a}));var a=n(102);n.d(t,"b",(function(){return a.a}))},87:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(105),o=n(1),c=n(9);function ErrorText(t){var n=t.message,r=t.reconnectURL;if(!n)return null;var i=Object(o.sprintf)(
55
  /* translators: %s: Error message */
56
  Object(o.__)("Error: %s","google-site-kit"),n);r&&Object(a.a)(r)&&(i=i+" "+Object(o.sprintf)(
57
  /* translators: %s: Reconnect URL */
dist/assets/js/{googlesitekit-dashboard-details-a979d0c16dab04909bcf.js → googlesitekit-dashboard-details-7232d218bd8be05c4fdd.js} RENAMED
@@ -34,7 +34,7 @@ Object(u.__)("Congrats on completing the setup for %s!","google-site-kit"),A.set
34
  /* translators: %s: List of product names */
35
  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(f.n)(t));break;case"single":n=Object(l.sprintf)(
36
  /* translators: %1$s: Product name */
37
- 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"),t[0]);break;case"generic":n=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(d.a,{id:"authentication error",title:Object(l.__)("Site Kit can’t access necessary data","google-site-kit"),description:n,format:"small",type:"win-error",isDismissible:!1,ctaLink:s,ctaLabel:Object(l.__)("Redo setup","google-site-kit")})}}).call(this,n(18),n(3))},262:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(4),i=n.n(r),a=n(15),o=n(42),c=i.a.useSelect;function InternalServerError(){var t=c((function(e){return e(a.c).getInternalServerError()}));return t?e.createElement(o.a,t):null}}).call(this,n(3))},263:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardNavigation}));var i=n(23),a=n.n(i),o=n(12),c=n.n(o),l=n(158),s=n(103),u=n(200),d=n.n(u),f=n(2),g=n(1),m=n(4),p=n.n(m),v=n(264),b=n(265),h=n(266),O=n(267),_=n(16),E=n(35),y=n(75),k=n(134),j=n(99),S=n(114);function w(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 N(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 N(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 N(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 C=p.a.useSelect;function DashboardNavigation(){var t=Object(k.b)(),n=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_TRAFFIC:y.CONTEXT_ENTITY_DASHBOARD_TRAFFIC)})),i=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_CONTENT:y.CONTEXT_ENTITY_DASHBOARD_CONTENT)})),o=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_SPEED:y.CONTEXT_ENTITY_DASHBOARD_SPEED)})),u=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_MONETIZATION:y.CONTEXT_ENTITY_DASHBOARD_MONETIZATION)})),m=Object(j.a)(),p=Object(f.useState)(e.location.hash.substring(1)),N=c()(p,2),T=N[0],A=N[1],D=Object(f.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.scrollTo({top:i!==_.d?Object(S.a)("#".concat(i),m):0,behavior:"smooth"})}),[m]);return Object(s.a)((function(){var t=e.location.hash;t&&setTimeout((function(){e.scrollTo({top:t.substring(1)!==_.d?Object(S.a)(t,m):0,behavior:"smooth"})}),25)})),Object(f.useEffect)((function(){var t=d()((function(){var t,r,c,l,s,d,f=null===(t=document.querySelector(".googlesitekit-entity-header"))||void 0===t||null===(r=t.getBoundingClientRect())||void 0===r?void 0:r.bottom,g=null===(c=document.querySelector(".googlesitekit-navigation"))||void 0===c||null===(l=c.getBoundingClientRect())||void 0===l?void 0:l.bottom,m=[].concat(a()(n?[_.d]:[]),a()(i?[_.a]:[]),a()(o?[_.c]:[]),a()(u?[_.b]:[])),p=_.d,v=w(m);try{for(v.s();!(d=v.n()).done;){var b=d.value,h=document.getElementById(b);if(h){var O=h.getBoundingClientRect().top-20-(f||g||0);O<0&&(void 0===s||s<O)&&(s=O,p=b)}}}catch(e){v.e(e)}finally{v.f()}var E=e.location.hash;p!==(null==E?void 0:E.substring(1))&&(e.history.replaceState({},"","#".concat(p)),A(p))}),50);return e.addEventListener("scroll",t),t(),function(){e.removeEventListener("scroll",t)}}),[n,i,o,u]),r.createElement("div",{className:"googlesitekit-navigation mdc-chip-set"},n&&r.createElement(l.Chip,{id:_.d,label:Object(g.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"16"}),onClick:D,selected:T===_.d,"data-context-id":_.d}),i&&r.createElement(l.Chip,{id:_.a,label:Object(g.__)("Content","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"18"}),onClick:D,selected:T===_.a,"data-context-id":_.a}),o&&r.createElement(l.Chip,{id:_.c,label:Object(g.__)("Speed","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"20",height:"16"}),onClick:D,selected:T===_.c,"data-context-id":_.c}),u&&r.createElement(l.Chip,{id:_.b,label:Object(g.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(O.a,{width:"18",height:"16"}),onClick:D,selected:T===_.b,"data-context-id":_.b}))}}).call(this,n(18),n(3))},264:function(e,t,n){"use strict";var r=n(2);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)}},265:function(e,t,n){"use strict";var r=n(2);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)}},266:function(e,t,n){"use strict";var r=n(2);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)}},267:function(e,t,n){"use strict";var r=n(2);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)}},268:function(e,t,n){"use strict";(function(e,r){var i=n(12),a=n.n(i),o=n(10),c=n.n(o),l=n(315),s=n(200),u=n.n(s),d=n(1),f=n(2),g=n(4),m=n.n(g),p=n(24),v=n(16),b=n(21),h=n(15),O=n(269),_=n(36),E=n(22),y=n(49),k=m.a.useSelect,j=m.a.useDispatch;t.a=function EntityHeader(){var t=Object(f.useContext)(p.b),n=k((function(e){return e(h.c).getCurrentEntityTitle()})),i=k((function(e){return e(h.c).getCurrentEntityURL()})),o=Object(f.useRef)(),s=Object(f.useState)(i),g=a()(s,2),m=g[0],S=g[1];Object(f.useEffect)((function(){var t=function(){if(o.current){var t=o.current.clientWidth-40,n=e.getComputedStyle(o.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);S(Object(y.e)(i,r))}},n=u()(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[i,o,S]);var w=j(_.a).navigateTo,N=k((function(e){return e(h.c).getAdminURL("googlesitekit-dashboard")})),C=Object(f.useCallback)((function(){w(N)}),[N,w]),T=Object(l.a)().y;return v.k!==t||null===i||null===n?null:r.createElement("div",{className:c()("googlesitekit-entity-header",{"googlesitekit-entity-header--has-scrolled":T>1})},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(b.a,{icon:r.createElement(O.a,{width:24,height:24}),"aria-label":Object(d.__)("Back to dashboard","google-site-kit"),onClick:C,text:!0},Object(d.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:o,className:"googlesitekit-entity-header__details"},r.createElement("p",null,n),r.createElement(E.a,{href:i,"aria-label":i,external:!0,inherit:!0},m)))}}).call(this,n(18),n(3))},269:function(e,t,n){"use strict";var r=n(2);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)}},27: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"},270:function(e,t,n){"use strict";var r=n(2);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)}},272:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var r=n(10),i=n.n(r),a=n(0),o=n.n(a),c=n(8);function PageHeader(t){var n=t.title,r=t.icon,a=t.className,o=t.status,l=t.statusText,s=t.fullWidth,u=t.children,d=s?{size:12}:{smSize:4,mdSize:4,lgSize:6},f=""!==o||Boolean(u);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement(c.l,null,n&&e.createElement(c.a,d,r,e.createElement("h1",{className:i()("googlesitekit-page-header__title",a)},n)),f&&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))},l),u))))}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(3))},273:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return p.a}));var r=n(12),i=n.n(r),a=n(23),o=n.n(a),c=n(106),l=n(297);function s(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 u(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function d(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var a=0,o=0,d=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(Object(l.a)(t[m.slug]))return n.push(0),void r.push(o);var v=u(a,m),b=function(e,t,n){for(;++e<t.length;)if(!Object(l.a)(n[t[e].slug]))return t[e];return null}(p,e,t);null!==b&&0!==u(v.sort(d)[0].counter,b).filter(g).length||v.some(g)&&(v=(v=v.sort(f)).filter(g));var h=v[0].width;if(r.push(o),(a+=c.c[h])>12){if(a-=c.c[h],r[p]++,9===a){var O=s(n,a),_=i()(O,2);n=_[0],a=_[1]}a=c.c[h],o++}else 12===a&&(a=0,o++);n.push(c.c[h])})),9===a){var m=s(n,a),p=i()(m,2);n=p[0],a=p[1]}return{columnWidths:n,rowIndexes:r}}var f=n(208),g=n.n(f);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,v;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,v=i[o+1],p===v&&g()(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(213)},292: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(19),o=n.n(a),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(123);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(3))},293: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(17),o=n.n(a),c=n(0),l=n.n(c),s=n(199);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(3))},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetActivateModuleCTA}));var r=n(6),i=n.n(r),a=n(19),o=n.n(a),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(133);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 WidgetActivateModuleCTA(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))}WidgetActivateModuleCTA.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(3))},295:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetCompleteModuleActivationCTA}));var r=n(6),i=n.n(r),a=n(19),o=n.n(a),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(132);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 WidgetCompleteModuleActivationCTA(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))}WidgetCompleteModuleActivationCTA.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(3))},296: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(0),o=n.n(a),c=n(124),l=n(125);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(3))},297:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(125);function i(e){return!!e&&e.Component===r.a}},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n(81),i=e._googlesitekitBaseData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,l=i.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:i.trackingID,referenceSiteURL:i.referenceSiteURL,userIDHash:i.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),m=u.trackEvent;function p(e){e?d():f()}c&&l&&g()}).call(this,n(18))},301:function(e,t,n){"use strict";(function(e){var t=n(120),r=n(33),i=n(53),a=n(9),o=n(203),c=n(204),l=n(205),s=n(207),u=Object(a.j)("notification"),d=Object(i.a)(e.createElement(o.a,null)),f=Object(i.a)(e.createElement(c.a,null)),g=Object(i.a)(e.createElement(l.a,null)),m=Object(i.a)(e.createElement(s.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",g,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",m,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},31:function(e,t,n){"use strict";n.d(t,"u",(function(){return i})),n.d(t,"i",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"k",(function(){return c})),n.d(t,"l",(function(){return l})),n.d(t,"j",(function(){return s})),n.d(t,"q",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return p})),n.d(t,"g",(function(){return v})),n.d(t,"f",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"o",(function(){return O})),n.d(t,"p",(function(){return _})),n.d(t,"n",(function(){return E})),n.d(t,"s",(function(){return y})),n.d(t,"t",(function(){return k})),n.d(t,"r",(function(){return j}));var r=n(16),i="modules/idea-hub",a="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",l="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",g="IDEA_HUB_ACTIVITY_IS_DELETING",m="IDEA_HUB_ACTIVITY_DELETED",p="IDEA_HUB_ACTIVITY_IS_PINNING",v="IDEA_HUB_ACTIVITY_PINNED",b="IDEA_HUB_ACTIVITY_IS_UNPINNING",h="IDEA_HUB_ACTIVITY_UNPINNED",O="".concat(r.g,"_idea-hub-widget"),_="".concat(r.o,"_idea-hub-saved-ideas-notification"),E="".concat(r.l,"_idea-hub"),y="new-ideas",k="saved-ideas",j="draft-ideas"},311:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(12),i=n.n(r),a=n(290),o=n(10),c=n.n(o),l=n(2),s=n(72),u=n(1),d=n(4),f=n.n(d),g=n(353),m=n(13),p=n(144),v=n(56),b=n(24),h=n(143),O=n(21),_=n(9),E=n(65),y=n(58),k=f.a.useSelect,j=f.a.useDispatch;function DateRangeSelector(){var t,n=Object(E.a)("unifiedDashboard"),r=Object(v.c)(),o=k((function(e){return e(m.a).getDateRange()})),d=j(m.a).setDateRange,f=j(y.a).resetInViewHook,S=Object(l.useState)(!1),w=i()(S,2),N=w[0],C=w[1],T=Object(l.useRef)(),A=Object(l.useContext)(b.b);Object(a.a)(T,(function(){return C(!1)})),Object(p.a)([s.c,s.d],T,(function(){return C(!1)}));var D=Object(l.useCallback)((function(){C(!N)}),[N]),x=Object(l.useCallback)((function(e){var t=Object.values(r)[e].slug;o!==t&&Object(_.v)("".concat(A,"_headerbar"),"change_daterange",t),f(),d(t),C(!1)}),[r,o,f,d,A]),R=null===(t=r[o])||void 0===t?void 0:t.label,L=Object.values(r).map((function(e){return e.label}));return e.createElement("div",{ref:T,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(O.a,{className:c()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu","googlesitekit-border-radius-round--phone","googlesitekit-button-icon--phone",{"googlesitekit-header__date-range-selector-menu--has-unified-dashboard":n}),text:!0,onClick:D,icon:e.createElement(g.a,{width:"20",height:"20"}),"aria-haspopup":"menu","aria-expanded":N,"aria-controls":"date-range-selector-menu",title:Object(u.__)("Date range","google-site-kit"),tooltip:!0},R),e.createElement(h.a,{menuOpen:N,menuItems:L,onSelected:x,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(3))},33: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(18))},34:function(e,t){e.exports=googlesitekit.api},342:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(12),i=n.n(r),a=n(0),o=n.n(a),c=n(191),l=n(2),s=n(1),u=n(72),d=n(34),f=n.n(d),g=n(4),m=n.n(g),p=n(343),v=n(65),b=n(15),h=m.a.useSelect;function PostSearcherAutoSuggest(t){var n=t.id,r=t.match,a=t.setMatch,o=t.isLoading,d=t.showDropdown,g=void 0===d||d,m=t.setIsLoading,O=t.setIsActive,_=void 0===O?function(){}:O,E=t.autoFocus,y=t.setCanSubmit,k=void 0===y?function(){}:y,j=t.onClose,S=void 0===j?function(){}:j,w=t.placeholder,N=void 0===w?"":w,C=Object(l.useState)(""),T=i()(C,2),A=T[0],D=T[1],x=null==r?void 0:r.post_title,R=Object(p.a)(A,A===x?0:200),L=Object(l.useState)([]),P=i()(L,2),M=P[0],I=P[1],z=Object(s.__)("No results found","google-site-kit"),H=Object(v.a)("unifiedDashboard"),B=h((function(e){return e(b.c).getCurrentEntityTitle()})),q=Object(l.useRef)(null),F=Object(l.useCallback)((function(){_(!0)}),[_]),U=Object(l.useCallback)((function(e){var t,n,r;(null===(t=e.relatedTarget)||void 0===t?void 0:t.classList.contains("autocomplete__option--result"))||(_(!1),D(null!==(n=null!==(r=q.current)&&void 0!==r?r:B)&&void 0!==n?n:""))}),[B,_]),W=Object(l.useCallback)((function(e){if(Array.isArray(M)&&e!==z){var t=M.find((function(t){return t.post_title.toLowerCase()===e.toLowerCase()}));t?(q.current=t.post_title,k(!0),a(t),D(t.post_title)):q.current=null}else q.current=null,k(!1)}),[M,k,a,z,D]),V=Object(l.useCallback)((function(e){k(!1),D(e.target.value)}),[k]);Object(l.useEffect)((function(){if(""!==R&&R!==B&&(null==R?void 0:R.toLowerCase())!==(null==x?void 0:x.toLowerCase())){null==m||m(!0);var e="undefined"==typeof AbortController?void 0:new AbortController;return f.a.get("core","search","post-search",{query:encodeURIComponent(R)},{useCache:!1,signal:null==e?void 0:e.signal}).then((function(e){return I(e)})).catch((function(){return I([])})).finally((function(){return null==m?void 0:m(!1)})),function(){return null==e?void 0:e.abort()}}}),[R,m,B,x]),Object(l.useEffect)((function(){A||I([])}),[A]),Object(l.useEffect)((function(){B&&D(B)}),[B]);var K=Object(l.useCallback)((function(e){if(H)return e.keyCode===u.c?S():e.keyCode===u.b?W(A):void 0}),[S,W,A,H]);return e.createElement(c.a,{className:"autocomplete__wrapper",onSelect:W},e.createElement(c.b,{id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onBlur:U,onChange:V,onFocus:F,placeholder:N,onKeyDown:K,value:A,autoFocus:E}),(!H||!o)&&g&&R!==B&&""!==R&&0===M.length&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(c.d,{value:z,className:"autocomplete__option autocomplete__option--no-results"}))),g&&""!==R&&R!==B&&M.length>0&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},M.map((function(t){var n=t.ID,r=t.post_title;return e.createElement(c.d,{key:n,value:r,className:"autocomplete__option autocomplete__option--result"})})))))}PostSearcherAutoSuggest.propTypes={id:o.a.string,match:o.a.object,setCanSubmit:o.a.func,setMatch:o.a.func,isLoading:o.a.bool,setIsLoading:o.a.func,onKeyDown:o.a.func,autoFocus:o.a.bool,placeholder:o.a.string}}).call(this,n(3))},343:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(12),i=n.n(r),a=n(2);function o(e,t){var n=Object(a.useState)(e),r=i()(n,2),o=r[0],c=r[1];return Object(a.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),o}},348:function(e,t,n){"use strict";(function(e){var r=n(44),i=n.n(r),a=n(45),o=n.n(a),c=n(67),l=n.n(c),s=n(68),u=n.n(s),d=n(46),f=n.n(d),g=n(0),m=n.n(g),p=n(2),v=n(8),b=n(22);function h(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()(LayoutHeader,t);var n=h(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.ctaLabel,i=t.ctaLink,a=i?{alignMiddle:!0,smSize:4,lgSize:6}:{alignMiddle:!0,smSize:4,mdSize:8,lgSize:12};return e.createElement("header",{className:"googlesitekit-layout__header"},e.createElement(v.b,null,e.createElement(v.l,null,n&&e.createElement(v.a,a,e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n)),i&&e.createElement(v.a,{alignMiddle:!0,mdAlignRight:!0,smSize:4,lgSize:6},e.createElement(b.a,{href:i,external:!0,inherit:!0},r)))))}}]),LayoutHeader}(p.Component);O.propTypes={title:m.a.string,ctaLabel:m.a.string,ctaLink:m.a.string},O.defaultProps={title:"",ctaLabel:"",ctaLink:""},t.a=O}).call(this,n(3))},349:function(e,t,n){"use strict";(function(e){var r=n(44),i=n.n(r),a=n(45),o=n.n(a),c=n(67),l=n.n(c),s=n(68),u=n.n(s),d=n(46),f=n.n(d),g=n(0),m=n.n(g),p=n(2),v=n(8),b=n(94);function h(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()(LayoutFooter,t);var n=h(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(v.b,null,e.createElement(v.l,null,e.createElement(v.a,{size:12},r&&n&&e.createElement(b.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),i))))}}]),LayoutFooter}(p.Component);O.propTypes={ctaLabel:m.a.string,ctaLink:m.a.string},t.a=O}).call(this,n(3))},35: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"},350:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(6),i=n.n(r),a=n(12),o=n.n(a),c=n(0),l=n.n(c),s=n(10),u=n.n(s),d=n(364),f=n(2),g=n(4),m=n.n(g),p=n(106),v=n(35),b=n(351),h=n(273),O=n(8),_=n(352),E=n(140),y=n(65),k=m.a.useSelect;function WidgetAreaRenderer(t){var n=t.slug,r=t.totalAreas,a=Object(y.a)("unifiedDashboard"),c=Object(f.useRef)(),l=Object(d.a)(c,{rootMargin:"0px",threshold:0}),s=k((function(e){return e(v.a).getWidgetArea(n)})),g=k((function(e){return e(v.a).getWidgets(n)})),m=k((function(e){return e(v.a).getWidgetStates()})),j=k((function(e){return e(v.a).isWidgetAreaActive(n)})),S=Object(f.useState)({key:"WidgetAreaRenderer-".concat(n),value:!!(null==l?void 0:l.intersectionRatio)}),w=o()(S,2),N=w[0],C=w[1];Object(f.useEffect)((function(){C({key:"WidgetAreaRenderer-".concat(n),value:!!(null==l?void 0:l.intersectionRatio)})}),[l,n]);var T,A=Object(h.c)(g,m),D=A.columnWidths,x=A.rowIndexes,R=Object(h.a)(g,m,{columnWidths:D,rowIndexes:x}),L=R.gridColumnWidths,P=R.overrideComponents,M=g.map((function(t,n){return e.createElement(_.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:L[n]},e.createElement(b.a,{OverrideComponent:P[n]?function(){var t=P[n],r=t.Component,i=t.metadata;return e.createElement(r,i)}:void 0,slug:t.slug}))})),I=s.Icon,z=s.title,H=s.style,B=s.subtitle;return j?e.createElement(E.a,{value:N},e.createElement(O.b,{className:u()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(n),"googlesitekit-widget-area--".concat(H)),ref:c},(a||r>1)&&e.createElement(O.l,null,e.createElement(O.a,{className:"googlesitekit-widget-area-header",size:12},I&&e.createElement(I,{width:33,height:33}),z&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},z),B&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},B))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(O.l,null,H===v.b.BOXES&&M,H===v.b.COMPOSITE&&e.createElement(O.a,{size:12},e.createElement(O.b,null,e.createElement(O.l,null,M))))))):e.createElement(O.b,{className:u()(p.a,"googlesitekit-widget-area",(T={},i()(T,"googlesitekit-widget-area--".concat(n),!!n),i()(T,"googlesitekit-widget-area--".concat(H),!!H),T)),ref:c},M)}WidgetAreaRenderer.propTypes={slug:l.a.string.isRequired}}).call(this,n(3))},351:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(35),s=n(229),u=n(273),d=n(106),f=c.a.useSelect,g=function WidgetRenderer(t){var n=t.slug,r=t.OverrideComponent,i=f((function(e){return e(l.a).getWidget(n)})),o=Object(u.b)(n),c=o.Widget,g=o.WidgetNull;if(!i)return e.createElement(g,null);var m=i.Component,p=i.wrapWidget,v=e.createElement(m,o);return r?v=e.createElement(a.Fragment,null,e.createElement(s.a,{widgetSlug:"overridden"},e.createElement(r,null)),e.createElement("div",{className:d.a},v)):p&&(v=e.createElement(c,null,v)),v};g.propTypes={slug:i.a.string.isRequired,OverrideComponent:i.a.elementType},t.a=g}).call(this,n(3))},352:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(106),o=n(8),c=function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:a.a},r):n<6?e.createElement(o.a,{lgSize:n,mdSize:4,smSize:2},r):n<8?e.createElement(o.a,{lgSize:n,mdSize:8},r):e.createElement(o.a,{size:n},r)};c.propTypes={gridColumnWidth:i.a.number.isRequired,children:i.a.element.isRequired},t.a=c}).call(this,n(3))},353:function(e,t,n){"use strict";var r=n(2);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 9H4v2h2V9zm4 0H8v2h2V9zm4 0h-2v2h2V9zm2-7h-1V0h-2v2H5V0H3v2H2C.89 2 .01 2.9.01 4L0 18a2 2 0 002 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 16H2V7h14v11z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgDateRange(e){return r.createElement("svg",i({viewBox:"0 0 18 20"},e),a)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},38:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},39:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return O}));var r=n(5),i=n.n(r),a=n(14),o=n.n(a);n(23);function c(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 l(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 l(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 l(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 s,u="googlesitekit_".concat("1.49.0","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=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 m(){return p.apply(this,arguments)}function p(){return(p=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===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(a=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(a);case 11:if(!t.sent){t.next=13;break}s=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===s&&(s=null),t.abrupt("return",s);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,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).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)}}(),b=function(){var t=o()(i.a.mark((function t(n,r){var a,o,c,l,s,d,f,g,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,c=void 0===o?3600:o,l=a.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=a.isError,f=void 0!==d&&d,t.next=3,m();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),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)}}(),h=function(){var t=o()(i.a.mark((function t(n){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));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,m();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(u)&&r.push(o.substring(u.length));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)}}()}).call(this,n(18))},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e,r){var i=n(6),a=n.n(i),o=n(5),c=n.n(o),l=n(14),s=n.n(l),u=n(12),d=n.n(u),f=n(0),g=n.n(f),m=n(10),p=n.n(m),v=n(231),b=n.n(v),h=n(103),O=n(2),_=n(88),E=n(8),y=n(114),k=n(49),j=n(60),S=n(74),w=n(21),N=n(155),C=n(116),T=n(22),A=n(121),D=n(39),x=n(9),R=n(16),L=n(99);function BannerNotification(t){var n,i=t.anchorLink,o=t.anchorLinkLabel,l=t.blockData,u=t.children,f=t.className,g=t.ctaLabel,m=t.ctaLink,v=t.ctaTarget,P=t.description,M=t.dismiss,I=t.dismissExpires,z=t.format,H=t.id,B=t.isDismissible,q=t.learnMoreDescription,F=t.learnMoreLabel,U=t.learnMoreURL,W=t.logo,V=t.module,K=t.moduleName,X=t.onCTAClick,G=t.onDismiss,Y=t.pageIndex,Q=t.showOnce,$=t.SmallImageSVG,Z=t.title,J=t.type,ee=t.WinImageSVG,te=Object(O.useState)(!1),ne=d()(te,2),re=ne[0],ie=ne[1],ae=Object(O.useState)(!1),oe=d()(ae,2),ce=oe[0],le=oe[1],se=Object(O.useRef)(),ue="notification::dismissed::".concat(H),de=function(){return Object(D.d)(ue,new Date,{ttl:null})},fe=Object(L.a)();function ge(){return(ge=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(x.v)("".concat(R.g,"_site-notification"),"dismiss_notification",H);case 4:if(!G){e.next=7;break}return e.next=7,G(t);case 7:me();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function me(){var e=se.current;ie(!0),setTimeout(s()(c.a.mark((function t(){var n;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,de();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function pe(){return(pe=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(x.v)("".concat(R.g,"_site-notification"),"confirm_notification",H);case 3:if(!X){e.next=6;break}return e.next=6,X(t);case 6:B&&me();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(h.a)(s()(c.a.mark((function e(){var t,n;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(x.v)("".concat(R.g,"_site-notification"),"view_notification",H);case 2:if(!(I>0)){e.next=5;break}return e.next=5,he();case 5:if(!B){e.next=11;break}return e.next=8,Object(D.b)(ue);case 8:t=e.sent,n=t.cacheHit,le(n);case 11:if(!Q){e.next=14;break}return e.next=14,de();case 14:case"end":return e.stop()}}),e)}))));var ve=Object(O.useCallback)((function(t){Object(k.c)(i)&&(t.preventDefault(),e.history.replaceState({},"",i),e.scrollTo({top:Object(y.a)(i,fe),behavior:"smooth"}))}),[i,fe]);function be(){return(be=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(x.v)("".concat(R.g,"_site-notification"),"click_learn_more_link",H);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(){return Oe.apply(this,arguments)}function Oe(){return(Oe=s()(c.a.mark((function e(){var t,n,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(D.b)(ue);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(I,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(D.a)(ue);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(B&&(void 0===ce||ce))return null;var _e,Ee,ye=re?"is-closed":"is-open",ke="large"===z&&"win-stats-increase"===J;_e="large"===z?ke?{mdSize:5,lgSize:8,smOrder:2,mdOrder:1}:{mdSize:6,lgSize:8,smOrder:2,mdOrder:1}:"small"===z?{smSize:3,mdSize:7,lgSize:11}:{size:12},Ee="win-warning"===J?r.createElement(N.a,{width:34}):"win-error"===J?r.createElement(C.a,{width:28}):"";var je=r.createElement(O.Fragment,null,l&&r.createElement(E.l,null,b()(l,(function(e,t){return r.createElement(E.a,{key:t,lgSize:ke?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(S.a,e)))})))),Se=r.createElement(O.Fragment,null,Z&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},Z),i&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(T.a,{href:i,onClick:ve},o)),P&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(O.isValidElement)(P)?P:r.createElement("span",{dangerouslySetInnerHTML:Object(j.a)(P,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),F&&r.createElement(O.Fragment,null," ",r.createElement(T.a,{onClick:function(e){return be.apply(this,arguments)},href:U,external:!0,inherit:!0},F),q),Y&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},Y))),u),we=V?r.createElement(A.a,{slug:V,size:19}):r.createElement(_.a,{height:"34",width:"32"}),Ne=ke?{size:12,smOrder:2,mdOrder:1}:{size:12};return r.createElement("section",{id:H,ref:se,className:p()(f,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(z),z),a()(n,"googlesitekit-publisher-win--".concat(J),J),a()(n,"googlesitekit-publisher-win--".concat(ye),ye),n))},r.createElement(E.b,null,r.createElement(E.l,null,W&&r.createElement(E.a,Ne,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},we),K&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},K)),$&&r.createElement(E.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement($,null)),r.createElement(E.a,_e,ke?r.createElement(E.l,null,r.createElement(E.a,{mdSize:8,lgSize:5},Se),r.createElement(E.a,{alignBottom:!0,mdSize:8,lgSize:7},je)):r.createElement(O.Fragment,null,Se,je),m&&r.createElement(w.a,{className:"googlesitekit-notification__cta",href:m,target:v,onClick:function(e){return pe.apply(this,arguments)}},g),B&&M&&r.createElement(T.a,{onClick:function(e){return ge.apply(this,arguments)}},M)),ee&&r.createElement(E.a,{mdSize:2,lgSize:4,smOrder:1,mdOrder:2},r.createElement("div",{className:"googlesitekit-publisher-win__image-large"},r.createElement(ee,null))),("win-error"===J||"win-warning"===J)&&r.createElement(E.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},Ee)))))}BannerNotification.propTypes={id:g.a.string.isRequired,className:g.a.string,title:g.a.string.isRequired,description:g.a.node,learnMoreURL:g.a.string,learnMoreDescription:g.a.string,learnMoreLabel:g.a.string,blockData:g.a.array,WinImageSVG:g.a.elementType,SmallImageSVG:g.a.elementType,format:g.a.string,ctaLink:g.a.string,ctaLabel:g.a.string,type:g.a.string,dismiss:g.a.string,isDismissible:g.a.bool,logo:g.a.bool,module:g.a.string,moduleName:g.a.string,pageIndex:g.a.string,dismissExpires:g.a.number,showOnce:g.a.bool,onCTAClick:g.a.func,onDismiss:g.a.func,anchorLink:g.a.string,anchorLinkLabel:g.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(18),n(3))},444:function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(103),o=n(410),c=n(127),l=n(2),s=n(1),u=n(4),d=n.n(u),f=n(21),g=n(61),m=n(54),p=n(445),v=n(446),b=n(342),h=n(24),O=n(15),_=n(16),E=n(36),y=n(9),k=d.a.useSelect,j=d.a.useDispatch;t.a=function EntitySearchInput(){var t=Object(c.a)(EntitySearchInput,"EntitySearchInput"),n=Object(l.useState)(!1),r=i()(n,2),u=r[0],d=r[1],S=Object(l.useState)(!1),w=i()(S,2),N=w[0],C=w[1],T=Object(l.useState)(!1),A=i()(T,2),D=A[0],x=A[1],R=Object(l.useRef)(),L=Object(l.useCallback)((function(){d(!0)}),[]),P=Object(l.useCallback)((function(){d(!1)}),[]),M=Object(l.useState)({}),I=i()(M,2),z=I[0],H=I[1],B=Object(l.useContext)(h.b),q=k((function(e){return(null==z?void 0:z.permalink)?e(O.c).getAdminURL("googlesitekit-dashboard",{permaLink:z.permalink}):null})),F=j(E.a).navigateTo;return Object(l.useEffect)((function(){q&&Object(y.v)("".concat(B,"_headerbar"),"open_urldetails").finally((function(){F(q)}))}),[q,F,B]),Object(a.a)((function(){B===_.k&&d(!0)})),Object(o.a)((function(){var e;u||(null==R||null===(e=R.current)||void 0===e||e.focus())}),[u]),u?e.createElement("div",{className:"googlesitekit-entity-search googlesitekit-entity-search--is-open"},e.createElement(m.a,null,e.createElement("label",{htmlFor:t},Object(s.__)("Page/URL Search","google-site-kit"))),e.createElement(b.a,{id:t,match:z,setIsActive:x,setMatch:H,placeholder:Object(s.__)("Enter title or URL…","google-site-kit"),isLoading:N,setIsLoading:C,showDropdown:D,onClose:P,autoFocus:!0}),N&&D&&e.createElement(g.a,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(f.a,{onClick:P,trailingIcon:e.createElement(v.a,{width:"30",height:"20"}),className:"googlesitekit-entity-search__close",title:Object(s.__)("Close","google-site-kit"),text:!0,tooltip:!0}))):e.createElement("div",{className:"googlesitekit-entity-search"},e.createElement(f.a,{className:"googlesitekit-border-radius-round--phone googlesitekit-button-icon--phone",onClick:L,text:!0,ref:R,title:Object(s.__)("Search","google-site-kit"),trailingIcon:e.createElement(p.a,{width:"20",height:"20"}),tooltip:!0},Object(s.__)("URL Search","google-site-kit")))}}).call(this,n(3))},445:function(e,t,n){"use strict";var r=n(2);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:"M16 9.5c0 1.407-.45 2.714-1.218 3.783L20.49 19 19 20.49l-5.717-5.708A6.463 6.463 0 019.5 16 6.5 6.5 0 1116 9.5zm-11 0C5 11.99 7.01 14 9.5 14S14 11.99 14 9.5 11.99 5 9.5 5 5 7.01 5 9.5z",fill:"currentColor"});t.a=function SvgMagnifyingGlass(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},446:function(e,t,n){"use strict";var r=n(2);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:"M15.833 5.342l-1.175-1.175L10 8.825 5.342 4.167 4.167 5.342 8.825 10l-4.658 4.658 1.175 1.175L10 11.175l4.658 4.658 1.175-1.175L11.175 10l4.658-4.658z",fill:"currentColor"});t.a=function SvgCloseDark(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(27);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},49:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(105);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){return/^#\w[A-Za-z0-9-_]*$/.test(e)}function l(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)}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),i=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},54:function(e,t,n){"use strict";(function(e){var r=n(19),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n.n(c),s=n(10),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(3))},56:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",i='Invalid date range, it must be a string with the format "last-x-days".',a=n(7),o=n.n(a),c=n(37),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(38),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),i=n[0],a=n[1],c=n[2];return new Date(i,a-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function p(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
38
  /* translators: %s: number of days */
39
  Object(v._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}}}},57:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(1),o=n(202),c=n(330),l=n(21),s=n(88),u=function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.a,{"aria-label":Object(a.__)("Dismiss","google-site-kit"),icon:e.createElement(o.a,{icon:c.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))};u.propTypes={title:i.a.string.isRequired,dismissSurvey:i.a.func.isRequired},t.a=u}).call(this,n(3))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/ui"},584:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardDetailsHeader}));var r=n(2),i=n(126),a=n(1),o=n(4),c=n.n(o),l=n(9),s=n(22),u=n(272),d=n(54),f=n(210),g=n(86),m=n(15),p=c.a.useSelect;function DashboardDetailsHeader(){var t=p((function(e){return e(m.c).getAdminURL("googlesitekit-dashboard")})),n=p((function(e){return e(m.c).getCurrentEntityURL()})),o=p((function(e){return e(m.c).getCurrentEntityTitle()})),c=p((function(e){return e(m.c).getPermaLinkParam()}));return e.createElement(r.Fragment,null,e.createElement(s.a,{href:t,inherit:!0,back:!0,small:!0},Object(a.__)("Back to the Site Kit Dashboard","google-site-kit")),e.createElement(u.a,{title:Object(a.__)("Detailed Page Stats","google-site-kit"),className:" googlesitekit-heading-2 googlesitekit-dashboard-single-url__heading ",fullWidth:!0}),e.createElement(f.a,{className:"googlesitekit-dashboard-single-url__entity-header"},e.createElement(g.b,null,e.createElement(g.c,null,e.createElement(g.a,{size:12},n&&e.createElement(r.Fragment,null,e.createElement("h3",{className:" googlesitekit-heading-3 googlesitekit-dashboard-single-url__title "},o&&Object(l.e)(o)),e.createElement(s.a,{href:n,inherit:!0,external:!0},n)),!n&&e.createElement("p",null,Object(i.a)(Object(a.sprintf)(
40
  /* translators: %s: current entity URL. */
@@ -53,7 +53,7 @@ Object(m.__)("%sK","google-site-kit"),k(O(e),e%10==0?{}:t)):k(e,{signDisplay:"ne
53
  /* translators: %d is the number of notifications */
54
  Object(a._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===i&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,a={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=i()(r.value,2),s=l[0],d=l[1];a[s]=d}}catch(e){c.e(e)}finally{c.f()}return a}}).call(this,n(18))},79:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},8:function(e,t,n){"use strict";var r=n(84),i=n.n(r);n.d(t,"n",(function(){return i.a})),n.d(t,"c",(function(){return r.HelperText})),n.d(t,"d",(function(){return r.Input}));var a=n(187);n.d(t,"i",(function(){return a.a}));var o=n(239);n.d(t,"f",(function(){return o.a}));var c=n(240);n.d(t,"h",(function(){return c.a}));var l=n(104),s=n.n(l);n.d(t,"m",(function(){return s.a})),n.d(t,"k",(function(){return l.Option}));var u=n(241);n.d(t,"j",(function(){return u.a}));var d=n(238);n.d(t,"e",(function(){return d.a}));var f=n(237);n.d(t,"g",(function(){return f.a}));var g=n(86);n.d(t,"a",(function(){return g.a})),n.d(t,"b",(function(){return g.b})),n.d(t,"l",(function(){return g.c}))},80:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(185),i=n(59),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){var t,n,r,i,a,o,c,l,s,u,d,f,g,m,p;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(i=e[0])||void 0===i||null===(a=i.data)||void 0===a||null===(o=a.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(m=g[0])||void 0===m||null===(p=m.values)||void 0===p?void 0:p[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),i=n.n(r),a=n(82),o=n(83);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 l(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}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(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=l(l({},s),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(i,n);return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:Object(o.a)(i,n,c,r)}}}).call(this,n(18))},819:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardDetailsApp}));var r=n(2),i=n(4),a=n.n(i),o=n(256),c=n(584),l=n(188),s=n(311),u=n(15),d=n(189),f=n(8),g=a.a.useSelect;function DashboardDetailsApp(){var t=g((function(e){return e(u.c).getAdminURL("googlesitekit-dashboard")})),n=g((function(e){return e(u.c).getCurrentEntityURL()}));return t?e.createElement(r.Fragment,null,e.createElement(l.a,null,e.createElement(d.a,null),n&&e.createElement(s.a,null)),n?e.createElement(o.a,{slug:"pageDashboard",className:"googlesitekit-module-page googlesitekit-dashboard-single-url",Header:c.a}):e.createElement("div",{className:"googlesitekit-widget-context googlesitekit-module-page googlesitekit-dashboard-single-url"},e.createElement(f.b,null,e.createElement(f.l,null,e.createElement(f.a,{size:12},e.createElement(c.a,null)))))):null}}).call(this,n(3))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(47),i=n(27);function a(t,n){var a,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===a&&(a=!!n.querySelector("script[".concat(i.b,"]"))),!a){var r=n.createElement("script");r.setAttribute(i.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),a=!0}}}}).call(this,n(18))},820:function(e,t,n){"use strict";(function(e){var r=n(10),i=n.n(r),a=n(2),o=n(126),c=n(1),l=n(4),s=n.n(l),u=n(188),d=n(75),f=n(256),g=n(444),m=n(311),p=n(189),v=n(16),b=n(15),h=n(22),O=n(54),_=n(8),E=n(272),y=n(210),k=n(35),j=s.a.useSelect;t.a=function DashboardEntityApp(){var t=j((function(e){return e(b.c).getCurrentEntityURL()})),n=j((function(e){return e(b.c).getPermaLinkParam()})),r=j((function(e){return e(b.c).getAdminURL("googlesitekit-dashboard")})),l=j((function(e){return e(k.a).isWidgetContextActive(d.CONTEXT_ENTITY_DASHBOARD_TRAFFIC)})),s=j((function(e){return e(k.a).isWidgetContextActive(d.CONTEXT_ENTITY_DASHBOARD_CONTENT)})),S=j((function(e){return e(k.a).isWidgetContextActive(d.CONTEXT_ENTITY_DASHBOARD_SPEED)})),w=null;return j((function(e){return e(k.a).isWidgetContextActive(d.CONTEXT_ENTITY_DASHBOARD_MONETIZATION)}))?w=v.b:S?w=v.c:s?w=v.a:l&&(w=v.d),null===t?e.createElement("div",{className:"googlesitekit-widget-context googlesitekit-module-page googlesitekit-dashboard-single-url"},e.createElement(_.b,null,e.createElement(_.l,null,e.createElement(_.a,{size:12},e.createElement(a.Fragment,null,e.createElement(h.a,{href:r,inherit:!0,back:!0,small:!0},Object(c.__)("Back to the Site Kit Dashboard","google-site-kit")),e.createElement(E.a,{title:Object(c.__)("Detailed Page Stats","google-site-kit"),className:"googlesitekit-heading-2 googlesitekit-dashboard-single-url__heading",fullWidth:!0}),e.createElement(y.a,{className:"googlesitekit-dashboard-single-url__entity-header"},e.createElement(_.b,null,e.createElement(_.l,null,e.createElement(_.a,{size:12},e.createElement("p",null,Object(o.a)(Object(c.sprintf)(
55
  /* translators: %s: current entity URL. */
56
- Object(c.__)("It looks like the URL %s is not part of this site or is not based on standard WordPress content types, therefore there is no data available to display. Visit our <link1>support forums</link1> or <link2><VisuallyHidden>Site Kit </VisuallyHidden>website</link2> for support or further information.","google-site-kit"),"<strong>".concat(n,"</strong>")),{strong:e.createElement("strong",null),link1:e.createElement(h.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0,inherit:!0}),link2:e.createElement(h.a,{href:"https://sitekit.withgoogle.com/documentation/troubleshooting/dashboard/#url-not-part-of-this-site",external:!0,inherit:!0}),VisuallyHidden:e.createElement(O.a,null)}))))))))))):e.createElement(a.Fragment,null,e.createElement(u.a,{showNavigation:!0},e.createElement(g.a,null),e.createElement(m.a,null),e.createElement(p.a,null)),e.createElement(f.a,{id:v.d,slug:d.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,className:i()({"googlesitekit-widget-context--last":w===v.d})}),e.createElement(f.a,{id:v.a,slug:d.CONTEXT_ENTITY_DASHBOARD_CONTENT,className:i()({"googlesitekit-widget-context--last":w===v.a})}),e.createElement(f.a,{id:v.c,slug:d.CONTEXT_ENTITY_DASHBOARD_SPEED,className:i()({"googlesitekit-widget-context--last":w===v.c})}),e.createElement(f.a,{id:v.b,slug:d.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,className:i()({"googlesitekit-widget-context--last":w===v.b})}))}}).call(this,n(3))},83:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),a=n(6),o=n.n(a),c=n(14),l=n.n(c),s=n(47),u=n(33);function d(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,a){var o=Object(s.a)(n);return function(){var n=l()(i.a.mark((function n(c,l,s,d){var g,m,p,v,b,h,O,_,E,y;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,b=t.referenceSiteURL,h=t.trackingEnabled,O=t.trackingID,_=t.userIDHash,h){n.next=3;break}return n.abrupt("return");case 3:return r(),E=null!==(g=null===(m=e._googlesitekitUserData)||void 0===m||null===(p=m.user)||void 0===p?void 0:p.roles)&&void 0!==g?g:[],y={send_to:O,event_category:c,event_label:s,value:d,dimension1:b,dimension2:E.join(","),dimension3:_,dimension4:"1.49.0",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){a.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),i=function(){clearTimeout(r),e()};o("event",l,f(f({},y),{},{event_callback:i})),(null===(t=a._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&i()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,i){return n.apply(this,arguments)}}()}}).call(this,n(18))},86:function(e,t,n){"use strict";var r=n(100);n.d(t,"a",(function(){return r.a}));var i=n(101);n.d(t,"c",(function(){return i.a}));var a=n(102);n.d(t,"b",(function(){return a.a}))},87:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(105),o=n(1),c=n(9);function ErrorText(t){var n=t.message,r=t.reconnectURL;if(!n)return null;var i=Object(o.sprintf)(
57
  /* translators: %s: Error message */
58
  Object(o.__)("Error: %s","google-site-kit"),n);r&&Object(a.a)(r)&&(i=i+" "+Object(o.sprintf)(
59
  /* translators: %s: Reconnect URL */
34
  /* translators: %s: List of product names */
35
  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(f.n)(t));break;case"single":n=Object(l.sprintf)(
36
  /* translators: %1$s: Product name */
37
+ 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"),t[0]);break;case"generic":n=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(d.a,{id:"authentication error",title:Object(l.__)("Site Kit can’t access necessary data","google-site-kit"),description:n,format:"small",type:"win-error",isDismissible:!1,ctaLink:s,ctaLabel:Object(l.__)("Redo setup","google-site-kit")})}}).call(this,n(18),n(3))},262:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(4),i=n.n(r),a=n(15),o=n(42),c=i.a.useSelect;function InternalServerError(){var t=c((function(e){return e(a.c).getInternalServerError()}));return t?e.createElement(o.a,t):null}}).call(this,n(3))},263:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardNavigation}));var i=n(23),a=n.n(i),o=n(12),c=n.n(o),l=n(158),s=n(103),u=n(200),d=n.n(u),f=n(2),g=n(1),m=n(4),p=n.n(m),v=n(264),b=n(265),h=n(266),O=n(267),_=n(16),E=n(35),y=n(75),k=n(134),j=n(99),S=n(114);function w(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 N(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 N(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 N(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 C=p.a.useSelect;function DashboardNavigation(){var t=Object(k.b)(),n=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_TRAFFIC:y.CONTEXT_ENTITY_DASHBOARD_TRAFFIC)})),i=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_CONTENT:y.CONTEXT_ENTITY_DASHBOARD_CONTENT)})),o=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_SPEED:y.CONTEXT_ENTITY_DASHBOARD_SPEED)})),u=C((function(e){return e(E.a).isWidgetContextActive(t===k.a?y.CONTEXT_MAIN_DASHBOARD_MONETIZATION:y.CONTEXT_ENTITY_DASHBOARD_MONETIZATION)})),m=Object(j.a)(),p=Object(f.useState)(e.location.hash.substring(1)),N=c()(p,2),T=N[0],A=N[1],D=Object(f.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.scrollTo({top:i!==_.d?Object(S.a)("#".concat(i),m):0,behavior:"smooth"})}),[m]);return Object(s.a)((function(){var t=e.location.hash;t&&setTimeout((function(){e.scrollTo({top:t.substring(1)!==_.d?Object(S.a)(t,m):0,behavior:"smooth"})}),25)})),Object(f.useEffect)((function(){var t=d()((function(){var t,r,c,l,s,d,f=null===(t=document.querySelector(".googlesitekit-entity-header"))||void 0===t||null===(r=t.getBoundingClientRect())||void 0===r?void 0:r.bottom,g=null===(c=document.querySelector(".googlesitekit-navigation"))||void 0===c||null===(l=c.getBoundingClientRect())||void 0===l?void 0:l.bottom,m=[].concat(a()(n?[_.d]:[]),a()(i?[_.a]:[]),a()(o?[_.c]:[]),a()(u?[_.b]:[])),p=_.d,v=w(m);try{for(v.s();!(d=v.n()).done;){var b=d.value,h=document.getElementById(b);if(h){var O=h.getBoundingClientRect().top-20-(f||g||0);O<0&&(void 0===s||s<O)&&(s=O,p=b)}}}catch(e){v.e(e)}finally{v.f()}var E=e.location.hash;p!==(null==E?void 0:E.substring(1))&&(e.history.replaceState({},"","#".concat(p)),A(p))}),50);return e.addEventListener("scroll",t),t(),function(){e.removeEventListener("scroll",t)}}),[n,i,o,u]),r.createElement("div",{className:"googlesitekit-navigation mdc-chip-set"},n&&r.createElement(l.Chip,{id:_.d,label:Object(g.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"16"}),onClick:D,selected:T===_.d,"data-context-id":_.d}),i&&r.createElement(l.Chip,{id:_.a,label:Object(g.__)("Content","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"18"}),onClick:D,selected:T===_.a,"data-context-id":_.a}),o&&r.createElement(l.Chip,{id:_.c,label:Object(g.__)("Speed","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"20",height:"16"}),onClick:D,selected:T===_.c,"data-context-id":_.c}),u&&r.createElement(l.Chip,{id:_.b,label:Object(g.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(O.a,{width:"18",height:"16"}),onClick:D,selected:T===_.b,"data-context-id":_.b}))}}).call(this,n(18),n(3))},264:function(e,t,n){"use strict";var r=n(2);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)}},265:function(e,t,n){"use strict";var r=n(2);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)}},266:function(e,t,n){"use strict";var r=n(2);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)}},267:function(e,t,n){"use strict";var r=n(2);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)}},268:function(e,t,n){"use strict";(function(e,r){var i=n(12),a=n.n(i),o=n(10),c=n.n(o),l=n(315),s=n(200),u=n.n(s),d=n(1),f=n(2),g=n(4),m=n.n(g),p=n(24),v=n(16),b=n(21),h=n(15),O=n(269),_=n(36),E=n(22),y=n(49),k=m.a.useSelect,j=m.a.useDispatch;t.a=function EntityHeader(){var t=Object(f.useContext)(p.b),n=k((function(e){return e(h.c).getCurrentEntityTitle()})),i=k((function(e){return e(h.c).getCurrentEntityURL()})),o=Object(f.useRef)(),s=Object(f.useState)(i),g=a()(s,2),m=g[0],S=g[1];Object(f.useEffect)((function(){var t=function(){if(o.current){var t=o.current.clientWidth-40,n=e.getComputedStyle(o.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);S(Object(y.e)(i,r))}},n=u()(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[i,o,S]);var w=j(_.a).navigateTo,N=k((function(e){return e(h.c).getAdminURL("googlesitekit-dashboard")})),C=Object(f.useCallback)((function(){w(N)}),[N,w]),T=Object(l.a)().y;return v.k!==t||null===i||null===n?null:r.createElement("div",{className:c()("googlesitekit-entity-header",{"googlesitekit-entity-header--has-scrolled":T>1})},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(b.a,{icon:r.createElement(O.a,{width:24,height:24}),"aria-label":Object(d.__)("Back to dashboard","google-site-kit"),onClick:C,text:!0},Object(d.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:o,className:"googlesitekit-entity-header__details"},r.createElement("p",null,n),r.createElement(E.a,{href:i,"aria-label":i,external:!0,inherit:!0},m)))}}).call(this,n(18),n(3))},269:function(e,t,n){"use strict";var r=n(2);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)}},27: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"},270:function(e,t,n){"use strict";var r=n(2);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)}},272:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var r=n(10),i=n.n(r),a=n(0),o=n.n(a),c=n(8);function PageHeader(t){var n=t.title,r=t.icon,a=t.className,o=t.status,l=t.statusText,s=t.fullWidth,u=t.children,d=s?{size:12}:{smSize:4,mdSize:4,lgSize:6},f=""!==o||Boolean(u);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement(c.l,null,n&&e.createElement(c.a,d,r,e.createElement("h1",{className:i()("googlesitekit-page-header__title",a)},n)),f&&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))},l),u))))}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(3))},273:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return p.a}));var r=n(12),i=n.n(r),a=n(23),o=n.n(a),c=n(106),l=n(297);function s(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 u(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function d(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var a=0,o=0,d=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(Object(l.a)(t[m.slug]))return n.push(0),void r.push(o);var v=u(a,m),b=function(e,t,n){for(;++e<t.length;)if(!Object(l.a)(n[t[e].slug]))return t[e];return null}(p,e,t);null!==b&&0!==u(v.sort(d)[0].counter,b).filter(g).length||v.some(g)&&(v=(v=v.sort(f)).filter(g));var h=v[0].width;if(r.push(o),(a+=c.c[h])>12){if(a-=c.c[h],r[p]++,9===a){var O=s(n,a),_=i()(O,2);n=_[0],a=_[1]}a=c.c[h],o++}else 12===a&&(a=0,o++);n.push(c.c[h])})),9===a){var m=s(n,a),p=i()(m,2);n=p[0],a=p[1]}return{columnWidths:n,rowIndexes:r}}var f=n(208),g=n.n(f);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,v;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,v=i[o+1],p===v&&g()(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(213)},292: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(19),o=n.n(a),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(123);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(3))},293: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(17),o=n.n(a),c=n(0),l=n.n(c),s=n(199);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(3))},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetActivateModuleCTA}));var r=n(6),i=n.n(r),a=n(19),o=n.n(a),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(133);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 WidgetActivateModuleCTA(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))}WidgetActivateModuleCTA.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(3))},295:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetCompleteModuleActivationCTA}));var r=n(6),i=n.n(r),a=n(19),o=n.n(a),c=n(17),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(124),g=n(132);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 WidgetCompleteModuleActivationCTA(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))}WidgetCompleteModuleActivationCTA.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(3))},296: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(0),o=n.n(a),c=n(124),l=n(125);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(3))},297:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(125);function i(e){return!!e&&e.Component===r.a}},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n(81),i=e._googlesitekitBaseData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,l=i.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:i.trackingID,referenceSiteURL:i.referenceSiteURL,userIDHash:i.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),m=u.trackEvent;function p(e){e?d():f()}c&&l&&g()}).call(this,n(18))},301:function(e,t,n){"use strict";(function(e){var t=n(120),r=n(33),i=n(53),a=n(9),o=n(203),c=n(204),l=n(205),s=n(207),u=Object(a.j)("notification"),d=Object(i.a)(e.createElement(o.a,null)),f=Object(i.a)(e.createElement(c.a,null)),g=Object(i.a)(e.createElement(l.a,null)),m=Object(i.a)(e.createElement(s.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",g,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",m,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},31:function(e,t,n){"use strict";n.d(t,"u",(function(){return i})),n.d(t,"i",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"k",(function(){return c})),n.d(t,"l",(function(){return l})),n.d(t,"j",(function(){return s})),n.d(t,"q",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return p})),n.d(t,"g",(function(){return v})),n.d(t,"f",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"o",(function(){return O})),n.d(t,"p",(function(){return _})),n.d(t,"n",(function(){return E})),n.d(t,"s",(function(){return y})),n.d(t,"t",(function(){return k})),n.d(t,"r",(function(){return j}));var r=n(16),i="modules/idea-hub",a="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",l="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",g="IDEA_HUB_ACTIVITY_IS_DELETING",m="IDEA_HUB_ACTIVITY_DELETED",p="IDEA_HUB_ACTIVITY_IS_PINNING",v="IDEA_HUB_ACTIVITY_PINNED",b="IDEA_HUB_ACTIVITY_IS_UNPINNING",h="IDEA_HUB_ACTIVITY_UNPINNED",O="".concat(r.g,"_idea-hub-widget"),_="".concat(r.o,"_idea-hub-saved-ideas-notification"),E="".concat(r.l,"_idea-hub"),y="new-ideas",k="saved-ideas",j="draft-ideas"},311:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(12),i=n.n(r),a=n(290),o=n(10),c=n.n(o),l=n(2),s=n(72),u=n(1),d=n(4),f=n.n(d),g=n(353),m=n(13),p=n(144),v=n(56),b=n(24),h=n(143),O=n(21),_=n(9),E=n(65),y=n(58),k=f.a.useSelect,j=f.a.useDispatch;function DateRangeSelector(){var t,n=Object(E.a)("unifiedDashboard"),r=Object(v.c)(),o=k((function(e){return e(m.a).getDateRange()})),d=j(m.a).setDateRange,f=j(y.a).resetInViewHook,S=Object(l.useState)(!1),w=i()(S,2),N=w[0],C=w[1],T=Object(l.useRef)(),A=Object(l.useContext)(b.b);Object(a.a)(T,(function(){return C(!1)})),Object(p.a)([s.c,s.d],T,(function(){return C(!1)}));var D=Object(l.useCallback)((function(){C(!N)}),[N]),x=Object(l.useCallback)((function(e){var t=Object.values(r)[e].slug;o!==t&&Object(_.v)("".concat(A,"_headerbar"),"change_daterange",t),f(),d(t),C(!1)}),[r,o,f,d,A]),R=null===(t=r[o])||void 0===t?void 0:t.label,L=Object.values(r).map((function(e){return e.label}));return e.createElement("div",{ref:T,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(O.a,{className:c()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu","googlesitekit-border-radius-round--phone","googlesitekit-button-icon--phone",{"googlesitekit-header__date-range-selector-menu--has-unified-dashboard":n}),text:!0,onClick:D,icon:e.createElement(g.a,{width:"20",height:"20"}),"aria-haspopup":"menu","aria-expanded":N,"aria-controls":"date-range-selector-menu",title:Object(u.__)("Date range","google-site-kit"),tooltip:!0},R),e.createElement(h.a,{menuOpen:N,menuItems:L,onSelected:x,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(3))},33: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(18))},34:function(e,t){e.exports=googlesitekit.api},342:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(12),i=n.n(r),a=n(0),o=n.n(a),c=n(191),l=n(2),s=n(1),u=n(72),d=n(34),f=n.n(d),g=n(4),m=n.n(g),p=n(343),v=n(65),b=n(15),h=m.a.useSelect;function PostSearcherAutoSuggest(t){var n=t.id,r=t.match,a=t.setMatch,o=t.isLoading,d=t.showDropdown,g=void 0===d||d,m=t.setIsLoading,O=t.setIsActive,_=void 0===O?function(){}:O,E=t.autoFocus,y=t.setCanSubmit,k=void 0===y?function(){}:y,j=t.onClose,S=void 0===j?function(){}:j,w=t.placeholder,N=void 0===w?"":w,C=Object(l.useState)(""),T=i()(C,2),A=T[0],D=T[1],x=null==r?void 0:r.post_title,R=Object(p.a)(A,A===x?0:200),L=Object(l.useState)([]),P=i()(L,2),M=P[0],I=P[1],z=Object(s.__)("No results found","google-site-kit"),H=Object(v.a)("unifiedDashboard"),B=h((function(e){return e(b.c).getCurrentEntityTitle()})),q=Object(l.useRef)(null),F=Object(l.useCallback)((function(){_(!0)}),[_]),U=Object(l.useCallback)((function(e){var t,n,r;(null===(t=e.relatedTarget)||void 0===t?void 0:t.classList.contains("autocomplete__option--result"))||(_(!1),D(null!==(n=null!==(r=q.current)&&void 0!==r?r:B)&&void 0!==n?n:""))}),[B,_]),W=Object(l.useCallback)((function(e){if(Array.isArray(M)&&e!==z){var t=M.find((function(t){return t.post_title.toLowerCase()===e.toLowerCase()}));t?(q.current=t.post_title,k(!0),a(t),D(t.post_title)):q.current=null}else q.current=null,k(!1)}),[M,k,a,z,D]),V=Object(l.useCallback)((function(e){k(!1),D(e.target.value)}),[k]);Object(l.useEffect)((function(){if(""!==R&&R!==B&&(null==R?void 0:R.toLowerCase())!==(null==x?void 0:x.toLowerCase())){null==m||m(!0);var e="undefined"==typeof AbortController?void 0:new AbortController;return f.a.get("core","search","post-search",{query:encodeURIComponent(R)},{useCache:!1,signal:null==e?void 0:e.signal}).then((function(e){return I(e)})).catch((function(){return I([])})).finally((function(){return null==m?void 0:m(!1)})),function(){return null==e?void 0:e.abort()}}}),[R,m,B,x]),Object(l.useEffect)((function(){A||I([])}),[A]),Object(l.useEffect)((function(){B&&D(B)}),[B]);var K=Object(l.useCallback)((function(e){if(H)return e.keyCode===u.c?S():e.keyCode===u.b?W(A):void 0}),[S,W,A,H]);return e.createElement(c.a,{className:"autocomplete__wrapper",onSelect:W},e.createElement(c.b,{id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onBlur:U,onChange:V,onFocus:F,placeholder:N,onKeyDown:K,value:A,autoFocus:E}),(!H||!o)&&g&&R!==B&&""!==R&&0===M.length&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(c.d,{value:z,className:"autocomplete__option autocomplete__option--no-results"}))),g&&""!==R&&R!==B&&M.length>0&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},M.map((function(t){var n=t.ID,r=t.post_title;return e.createElement(c.d,{key:n,value:r,className:"autocomplete__option autocomplete__option--result"})})))))}PostSearcherAutoSuggest.propTypes={id:o.a.string,match:o.a.object,setCanSubmit:o.a.func,setMatch:o.a.func,isLoading:o.a.bool,setIsLoading:o.a.func,onKeyDown:o.a.func,autoFocus:o.a.bool,placeholder:o.a.string}}).call(this,n(3))},343:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(12),i=n.n(r),a=n(2);function o(e,t){var n=Object(a.useState)(e),r=i()(n,2),o=r[0],c=r[1];return Object(a.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),o}},348:function(e,t,n){"use strict";(function(e){var r=n(44),i=n.n(r),a=n(45),o=n.n(a),c=n(67),l=n.n(c),s=n(68),u=n.n(s),d=n(46),f=n.n(d),g=n(0),m=n.n(g),p=n(2),v=n(8),b=n(22);function h(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()(LayoutHeader,t);var n=h(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.ctaLabel,i=t.ctaLink,a=i?{alignMiddle:!0,smSize:4,lgSize:6}:{alignMiddle:!0,smSize:4,mdSize:8,lgSize:12};return e.createElement("header",{className:"googlesitekit-layout__header"},e.createElement(v.b,null,e.createElement(v.l,null,n&&e.createElement(v.a,a,e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n)),i&&e.createElement(v.a,{alignMiddle:!0,mdAlignRight:!0,smSize:4,lgSize:6},e.createElement(b.a,{href:i,external:!0,inherit:!0},r)))))}}]),LayoutHeader}(p.Component);O.propTypes={title:m.a.string,ctaLabel:m.a.string,ctaLink:m.a.string},O.defaultProps={title:"",ctaLabel:"",ctaLink:""},t.a=O}).call(this,n(3))},349:function(e,t,n){"use strict";(function(e){var r=n(44),i=n.n(r),a=n(45),o=n.n(a),c=n(67),l=n.n(c),s=n(68),u=n.n(s),d=n(46),f=n.n(d),g=n(0),m=n.n(g),p=n(2),v=n(8),b=n(94);function h(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()(LayoutFooter,t);var n=h(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(v.b,null,e.createElement(v.l,null,e.createElement(v.a,{size:12},r&&n&&e.createElement(b.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),i))))}}]),LayoutFooter}(p.Component);O.propTypes={ctaLabel:m.a.string,ctaLink:m.a.string},t.a=O}).call(this,n(3))},35: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"},350:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(6),i=n.n(r),a=n(12),o=n.n(a),c=n(0),l=n.n(c),s=n(10),u=n.n(s),d=n(364),f=n(2),g=n(4),m=n.n(g),p=n(106),v=n(35),b=n(351),h=n(273),O=n(8),_=n(352),E=n(140),y=n(65),k=m.a.useSelect;function WidgetAreaRenderer(t){var n=t.slug,r=t.totalAreas,a=Object(y.a)("unifiedDashboard"),c=Object(f.useRef)(),l=Object(d.a)(c,{rootMargin:"0px",threshold:0}),s=k((function(e){return e(v.a).getWidgetArea(n)})),g=k((function(e){return e(v.a).getWidgets(n)})),m=k((function(e){return e(v.a).getWidgetStates()})),j=k((function(e){return e(v.a).isWidgetAreaActive(n)})),S=Object(f.useState)({key:"WidgetAreaRenderer-".concat(n),value:!!(null==l?void 0:l.intersectionRatio)}),w=o()(S,2),N=w[0],C=w[1];Object(f.useEffect)((function(){C({key:"WidgetAreaRenderer-".concat(n),value:!!(null==l?void 0:l.intersectionRatio)})}),[l,n]);var T,A=Object(h.c)(g,m),D=A.columnWidths,x=A.rowIndexes,R=Object(h.a)(g,m,{columnWidths:D,rowIndexes:x}),L=R.gridColumnWidths,P=R.overrideComponents,M=g.map((function(t,n){return e.createElement(_.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:L[n]},e.createElement(b.a,{OverrideComponent:P[n]?function(){var t=P[n],r=t.Component,i=t.metadata;return e.createElement(r,i)}:void 0,slug:t.slug}))})),I=s.Icon,z=s.title,H=s.style,B=s.subtitle;return j?e.createElement(E.a,{value:N},e.createElement(O.b,{className:u()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(n),"googlesitekit-widget-area--".concat(H)),ref:c},(a||r>1)&&e.createElement(O.l,null,e.createElement(O.a,{className:"googlesitekit-widget-area-header",size:12},I&&e.createElement(I,{width:33,height:33}),z&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},z),B&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},B))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(O.l,null,H===v.b.BOXES&&M,H===v.b.COMPOSITE&&e.createElement(O.a,{size:12},e.createElement(O.b,null,e.createElement(O.l,null,M))))))):e.createElement(O.b,{className:u()(p.a,"googlesitekit-widget-area",(T={},i()(T,"googlesitekit-widget-area--".concat(n),!!n),i()(T,"googlesitekit-widget-area--".concat(H),!!H),T)),ref:c},M)}WidgetAreaRenderer.propTypes={slug:l.a.string.isRequired}}).call(this,n(3))},351:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(35),s=n(229),u=n(273),d=n(106),f=c.a.useSelect,g=function WidgetRenderer(t){var n=t.slug,r=t.OverrideComponent,i=f((function(e){return e(l.a).getWidget(n)})),o=Object(u.b)(n),c=o.Widget,g=o.WidgetNull;if(!i)return e.createElement(g,null);var m=i.Component,p=i.wrapWidget,v=e.createElement(m,o);return r?v=e.createElement(a.Fragment,null,e.createElement(s.a,{widgetSlug:"overridden"},e.createElement(r,null)),e.createElement("div",{className:d.a},v)):p&&(v=e.createElement(c,null,v)),v};g.propTypes={slug:i.a.string.isRequired,OverrideComponent:i.a.elementType},t.a=g}).call(this,n(3))},352:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(106),o=n(8),c=function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:a.a},r):n<6?e.createElement(o.a,{lgSize:n,mdSize:4,smSize:2},r):n<8?e.createElement(o.a,{lgSize:n,mdSize:8},r):e.createElement(o.a,{size:n},r)};c.propTypes={gridColumnWidth:i.a.number.isRequired,children:i.a.element.isRequired},t.a=c}).call(this,n(3))},353:function(e,t,n){"use strict";var r=n(2);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 9H4v2h2V9zm4 0H8v2h2V9zm4 0h-2v2h2V9zm2-7h-1V0h-2v2H5V0H3v2H2C.89 2 .01 2.9.01 4L0 18a2 2 0 002 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 16H2V7h14v11z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgDateRange(e){return r.createElement("svg",i({viewBox:"0 0 18 20"},e),a)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},38:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},39:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return O}));var r=n(5),i=n.n(r),a=n(14),o=n.n(a);n(23);function c(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 l(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 l(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 l(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 s,u="googlesitekit_".concat("1.49.1","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=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 m(){return p.apply(this,arguments)}function p(){return(p=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===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(a=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(a);case 11:if(!t.sent){t.next=13;break}s=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===s&&(s=null),t.abrupt("return",s);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,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).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)}}(),b=function(){var t=o()(i.a.mark((function t(n,r){var a,o,c,l,s,d,f,g,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,c=void 0===o?3600:o,l=a.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=a.isError,f=void 0!==d&&d,t.next=3,m();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),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)}}(),h=function(){var t=o()(i.a.mark((function t(n){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));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,m();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(u)&&r.push(o.substring(u.length));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)}}()}).call(this,n(18))},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e,r){var i=n(6),a=n.n(i),o=n(5),c=n.n(o),l=n(14),s=n.n(l),u=n(12),d=n.n(u),f=n(0),g=n.n(f),m=n(10),p=n.n(m),v=n(231),b=n.n(v),h=n(103),O=n(2),_=n(88),E=n(8),y=n(114),k=n(49),j=n(60),S=n(74),w=n(21),N=n(155),C=n(116),T=n(22),A=n(121),D=n(39),x=n(9),R=n(16),L=n(99);function BannerNotification(t){var n,i=t.anchorLink,o=t.anchorLinkLabel,l=t.blockData,u=t.children,f=t.className,g=t.ctaLabel,m=t.ctaLink,v=t.ctaTarget,P=t.description,M=t.dismiss,I=t.dismissExpires,z=t.format,H=t.id,B=t.isDismissible,q=t.learnMoreDescription,F=t.learnMoreLabel,U=t.learnMoreURL,W=t.logo,V=t.module,K=t.moduleName,X=t.onCTAClick,G=t.onDismiss,Y=t.pageIndex,Q=t.showOnce,$=t.SmallImageSVG,Z=t.title,J=t.type,ee=t.WinImageSVG,te=Object(O.useState)(!1),ne=d()(te,2),re=ne[0],ie=ne[1],ae=Object(O.useState)(!1),oe=d()(ae,2),ce=oe[0],le=oe[1],se=Object(O.useRef)(),ue="notification::dismissed::".concat(H),de=function(){return Object(D.d)(ue,new Date,{ttl:null})},fe=Object(L.a)();function ge(){return(ge=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(x.v)("".concat(R.g,"_site-notification"),"dismiss_notification",H);case 4:if(!G){e.next=7;break}return e.next=7,G(t);case 7:me();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function me(){var e=se.current;ie(!0),setTimeout(s()(c.a.mark((function t(){var n;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,de();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function pe(){return(pe=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(x.v)("".concat(R.g,"_site-notification"),"confirm_notification",H);case 3:if(!X){e.next=6;break}return e.next=6,X(t);case 6:B&&me();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(h.a)(s()(c.a.mark((function e(){var t,n;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(x.v)("".concat(R.g,"_site-notification"),"view_notification",H);case 2:if(!(I>0)){e.next=5;break}return e.next=5,he();case 5:if(!B){e.next=11;break}return e.next=8,Object(D.b)(ue);case 8:t=e.sent,n=t.cacheHit,le(n);case 11:if(!Q){e.next=14;break}return e.next=14,de();case 14:case"end":return e.stop()}}),e)}))));var ve=Object(O.useCallback)((function(t){Object(k.c)(i)&&(t.preventDefault(),e.history.replaceState({},"",i),e.scrollTo({top:Object(y.a)(i,fe),behavior:"smooth"}))}),[i,fe]);function be(){return(be=s()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(x.v)("".concat(R.g,"_site-notification"),"click_learn_more_link",H);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(){return Oe.apply(this,arguments)}function Oe(){return(Oe=s()(c.a.mark((function e(){var t,n,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(D.b)(ue);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(I,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(D.a)(ue);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(B&&(void 0===ce||ce))return null;var _e,Ee,ye=re?"is-closed":"is-open",ke="large"===z&&"win-stats-increase"===J;_e="large"===z?ke?{mdSize:5,lgSize:8,smOrder:2,mdOrder:1}:{mdSize:6,lgSize:8,smOrder:2,mdOrder:1}:"small"===z?{smSize:3,mdSize:7,lgSize:11}:{size:12},Ee="win-warning"===J?r.createElement(N.a,{width:34}):"win-error"===J?r.createElement(C.a,{width:28}):"";var je=r.createElement(O.Fragment,null,l&&r.createElement(E.l,null,b()(l,(function(e,t){return r.createElement(E.a,{key:t,lgSize:ke?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(S.a,e)))})))),Se=r.createElement(O.Fragment,null,Z&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},Z),i&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(T.a,{href:i,onClick:ve},o)),P&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(O.isValidElement)(P)?P:r.createElement("span",{dangerouslySetInnerHTML:Object(j.a)(P,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),F&&r.createElement(O.Fragment,null," ",r.createElement(T.a,{onClick:function(e){return be.apply(this,arguments)},href:U,external:!0,inherit:!0},F),q),Y&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},Y))),u),we=V?r.createElement(A.a,{slug:V,size:19}):r.createElement(_.a,{height:"34",width:"32"}),Ne=ke?{size:12,smOrder:2,mdOrder:1}:{size:12};return r.createElement("section",{id:H,ref:se,className:p()(f,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(z),z),a()(n,"googlesitekit-publisher-win--".concat(J),J),a()(n,"googlesitekit-publisher-win--".concat(ye),ye),n))},r.createElement(E.b,null,r.createElement(E.l,null,W&&r.createElement(E.a,Ne,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},we),K&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},K)),$&&r.createElement(E.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement($,null)),r.createElement(E.a,_e,ke?r.createElement(E.l,null,r.createElement(E.a,{mdSize:8,lgSize:5},Se),r.createElement(E.a,{alignBottom:!0,mdSize:8,lgSize:7},je)):r.createElement(O.Fragment,null,Se,je),m&&r.createElement(w.a,{className:"googlesitekit-notification__cta",href:m,target:v,onClick:function(e){return pe.apply(this,arguments)}},g),B&&M&&r.createElement(T.a,{onClick:function(e){return ge.apply(this,arguments)}},M)),ee&&r.createElement(E.a,{mdSize:2,lgSize:4,smOrder:1,mdOrder:2},r.createElement("div",{className:"googlesitekit-publisher-win__image-large"},r.createElement(ee,null))),("win-error"===J||"win-warning"===J)&&r.createElement(E.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},Ee)))))}BannerNotification.propTypes={id:g.a.string.isRequired,className:g.a.string,title:g.a.string.isRequired,description:g.a.node,learnMoreURL:g.a.string,learnMoreDescription:g.a.string,learnMoreLabel:g.a.string,blockData:g.a.array,WinImageSVG:g.a.elementType,SmallImageSVG:g.a.elementType,format:g.a.string,ctaLink:g.a.string,ctaLabel:g.a.string,type:g.a.string,dismiss:g.a.string,isDismissible:g.a.bool,logo:g.a.bool,module:g.a.string,moduleName:g.a.string,pageIndex:g.a.string,dismissExpires:g.a.number,showOnce:g.a.bool,onCTAClick:g.a.func,onDismiss:g.a.func,anchorLink:g.a.string,anchorLinkLabel:g.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(18),n(3))},444:function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(103),o=n(410),c=n(127),l=n(2),s=n(1),u=n(4),d=n.n(u),f=n(21),g=n(61),m=n(54),p=n(445),v=n(446),b=n(342),h=n(24),O=n(15),_=n(16),E=n(36),y=n(9),k=d.a.useSelect,j=d.a.useDispatch;t.a=function EntitySearchInput(){var t=Object(c.a)(EntitySearchInput,"EntitySearchInput"),n=Object(l.useState)(!1),r=i()(n,2),u=r[0],d=r[1],S=Object(l.useState)(!1),w=i()(S,2),N=w[0],C=w[1],T=Object(l.useState)(!1),A=i()(T,2),D=A[0],x=A[1],R=Object(l.useRef)(),L=Object(l.useCallback)((function(){d(!0)}),[]),P=Object(l.useCallback)((function(){d(!1)}),[]),M=Object(l.useState)({}),I=i()(M,2),z=I[0],H=I[1],B=Object(l.useContext)(h.b),q=k((function(e){return(null==z?void 0:z.permalink)?e(O.c).getAdminURL("googlesitekit-dashboard",{permaLink:z.permalink}):null})),F=j(E.a).navigateTo;return Object(l.useEffect)((function(){q&&Object(y.v)("".concat(B,"_headerbar"),"open_urldetails").finally((function(){F(q)}))}),[q,F,B]),Object(a.a)((function(){B===_.k&&d(!0)})),Object(o.a)((function(){var e;u||(null==R||null===(e=R.current)||void 0===e||e.focus())}),[u]),u?e.createElement("div",{className:"googlesitekit-entity-search googlesitekit-entity-search--is-open"},e.createElement(m.a,null,e.createElement("label",{htmlFor:t},Object(s.__)("Page/URL Search","google-site-kit"))),e.createElement(b.a,{id:t,match:z,setIsActive:x,setMatch:H,placeholder:Object(s.__)("Enter title or URL…","google-site-kit"),isLoading:N,setIsLoading:C,showDropdown:D,onClose:P,autoFocus:!0}),N&&D&&e.createElement(g.a,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(f.a,{onClick:P,trailingIcon:e.createElement(v.a,{width:"30",height:"20"}),className:"googlesitekit-entity-search__close",title:Object(s.__)("Close","google-site-kit"),text:!0,tooltip:!0}))):e.createElement("div",{className:"googlesitekit-entity-search"},e.createElement(f.a,{className:"googlesitekit-border-radius-round--phone googlesitekit-button-icon--phone",onClick:L,text:!0,ref:R,title:Object(s.__)("Search","google-site-kit"),trailingIcon:e.createElement(p.a,{width:"20",height:"20"}),tooltip:!0},Object(s.__)("URL Search","google-site-kit")))}}).call(this,n(3))},445:function(e,t,n){"use strict";var r=n(2);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:"M16 9.5c0 1.407-.45 2.714-1.218 3.783L20.49 19 19 20.49l-5.717-5.708A6.463 6.463 0 019.5 16 6.5 6.5 0 1116 9.5zm-11 0C5 11.99 7.01 14 9.5 14S14 11.99 14 9.5 11.99 5 9.5 5 5 7.01 5 9.5z",fill:"currentColor"});t.a=function SvgMagnifyingGlass(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},446:function(e,t,n){"use strict";var r=n(2);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:"M15.833 5.342l-1.175-1.175L10 8.825 5.342 4.167 4.167 5.342 8.825 10l-4.658 4.658 1.175 1.175L10 11.175l4.658 4.658 1.175-1.175L11.175 10l4.658-4.658z",fill:"currentColor"});t.a=function SvgCloseDark(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(27);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},49:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(105);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){return/^#\w[A-Za-z0-9-_]*$/.test(e)}function l(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)}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),i=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},54:function(e,t,n){"use strict";(function(e){var r=n(19),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n.n(c),s=n(10),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(3))},56:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",i='Invalid date range, it must be a string with the format "last-x-days".',a=n(7),o=n.n(a),c=n(37),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(38),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),i=n[0],a=n[1],c=n[2];return new Date(i,a-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function p(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
38
  /* translators: %s: number of days */
39
  Object(v._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}}}},57:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(1),o=n(202),c=n(330),l=n(21),s=n(88),u=function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.a,{"aria-label":Object(a.__)("Dismiss","google-site-kit"),icon:e.createElement(o.a,{icon:c.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))};u.propTypes={title:i.a.string.isRequired,dismissSurvey:i.a.func.isRequired},t.a=u}).call(this,n(3))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/ui"},584:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardDetailsHeader}));var r=n(2),i=n(126),a=n(1),o=n(4),c=n.n(o),l=n(9),s=n(22),u=n(272),d=n(54),f=n(210),g=n(86),m=n(15),p=c.a.useSelect;function DashboardDetailsHeader(){var t=p((function(e){return e(m.c).getAdminURL("googlesitekit-dashboard")})),n=p((function(e){return e(m.c).getCurrentEntityURL()})),o=p((function(e){return e(m.c).getCurrentEntityTitle()})),c=p((function(e){return e(m.c).getPermaLinkParam()}));return e.createElement(r.Fragment,null,e.createElement(s.a,{href:t,inherit:!0,back:!0,small:!0},Object(a.__)("Back to the Site Kit Dashboard","google-site-kit")),e.createElement(u.a,{title:Object(a.__)("Detailed Page Stats","google-site-kit"),className:" googlesitekit-heading-2 googlesitekit-dashboard-single-url__heading ",fullWidth:!0}),e.createElement(f.a,{className:"googlesitekit-dashboard-single-url__entity-header"},e.createElement(g.b,null,e.createElement(g.c,null,e.createElement(g.a,{size:12},n&&e.createElement(r.Fragment,null,e.createElement("h3",{className:" googlesitekit-heading-3 googlesitekit-dashboard-single-url__title "},o&&Object(l.e)(o)),e.createElement(s.a,{href:n,inherit:!0,external:!0},n)),!n&&e.createElement("p",null,Object(i.a)(Object(a.sprintf)(
40
  /* translators: %s: current entity URL. */
53
  /* translators: %d is the number of notifications */
54
  Object(a._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===i&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,a={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=i()(r.value,2),s=l[0],d=l[1];a[s]=d}}catch(e){c.e(e)}finally{c.f()}return a}}).call(this,n(18))},79:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},8:function(e,t,n){"use strict";var r=n(84),i=n.n(r);n.d(t,"n",(function(){return i.a})),n.d(t,"c",(function(){return r.HelperText})),n.d(t,"d",(function(){return r.Input}));var a=n(187);n.d(t,"i",(function(){return a.a}));var o=n(239);n.d(t,"f",(function(){return o.a}));var c=n(240);n.d(t,"h",(function(){return c.a}));var l=n(104),s=n.n(l);n.d(t,"m",(function(){return s.a})),n.d(t,"k",(function(){return l.Option}));var u=n(241);n.d(t,"j",(function(){return u.a}));var d=n(238);n.d(t,"e",(function(){return d.a}));var f=n(237);n.d(t,"g",(function(){return f.a}));var g=n(86);n.d(t,"a",(function(){return g.a})),n.d(t,"b",(function(){return g.b})),n.d(t,"l",(function(){return g.c}))},80:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(185),i=n(59),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){var t,n,r,i,a,o,c,l,s,u,d,f,g,m,p;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(i=e[0])||void 0===i||null===(a=i.data)||void 0===a||null===(o=a.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(m=g[0])||void 0===m||null===(p=m.values)||void 0===p?void 0:p[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),i=n.n(r),a=n(82),o=n(83);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 l(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}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(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=l(l({},s),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(i,n);return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:Object(o.a)(i,n,c,r)}}}).call(this,n(18))},819:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardDetailsApp}));var r=n(2),i=n(4),a=n.n(i),o=n(256),c=n(584),l=n(188),s=n(311),u=n(15),d=n(189),f=n(8),g=a.a.useSelect;function DashboardDetailsApp(){var t=g((function(e){return e(u.c).getAdminURL("googlesitekit-dashboard")})),n=g((function(e){return e(u.c).getCurrentEntityURL()}));return t?e.createElement(r.Fragment,null,e.createElement(l.a,null,e.createElement(d.a,null),n&&e.createElement(s.a,null)),n?e.createElement(o.a,{slug:"pageDashboard",className:"googlesitekit-module-page googlesitekit-dashboard-single-url",Header:c.a}):e.createElement("div",{className:"googlesitekit-widget-context googlesitekit-module-page googlesitekit-dashboard-single-url"},e.createElement(f.b,null,e.createElement(f.l,null,e.createElement(f.a,{size:12},e.createElement(c.a,null)))))):null}}).call(this,n(3))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(47),i=n(27);function a(t,n){var a,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===a&&(a=!!n.querySelector("script[".concat(i.b,"]"))),!a){var r=n.createElement("script");r.setAttribute(i.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),a=!0}}}}).call(this,n(18))},820:function(e,t,n){"use strict";(function(e){var r=n(10),i=n.n(r),a=n(2),o=n(126),c=n(1),l=n(4),s=n.n(l),u=n(188),d=n(75),f=n(256),g=n(444),m=n(311),p=n(189),v=n(16),b=n(15),h=n(22),O=n(54),_=n(8),E=n(272),y=n(210),k=n(35),j=s.a.useSelect;t.a=function DashboardEntityApp(){var t=j((function(e){return e(b.c).getCurrentEntityURL()})),n=j((function(e){return e(b.c).getPermaLinkParam()})),r=j((function(e){return e(b.c).getAdminURL("googlesitekit-dashboard")})),l=j((function(e){return e(k.a).isWidgetContextActive(d.CONTEXT_ENTITY_DASHBOARD_TRAFFIC)})),s=j((function(e){return e(k.a).isWidgetContextActive(d.CONTEXT_ENTITY_DASHBOARD_CONTENT)})),S=j((function(e){return e(k.a).isWidgetContextActive(d.CONTEXT_ENTITY_DASHBOARD_SPEED)})),w=null;return j((function(e){return e(k.a).isWidgetContextActive(d.CONTEXT_ENTITY_DASHBOARD_MONETIZATION)}))?w=v.b:S?w=v.c:s?w=v.a:l&&(w=v.d),null===t?e.createElement("div",{className:"googlesitekit-widget-context googlesitekit-module-page googlesitekit-dashboard-single-url"},e.createElement(_.b,null,e.createElement(_.l,null,e.createElement(_.a,{size:12},e.createElement(a.Fragment,null,e.createElement(h.a,{href:r,inherit:!0,back:!0,small:!0},Object(c.__)("Back to the Site Kit Dashboard","google-site-kit")),e.createElement(E.a,{title:Object(c.__)("Detailed Page Stats","google-site-kit"),className:"googlesitekit-heading-2 googlesitekit-dashboard-single-url__heading",fullWidth:!0}),e.createElement(y.a,{className:"googlesitekit-dashboard-single-url__entity-header"},e.createElement(_.b,null,e.createElement(_.l,null,e.createElement(_.a,{size:12},e.createElement("p",null,Object(o.a)(Object(c.sprintf)(
55
  /* translators: %s: current entity URL. */
56
+ Object(c.__)("It looks like the URL %s is not part of this site or is not based on standard WordPress content types, therefore there is no data available to display. Visit our <link1>support forums</link1> or <link2><VisuallyHidden>Site Kit </VisuallyHidden>website</link2> for support or further information.","google-site-kit"),"<strong>".concat(n,"</strong>")),{strong:e.createElement("strong",null),link1:e.createElement(h.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0,inherit:!0}),link2:e.createElement(h.a,{href:"https://sitekit.withgoogle.com/documentation/troubleshooting/dashboard/#url-not-part-of-this-site",external:!0,inherit:!0}),VisuallyHidden:e.createElement(O.a,null)}))))))))))):e.createElement(a.Fragment,null,e.createElement(u.a,{showNavigation:!0},e.createElement(g.a,null),e.createElement(m.a,null),e.createElement(p.a,null)),e.createElement(f.a,{id:v.d,slug:d.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,className:i()({"googlesitekit-widget-context--last":w===v.d})}),e.createElement(f.a,{id:v.a,slug:d.CONTEXT_ENTITY_DASHBOARD_CONTENT,className:i()({"googlesitekit-widget-context--last":w===v.a})}),e.createElement(f.a,{id:v.c,slug:d.CONTEXT_ENTITY_DASHBOARD_SPEED,className:i()({"googlesitekit-widget-context--last":w===v.c})}),e.createElement(f.a,{id:v.b,slug:d.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,className:i()({"googlesitekit-widget-context--last":w===v.b})}))}}).call(this,n(3))},83:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),a=n(6),o=n.n(a),c=n(14),l=n.n(c),s=n(47),u=n(33);function d(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,a){var o=Object(s.a)(n);return function(){var n=l()(i.a.mark((function n(c,l,s,d){var g,m,p,v,b,h,O,_,E,y;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,b=t.referenceSiteURL,h=t.trackingEnabled,O=t.trackingID,_=t.userIDHash,h){n.next=3;break}return n.abrupt("return");case 3:return r(),E=null!==(g=null===(m=e._googlesitekitUserData)||void 0===m||null===(p=m.user)||void 0===p?void 0:p.roles)&&void 0!==g?g:[],y={send_to:O,event_category:c,event_label:s,value:d,dimension1:b,dimension2:E.join(","),dimension3:_,dimension4:"1.49.1",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){a.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),i=function(){clearTimeout(r),e()};o("event",l,f(f({},y),{},{event_callback:i})),(null===(t=a._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&i()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,i){return n.apply(this,arguments)}}()}}).call(this,n(18))},86:function(e,t,n){"use strict";var r=n(100);n.d(t,"a",(function(){return r.a}));var i=n(101);n.d(t,"c",(function(){return i.a}));var a=n(102);n.d(t,"b",(function(){return a.a}))},87:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(105),o=n(1),c=n(9);function ErrorText(t){var n=t.message,r=t.reconnectURL;if(!n)return null;var i=Object(o.sprintf)(
57
  /* translators: %s: Error message */
58
  Object(o.__)("Error: %s","google-site-kit"),n);r&&Object(a.a)(r)&&(i=i+" "+Object(o.sprintf)(
59
  /* translators: %s: Reconnect URL */
dist/assets/js/{googlesitekit-dashboard-splash-4dd0e07c74c0b953d904.js → googlesitekit-dashboard-splash-e06e68f3a353eb015e04.js} RENAMED
@@ -10,7 +10,7 @@ Object(u.__)("Congrats on completing the setup for %s!","google-site-kit"),R.set
10
  /* translators: %s: List of product names */
11
  Object(s.__)("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(f.n)(t));break;case"single":n=Object(s.sprintf)(
12
  /* translators: %1$s: Product name */
13
- Object(s.__)("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"),t[0]);break;case"generic":n=Object(s.__)("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(d.a,{id:"authentication error",title:Object(s.__)("Site Kit can’t access necessary data","google-site-kit"),description:n,format:"small",type:"win-error",isDismissible:!1,ctaLink:l,ctaLabel:Object(s.__)("Redo setup","google-site-kit")})}}).call(this,n(18),n(3))},262:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(4),a=n.n(r),i=n(15),o=n(42),c=a.a.useSelect;function InternalServerError(){var t=c((function(e){return e(i.c).getInternalServerError()}));return t?e.createElement(o.a,t):null}}).call(this,n(3))},263:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardNavigation}));var a=n(23),i=n.n(a),o=n(12),c=n.n(o),s=n(158),l=n(103),u=n(200),d=n.n(u),f=n(2),p=n(1),g=n(4),m=n.n(g),h=n(264),v=n(265),b=n(266),k=n(267),_=n(16),y=n(35),E=n(75),O=n(134),S=n(99),j=n(114);function w(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 C(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 C(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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 i,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,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function C(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 x=m.a.useSelect;function DashboardNavigation(){var t=Object(O.b)(),n=x((function(e){return e(y.a).isWidgetContextActive(t===O.a?E.CONTEXT_MAIN_DASHBOARD_TRAFFIC:E.CONTEXT_ENTITY_DASHBOARD_TRAFFIC)})),a=x((function(e){return e(y.a).isWidgetContextActive(t===O.a?E.CONTEXT_MAIN_DASHBOARD_CONTENT:E.CONTEXT_ENTITY_DASHBOARD_CONTENT)})),o=x((function(e){return e(y.a).isWidgetContextActive(t===O.a?E.CONTEXT_MAIN_DASHBOARD_SPEED:E.CONTEXT_ENTITY_DASHBOARD_SPEED)})),u=x((function(e){return e(y.a).isWidgetContextActive(t===O.a?E.CONTEXT_MAIN_DASHBOARD_MONETIZATION:E.CONTEXT_ENTITY_DASHBOARD_MONETIZATION)})),g=Object(S.a)(),m=Object(f.useState)(e.location.hash.substring(1)),C=c()(m,2),N=C[0],R=C[1],A=Object(f.useCallback)((function(t){var n,r=t.target.closest(".mdc-chip"),a=null==r||null===(n=r.dataset)||void 0===n?void 0:n.contextId;e.scrollTo({top:a!==_.d?Object(j.a)("#".concat(a),g):0,behavior:"smooth"})}),[g]);return Object(l.a)((function(){var t=e.location.hash;t&&setTimeout((function(){e.scrollTo({top:t.substring(1)!==_.d?Object(j.a)(t,g):0,behavior:"smooth"})}),25)})),Object(f.useEffect)((function(){var t=d()((function(){var t,r,c,s,l,d,f=null===(t=document.querySelector(".googlesitekit-entity-header"))||void 0===t||null===(r=t.getBoundingClientRect())||void 0===r?void 0:r.bottom,p=null===(c=document.querySelector(".googlesitekit-navigation"))||void 0===c||null===(s=c.getBoundingClientRect())||void 0===s?void 0:s.bottom,g=[].concat(i()(n?[_.d]:[]),i()(a?[_.a]:[]),i()(o?[_.c]:[]),i()(u?[_.b]:[])),m=_.d,h=w(g);try{for(h.s();!(d=h.n()).done;){var v=d.value,b=document.getElementById(v);if(b){var k=b.getBoundingClientRect().top-20-(f||p||0);k<0&&(void 0===l||l<k)&&(l=k,m=v)}}}catch(e){h.e(e)}finally{h.f()}var y=e.location.hash;m!==(null==y?void 0:y.substring(1))&&(e.history.replaceState({},"","#".concat(m)),R(m))}),50);return e.addEventListener("scroll",t),t(),function(){e.removeEventListener("scroll",t)}}),[n,a,o,u]),r.createElement("div",{className:"googlesitekit-navigation mdc-chip-set"},n&&r.createElement(s.Chip,{id:_.d,label:Object(p.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"18",height:"16"}),onClick:A,selected:N===_.d,"data-context-id":_.d}),a&&r.createElement(s.Chip,{id:_.a,label:Object(p.__)("Content","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"18"}),onClick:A,selected:N===_.a,"data-context-id":_.a}),o&&r.createElement(s.Chip,{id:_.c,label:Object(p.__)("Speed","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"20",height:"16"}),onClick:A,selected:N===_.c,"data-context-id":_.c}),u&&r.createElement(s.Chip,{id:_.b,label:Object(p.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(k.a,{width:"18",height:"16"}),onClick:A,selected:N===_.b,"data-context-id":_.b}))}}).call(this,n(18),n(3))},264:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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",a({viewBox:"0 0 18 16",fill:"none"},e),i)}},265:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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",a({viewBox:"0 0 18 18",fill:"none"},e),i)}},266:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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",a({viewBox:"0 0 20 16",fill:"none"},e),i,o)}},267:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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",a({viewBox:"0 0 23 12",fill:"none"},e),i)}},268:function(e,t,n){"use strict";(function(e,r){var a=n(12),i=n.n(a),o=n(10),c=n.n(o),s=n(315),l=n(200),u=n.n(l),d=n(1),f=n(2),p=n(4),g=n.n(p),m=n(24),h=n(16),v=n(21),b=n(15),k=n(269),_=n(36),y=n(22),E=n(49),O=g.a.useSelect,S=g.a.useDispatch;t.a=function EntityHeader(){var t=Object(f.useContext)(m.b),n=O((function(e){return e(b.c).getCurrentEntityTitle()})),a=O((function(e){return e(b.c).getCurrentEntityURL()})),o=Object(f.useRef)(),l=Object(f.useState)(a),p=i()(l,2),g=p[0],j=p[1];Object(f.useEffect)((function(){var t=function(){if(o.current){var t=o.current.clientWidth-40,n=e.getComputedStyle(o.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);j(Object(E.e)(a,r))}},n=u()(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[a,o,j]);var w=S(_.a).navigateTo,C=O((function(e){return e(b.c).getAdminURL("googlesitekit-dashboard")})),x=Object(f.useCallback)((function(){w(C)}),[C,w]),N=Object(s.a)().y;return h.k!==t||null===a||null===n?null:r.createElement("div",{className:c()("googlesitekit-entity-header",{"googlesitekit-entity-header--has-scrolled":N>1})},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(v.a,{icon:r.createElement(k.a,{width:24,height:24}),"aria-label":Object(d.__)("Back to dashboard","google-site-kit"),onClick:x,text:!0},Object(d.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:o,className:"googlesitekit-entity-header__details"},r.createElement("p",null,n),r.createElement(y.a,{href:a,"aria-label":a,external:!0,inherit:!0},g)))}}).call(this,n(18),n(3))},269:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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",a({viewBox:"0 0 24 24"},e),i,o)}},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},270:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return g}));var r=n(81),a=e._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,s=a.trackingEnabled,l={activeModules:o,trackingEnabled:s,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},u=Object(r.a)(l),d=u.enableTracking,f=u.disableTracking,p=(u.isTrackingEnabled,u.initializeSnippet),g=u.trackEvent;function m(e){e?d():f()}c&&s&&p()}).call(this,n(18))},301:function(e,t,n){"use strict";(function(e){var t=n(120),r=n(33),a=n(53),i=n(9),o=n(203),c=n(204),s=n(205),l=n(207),u=Object(i.j)("notification"),d=Object(a.a)(e.createElement(o.a,null)),f=Object(a.a)(e.createElement(c.a,null)),p=Object(a.a)(e.createElement(s.a,null)),g=Object(a.a)(e.createElement(l.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",p,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",g,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},31:function(e,t,n){"use strict";n.d(t,"u",(function(){return a})),n.d(t,"i",(function(){return i})),n.d(t,"m",(function(){return o})),n.d(t,"k",(function(){return c})),n.d(t,"l",(function(){return s})),n.d(t,"j",(function(){return l})),n.d(t,"q",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return p})),n.d(t,"b",(function(){return g})),n.d(t,"e",(function(){return m})),n.d(t,"g",(function(){return h})),n.d(t,"f",(function(){return v})),n.d(t,"h",(function(){return b})),n.d(t,"o",(function(){return k})),n.d(t,"p",(function(){return _})),n.d(t,"n",(function(){return y})),n.d(t,"s",(function(){return E})),n.d(t,"t",(function(){return O})),n.d(t,"r",(function(){return S}));var r=n(16),a="modules/idea-hub",i="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",s="IDEA_HUB_BUTTON_UNPIN",l="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",p="IDEA_HUB_ACTIVITY_IS_DELETING",g="IDEA_HUB_ACTIVITY_DELETED",m="IDEA_HUB_ACTIVITY_IS_PINNING",h="IDEA_HUB_ACTIVITY_PINNED",v="IDEA_HUB_ACTIVITY_IS_UNPINNING",b="IDEA_HUB_ACTIVITY_UNPINNED",k="".concat(r.g,"_idea-hub-widget"),_="".concat(r.o,"_idea-hub-saved-ideas-notification"),y="".concat(r.l,"_idea-hub"),E="new-ideas",O="saved-ideas",S="draft-ideas"},33:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(18))},339:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return d}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(120);Object(c.c)("googlesitekit.winCallbacks",{});function s(){return l.apply(this,arguments)}function l(){return(l=o()(a.a.mark((function t(){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((n=e._googlesitekitLegacyData.setup).isSiteKitConnected&&(n.isAuthenticated||n.isVerified)){t.next=3;break}return t.abrupt("return",0);case 3:return 0,e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",0),t.abrupt("return",0);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var u=function(t){var n=Math.abs(t.count)+1;return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}},d=function(t){var n=Math.max(0,Math.abs(t.count)-1);return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}}}).call(this,n(18))},34:function(e,t){e.exports=googlesitekit.api},348:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(67),s=n.n(c),l=n(68),u=n.n(l),d=n(46),f=n.n(d),p=n(0),g=n.n(p),m=n(2),h=n(8),v=n(22);function b(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 a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var k=function(t){s()(LayoutHeader,t);var n=b(LayoutHeader);function LayoutHeader(){return a()(this,LayoutHeader),n.apply(this,arguments)}return o()(LayoutHeader,[{key:"render",value:function(){var t=this.props,n=t.title,r=t.ctaLabel,a=t.ctaLink,i=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.b,null,e.createElement(h.l,null,n&&e.createElement(h.a,i,e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n)),a&&e.createElement(h.a,{alignMiddle:!0,mdAlignRight:!0,smSize:4,lgSize:6},e.createElement(v.a,{href:a,external:!0,inherit:!0},r)))))}}]),LayoutHeader}(m.Component);k.propTypes={title:g.a.string,ctaLabel:g.a.string,ctaLink:g.a.string},k.defaultProps={title:"",ctaLabel:"",ctaLink:""},t.a=k}).call(this,n(3))},349:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(67),s=n.n(c),l=n(68),u=n.n(l),d=n(46),f=n.n(d),p=n(0),g=n.n(p),m=n(2),h=n(8),v=n(94);function b(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 a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var k=function(t){s()(LayoutFooter,t);var n=b(LayoutFooter);function LayoutFooter(){return a()(this,LayoutFooter),n.apply(this,arguments)}return o()(LayoutFooter,[{key:"render",value:function(){var t=this.props,n=t.ctaLabel,r=t.ctaLink,a=t.footerContent;return e.createElement("footer",{className:"googlesitekit-layout__footer"},e.createElement(h.b,null,e.createElement(h.l,null,e.createElement(h.a,{size:12},r&&n&&e.createElement(v.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),a))))}}]),LayoutFooter}(m.Component);k.propTypes={ctaLabel:g.a.string,ctaLink:g.a.string},t.a=k}).call(this,n(3))},35:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},362:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="connect-analytics-setup-splash",a="analytics-setup-opt-in"},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},370:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptIn}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(0),s=n.n(c),l=n(10),u=n.n(l),d=n(2),f=n(126),p=n(1),g=n(4),m=n.n(g),h=n(13),v=n(30),b=n(128),k=n(22),_=n(24),y=m.a.useSelect,E=m.a.useDispatch;function OptIn(t){var n=t.id,r=t.name,i=t.className,c=y((function(e){return e(h.a).isTrackingEnabled()})),s=y((function(e){return e(h.a).isSavingTrackingEnabled()})),l=y((function(e){return e(h.a).getErrorForAction("setTrackingEnabled",[!c])})),g=E(h.a).setTrackingEnabled,m=Object(d.useContext)(_.b),O=Object(d.useCallback)(function(){var e=o()(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(!!t.target.checked);case 2:n=e.sent,r=n.response,n.error||(Object(v.a)(r.enabled),r.enabled&&Object(v.b)(m,"tracking_optin"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[g,m]);return e.createElement("div",{className:u()("googlesitekit-opt-in",i)},e.createElement(b.a,{id:n,name:r,value:"1",checked:c,disabled:s,onChange:O,loading:void 0===c},e.createElement("span",null,Object(p.__)("Help us improve Site Kit by sharing anonymous usage data.","google-site-kit")," "),e.createElement("span",null,Object(f.a)(Object(p.__)("All collected data is treated in accordance with the <a>Google Privacy Policy.</a>","google-site-kit"),{a:e.createElement(k.a,{key:"link",href:"https://policies.google.com/privacy",external:!0,inherit:!0})}))),(null==l?void 0:l.message)&&e.createElement("div",{className:"googlesitekit-error-text"},null==l?void 0:l.message))}OptIn.propTypes={id:s.a.string,name:s.a.string,className:s.a.string},OptIn.defaultProps={id:"googlesitekit-opt-in",name:"optIn"}}).call(this,n(3))},38:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(37),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},39:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return h})),n.d(t,"d",(function(){return v})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return k}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i);n(23);function c(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,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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 i,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,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}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 l,u="googlesitekit_".concat("1.49.0","_"),d=["sessionStorage","localStorage"],f=[].concat(d),p=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.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,i="__storage_test__",r.setItem(i,i),r.removeItem(i),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 g(){return m.apply(this,arguments)}function m(){return(m=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===l){t.next=2;break}return t.abrupt("return",l);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!l){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,p(i);case 11:if(!t.sent){t.next=13;break}l=e[i];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===l&&(l=null),t.abrupt("return",l);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,s,l;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,s=i.value,l=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:l});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)}}(),v=function(){var t=o()(a.a.mark((function t(n,r){var i,o,c,s,l,d,f,p,m=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=m.length>2&&void 0!==m[2]?m[2]:{},o=i.ttl,c=void 0===o?3600:o,s=i.timestamp,l=void 0===s?Math.round(Date.now()/1e3):s,d=i.isError,f=void 0!==d&&d,t.next=3,g();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(u).concat(n),JSON.stringify({timestamp:l,ttl:c,value:r,isError:f})),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)}}(),b=function(){var t=o()(a.a.mark((function t(n){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),k=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(u)&&r.push(o.substring(u.length));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)}}()}).call(this,n(18))},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},409:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return v})),n.d(t,"e",(function(){return b})),n.d(t,"b",(function(){return k})),n.d(t,"a",(function(){return _})),n.d(t,"d",(function(){return y}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(34),s=n.n(c),l=n(15),u=n(828),d=n(235);function f(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 p(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 p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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 i,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,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function p(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 g=/^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$/,m=/\.(example|invalid|localhost|test)$/,h=[{subnet:"10.0.0.0",mask:8},{subnet:"127.0.0.0",mask:8},{subnet:"172.16.0.0",mask:12},{subnet:"192.168.0.0",mask:16}],v=function(){var t=o()(a.a.mark((function t(){var n,r,i,o,c,s,l;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.location,r=n.hostname,!n.port){t.next=3;break}throw d.f;case 3:if(!g.test(r)){t.next=23;break}i=f(h),t.prev=5,i.s();case 7:if((o=i.n()).done){t.next=13;break}if(c=o.value,s=c.mask,l=c.subnet,!Object(u.a)(r,l,s)){t.next=11;break}throw d.f;case 11:t.next=7;break;case 13:t.next=18;break;case 15:t.prev=15,t.t0=t.catch(5),i.e(t.t0);case 18:return t.prev=18,i.f(),t.finish(18);case 21:t.next=25;break;case 23:if(r.includes(".")&&!r.match(m)){t.next=25;break}throw d.f;case 25:case"end":return t.stop()}}),t,null,[[5,15,18,21]])})));return function(){return t.apply(this,arguments)}}(),b=function(e){return o()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.dispatch(l.c).checkForSetupTag();case 2:if(!t.sent.error){t.next=5;break}throw d.g;case 5:case"end":return t.stop()}}),t)})))},k=function(){var e=o()(a.a.mark((function e(){var t,n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.get("core","site","health-checks",void 0,{useCache:!1}).catch((function(e){if("fetch_error"===e.code)throw d.d;throw d.c}));case 2:if(null==(r=e.sent)||null===(t=r.checks)||void 0===t||null===(n=t.googleAPI)||void 0===n?void 0:n.pass){e.next=5;break}throw d.e;case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_=function(){var e=o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(d.a).catch((function(){throw d.b}));case 2:if(e.sent.ok){e.next=5;break}throw d.b;case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=function(){var t=o()(a.a.mark((function t(){var n,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e._googlesitekitBaseData||{},!((r=n.wpVersion)&&r.major<5)){t.next=3;break}throw d.h;case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},42:function(e,t,n){"use strict";(function(e,r){var a=n(6),i=n.n(a),o=n(5),c=n.n(o),s=n(14),l=n.n(s),u=n(12),d=n.n(u),f=n(0),p=n.n(f),g=n(10),m=n.n(g),h=n(231),v=n.n(h),b=n(103),k=n(2),_=n(88),y=n(8),E=n(114),O=n(49),S=n(60),j=n(74),w=n(21),C=n(155),x=n(116),N=n(22),R=n(121),A=n(39),T=n(9),M=n(16),D=n(99);function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,s=t.blockData,u=t.children,f=t.className,p=t.ctaLabel,g=t.ctaLink,h=t.ctaTarget,L=t.description,z=t.dismiss,P=t.dismissExpires,I=t.format,B=t.id,F=t.isDismissible,U=t.learnMoreDescription,q=t.learnMoreLabel,H=t.learnMoreURL,V=t.logo,W=t.module,K=t.moduleName,G=t.onCTAClick,X=t.onDismiss,Y=t.pageIndex,$=t.showOnce,Q=t.SmallImageSVG,J=t.title,Z=t.type,ee=t.WinImageSVG,te=Object(k.useState)(!1),ne=d()(te,2),re=ne[0],ae=ne[1],ie=Object(k.useState)(!1),oe=d()(ie,2),ce=oe[0],se=oe[1],le=Object(k.useRef)(),ue="notification::dismissed::".concat(B),de=function(){return Object(A.d)(ue,new Date,{ttl:null})},fe=Object(D.a)();function pe(){return(pe=l()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(T.v)("".concat(M.g,"_site-notification"),"dismiss_notification",B);case 4:if(!X){e.next=7;break}return e.next=7,X(t);case 7:ge();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ge(){var e=le.current;ae(!0),setTimeout(l()(c.a.mark((function t(){var n;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,de();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function me(){return(me=l()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(T.v)("".concat(M.g,"_site-notification"),"confirm_notification",B);case 3:if(!G){e.next=6;break}return e.next=6,G(t);case 6:F&&ge();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(b.a)(l()(c.a.mark((function e(){var t,n;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(T.v)("".concat(M.g,"_site-notification"),"view_notification",B);case 2:if(!(P>0)){e.next=5;break}return e.next=5,be();case 5:if(!F){e.next=11;break}return e.next=8,Object(A.b)(ue);case 8:t=e.sent,n=t.cacheHit,se(n);case 11:if(!$){e.next=14;break}return e.next=14,de();case 14:case"end":return e.stop()}}),e)}))));var he=Object(k.useCallback)((function(t){Object(O.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(E.a)(a,fe),behavior:"smooth"}))}),[a,fe]);function ve(){return(ve=l()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(T.v)("".concat(M.g,"_site-notification"),"click_learn_more_link",B);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function be(){return ke.apply(this,arguments)}function ke(){return(ke=l()(c.a.mark((function e(){var t,n,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(A.b)(ue);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(P,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(A.a)(ue);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(F&&(void 0===ce||ce))return null;var _e,ye,Ee=re?"is-closed":"is-open",Oe="large"===I&&"win-stats-increase"===Z;_e="large"===I?Oe?{mdSize:5,lgSize:8,smOrder:2,mdOrder:1}:{mdSize:6,lgSize:8,smOrder:2,mdOrder:1}:"small"===I?{smSize:3,mdSize:7,lgSize:11}:{size:12},ye="win-warning"===Z?r.createElement(C.a,{width:34}):"win-error"===Z?r.createElement(x.a,{width:28}):"";var Se=r.createElement(k.Fragment,null,s&&r.createElement(y.l,null,v()(s,(function(e,t){return r.createElement(y.a,{key:t,lgSize:Oe?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(j.a,e)))})))),je=r.createElement(k.Fragment,null,J&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},J),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(N.a,{href:a,onClick:he},o)),L&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(k.isValidElement)(L)?L:r.createElement("span",{dangerouslySetInnerHTML:Object(S.a)(L,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),q&&r.createElement(k.Fragment,null," ",r.createElement(N.a,{onClick:function(e){return ve.apply(this,arguments)},href:H,external:!0,inherit:!0},q),U),Y&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},Y))),u),we=W?r.createElement(R.a,{slug:W,size:19}):r.createElement(_.a,{height:"34",width:"32"}),Ce=Oe?{size:12,smOrder:2,mdOrder:1}:{size:12};return r.createElement("section",{id:B,ref:le,className:m()(f,"googlesitekit-publisher-win",(n={},i()(n,"googlesitekit-publisher-win--".concat(I),I),i()(n,"googlesitekit-publisher-win--".concat(Z),Z),i()(n,"googlesitekit-publisher-win--".concat(Ee),Ee),n))},r.createElement(y.b,null,r.createElement(y.l,null,V&&r.createElement(y.a,Ce,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},we),K&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},K)),Q&&r.createElement(y.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(Q,null)),r.createElement(y.a,_e,Oe?r.createElement(y.l,null,r.createElement(y.a,{mdSize:8,lgSize:5},je),r.createElement(y.a,{alignBottom:!0,mdSize:8,lgSize:7},Se)):r.createElement(k.Fragment,null,je,Se),g&&r.createElement(w.a,{className:"googlesitekit-notification__cta",href:g,target:h,onClick:function(e){return me.apply(this,arguments)}},p),F&&z&&r.createElement(N.a,{onClick:function(e){return pe.apply(this,arguments)}},z)),ee&&r.createElement(y.a,{mdSize:2,lgSize:4,smOrder:1,mdOrder:2},r.createElement("div",{className:"googlesitekit-publisher-win__image-large"},r.createElement(ee,null))),("win-error"===Z||"win-warning"===Z)&&r.createElement(y.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},ye)))))}BannerNotification.propTypes={id:p.a.string.isRequired,className:p.a.string,title:p.a.string.isRequired,description:p.a.node,learnMoreURL:p.a.string,learnMoreDescription:p.a.string,learnMoreLabel:p.a.string,blockData:p.a.array,WinImageSVG:p.a.elementType,SmallImageSVG:p.a.elementType,format:p.a.string,ctaLink:p.a.string,ctaLabel:p.a.string,type:p.a.string,dismiss:p.a.string,isDismissible:p.a.bool,logo:p.a.bool,module:p.a.string,moduleName:p.a.string,pageIndex:p.a.string,dismissExpires:p.a.number,showOnce:p.a.bool,onCTAClick:p.a.func,onDismiss:p.a.func,anchorLink:p.a.string,anchorLinkLabel:p.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(18),n(3))},441:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(14),c=n.n(o),s=n(12),l=n.n(s),u=n(1),d=n(2),f=n(126),p=n(72),g=n(442),m=n(4),h=n.n(m),v=n(9),b=n(113),k=n(92),_=n(22),y=n(15),E=n(36),O=n(30),S=n(24),j=h.a.useSelect,w=h.a.useDispatch;t.a=function ResetButton(t){var n=t.children,a=j((function(e){return e(y.c).getAdminURL("googlesitekit-splash",{notification:"reset_success"})})),o=j((function(e){return e(y.c).isDoingReset()})),s=j((function(e){return e(E.a).isNavigatingTo(a||"")})),m=Object(d.useState)(!1),h=l()(m,2),C=h[0],x=h[1],N=Object(d.useState)(!1),R=l()(N,2),A=R[0],T=R[1],M=Object(g.a)(x,3e3);Object(d.useEffect)((function(){o||s?x(!0):M(!1)}),[o,s,M]),Object(d.useEffect)((function(){var t=function(e){p.c===e.keyCode&&T(!1)};return A&&e.addEventListener("keyup",t,!1),function(){A&&e.removeEventListener("keyup",t)}}),[A]);var D=w(y.c).reset,L=w(E.a).navigateTo,z=Object(d.useContext)(S.b),P=Object(d.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D();case 2:return Object(v.c)(),e.next=5,Object(O.b)(z,"reset_plugin");case 5:L(a);case 6:case"end":return e.stop()}}),e)}))),[L,a,D,z]),I=Object(d.useCallback)((function(){T(!A)}),[A]),B=Object(d.useCallback)((function(){T(!0)}),[]);return r.createElement(d.Fragment,null,r.createElement(_.a,{className:"googlesitekit-reset-button",onClick:B,inherit:!0},n||Object(u.__)("Reset Site Kit","google-site-kit")),r.createElement(k.a,null,r.createElement(b.a,{dialogActive:A,handleConfirm:P,handleDialog:I,title:Object(u.__)("Reset Site Kit","google-site-kit"),subtitle:Object(f.a)(Object(u.__)("Resetting will disconnect all users and remove all Site Kit settings and data within WordPress. <br />You and any other users who wish to use Site Kit will need to reconnect to restore access.","google-site-kit"),{br:r.createElement("br",null)}),confirmButton:Object(u.__)("Reset","google-site-kit"),danger:!0,inProgress:C})))}}).call(this,n(18),n(3))},442:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(534),a=n(26),i=n(2);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object(r.a)((function(){return a.debounce.apply(void 0,t)}),t);return Object(i.useEffect)((function(){return function(){return o.cancel()}}),[o]),o}},447:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(78),s=n.n(c),l=n(67),u=n.n(l),d=n(68),f=n.n(d),p=n(46),g=n.n(p),m=n(10),h=n.n(m),v=n(107),b=n(2),k=n(1),_=n(339),y=n(54);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=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var O=function(t){u()(NotificationCounter,t);var n=E(NotificationCounter);function NotificationCounter(e){var t;return a()(this,NotificationCounter),(t=n.call(this,e)).state={count:0},t.handleIncrement=t.handleIncrement.bind(s()(t)),t.handleDecrement=t.handleDecrement.bind(s()(t)),t}return o()(NotificationCounter,[{key:"componentDidMount",value:function(){var e=this;Object(_.b)().then((function(t){e.setState({count:t})})),document.addEventListener("notificationDismissed",this.handleDecrement,!1)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("notificationDismissed",this.handleDecrement)}},{key:"handleIncrement",value:function(){this.setState(_.c)}},{key:"handleDecrement",value:function(){this.setState(_.a)}},{key:"render",value:function(){var t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name");if(!t)return null;var n=Object(k.sprintf)(
14
  /* translators: %d: the number of notifications */
15
  Object(k._n)("%d notification","%d notifications",this.state.count,"google-site-kit"),this.state.count),r=e.createElement("span",{className:h()("googlesitekit-notifications-counter","update-plugins","count-".concat(this.state.count))},e.createElement("span",{className:"plugin-count","aria-hidden":"true"},this.state.count),e.createElement(y.a,null,n));return Object(v.createPortal)(r,t)}}]),NotificationCounter}(b.Component);t.a=O}).call(this,n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(27);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},49:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return s}));var r=n(105);function a(e){try{return new URL(e).pathname}catch(e){}return null}function i(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){return/^#\w[A-Za-z0-9-_]*$/.test(e)}function s(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),a=e.replace(n.origin,"");if(a.length<t)return a;var i=a.length-Math.floor(t)+1;return"…"+a.substr(i)}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),a=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},54:function(e,t,n){"use strict";(function(e){var r=n(19),a=n.n(r),i=n(17),o=n.n(i),c=n(0),s=n.n(c),l=n(10),u=n.n(l);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},56:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return g})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return v})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(37),s=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},l=n(12),u=n.n(l),d=n(38),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),s(n)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function m(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var h=n(1);function v(){var e=function(e){return Object(h.sprintf)(
16
  /* translators: %s: number of days */
@@ -41,6 +41,6 @@ Object(p.__)("— New URL: %s","google-site-kit"),K)),a&&!o&&r.createElement(I.a
41
  /* translators: %1$s: Support Forum URL, %2$s: Error message */
42
  Object(i.__)('To get more help, ask a question on our <a href="%1$s">support forum</a> and include the text of the original error message: %2$s',"google-site-kit"),"https://wordpress.org/support/plugin/google-site-kit/","<br/>".concat(n)),"\n\t\t\t\t\t\t"),{ALLOWED_TAGS:["a","br"],ALLOWED_ATTR:["href"]})});case d.b:return e.createElement("p",{dangerouslySetInnerHTML:Object(s.a)("\n\t\t\t\t\t\t".concat(Object(i.__)("Looks like the AMP CDN is restricted in your region, which could interfere with setup on the Site Kit service.","google-site-kit"),"\n\t\t\t\t\t\t<br/>\n\t\t\t\t\t\t").concat(Object(i.sprintf)(
43
  /* translators: %1$s: Support Forum URL, %2$s: Error message */
44
- Object(i.__)('To get more help, ask a question on our <a href="%1$s">support forum</a> and include the text of the original error message: %2$s',"google-site-kit"),"https://wordpress.org/support/plugin/google-site-kit/","<br/>".concat(n)),"\n\t\t\t\t\t\t"),{ALLOWED_TAGS:["a","br"],ALLOWED_ATTR:["href"]})});case d.h:return e.createElement("p",null,Object(i.__)("Looks like you’re using a version of WordPress that’s older than 5.0. You can still install and use Site Kit, but some of its features might not work (for example translations).","google-site-kit"))}}}).call(this,n(3))},828:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=function(e){var t=e.split(".");return(+t[0]<<24)+(+t[1]<<16)+(+t[2]<<8)+ +t[3]},a=function(e,t,n){return(r(e)&-1<<32-n)===r(t)}},829:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivateAnalyticsNotice}));var r=n(6),a=n.n(r),i=n(2),o=n(1),c=n(4),s=n.n(c),l=n(362),u=n(40),d=n(128),f=n(830),p=s.a.useSelect,g=s.a.useDispatch;function ActivateAnalyticsNotice(){var t=g(u.a).setValues,n=p((function(e){return e(u.a).getValue(l.b,l.a)})),r=Object(i.useCallback)((function(e){t(l.b,a()({},l.a,e.target.checked))}),[t]);return e.createElement("div",{className:"googlesitekit-setup-analytics-notice"},e.createElement("div",{className:"googlesitekit-setup-analytics-notice__opt-in"},e.createElement(d.a,{id:"googlesitekit-analytics-setup-opt-in",name:"googlesitekit-analytics-setup-opt-in",value:"1",checked:n,onChange:r},e.createElement("strong",null,Object(o.__)("Connect Google Analytics as part of your setup.","google-site-kit")," "),e.createElement("span",null,Object(o.__)("Activate Google Analytics to track how much traffic you’re getting and how people navigate your site.","google-site-kit")))),e.createElement("div",{className:"googlesitekit-setup-analytics-notice__icon"},e.createElement(f.a,null)))}}).call(this,n(3))},83:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(14),s=n.n(c),l=n(47),u=n(33);function d(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(t,n,r,i){var o=Object(l.a)(n);return function(){var n=s()(a.a.mark((function n(c,s,l,d){var p,g,m,h,v,b,k,_,y,E;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(h=t.activeModules,v=t.referenceSiteURL,b=t.trackingEnabled,k=t.trackingID,_=t.userIDHash,b){n.next=3;break}return n.abrupt("return");case 3:return r(),y=null!==(p=null===(g=e._googlesitekitUserData)||void 0===g||null===(m=g.user)||void 0===m?void 0:m.roles)&&void 0!==p?p:[],E={send_to:k,event_category:c,event_label:l,value:d,dimension1:v,dimension2:y.join(","),dimension3:_,dimension4:"1.49.0",dimension5:Array.from(u.a).join(","),dimension6:h.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(s,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),a=function(){clearTimeout(r),e()};o("event",s,f(f({},E),{},{event_callback:a})),(null===(t=i._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},830:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("g",{filter:"url(#analytics-setup-sidekick_svg__a)"},r.createElement("rect",{x:135,y:2,width:148,height:122,rx:3.976,fill:"#fff"})),o=r.createElement("path",{d:"M147.754 25.902v-7.98h1.939l2.118 5.607h.089l2.118-5.606h1.95v7.98h-1.494v-3.935l.09-1.326h-.09l-2.028 5.26h-1.17l-2.04-5.26h-.089l.089 1.326v3.934h-1.482zm12.456.179c-.595 0-1.122-.13-1.583-.39a2.93 2.93 0 01-1.07-1.081 3.164 3.164 0 01-.379-1.55 3.1 3.1 0 01.379-1.537c.26-.461.617-.822 1.07-1.082.461-.267.988-.4 1.583-.4.594 0 1.118.133 1.571.4a2.85 2.85 0 011.059 1.082c.26.453.39.965.39 1.537 0 .573-.13 1.089-.39 1.55a2.85 2.85 0 01-1.059 1.08c-.453.26-.977.39-1.571.39zm0-1.36c.282 0 .538-.063.769-.19a1.49 1.49 0 00.568-.568c.148-.252.223-.553.223-.903 0-.349-.075-.646-.223-.891a1.494 1.494 0 00-.568-.569 1.506 1.506 0 00-.769-.2 1.61 1.61 0 00-.781.2 1.573 1.573 0 00-.579.569c-.141.245-.212.542-.212.891 0 .35.071.65.212.903.148.245.342.435.579.569.246.126.506.189.781.189zm6.244 1.36c-.49 0-.91-.07-1.259-.212a2.36 2.36 0 01-.836-.557 2.299 2.299 0 01-.479-.758l1.304-.569c.245.543.669.814 1.27.814.238 0 .454-.037.647-.111a.438.438 0 00.29-.435.414.414 0 00-.156-.346.933.933 0 00-.368-.2 3.213 3.213 0 00-.457-.123l-.669-.145a2.524 2.524 0 01-.78-.312 2.04 2.04 0 01-.602-.58 1.508 1.508 0 01-.223-.813c0-.342.097-.639.29-.891.201-.253.468-.45.803-.591a2.916 2.916 0 011.125-.212c.565 0 1.048.1 1.449.301.401.2.702.513.903.936l-1.249.546a1.01 1.01 0 00-.468-.468 1.369 1.369 0 00-.601-.133c-.253 0-.454.048-.602.144-.149.097-.223.212-.223.346 0 .141.074.264.223.368.148.104.327.182.535.234l.836.2c.564.134.988.35 1.27.647.29.297.435.654.435 1.07 0 .371-.108.698-.323.98-.216.275-.506.49-.87.647a3.187 3.187 0 01-1.215.223zm5.885-.09c-.587 0-1.048-.167-1.382-.501-.334-.342-.502-.81-.502-1.404v-2.62h-.991V20.22h.991v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351c0 .26.056.46.168.602.111.134.297.2.557.2a.884.884 0 00.368-.066 3.06 3.06 0 00.345-.178v1.426a2.74 2.74 0 01-1.014.19zm4.751 2.319v-8.091h1.371v.69h.089c.141-.222.357-.423.647-.601.297-.179.65-.268 1.058-.268.521 0 .985.13 1.394.39.416.253.742.606.98 1.059.245.453.368.977.368 1.571 0 .595-.123 1.119-.368 1.572-.238.453-.564.81-.98 1.07a2.596 2.596 0 01-1.394.379c-.408 0-.761-.086-1.058-.257-.29-.178-.506-.379-.647-.602h-.089l.089.803v2.285h-1.46zm2.909-3.578a1.481 1.481 0 001.326-.791 1.7 1.7 0 00.223-.88c0-.342-.074-.636-.223-.881a1.488 1.488 0 00-.568-.568 1.464 1.464 0 00-1.516 0c-.23.133-.42.327-.568.58a1.714 1.714 0 00-.212.868c0 .335.071.628.212.88.148.246.338.44.568.58.238.142.491.212.758.212zm6.842 1.349c-.594 0-1.121-.13-1.582-.39a2.93 2.93 0 01-1.07-1.081 3.164 3.164 0 01-.379-1.55 3.1 3.1 0 01.379-1.537c.26-.461.617-.822 1.07-1.082.461-.267.988-.4 1.582-.4.595 0 1.119.133 1.572.4a2.85 2.85 0 011.059 1.082c.26.453.39.965.39 1.537 0 .573-.13 1.089-.39 1.55a2.85 2.85 0 01-1.059 1.08c-.453.26-.977.39-1.572.39zm0-1.36c.283 0 .539-.063.769-.19a1.49 1.49 0 00.569-.568c.148-.252.223-.553.223-.903 0-.349-.075-.646-.223-.891a1.49 1.49 0 00-.569-.569 1.604 1.604 0 00-1.549 0 1.573 1.573 0 00-.579.569c-.141.245-.212.542-.212.891 0 .35.071.65.212.903.148.245.342.435.579.569.245.126.505.189.78.189zm4.039 3.589v-8.091h1.37v.69h.09c.141-.222.356-.423.646-.601.297-.179.65-.268 1.059-.268.52 0 .984.13 1.393.39.416.253.743.606.981 1.059.245.453.367.977.367 1.571 0 .595-.122 1.119-.367 1.572-.238.453-.565.81-.981 1.07a2.595 2.595 0 01-1.393.379c-.409 0-.762-.086-1.059-.257-.29-.178-.505-.379-.646-.602h-.09l.09.803v2.285h-1.46zm2.908-3.578a1.481 1.481 0 001.327-.791 1.71 1.71 0 00.223-.88c0-.342-.075-.636-.223-.881a1.49 1.49 0 00-.569-.568 1.457 1.457 0 00-1.515 0 1.57 1.57 0 00-.569.58 1.714 1.714 0 00-.212.868c0 .335.071.628.212.88.149.246.338.44.569.58.237.142.49.212.757.212zm6.12 1.349c-.699 0-1.223-.216-1.572-.647-.349-.43-.524-1.018-.524-1.76v-3.455h1.46v3.276c0 .386.093.691.279.914a.944.944 0 00.736.323c.431 0 .765-.156 1.003-.468.237-.312.356-.695.356-1.148V20.22h1.46v5.683h-1.371v-.713h-.089a1.83 1.83 0 01-.724.658 2.194 2.194 0 01-1.014.234zm4.632-.179v-7.98H206v7.98h-1.46zm4.579.179c-.402 0-.758-.078-1.07-.234a1.88 1.88 0 01-.725-.68 1.877 1.877 0 01-.267-1.003c0-.394.1-.732.301-1.014.208-.283.483-.502.825-.658a2.806 2.806 0 011.159-.234c.349 0 .65.03.902.09.253.051.454.107.602.166v-.245a.93.93 0 00-.345-.746c-.231-.201-.546-.301-.948-.301a1.73 1.73 0 00-.78.189 1.788 1.788 0 00-.613.48l-.936-.736c.275-.357.62-.632 1.037-.825a3.19 3.19 0 011.359-.29c.869 0 1.531.2 1.984.602.453.401.68.988.68 1.76v3.5h-1.438v-.58h-.089a1.955 1.955 0 01-.646.536c-.268.148-.599.223-.992.223zm.345-1.137c.297 0 .546-.063.747-.19.208-.133.364-.304.468-.512.111-.208.167-.427.167-.658a2.331 2.331 0 00-.557-.19 2.61 2.61 0 00-.635-.077c-.431 0-.728.081-.892.245a.82.82 0 00-.245.602c0 .223.078.408.234.557.163.149.401.223.713.223zm4.163.958V20.22h1.371v.757h.089a1.76 1.76 0 01.647-.657 1.89 1.89 0 01.991-.268c.149 0 .283.012.402.034.119.022.223.052.312.089v1.46a3.776 3.776 0 00-.468-.145 1.67 1.67 0 00-.48-.067c-.438 0-.783.16-1.036.48-.245.319-.368.709-.368 1.17v2.83h-1.46zm-63.399 16.179c-.579 0-1.096-.127-1.549-.38a2.874 2.874 0 01-1.059-1.07c-.252-.46-.378-.984-.378-1.57 0-.587.126-1.108.378-1.56a2.87 2.87 0 011.059-1.07c.453-.26.97-.39 1.549-.39.632 0 1.174.133 1.627.4.454.268.781.654.981 1.16l-1.337.557a1.183 1.183 0 00-.502-.569 1.49 1.49 0 00-.769-.19c-.431 0-.795.153-1.092.458-.29.297-.435.698-.435 1.203 0 .513.145.922.435 1.226.297.298.661.446 1.092.446.327 0 .598-.07.814-.212.215-.148.39-.349.524-.601l1.304.58a2.698 2.698 0 01-1.015 1.147c-.453.29-.995.435-1.627.435zm6.379 0c-.594 0-1.122-.13-1.582-.39a2.922 2.922 0 01-1.07-1.081 3.164 3.164 0 01-.379-1.55 3.1 3.1 0 01.379-1.538c.26-.46.616-.82 1.07-1.08.46-.268.988-.402 1.582-.402.594 0 1.118.134 1.571.401a2.84 2.84 0 011.059 1.081c.26.454.39.966.39 1.538a3.1 3.1 0 01-.39 1.55 2.835 2.835 0 01-1.059 1.08c-.453.26-.977.39-1.571.39zm0-1.36a1.483 1.483 0 001.337-.758c.149-.252.223-.553.223-.903 0-.349-.074-.646-.223-.891a1.487 1.487 0 00-.568-.569 1.604 1.604 0 00-1.549 0 1.575 1.575 0 00-.58.569c-.141.245-.211.542-.211.891 0 .35.07.65.211.903.149.245.342.435.58.569.245.126.505.189.78.189zm4.029 1.181V36.22h1.37v.713h.089c.171-.275.413-.49.725-.647.312-.163.65-.245 1.014-.245.698 0 1.222.212 1.571.636.35.423.524.988.524 1.694v3.532h-1.46v-3.354c0-.372-.096-.654-.289-.847-.186-.2-.443-.301-.769-.301-.409 0-.732.156-.97.468-.23.312-.346.69-.346 1.137v2.897h-1.459zm8.862.09c-.587 0-1.047-.168-1.382-.502-.334-.342-.501-.81-.501-1.404v-2.62h-.992V36.22h.992v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351c0 .26.055.46.167.602.111.134.297.2.557.2a.88.88 0 00.368-.066 3.06 3.06 0 00.345-.178v1.426a2.73 2.73 0 01-1.014.19zm4.652.089c-.572 0-1.085-.13-1.538-.39a2.868 2.868 0 01-1.059-1.07 3.134 3.134 0 01-.379-1.55c0-.542.127-1.043.379-1.504.253-.46.598-.828 1.037-1.103.438-.283.94-.424 1.504-.424.609 0 1.122.13 1.538.39.416.26.732.61.947 1.048.216.43.324.91.324 1.438 0 .118-.004.223-.011.312a1.825 1.825 0 01-.023.178h-4.257c.067.446.245.788.535 1.025.29.238.631.357 1.025.357.349 0 .643-.074.881-.223a1.74 1.74 0 00.557-.58l1.181.58c-.267.468-.616.84-1.047 1.114-.431.268-.963.402-1.594.402zm-.045-4.848c-.334 0-.631.1-.891.3a1.58 1.58 0 00-.546.837h2.83a1.108 1.108 0 00-.189-.513 1.344 1.344 0 00-.468-.446 1.422 1.422 0 00-.736-.178zm3.922 4.67v-5.684h1.371v.713h.089c.171-.275.413-.49.725-.647.312-.163.65-.245 1.014-.245.698 0 1.222.212 1.571.636.349.423.524.988.524 1.694v3.532h-1.46v-3.354c0-.372-.096-.654-.29-.847-.185-.2-.442-.301-.769-.301-.408 0-.731.156-.969.468-.231.312-.346.69-.346 1.137v2.897h-1.46zm8.863.089c-.587 0-1.048-.168-1.382-.502-.334-.342-.501-.81-.501-1.404v-2.62h-.992V36.22h.992v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351c0 .26.055.46.167.602.111.134.297.2.557.2a.88.88 0 00.368-.066 3.06 3.06 0 00.345-.178v1.426a2.73 2.73 0 01-1.014.19z",fill:"#202124"}),c=r.createElement("path",{d:"M149.749 64.817h-.742v-4.92l-1.488.546v-.67l2.115-.794h.115v5.838zm1.381 15h-3.807v-.53l2.011-2.236c.298-.338.503-.612.615-.822.114-.213.172-.432.172-.658 0-.303-.092-.552-.276-.746-.183-.195-.428-.292-.734-.292-.367 0-.653.105-.858.316-.202.207-.303.497-.303.87h-.739c0-.535.172-.968.515-1.297.346-.33.808-.495 1.385-.495.54 0 .967.142 1.281.427.314.282.471.658.471 1.13 0 .571-.365 1.252-1.094 2.042l-1.556 1.688h2.917v.603zm-2.733 11.736h.554c.349-.006.623-.097.822-.276.2-.178.3-.419.3-.722 0-.681-.339-1.022-1.018-1.022-.319 0-.575.092-.766.276-.189.18-.283.421-.283.722h-.739c0-.46.168-.842.503-1.145.338-.306.766-.46 1.285-.46.548 0 .978.146 1.289.436.311.29.467.693.467 1.209 0 .253-.082.497-.247.734a1.475 1.475 0 01-.667.53c.319.102.565.27.738.504.176.234.264.52.264.858 0 .521-.17.935-.511 1.24-.341.307-.784.46-1.329.46-.545 0-.99-.148-1.333-.443-.34-.296-.511-.685-.511-1.17h.743c0 .306.099.551.299.735.2.183.467.275.802.275.357 0 .629-.093.818-.28.189-.185.284-.453.284-.801 0-.338-.104-.598-.312-.778-.207-.181-.507-.275-.898-.28h-.554v-.602zm2.043 16.312h.806v.603h-.806v1.349h-.742v-1.349h-2.646v-.435l2.602-4.026h.786v3.858zm-2.55 0h1.808v-2.849l-.088.16-1.72 2.689z",fill:"#C7C7C7"}),s=r.createElement("path",{d:"M149 62.227c0-1.23 1.104-2.227 2.465-2.227h51.464c1.362 0 2.465.997 2.465 2.227s-1.103 2.227-2.465 2.227h-51.464c-1.361 0-2.465-.997-2.465-2.227zm0 14.849c0-1.23 1.104-2.227 2.465-2.227h80.07c1.361 0 2.465.997 2.465 2.227s-1.104 2.227-2.465 2.227h-80.07c-1.361 0-2.465-.997-2.465-2.227zm0 14.848c0-1.23 1.104-2.227 2.465-2.227h44.109c1.361 0 2.464.997 2.464 2.227s-1.103 2.227-2.464 2.227h-44.109c-1.361 0-2.465-.997-2.465-2.227zm0 14.849c0-1.23 1.104-2.228 2.465-2.228h59.637c1.362 0 2.465.998 2.465 2.228 0 1.23-1.103 2.227-2.465 2.227h-59.637c-1.361 0-2.465-.997-2.465-2.227z",fill:"#C7C7C7"}),l=r.createElement("g",{filter:"url(#analytics-setup-sidekick_svg__b)"},r.createElement("rect",{x:4,y:52,width:148,height:122,rx:3.976,fill:"#fff"})),u=r.createElement("path",{d:"M19.707 75.08c-.624 0-1.17-.133-1.638-.4a2.783 2.783 0 01-1.08-1.149c-.253-.505-.38-1.107-.38-1.805v-4.803h1.494v4.892c0 .528.133.966.4 1.315.276.35.677.524 1.204.524.528 0 .925-.174 1.193-.524.275-.349.412-.787.412-1.315v-4.892h1.494v4.803c0 .661-.127 1.245-.38 1.75a2.834 2.834 0 01-1.069 1.181c-.46.282-1.01.424-1.65.424zm4.585-.178V69.22h1.37v.713h.09c.17-.275.412-.49.724-.647.312-.163.65-.245 1.014-.245.699 0 1.223.212 1.572.635.349.424.523.989.523 1.695v3.532h-1.46v-3.354c0-.372-.096-.654-.29-.847-.185-.2-.441-.301-.768-.301-.409 0-.732.156-.97.468-.23.312-.345.69-.345 1.137v2.897h-1.46zm7.496-6.308a.912.912 0 01-.669-.278.912.912 0 01-.278-.669c0-.26.093-.48.278-.657a.912.912 0 01.669-.279c.26 0 .48.093.658.279a.876.876 0 01.278.657c0 .26-.093.483-.278.669a.876.876 0 01-.658.278zm-.736 6.308V69.22h1.46v5.683h-1.46zm7.072 2.408v-2.285l.089-.803h-.09c-.14.223-.356.424-.645.602-.29.171-.643.257-1.06.257-.52 0-.987-.127-1.404-.38a2.811 2.811 0 01-.991-1.07c-.238-.452-.357-.976-.357-1.57 0-.595.119-1.119.357-1.572a2.73 2.73 0 01.991-1.059 2.6 2.6 0 011.405-.39c.416 0 .769.09 1.059.268.29.178.505.379.646.601h.089v-.69h1.36v8.09h-1.45zm-1.46-3.578c.275 0 .527-.07.758-.212.238-.14.427-.334.568-.58.149-.252.223-.545.223-.88a1.64 1.64 0 00-.223-.869 1.471 1.471 0 00-.568-.58 1.46 1.46 0 00-1.516 0c-.23.134-.42.324-.568.569a1.736 1.736 0 00-.212.88c0 .335.07.628.212.88.148.254.338.45.568.591.238.134.49.201.758.201zm6.352 1.349c-.698 0-1.222-.216-1.572-.647-.349-.43-.523-1.018-.523-1.76v-3.455h1.46v3.276c0 .386.093.691.278.914a.945.945 0 00.736.323c.43 0 .765-.156 1.003-.468.238-.312.356-.695.356-1.148V69.22h1.46v5.683h-1.37v-.713h-.09a1.83 1.83 0 01-.724.658 2.192 2.192 0 01-1.014.234zm7.23 0c-.572 0-1.085-.13-1.538-.39a2.868 2.868 0 01-1.059-1.07c-.252-.453-.379-.97-.379-1.55 0-.542.127-1.043.38-1.504.252-.46.597-.828 1.036-1.103.438-.283.94-.424 1.504-.424.61 0 1.122.13 1.538.39.416.26.732.61.947 1.048.216.43.324.91.324 1.438 0 .118-.004.222-.011.312a1.913 1.913 0 01-.023.178h-4.257c.067.446.245.787.535 1.025.29.238.631.357 1.025.357.35 0 .643-.074.88-.223.238-.156.424-.35.558-.58l1.181.58c-.267.468-.616.84-1.047 1.114-.431.268-.963.402-1.594.402zm-.045-4.848c-.334 0-.631.1-.891.3a1.58 1.58 0 00-.546.837h2.83a1.114 1.114 0 00-.189-.513 1.35 1.35 0 00-.468-.446 1.42 1.42 0 00-.736-.178zm8.306 4.67L56.1 69.218h1.66l1.438 3.7h.09l1.46-3.7h1.638l-2.43 5.683h-1.449zm5.496-6.309a.912.912 0 01-.669-.278.912.912 0 01-.278-.669c0-.26.093-.48.279-.657a.912.912 0 01.668-.279c.26 0 .48.093.658.279a.876.876 0 01.278.657c0 .26-.093.483-.278.669a.876.876 0 01-.658.278zm-.735 6.308V69.22h1.46v5.683h-1.46zm5.142.179c-.49 0-.91-.07-1.26-.212a2.356 2.356 0 01-.836-.557 2.293 2.293 0 01-.479-.758l1.304-.569c.245.543.669.814 1.27.814.238 0 .454-.037.647-.111a.437.437 0 00.29-.435.414.414 0 00-.156-.346.925.925 0 00-.368-.2 3.198 3.198 0 00-.457-.123l-.669-.145a2.526 2.526 0 01-.78-.312 2.04 2.04 0 01-.602-.58 1.504 1.504 0 01-.222-.813c0-.341.096-.639.29-.891.2-.253.467-.45.802-.591a2.92 2.92 0 011.125-.212c.565 0 1.048.1 1.45.301.4.2.701.513.902.936l-1.248.546a1.019 1.019 0 00-.468-.468 1.373 1.373 0 00-.602-.133c-.253 0-.453.048-.602.145-.149.096-.223.211-.223.345 0 .141.074.264.223.368.149.104.327.182.535.234l.836.2c.564.134.988.35 1.27.647.29.297.435.654.435 1.07 0 .371-.108.698-.323.98-.216.275-.505.49-.87.647a3.186 3.186 0 01-1.214.223zm4.235-6.487a.912.912 0 01-.669-.278.912.912 0 01-.279-.669c0-.26.093-.48.279-.657a.912.912 0 01.669-.279c.26 0 .479.093.657.279a.876.876 0 01.279.657c0 .26-.093.483-.279.669a.876.876 0 01-.657.278zm-.736 6.308V69.22h1.46v5.683h-1.46zm5.4.09c-.587 0-1.048-.168-1.382-.502-.335-.342-.502-.81-.502-1.404v-2.62h-.992V69.22h.992v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351c0 .26.056.46.167.602.112.134.298.2.558.2a.88.88 0 00.368-.066 3.09 3.09 0 00.345-.178v1.426c-.32.126-.658.19-1.014.19zm4.707.089c-.594 0-1.122-.13-1.582-.39a2.929 2.929 0 01-1.07-1.081 3.168 3.168 0 01-.38-1.55c0-.572.127-1.084.38-1.538.26-.46.616-.82 1.07-1.08.46-.268.988-.402 1.582-.402.595 0 1.118.134 1.572.401.453.268.806.628 1.058 1.081.26.454.39.966.39 1.538a3.1 3.1 0 01-.39 1.55 2.844 2.844 0 01-1.058 1.08c-.454.26-.977.39-1.572.39zm0-1.36c.282 0 .539-.063.77-.19a1.49 1.49 0 00.567-.568 1.75 1.75 0 00.223-.903c0-.349-.074-.646-.222-.891a1.49 1.49 0 00-.569-.569 1.605 1.605 0 00-1.55 0 1.573 1.573 0 00-.579.569c-.14.245-.211.542-.211.891 0 .35.07.65.212.903.148.245.341.435.58.569.244.126.504.189.78.189zm4.029 1.181V69.22h1.37v.757h.09c.14-.26.356-.479.646-.657a1.89 1.89 0 01.992-.268c.148 0 .282.011.401.034.119.022.223.052.312.089v1.46a3.772 3.772 0 00-.468-.145 1.663 1.663 0 00-.48-.067c-.438 0-.783.16-1.036.48-.245.319-.367.709-.367 1.17v2.83h-1.46zm6.7.179c-.49 0-.91-.07-1.26-.212a2.356 2.356 0 01-.835-.557 2.293 2.293 0 01-.48-.758l1.305-.569c.245.543.668.814 1.27.814.238 0 .453-.037.646-.111a.437.437 0 00.29-.435.414.414 0 00-.156-.346.924.924 0 00-.368-.2 3.196 3.196 0 00-.456-.123l-.67-.145a2.528 2.528 0 01-.78-.312 2.038 2.038 0 01-.601-.58 1.503 1.503 0 01-.223-.813c0-.341.097-.639.29-.891.2-.253.468-.45.802-.591a2.92 2.92 0 011.126-.212c.565 0 1.047.1 1.449.301.4.2.702.513.902.936l-1.248.546a1.018 1.018 0 00-.468-.468 1.374 1.374 0 00-.602-.133c-.252 0-.453.048-.602.145-.148.096-.222.211-.222.345 0 .141.074.264.222.368.149.104.327.182.535.234l.836.2c.565.134.988.35 1.27.647.29.297.435.654.435 1.07 0 .371-.107.698-.323.98a2.16 2.16 0 01-.87.647 3.187 3.187 0 01-1.214.223zM17.166 88.902v-4.435h-1.014v-1.248h1.014v-.313c0-.66.197-1.17.591-1.526.394-.364.895-.546 1.505-.546.186 0 .36.01.524.033.163.022.297.052.4.09v1.426a5.375 5.375 0 00-.322-.112 1.206 1.206 0 00-.424-.067.847.847 0 00-.59.212c-.15.141-.224.335-.224.58v.223h1.394v1.248h-1.393v4.435h-1.46zm3.991 0V83.22h1.371v.757h.09c.14-.26.356-.479.646-.657a1.89 1.89 0 01.992-.268c.148 0 .282.011.4.034.12.022.224.052.313.089v1.46a3.778 3.778 0 00-.468-.145 1.663 1.663 0 00-.48-.067c-.438 0-.783.16-1.036.48-.245.319-.368.709-.368 1.17v2.83h-1.46zm7.138.179c-.594 0-1.122-.13-1.582-.39a2.927 2.927 0 01-1.07-1.081 3.169 3.169 0 01-.38-1.55c0-.572.127-1.084.38-1.538.26-.46.616-.82 1.07-1.08.46-.268.988-.402 1.582-.402.595 0 1.118.134 1.572.401.453.268.806.628 1.058 1.081.26.454.39.966.39 1.538a3.1 3.1 0 01-.39 1.55 2.844 2.844 0 01-1.058 1.08c-.454.26-.977.39-1.572.39zm0-1.36c.283 0 .539-.063.77-.19.237-.133.426-.323.568-.568a1.75 1.75 0 00.223-.903c0-.349-.075-.646-.223-.891a1.492 1.492 0 00-.569-.569 1.606 1.606 0 00-1.55 0 1.572 1.572 0 00-.578.569c-.142.245-.212.542-.212.891 0 .35.07.65.212.903.148.245.341.435.58.569.244.126.504.189.78.189zm4.029 1.181V83.22h1.37v.713h.09c.17-.268.405-.483.702-.647a2.093 2.093 0 011.025-.245c.416 0 .77.097 1.059.29.297.193.505.43.624.713.17-.275.412-.509.724-.702.32-.2.714-.3 1.182-.3.661 0 1.155.2 1.482.601.334.401.502.936.502 1.605v3.655h-1.45v-3.388c0-.364-.085-.639-.256-.824-.17-.194-.4-.29-.69-.29-.387 0-.692.152-.915.457-.222.304-.334.698-.334 1.181v2.864h-1.46v-3.388c0-.364-.089-.639-.267-.824-.171-.194-.416-.29-.736-.29-.364 0-.654.152-.87.457-.215.304-.322.698-.322 1.181v2.864h-1.46zm14.917.179c-.49 0-.91-.07-1.26-.212a2.356 2.356 0 01-.835-.557 2.291 2.291 0 01-.48-.758l1.305-.569c.245.543.669.814 1.27.814a1.8 1.8 0 00.647-.111.438.438 0 00.29-.435.414.414 0 00-.157-.346.925.925 0 00-.367-.2 3.198 3.198 0 00-.457-.123l-.669-.145a2.527 2.527 0 01-.78-.312 2.038 2.038 0 01-.602-.58 1.503 1.503 0 01-.223-.813c0-.341.097-.639.29-.891.2-.253.468-.45.802-.591a2.92 2.92 0 011.126-.212c.565 0 1.048.1 1.449.301.401.2.702.513.902.936l-1.248.546a1.019 1.019 0 00-.468-.468 1.373 1.373 0 00-.602-.133c-.252 0-.453.048-.601.145-.149.096-.223.211-.223.345 0 .141.074.264.223.368.148.104.327.182.535.234l.835.2c.565.134.989.35 1.27.647.29.297.435.654.435 1.07 0 .371-.107.698-.323.98-.215.275-.505.49-.869.647a3.186 3.186 0 01-1.215.223zm6.183 0c-.572 0-1.085-.13-1.538-.39a2.868 2.868 0 01-1.059-1.07c-.252-.453-.379-.97-.379-1.55 0-.542.127-1.043.38-1.504.252-.46.597-.828 1.036-1.103.438-.283.94-.424 1.504-.424.61 0 1.122.13 1.538.39.416.26.732.61.947 1.048.216.43.324.91.324 1.438 0 .118-.004.222-.011.312a1.913 1.913 0 01-.023.178h-4.257c.067.446.245.787.535 1.025.29.238.632.357 1.025.357.35 0 .643-.074.88-.223.238-.156.424-.35.558-.58l1.181.58c-.267.468-.616.84-1.047 1.114-.431.268-.962.402-1.594.402zm-.045-4.848c-.334 0-.631.1-.891.3a1.58 1.58 0 00-.546.837h2.83a1.114 1.114 0 00-.189-.513 1.351 1.351 0 00-.468-.446 1.42 1.42 0 00-.736-.178zm5.715 4.848a2.36 2.36 0 01-1.07-.234 1.876 1.876 0 01-.724-.68 1.875 1.875 0 01-.267-1.003c0-.394.1-.732.3-1.014a2.07 2.07 0 01.825-.658c.35-.156.736-.234 1.16-.234.348 0 .65.03.902.09.253.051.453.107.602.166v-.245a.93.93 0 00-.346-.747c-.23-.2-.546-.3-.947-.3-.268 0-.528.063-.78.189-.245.119-.45.279-.613.48l-.936-.736a2.75 2.75 0 011.036-.825c.416-.193.87-.29 1.36-.29.87 0 1.53.2 1.984.602.453.401.68.988.68 1.76v3.5h-1.438v-.58h-.09a1.948 1.948 0 01-.646.536c-.267.148-.598.223-.992.223zm.346-1.137c.297 0 .546-.063.747-.19.208-.133.364-.304.468-.512.111-.208.167-.427.167-.658a2.34 2.34 0 00-.558-.19 2.609 2.609 0 00-.635-.077c-.43 0-.728.082-.891.245a.818.818 0 00-.245.602c0 .223.078.408.234.557.163.149.4.223.713.223zm4.163.958V83.22h1.37v.757h.09c.141-.26.356-.479.646-.657a1.89 1.89 0 01.992-.268c.149 0 .282.011.401.034.12.022.223.052.312.089v1.46a3.778 3.778 0 00-.468-.145 1.663 1.663 0 00-.479-.067c-.438 0-.784.16-1.036.48-.246.319-.368.709-.368 1.17v2.83h-1.46zm7.093.179c-.58 0-1.096-.127-1.549-.38a2.868 2.868 0 01-1.059-1.07c-.252-.46-.378-.984-.378-1.57 0-.588.126-1.108.379-1.56a2.86 2.86 0 011.058-1.07c.453-.26.97-.39 1.55-.39.63 0 1.173.133 1.626.4.454.268.78.654.981 1.16l-1.337.557a1.184 1.184 0 00-.502-.569 1.494 1.494 0 00-.769-.19c-.43 0-.795.153-1.092.458-.29.297-.434.698-.434 1.203 0 .513.144.922.434 1.226.297.298.661.446 1.092.446.327 0 .598-.07.814-.212.215-.148.39-.349.524-.601l1.304.58a2.7 2.7 0 01-1.015 1.147c-.453.29-.995.435-1.627.435zm3.714-.179v-7.98h1.46v2.018l-.089.992h.09a1.82 1.82 0 01.701-.635 2.1 2.1 0 011.026-.257c.705 0 1.237.212 1.593.635.364.417.546.981.546 1.695v3.532h-1.46v-3.354c0-.372-.1-.654-.3-.847-.201-.2-.461-.301-.78-.301-.26 0-.491.074-.692.223-.2.14-.356.334-.468.58a1.944 1.944 0 00-.167.813v2.886h-1.46z",fill:"#202124"}),d=r.createElement("path",{d:"M22.5 144.244l5.55-4.092 4.44 1.86 5.92-1.86 8.14 5.58 6.66-1.488 3.33-4.092 5.18 5.58 3.7-1.488 8.51 3.347 8.51-7.439 4.81 1.86 5.92-2.976 2.22 1.116h6.66l9.62-13.762 2.96 5.579 2.59-1.487 2.96 4.463 13.32-4.463",stroke:"#CCC",strokeWidth:1.486}),f=r.createElement("g",{filter:"url(#analytics-setup-sidekick_svg__c)"},r.createElement("rect",{x:226,y:69,width:148,height:122,rx:3.976,fill:"#fff"})),p=r.createElement("path",{d:"M331.315 120.007a23.387 23.387 0 016.546-1.154l.216 8.328a15.2 15.2 0 00-4.255.75l-2.507-7.924z",fill:"#DEDEDE"}),g=r.createElement("path",{d:"M319.491 128.654a23.758 23.758 0 0111.122-8.405l2.753 7.839a15.44 15.44 0 00-7.229 5.464l-6.646-4.898z",fill:"#C6C6C6"}),m=r.createElement("path",{d:"M319.348 156.639a23.871 23.871 0 01-4.426-13.619 24.068 24.068 0 014.141-13.754l6.795 4.683a15.646 15.646 0 00-2.691 8.94 15.51 15.51 0 002.877 8.852l-6.696 4.898z",fill:"#F1F1F1"}),h=r.createElement("path",{d:"M352.229 161.904a23.453 23.453 0 01-17.188 4.31 23.358 23.358 0 01-15.25-8.976l6.541-5.107a15.182 15.182 0 009.912 5.834 15.24 15.24 0 0011.173-2.801l4.812 6.74z",fill:"#959595"}),v=r.createElement("path",{d:"M338.601 118.842c4.912 0 9.693 1.551 13.674 4.437a23.611 23.611 0 018.532 11.657 24.032 24.032 0 01.208 14.531 23.977 23.977 0 01-8.192 11.989l-5.021-6.583a15.626 15.626 0 005.19-17.239 15.35 15.35 0 00-5.545-7.577 15.145 15.145 0 00-8.889-2.884l.043-8.331z",fill:"#C7C7C7"}),b=r.createElement("ellipse",{cx:327.009,cy:174.262,rx:1.85,ry:1.86,fill:"#959595"}),k=r.createElement("ellipse",{cx:334.41,cy:174.262,rx:1.85,ry:1.86,fill:"#C7C7C7"}),_=r.createElement("ellipse",{cx:341.81,cy:174.262,rx:1.85,ry:1.86,fill:"#DEDEDE"}),y=r.createElement("ellipse",{cx:349.209,cy:174.262,rx:1.85,ry:1.86,fill:"#F1F1F1"}),E=r.createElement("path",{stroke:"#ECE9F1",strokeWidth:.994,strokeLinecap:"round",d:"M238.336 175.624h58.206"}),O=r.createElement("path",{stroke:"#ECE9F1",strokeWidth:.497,strokeLinecap:"round",d:"M238.088 160.995h58.703m-58.703-14.878h58.703m-58.703-14.877h58.703"}),S=r.createElement("path",{opacity:.08,d:"M264.829 164.08c-4.374-1.37-6.29-5.044-10.433-5.568-4.285-.542-7.612 13.315-16.557 14.64v2.97h59.2v-25.431c-2.378-.516-4.616-19.012-9.777-17.643-5.162 1.369-8.961 22.202-13.073 15.493-4.111-6.71-4.985 16.908-9.36 15.539z",fill:"url(#analytics-setup-sidekick_svg__d)"}),j=r.createElement("path",{d:"M241.722 119.374h-2.434l-.547 1.516h-.79l2.219-5.81h.67l2.223 5.81h-.786l-.555-1.516zm-2.203-.631h1.976l-.99-2.717-.986 2.717zm5.013 2.147h-.739v-6.129h.739v6.129zm1.987 0h-.738v-6.129h.738v6.129zm5.878-.427c-.287.338-.709.507-1.265.507-.46 0-.811-.133-1.053-.399-.24-.269-.361-.665-.364-1.189v-2.809h.739v2.789c0 .654.266.982.798.982.564 0 .939-.211 1.125-.631v-3.14h.738v4.317h-.702l-.016-.427zm4.358-.718a.537.537 0 00-.228-.463c-.149-.112-.411-.207-.786-.287a3.813 3.813 0 01-.89-.287 1.29 1.29 0 01-.487-.4.966.966 0 01-.155-.55c0-.354.149-.653.447-.898.3-.245.684-.367 1.149-.367.49 0 .886.126 1.189.379.306.253.459.576.459.97h-.742a.666.666 0 00-.259-.523.956.956 0 00-.647-.22c-.269 0-.479.059-.63.176a.552.552 0 00-.228.459c0 .178.071.312.212.403.141.09.395.177.762.259.37.083.669.181.898.296.228.114.397.252.507.415a1 1 0 01.167.586c0 .386-.154.696-.463.93-.308.231-.709.347-1.201.347a2.18 2.18 0 01-.918-.183 1.514 1.514 0 01-.626-.511 1.254 1.254 0 01-.224-.714h.738a.773.773 0 00.296.59c.186.144.431.216.734.216.279 0 .503-.056.67-.168a.524.524 0 00.256-.455zm3.492 1.225c-.586 0-1.062-.191-1.429-.574-.367-.386-.551-.901-.551-1.545v-.136c0-.428.081-.81.244-1.145.165-.338.393-.601.686-.79.295-.191.615-.287.958-.287.561 0 .998.185 1.309.554.311.37.467.9.467 1.589v.307h-2.925c.01.426.134.77.371 1.034.239.26.542.391.91.391.26 0 .481-.054.662-.16.181-.106.339-.247.475-.423l.451.351c-.362.556-.905.834-1.628.834zm-.092-3.871a.979.979 0 00-.75.328c-.203.215-.328.518-.376.909h2.163v-.055c-.021-.376-.122-.666-.303-.87-.181-.208-.426-.312-.734-.312zm4.721.136a2.175 2.175 0 00-.363-.028c-.485 0-.813.206-.986.619v3.064h-.738v-4.317h.718l.012.498c.242-.385.585-.578 1.03-.578.143 0 .252.018.327.056v.686zm3.196 2.51a.539.539 0 00-.227-.463c-.149-.112-.411-.207-.786-.287a3.797 3.797 0 01-.89-.287 1.283 1.283 0 01-.487-.4.958.958 0 01-.156-.55c0-.354.149-.653.447-.898.301-.245.684-.367 1.149-.367.49 0 .886.126 1.19.379.306.253.459.576.459.97h-.743a.663.663 0 00-.259-.523.954.954 0 00-.647-.22c-.268 0-.478.059-.63.176a.552.552 0 00-.228.459c0 .178.071.312.212.403.141.09.395.177.762.259.37.083.669.181.898.296.229.114.398.252.507.415a.993.993 0 01.167.586c0 .386-.154.696-.462.93-.309.231-.709.347-1.202.347-.345 0-.651-.061-.917-.183a1.524 1.524 0 01-.627-.511 1.253 1.253 0 01-.223-.714h.738a.772.772 0 00.295.59c.186.144.431.216.734.216.28 0 .503-.056.671-.168a.525.525 0 00.255-.455z",fill:"#B8B8B8"}),w=r.createElement("path",{d:"M240.358 92.903V86.35h-2.229v-1.427h5.963v1.427h-2.229v6.553h-1.505zm4.072 0v-5.684h1.37v.758h.09c.141-.26.356-.48.646-.658.297-.178.628-.267.992-.267.149 0 .282.01.401.033.119.022.223.052.312.09v1.46a3.743 3.743 0 00-.468-.146 1.654 1.654 0 00-.479-.067c-.438 0-.784.16-1.037.48-.245.32-.367.71-.367 1.17v2.83h-1.46zm6.32.178c-.401 0-.758-.078-1.07-.234a1.877 1.877 0 01-.724-.68 1.878 1.878 0 01-.268-1.003c0-.394.101-.732.301-1.014.208-.282.483-.502.825-.658a2.81 2.81 0 011.159-.234c.349 0 .65.03.903.09.252.051.453.107.602.167v-.246a.931.931 0 00-.346-.746c-.23-.2-.546-.301-.947-.301-.268 0-.528.063-.78.19-.245.118-.45.278-.613.478l-.936-.735a2.75 2.75 0 011.036-.825 3.19 3.19 0 011.36-.29c.869 0 1.53.201 1.983.602.454.401.68.989.68 1.761v3.5h-1.437v-.58h-.09a1.946 1.946 0 01-.646.535c-.267.149-.598.223-.992.223zm.346-1.137c.297 0 .546-.063.746-.19a1.29 1.29 0 00.468-.512c.112-.208.168-.427.168-.657a2.355 2.355 0 00-.558-.19 2.604 2.604 0 00-.635-.078c-.431 0-.728.082-.891.245a.817.817 0 00-.246.602c0 .223.078.409.234.557.164.149.402.223.714.223zm12.814-5.294a.932.932 0 01-.669-.267.933.933 0 01-.268-.669c0-.26.09-.479.268-.657a.913.913 0 01.669-.279c.26 0 .479.093.657.279a.875.875 0 01.279.657c0 .26-.093.483-.279.669a.892.892 0 01-.657.267zm-8.147 6.253v-4.436h-1.014v-1.248h1.014v-.312c0-.661.197-1.17.591-1.527.393-.364.895-.546 1.504-.546a2.603 2.603 0 01.624.067v1.404a6.55 6.55 0 00-.212-.056.961.961 0 00-.323-.044.713.713 0 00-.524.211c-.133.142-.2.335-.2.58v.223h2.251v-.312c0-.661.197-1.17.591-1.527.394-.364.895-.546 1.504-.546a2.593 2.593 0 01.624.067v1.404a7.12 7.12 0 00-.211-.056.972.972 0 00-.324-.044.71.71 0 00-.523.211c-.134.142-.201.335-.201.58v.223h3.7v5.684h-1.449v-4.436h-2.251v4.436h-1.46v-4.436h-2.251v4.436h-1.46zm13.01.178c-.579 0-1.095-.126-1.549-.379a2.873 2.873 0 01-1.058-1.07c-.253-.46-.379-.984-.379-1.571s.126-1.107.379-1.56c.26-.454.613-.81 1.058-1.07.454-.26.97-.39 1.549-.39.632 0 1.174.133 1.628.4.453.268.78.654.98 1.16l-1.337.557a1.183 1.183 0 00-.502-.568 1.49 1.49 0 00-.769-.19c-.43 0-.795.152-1.092.457-.29.297-.434.698-.434 1.204 0 .512.144.921.434 1.226.297.297.662.445 1.092.445.327 0 .599-.07.814-.211.215-.149.39-.35.524-.602l1.304.58a2.703 2.703 0 01-1.014 1.147c-.454.29-.996.435-1.628.435z",fill:"#202124"}),C=r.createElement("defs",null,r.createElement("filter",{id:"analytics-setup-sidekick_svg__a",x:132.515,y:.012,width:152.97,height:126.97,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("feMorphology",{radius:.497,operator:"dilate",in:"SourceAlpha",result:"effect1_dropShadow_532_12388"}),r.createElement("feOffset",{dy:.497}),r.createElement("feGaussianBlur",{stdDeviation:.994}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.423529 0 0 0 0 0.443137 0 0 0 0 0.458824 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_532_12388"}),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:.994}),r.createElement("feGaussianBlur",{stdDeviation:.746}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.337255 0 0 0 0 0.352941 0 0 0 0 0.360784 0 0 0 0.25 0"}),r.createElement("feBlend",{in2:"effect1_dropShadow_532_12388",result:"effect2_dropShadow_532_12388"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect2_dropShadow_532_12388",result:"shape"})),r.createElement("filter",{id:"analytics-setup-sidekick_svg__b",x:.784,y:49.588,width:154.431,height:128.431,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:.804}),r.createElement("feGaussianBlur",{stdDeviation:1.608}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_532_12388"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_532_12388",result:"shape"})),r.createElement("filter",{id:"analytics-setup-sidekick_svg__c",x:222.784,y:66.588,width:154.431,height:128.431,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:.804}),r.createElement("feGaussianBlur",{stdDeviation:1.608}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_532_12388"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_532_12388",result:"shape"})),r.createElement("linearGradient",{id:"analytics-setup-sidekick_svg__d",x1:258.024,y1:132.976,x2:258.024,y2:184.15,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#4F4F4F"}),r.createElement("stop",{offset:1,stopColor:"#4F4F4F",stopOpacity:0})));t.a=function SvgAnalyticsSetupSidekick(e){return r.createElement("svg",a({fill:"none",viewBox:"0 0 378 196"},e),i,o,c,s,l,u,d,f,p,g,m,h,v,b,k,_,y,E,O,S,j,w,C)}},831:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(14),c=n.n(o),s=n(44),l=n.n(s),u=n(45),d=n.n(u),f=n(78),p=n.n(f),g=n(67),m=n.n(g),h=n(68),v=n.n(h),b=n(46),k=n.n(b),_=n(26),y=n(1),E=n(2),O=n(590),S=n(4),j=n.n(S),w=n(34),C=n.n(w),x=n(16),N=n(15),R=n(13),A=n(8),T=n(188),M=n(21),D=n(210),L=n(9),z=n(832),P=n(838),I=n(189);function B(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=k()(e);if(t){var a=k()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v()(this,n)}}var F=j.a.withSelect,U=function(t){m()(SetupUsingGCP,t);var n,a,o=B(SetupUsingGCP);function SetupUsingGCP(t){var n;l()(this,SetupUsingGCP),n=o.call(this,t);var r=e._googlesitekitLegacyData.admin.connectURL,a=e._googlesitekitLegacyData.setup,i=a.isAuthenticated,c=a.hasSearchConsoleProperty,s=a.isSiteKitConnected,u=a.isVerified,d=a.needReauthenticate,f=t.canSetup;return n.state={canSetup:f,isAuthenticated:i,isVerified:u,needReauthenticate:d,hasSearchConsoleProperty:c,hasSearchConsolePropertyFromTheStart:c,connectURL:r,errorMsg:"",isSiteKitConnected:s,completeSetup:!1},n.siteConnectedSetup=n.siteConnectedSetup.bind(p()(n)),n.siteVerificationSetup=n.siteVerificationSetup.bind(p()(n)),n.searchConsoleSetup=n.searchConsoleSetup.bind(p()(n)),n.resetAndRestart=n.resetAndRestart.bind(p()(n)),n.completeSetup=n.completeSetup.bind(p()(n)),n.setErrorMessage=n.setErrorMessage.bind(p()(n)),n.onButtonClick=n.onButtonClick.bind(p()(n)),n}return d()(SetupUsingGCP,[{key:"resetAndRestart",value:(a=c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,C.a.set("core","site","reset");case 2:Object(L.c)(),this.setState({isSiteKitConnected:!1,isAuthenticated:!1,isVerified:!1,hasSearchConsoleProperty:!1,completeSetup:!1,errorMsg:""});case 4:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"completeSetup",value:function(){this.setState({completeSetup:!0})}},{key:"siteConnectedSetup",value:function(e){this.setState({isSiteKitConnected:e})}},{key:"siteVerificationSetup",value:function(e){this.setState({isVerified:e})}},{key:"searchConsoleSetup",value:function(e){this.setState({hasSearchConsoleProperty:e})}},{key:"isSetupFinished",value:function(){var e=this.state,t=e.isSiteKitConnected,n=e.isAuthenticated,r=e.isVerified,a=e.hasSearchConsoleProperty,i=e.completeSetup;return t&&n&&r&&a&&i}},{key:"setErrorMessage",value:function(e){this.setState({errorMsg:e})}},{key:"getApplicableSteps",value:function(){var e,t=z.a,n=Object.keys(t);for(e=0;e<n.length;e++)t[n[e]].isApplicable(this.state)||delete t[n[e]];return t}},{key:"currentStep",value:function(e){var t,n=Object.keys(e);for(t=0;t<n.length-1;t++)if(!e[n[t]].isCompleted(this.state))return n[t];return n[t]}},{key:"stepStatus",value:function(e,t){return e[t].isCompleted(this.state)?"completed":t===this.currentStep(e)?"inprogress":""}},{key:"onButtonClick",value:(n=c()(i.a.mark((function e(){var t,n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.state,n=t.isSiteKitConnected,r=t.connectURL,e.next=3,Object(L.v)(x.h,"start_user_setup","custom-oauth");case 3:if(n){e.next=6;break}return e.next=6,Object(L.v)(x.h,"start_site_setup","custom-oauth");case 6:document.location=r;case 7:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"render",value:function(){var t=this,n=this.state,a=n.canSetup,i=n.isAuthenticated,o=n.isVerified,c=n.needReauthenticate,s=n.hasSearchConsoleProperty,l=n.connectURL,u=n.isSiteKitConnected,d=this.props.redirectURL;this.isSetupFinished()&&Object(_.delay)((function(){e.location.replace(d)}),500,"later");var f=this.getApplicableSteps(),p=this.currentStep(f),g=f[p].Component,m=r.createElement(g,{siteConnectedSetup:this.siteConnectedSetup,connectURL:l,siteVerificationSetup:this.siteVerificationSetup,searchConsoleSetup:this.searchConsoleSetup,completeSetup:this.completeSetup,isSiteKitConnected:u,isAuthenticated:i,isVerified:o,needReauthenticate:c,hasSearchConsoleProperty:s,setErrorMessage:this.setErrorMessage,resetAndRestart:f.clientCredentials?this.resetAndRestart:void 0}),h=a,v=!h&&!i;return r.createElement(E.Fragment,null,r.createElement(T.a,null,r.createElement(I.a,null)),r.createElement("div",{className:"googlesitekit-wizard"},r.createElement(A.b,null,r.createElement(A.l,null,r.createElement(A.a,{size:12},r.createElement(D.a,null,r.createElement("section",{className:"googlesitekit-wizard-progress"},r.createElement(A.b,null,r.createElement(A.l,null,h&&r.createElement(A.a,{size:12},r.createElement("div",{className:"googlesitekit-wizard-progress__steps"},Object.keys(f).map((function(e,n){return r.createElement(P.a,{key:f[e].title,currentStep:p===e,title:f[e].title,step:n+1,status:t.stepStatus(f,e),warning:f[e].warning,error:f[e].error,stepKey:e})})))))),v&&r.createElement("div",{className:"googlesitekit-setup__footer"},r.createElement(A.b,null,r.createElement(A.l,null,r.createElement(A.a,{size:12},r.createElement("h1",{className:"googlesitekit-setup__title"},Object(y.__)("Authenticate Site Kit","google-site-kit")),r.createElement("p",{className:"googlesitekit-setup__description"},Object(y.__)("Please sign into your Google account to begin.","google-site-kit")),r.createElement(M.a,{href:"#",onClick:this.onButtonClick},Object(y.__)("Sign in with Google","google-site-kit"))))))),h&&m))))))}}]),SetupUsingGCP}(E.Component);t.a=Object(O.a)(F((function(e){return{canSetup:e(R.a).hasCapability(R.d),redirectURL:e(N.c).getAdminURL("googlesitekit-dashboard",{notification:"authentication_success"})}})))(U)}).call(this,n(18),n(3))},832:function(e,t,n){"use strict";var r=n(1),a=n(833),i=n(834),o=n(836),c=n(837),s={authentication:{title:Object(r.__)("Authenticate","google-site-kit"),required:!0,isApplicable:function(){return!0},isCompleted:function(e){return e.isSiteKitConnected&&e.isAuthenticated&&!e.needReauthenticate},Component:a.a},verification:{title:Object(r.__)("Verify URL","google-site-kit"),required:!0,isApplicable:function(){return!0},isCompleted:function(e){return e.isSiteKitConnected&&e.isAuthenticated&&e.isVerified},Component:i.a},seachConsoleProperty:{title:Object(r.__)("Connect Search Console","google-site-kit"),required:!0,isApplicable:function(){return!0},isCompleted:function(e){return e.isSiteKitConnected&&e.isAuthenticated&&e.isVerified&&e.hasSearchConsoleProperty},Component:o.a},completeSetup:{title:Object(r._x)("Finish","complete module setup","google-site-kit"),required:!1,isApplicable:function(){return!0},isCompleted:function(e){return e.isSiteKitConnected&&e.isAuthenticated&&e.isVerified&&e.hasSearchConsoleProperty},Component:c.a}};t.a=s},833:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(67),s=n.n(c),l=n(68),u=n.n(l),d=n(46),f=n.n(d),p=n(0),g=n.n(p),m=n(1),h=n(2),v=n(8),b=n(21),k=n(22),_=n(370);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=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var E=function(t){s()(WizardStepAuthentication,t);var n=y(WizardStepAuthentication);function WizardStepAuthentication(){return a()(this,WizardStepAuthentication),n.apply(this,arguments)}return o()(WizardStepAuthentication,[{key:"render",value:function(){var t=this.props,n=t.connectURL,r=t.needReauthenticate,a=t.resetAndRestart;return e.createElement("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--two"},e.createElement(v.b,null,e.createElement(v.l,null,e.createElement(v.a,{size:12},e.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-wizard-step__title "},Object(m.__)("Authenticate with Google","google-site-kit")),e.createElement("p",null,Object(m.__)("Please sign into your Google account to begin.","google-site-kit")),r&&e.createElement("p",{className:"googlesitekit-error-text"},Object(m.__)("You did not grant access to one or more of the requested scopes. Please grant all scopes that you are prompted for.","google-site-kit")),e.createElement("p",null,e.createElement(b.a,{onClick:function(){document.location=n}},Object(m.__)("Sign in with Google","google-site-kit")),a&&e.createElement(k.a,{className:"googlesitekit-wizard-step__back",onClick:a},Object(m.__)("Back","google-site-kit"))),e.createElement("div",{className:"googlesitekit-wizard-step__action googlesitekit-wizard-step__action--justify"},e.createElement(_.a,null))))))}}]),WizardStepAuthentication}(h.Component);E.propTypes={connectURL:g.a.string.isRequired,resetAndRestart:g.a.func},t.a=E}).call(this,n(3))},834:function(e,t,n){"use strict";(function(e){var r=n(19),a=n.n(r),i=n(44),o=n.n(i),c=n(45),s=n.n(c),l=n(67),u=n.n(l),d=n(68),f=n.n(d),p=n(46),g=n.n(p),m=n(0),h=n.n(m),v=n(2),b=n(8),k=n(835);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 a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var y=function(t){u()(WizardStepVerification,t);var n=_(WizardStepVerification);function WizardStepVerification(){return o()(this,WizardStepVerification),n.apply(this,arguments)}return s()(WizardStepVerification,[{key:"render",value:function(){var t=!this.props.isVerified;return e.createElement("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--three"},e.createElement(b.b,null,e.createElement(b.l,null,e.createElement(b.a,{size:12},e.createElement(k.a,a()({shouldSetup:t},this.props))))))}}]),WizardStepVerification}(v.Component);y.propTypes={siteVerificationSetup:h.a.func.isRequired},t.a=y}).call(this,n(3))},835:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(14),c=n.n(o),s=n(44),l=n.n(s),u=n(45),d=n.n(u),f=n(78),p=n.n(f),g=n(67),m=n.n(g),h=n(68),v=n.n(h),b=n(46),k=n.n(b),_=n(0),y=n.n(_),E=n(1),O=n(2),S=n(34),j=n.n(S),w=n(9),C=n(8),x=n(21),N=n(61);function R(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=k()(e);if(t){var a=k()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v()(this,n)}}var A=function(t){m()(SiteVerification,t);var n,a,o=R(SiteVerification);function SiteVerification(e){var t;l()(this,SiteVerification);var n=(t=o.call(this,e)).props,r=n.isAuthenticated,a=n.shouldSetup;return t.state={loading:r&&a,loadingMsg:Object(E.__)("Getting your verified sites…","google-site-kit"),siteURL:" ",selectedURL:"",errorCode:!1,errorMsg:""},t.onProceed=t.onProceed.bind(p()(t)),t}return d()(SiteVerification,[{key:"componentDidMount",value:function(){var e=this.props,t=e.isAuthenticated,n=e.shouldSetup;t&&n&&this.requestSitePropertyList()}},{key:"requestSitePropertyList",value:function(){var t=this,n=this.props.setErrorMessage;c()(i.a.mark((function r(){var a,o,c,s,l;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,j.a.get("modules","site-verification","verification",void 0,{useCache:!1});case 3:if(a=r.sent,o=a.verified,c=a.identifier,!o){r.next=17;break}return r.next=9,Object(w.v)("verification_setup","verification_check_true");case 9:return r.next=11,t.insertSiteVerification(c);case 11:if(!0!==r.sent.verified){r.next=15;break}return t.props.siteVerificationSetup(!0),r.abrupt("return",!0);case 15:r.next=19;break;case 17:return r.next=19,Object(w.v)("verification_setup","verification_check_false");case 19:t.setState({loading:!1,siteURL:c}),r.next=28;break;case 22:r.prev=22,r.t0=r.catch(0),s=r.t0.message,Object(w.x)(r.t0.message)&&(l=JSON.parse(r.t0.message),s=l.error.message||r.t0.message),n(s),t.setState({loading:!1,errorCode:r.t0.code,errorMsg:s,siteURL:e._googlesitekitLegacyData.admin.siteURL});case 28:case"end":return r.stop()}}),r,null,[[0,22]])})))()}},{key:"insertSiteVerification",value:(a=c()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j.a.set("modules","site-verification","verification",{siteURL:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(e){return a.apply(this,arguments)})},{key:"onProceed",value:(n=c()(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 n=this.props.setErrorMessage,r=this.state.siteURL?this.state.siteURL:e._googlesitekitLegacyData.admin.siteURL,n(""),this.setState({loading:!0,loadingMsg:Object(E.__)("Verifying…","google-site-kit"),errorCode:!1,errorMsg:""}),t.prev=4,t.next=7,this.insertSiteVerification(r);case 7:!0===t.sent.verified&&(Object(w.v)("verification_setup","verification_insert_tag"),this.props.siteVerificationSetup(!0)),t.next=17;break;case 11:t.prev=11,t.t0=t.catch(4),a=t.t0.message,Object(w.x)(t.t0.message)&&(o=JSON.parse(t.t0.message),a=o.error.message||t.t0.message),n(a),this.setState({loading:!1,errorCode:t.t0.code,errorMsg:a});case 17:case"end":return t.stop()}}),t,this,[[4,11]])}))),function(){return n.apply(this,arguments)})},{key:"renderForm",value:function(){var e=this.state,t=e.loading,n=e.loadingMsg,a=e.siteURL,i=r.createElement(O.Fragment,null,n&&r.createElement("p",null,n),r.createElement(N.a,null));return t?i:r.createElement(O.Fragment,null,r.createElement("div",{className:"googlesitekit-wizard-step__inputs"},r.createElement(C.n,{label:Object(E.__)("Website Address","google-site-kit"),name:"siteProperty",floatingLabelClassName:"mdc-floating-label--float-above",outlined:!0,disabled:!0},r.createElement(C.d,{value:a}))),r.createElement("div",{className:"googlesitekit-wizard-step__action googlesitekit-wizard-step__action--justify"},r.createElement(x.a,{onClick:this.onProceed},Object(E.__)("Continue","google-site-kit"))))}},{key:"render",value:function(){var e=this.props,t=e.isAuthenticated,n=e.shouldSetup,a=this.state.errorMsg;return n?r.createElement(O.Fragment,null,r.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-wizard-step__title "},Object(E.__)("Verify URL","google-site-kit")),r.createElement("p",{className:"googlesitekit-wizard-step__text"},Object(E.__)("We will need to verify your URL for Site Kit.","google-site-kit")),a&&0<a.length&&r.createElement("p",{className:"googlesitekit-error-text"},a),t&&this.renderForm()):SiteVerification.renderSetupDone()}}],[{key:"renderSetupDone",value:function(){return r.createElement(O.Fragment,null,r.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-wizard-step__title "},Object(E.__)("Verify URL","google-site-kit")),r.createElement("p",{className:"googlesitekit-wizard-step__text"},Object(E.__)("Congratulations, your site has been verified!","google-site-kit")))}}]),SiteVerification}(O.Component);A.propTypes={isAuthenticated:y.a.bool.isRequired,shouldSetup:y.a.bool.isRequired,siteVerificationSetup:y.a.func.isRequired,completeSetup:y.a.func,setErrorMessage:y.a.func.isRequired},t.a=A}).call(this,n(18),n(3))},836:function(e,t,n){"use strict";(function(e){var r=n(19),a=n.n(r),i=n(44),o=n.n(i),c=n(45),s=n.n(c),l=n(67),u=n.n(l),d=n(68),f=n.n(d),p=n(46),g=n.n(p),m=n(0),h=n.n(m),v=n(2),b=n(8),k=n(585);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 a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var y=function(t){u()(WizardStepSearchConsoleProperty,t);var n=_(WizardStepSearchConsoleProperty);function WizardStepSearchConsoleProperty(){return o()(this,WizardStepSearchConsoleProperty),n.apply(this,arguments)}return s()(WizardStepSearchConsoleProperty,[{key:"render",value:function(){var t=this.props,n=t.isVerified,r=t.hasSearchConsoleProperty,i=n&&!r;return e.createElement("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--four"},e.createElement(b.b,null,e.createElement(b.l,null,e.createElement(b.a,{size:12},i?e.createElement(k.a,a()({shouldSetup:i},this.props)):k.a.connected()))))}}]),WizardStepSearchConsoleProperty}(v.Component);y.propTypes={searchConsoleSetup:h.a.func.isRequired},t.a=y}).call(this,n(3))},837:function(e,t,n){"use strict";(function(e,r){var a=n(44),i=n.n(a),o=n(45),c=n.n(o),s=n(67),l=n.n(s),u=n(68),d=n.n(u),f=n(46),p=n.n(f),g=n(0),m=n.n(g),h=n(1),v=n(2),b=n(8),k=n(9),_=n(21);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=p()(e);if(t){var a=p()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d()(this,n)}}var E=function(t){l()(WizardStepCompleteSetup,t);var n=y(WizardStepCompleteSetup);function WizardStepCompleteSetup(t){var r;return i()(this,WizardStepCompleteSetup),r=n.call(this,t),e._googlesitekitLegacyData.setup.hasSearchConsoleProperty?Object(k.v)("plugin_setup","user_verified"):Object(k.v)("plugin_setup","site_verified"),r}return c()(WizardStepCompleteSetup,[{key:"render",value:function(){return r.createElement("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--five"},r.createElement(b.b,null,r.createElement(b.l,null,r.createElement(b.a,{size:12},r.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-wizard-step__title "},Object(h.__)("Congratulations!","google-site-kit")),r.createElement("p",null,Object(h.__)("You successfully completed the Site Kit setup and connected Search Console. Check the dashboard for more services to connect.","google-site-kit")),r.createElement("div",{className:"googlesitekit-wizard-step__action"},r.createElement(_.a,{id:"wizard-step-five-proceed",onClick:this.props.completeSetup},Object(h.__)("Go to Dashboard","google-site-kit")))))))}}]),WizardStepCompleteSetup}(v.Component);E.propTypes={completeSetup:m.a.func.isRequired},t.a=E}).call(this,n(18),n(3))},838:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(67),s=n.n(c),l=n(68),u=n.n(l),d=n(46),f=n.n(d),p=n(0),g=n.n(p),m=n(10),h=n.n(m),v=n(2),b=n(586),k=n(839);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=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var y=function(t){s()(WizardProgressStep,t);var n=_(WizardProgressStep);function WizardProgressStep(){return a()(this,WizardProgressStep),n.apply(this,arguments)}return o()(WizardProgressStep,[{key:"render",value:function(){var t=this.props,n=t.currentStep,r=t.step,a=t.title,i=t.status,o=t.warning,c=t.error,s=t.stepKey,l=i;o?l="warning":c&&(l="error");var u=!1;switch(l){case"warning":case"error":u=e.createElement(b.a,{height:"12",width:"2"});break;case"completed":u=e.createElement(k.a,{height:"12",width:"16"})}return e.createElement("div",{className:h()("googlesitekit-wizard-progress-step","googlesitekit-wizard-progress-step--".concat(r),"googlesitekit-wizard-progress-step--".concat(s),{"googlesitekit-wizard-progress-step--current":n})},e.createElement("div",{className:"googlesitekit-wizard-progress-step__number-wrapper"},e.createElement("div",{className:h()("googlesitekit-wizard-progress-step__number","googlesitekit-wizard-progress-step__number--".concat(l))},e.createElement("span",{className:h()("googlesitekit-wizard-progress-step__number-text","googlesitekit-wizard-progress-step__number-text--".concat(l))},r),u&&e.createElement("span",{className:h()("googlesitekit-wizard-progress-step__number-icon","googlesitekit-wizard-progress-step__number-icon--".concat(l))},u))),e.createElement("p",{className:"googlesitekit-wizard-progress-step__text"},a))}}]),WizardProgressStep}(v.Component);y.propTypes={currentStep:g.a.bool.isRequired,step:g.a.number.isRequired,title:g.a.string,status:g.a.string,warning:g.a.bool,error:g.a.bool},y.defaultProps={title:"",status:"",warning:!1,error:!1,removeFirstStep:!1},t.a=y}).call(this,n(3))},839:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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 SvgCheck(e){return r.createElement("svg",a({viewBox:"0 0 16 12"},e),i)}},86:function(e,t,n){"use strict";var r=n(100);n.d(t,"a",(function(){return r.a}));var a=n(101);n.d(t,"c",(function(){return a.a}));var i=n(102);n.d(t,"b",(function(){return i.a}))},88:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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",a({viewBox:"0 0 43 44"},e),i)}},9:function(e,t,n){"use strict";n.d(t,"v",(function(){return c.b})),n.d(t,"s",(function(){return s.a})),n.d(t,"w",(function(){return s.b})),n.d(t,"u",(function(){return p})),n.d(t,"c",(function(){return g.b})),n.d(t,"j",(function(){return g.c})),n.d(t,"q",(function(){return m.c})),n.d(t,"r",(function(){return m.d})),n.d(t,"n",(function(){return m.b})),n.d(t,"i",(function(){return m.a})),n.d(t,"o",(function(){return k})),n.d(t,"d",(function(){return _})),n.d(t,"f",(function(){return y.c})),n.d(t,"t",(function(){return y.i})),n.d(t,"g",(function(){return E.b})),n.d(t,"m",(function(){return E.c})),n.d(t,"b",(function(){return E.a})),n.d(t,"l",(function(){return O.b})),n.d(t,"h",(function(){return O.a})),n.d(t,"p",(function(){return O.d})),n.d(t,"k",(function(){return S})),n.d(t,"a",(function(){return j})),n.d(t,"x",(function(){return w})),n.d(t,"e",(function(){return C}));var r=n(110),a=n.n(r),i=n(108),o=n.n(i),c=n(30),s=n(60),l=n(28),u=n.n(l),d=n(73),f=n.n(d),p=function(e){return f()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===u()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};var g=n(77),m=(n(79),n(69));n(53);function h(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function v(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function b(e){return e.replace(/\n/gi,"<br>")}function k(e){for(var t=e,n=0,r=[h,v,b];n<r.length;n++){t=(0,r[n])(t)}return t}var _=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)]},y=n(56),E=n(80),O=n(49),S=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},j=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!a()(n)?null:n},w=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},C=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},92:function(e,t,n){"use strict";var r=n(12),a=n.n(r),i=n(289),o=n(0),c=n.n(o),s=n(2),l=n(107);function Portal(e){var t=e.children,n=e.slug,r=Object(s.useState)(document.createElement("div")),o=a()(r,1)[0];return Object(i.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(l.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},93:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return b}));var r=n(17),a=n.n(r),i=n(6),o=n.n(i),c=n(5),s=n.n(c),l=n(7),u=n.n(l),d=n(4),f=n.n(d),p=n(39),g=f.a.createRegistryControl,m=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:s.a.mark((function e(){var t;return s.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:s.a.mark((function e(){var t,n,r,a,i,o,c=arguments;return s.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(a=e.sent,i=a.cacheHit,o=a.value,!i){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",i);case 14:case"end":return e.stop()}}),e)})),createSnapshot:s.a.mark((function e(){var t;return s.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)}))},i=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(p.a)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",g((function(t){return function(){return Object(p.d)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(p.b)("datastore::cache::".concat(e),3600)})),t);return{initialState:n,actions:r,controls:i,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,i=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var o=i.snapshot,c=(o.error,a()(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")}))},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().createSnapshot()})))},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().restoreSnapshot()})))}},94:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(10),o=n.n(i),c=n(126),s=n(1),l=n(22);function SourceLink(t){var n=t.name,r=t.href,a=t.className,i=t.external;return e.createElement("div",{className:o()("googlesitekit-source-link",a)},Object(c.a)(Object(s.sprintf)(
45
  /* translators: %s: source link */
46
  Object(s.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(l.a,{key:"link",href:r,external:i,inherit:!0})}))}SourceLink.propTypes={name:a.a.string,href:a.a.string,className:a.a.string,external:a.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(3))},95:function(e,t,n){"use strict";var r=n(2),a=n(33),i=Object(r.createContext)(a.a);t.a=i},96:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(0),o=n.n(i);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 s(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){a()(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}function Spinner(t){var n=t.isSaving,r=t.style,a=void 0===r?{}:r;return e.createElement("span",{className:"spinner",style:s({display:n?"inline-block":"none",float:"none",marginTop:"0",visibility:"visible"},a)})}Spinner.propTypes={isSaving:o.a.bool,style:o.a.object},t.a=Spinner}).call(this,n(3))},99:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(115),a=function(){var e=Object(r.a)();return e>1280?"xlarge":e>960?"desktop":e>600?"tablet":"small"}}},[[1036,1,0]]]);
10
  /* translators: %s: List of product names */
11
  Object(s.__)("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(f.n)(t));break;case"single":n=Object(s.sprintf)(
12
  /* translators: %1$s: Product name */
13
+ Object(s.__)("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"),t[0]);break;case"generic":n=Object(s.__)("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(d.a,{id:"authentication error",title:Object(s.__)("Site Kit can’t access necessary data","google-site-kit"),description:n,format:"small",type:"win-error",isDismissible:!1,ctaLink:l,ctaLabel:Object(s.__)("Redo setup","google-site-kit")})}}).call(this,n(18),n(3))},262:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(4),a=n.n(r),i=n(15),o=n(42),c=a.a.useSelect;function InternalServerError(){var t=c((function(e){return e(i.c).getInternalServerError()}));return t?e.createElement(o.a,t):null}}).call(this,n(3))},263:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardNavigation}));var a=n(23),i=n.n(a),o=n(12),c=n.n(o),s=n(158),l=n(103),u=n(200),d=n.n(u),f=n(2),p=n(1),g=n(4),m=n.n(g),h=n(264),v=n(265),b=n(266),k=n(267),_=n(16),y=n(35),E=n(75),O=n(134),S=n(99),j=n(114);function w(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 C(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 C(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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 i,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,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function C(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 x=m.a.useSelect;function DashboardNavigation(){var t=Object(O.b)(),n=x((function(e){return e(y.a).isWidgetContextActive(t===O.a?E.CONTEXT_MAIN_DASHBOARD_TRAFFIC:E.CONTEXT_ENTITY_DASHBOARD_TRAFFIC)})),a=x((function(e){return e(y.a).isWidgetContextActive(t===O.a?E.CONTEXT_MAIN_DASHBOARD_CONTENT:E.CONTEXT_ENTITY_DASHBOARD_CONTENT)})),o=x((function(e){return e(y.a).isWidgetContextActive(t===O.a?E.CONTEXT_MAIN_DASHBOARD_SPEED:E.CONTEXT_ENTITY_DASHBOARD_SPEED)})),u=x((function(e){return e(y.a).isWidgetContextActive(t===O.a?E.CONTEXT_MAIN_DASHBOARD_MONETIZATION:E.CONTEXT_ENTITY_DASHBOARD_MONETIZATION)})),g=Object(S.a)(),m=Object(f.useState)(e.location.hash.substring(1)),C=c()(m,2),N=C[0],R=C[1],A=Object(f.useCallback)((function(t){var n,r=t.target.closest(".mdc-chip"),a=null==r||null===(n=r.dataset)||void 0===n?void 0:n.contextId;e.scrollTo({top:a!==_.d?Object(j.a)("#".concat(a),g):0,behavior:"smooth"})}),[g]);return Object(l.a)((function(){var t=e.location.hash;t&&setTimeout((function(){e.scrollTo({top:t.substring(1)!==_.d?Object(j.a)(t,g):0,behavior:"smooth"})}),25)})),Object(f.useEffect)((function(){var t=d()((function(){var t,r,c,s,l,d,f=null===(t=document.querySelector(".googlesitekit-entity-header"))||void 0===t||null===(r=t.getBoundingClientRect())||void 0===r?void 0:r.bottom,p=null===(c=document.querySelector(".googlesitekit-navigation"))||void 0===c||null===(s=c.getBoundingClientRect())||void 0===s?void 0:s.bottom,g=[].concat(i()(n?[_.d]:[]),i()(a?[_.a]:[]),i()(o?[_.c]:[]),i()(u?[_.b]:[])),m=_.d,h=w(g);try{for(h.s();!(d=h.n()).done;){var v=d.value,b=document.getElementById(v);if(b){var k=b.getBoundingClientRect().top-20-(f||p||0);k<0&&(void 0===l||l<k)&&(l=k,m=v)}}}catch(e){h.e(e)}finally{h.f()}var y=e.location.hash;m!==(null==y?void 0:y.substring(1))&&(e.history.replaceState({},"","#".concat(m)),R(m))}),50);return e.addEventListener("scroll",t),t(),function(){e.removeEventListener("scroll",t)}}),[n,a,o,u]),r.createElement("div",{className:"googlesitekit-navigation mdc-chip-set"},n&&r.createElement(s.Chip,{id:_.d,label:Object(p.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"18",height:"16"}),onClick:A,selected:N===_.d,"data-context-id":_.d}),a&&r.createElement(s.Chip,{id:_.a,label:Object(p.__)("Content","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"18"}),onClick:A,selected:N===_.a,"data-context-id":_.a}),o&&r.createElement(s.Chip,{id:_.c,label:Object(p.__)("Speed","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"20",height:"16"}),onClick:A,selected:N===_.c,"data-context-id":_.c}),u&&r.createElement(s.Chip,{id:_.b,label:Object(p.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(k.a,{width:"18",height:"16"}),onClick:A,selected:N===_.b,"data-context-id":_.b}))}}).call(this,n(18),n(3))},264:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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",a({viewBox:"0 0 18 16",fill:"none"},e),i)}},265:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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",a({viewBox:"0 0 18 18",fill:"none"},e),i)}},266:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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",a({viewBox:"0 0 20 16",fill:"none"},e),i,o)}},267:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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",a({viewBox:"0 0 23 12",fill:"none"},e),i)}},268:function(e,t,n){"use strict";(function(e,r){var a=n(12),i=n.n(a),o=n(10),c=n.n(o),s=n(315),l=n(200),u=n.n(l),d=n(1),f=n(2),p=n(4),g=n.n(p),m=n(24),h=n(16),v=n(21),b=n(15),k=n(269),_=n(36),y=n(22),E=n(49),O=g.a.useSelect,S=g.a.useDispatch;t.a=function EntityHeader(){var t=Object(f.useContext)(m.b),n=O((function(e){return e(b.c).getCurrentEntityTitle()})),a=O((function(e){return e(b.c).getCurrentEntityURL()})),o=Object(f.useRef)(),l=Object(f.useState)(a),p=i()(l,2),g=p[0],j=p[1];Object(f.useEffect)((function(){var t=function(){if(o.current){var t=o.current.clientWidth-40,n=e.getComputedStyle(o.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);j(Object(E.e)(a,r))}},n=u()(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[a,o,j]);var w=S(_.a).navigateTo,C=O((function(e){return e(b.c).getAdminURL("googlesitekit-dashboard")})),x=Object(f.useCallback)((function(){w(C)}),[C,w]),N=Object(s.a)().y;return h.k!==t||null===a||null===n?null:r.createElement("div",{className:c()("googlesitekit-entity-header",{"googlesitekit-entity-header--has-scrolled":N>1})},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(v.a,{icon:r.createElement(k.a,{width:24,height:24}),"aria-label":Object(d.__)("Back to dashboard","google-site-kit"),onClick:x,text:!0},Object(d.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:o,className:"googlesitekit-entity-header__details"},r.createElement("p",null,n),r.createElement(y.a,{href:a,"aria-label":a,external:!0,inherit:!0},g)))}}).call(this,n(18),n(3))},269:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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",a({viewBox:"0 0 24 24"},e),i,o)}},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},270:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return g}));var r=n(81),a=e._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,s=a.trackingEnabled,l={activeModules:o,trackingEnabled:s,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},u=Object(r.a)(l),d=u.enableTracking,f=u.disableTracking,p=(u.isTrackingEnabled,u.initializeSnippet),g=u.trackEvent;function m(e){e?d():f()}c&&s&&p()}).call(this,n(18))},301:function(e,t,n){"use strict";(function(e){var t=n(120),r=n(33),a=n(53),i=n(9),o=n(203),c=n(204),s=n(205),l=n(207),u=Object(i.j)("notification"),d=Object(a.a)(e.createElement(o.a,null)),f=Object(a.a)(e.createElement(c.a,null)),p=Object(a.a)(e.createElement(s.a,null)),g=Object(a.a)(e.createElement(l.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",p,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",g,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},31:function(e,t,n){"use strict";n.d(t,"u",(function(){return a})),n.d(t,"i",(function(){return i})),n.d(t,"m",(function(){return o})),n.d(t,"k",(function(){return c})),n.d(t,"l",(function(){return s})),n.d(t,"j",(function(){return l})),n.d(t,"q",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return p})),n.d(t,"b",(function(){return g})),n.d(t,"e",(function(){return m})),n.d(t,"g",(function(){return h})),n.d(t,"f",(function(){return v})),n.d(t,"h",(function(){return b})),n.d(t,"o",(function(){return k})),n.d(t,"p",(function(){return _})),n.d(t,"n",(function(){return y})),n.d(t,"s",(function(){return E})),n.d(t,"t",(function(){return O})),n.d(t,"r",(function(){return S}));var r=n(16),a="modules/idea-hub",i="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",s="IDEA_HUB_BUTTON_UNPIN",l="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",p="IDEA_HUB_ACTIVITY_IS_DELETING",g="IDEA_HUB_ACTIVITY_DELETED",m="IDEA_HUB_ACTIVITY_IS_PINNING",h="IDEA_HUB_ACTIVITY_PINNED",v="IDEA_HUB_ACTIVITY_IS_UNPINNING",b="IDEA_HUB_ACTIVITY_UNPINNED",k="".concat(r.g,"_idea-hub-widget"),_="".concat(r.o,"_idea-hub-saved-ideas-notification"),y="".concat(r.l,"_idea-hub"),E="new-ideas",O="saved-ideas",S="draft-ideas"},33:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(18))},339:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return d}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(120);Object(c.c)("googlesitekit.winCallbacks",{});function s(){return l.apply(this,arguments)}function l(){return(l=o()(a.a.mark((function t(){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((n=e._googlesitekitLegacyData.setup).isSiteKitConnected&&(n.isAuthenticated||n.isVerified)){t.next=3;break}return t.abrupt("return",0);case 3:return 0,e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",0),t.abrupt("return",0);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var u=function(t){var n=Math.abs(t.count)+1;return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}},d=function(t){var n=Math.max(0,Math.abs(t.count)-1);return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}}}).call(this,n(18))},34:function(e,t){e.exports=googlesitekit.api},348:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(67),s=n.n(c),l=n(68),u=n.n(l),d=n(46),f=n.n(d),p=n(0),g=n.n(p),m=n(2),h=n(8),v=n(22);function b(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 a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var k=function(t){s()(LayoutHeader,t);var n=b(LayoutHeader);function LayoutHeader(){return a()(this,LayoutHeader),n.apply(this,arguments)}return o()(LayoutHeader,[{key:"render",value:function(){var t=this.props,n=t.title,r=t.ctaLabel,a=t.ctaLink,i=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.b,null,e.createElement(h.l,null,n&&e.createElement(h.a,i,e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n)),a&&e.createElement(h.a,{alignMiddle:!0,mdAlignRight:!0,smSize:4,lgSize:6},e.createElement(v.a,{href:a,external:!0,inherit:!0},r)))))}}]),LayoutHeader}(m.Component);k.propTypes={title:g.a.string,ctaLabel:g.a.string,ctaLink:g.a.string},k.defaultProps={title:"",ctaLabel:"",ctaLink:""},t.a=k}).call(this,n(3))},349:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(67),s=n.n(c),l=n(68),u=n.n(l),d=n(46),f=n.n(d),p=n(0),g=n.n(p),m=n(2),h=n(8),v=n(94);function b(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 a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var k=function(t){s()(LayoutFooter,t);var n=b(LayoutFooter);function LayoutFooter(){return a()(this,LayoutFooter),n.apply(this,arguments)}return o()(LayoutFooter,[{key:"render",value:function(){var t=this.props,n=t.ctaLabel,r=t.ctaLink,a=t.footerContent;return e.createElement("footer",{className:"googlesitekit-layout__footer"},e.createElement(h.b,null,e.createElement(h.l,null,e.createElement(h.a,{size:12},r&&n&&e.createElement(v.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),a))))}}]),LayoutFooter}(m.Component);k.propTypes={ctaLabel:g.a.string,ctaLink:g.a.string},t.a=k}).call(this,n(3))},35:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},362:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="connect-analytics-setup-splash",a="analytics-setup-opt-in"},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},370:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptIn}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(0),s=n.n(c),l=n(10),u=n.n(l),d=n(2),f=n(126),p=n(1),g=n(4),m=n.n(g),h=n(13),v=n(30),b=n(128),k=n(22),_=n(24),y=m.a.useSelect,E=m.a.useDispatch;function OptIn(t){var n=t.id,r=t.name,i=t.className,c=y((function(e){return e(h.a).isTrackingEnabled()})),s=y((function(e){return e(h.a).isSavingTrackingEnabled()})),l=y((function(e){return e(h.a).getErrorForAction("setTrackingEnabled",[!c])})),g=E(h.a).setTrackingEnabled,m=Object(d.useContext)(_.b),O=Object(d.useCallback)(function(){var e=o()(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(!!t.target.checked);case 2:n=e.sent,r=n.response,n.error||(Object(v.a)(r.enabled),r.enabled&&Object(v.b)(m,"tracking_optin"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[g,m]);return e.createElement("div",{className:u()("googlesitekit-opt-in",i)},e.createElement(b.a,{id:n,name:r,value:"1",checked:c,disabled:s,onChange:O,loading:void 0===c},e.createElement("span",null,Object(p.__)("Help us improve Site Kit by sharing anonymous usage data.","google-site-kit")," "),e.createElement("span",null,Object(f.a)(Object(p.__)("All collected data is treated in accordance with the <a>Google Privacy Policy.</a>","google-site-kit"),{a:e.createElement(k.a,{key:"link",href:"https://policies.google.com/privacy",external:!0,inherit:!0})}))),(null==l?void 0:l.message)&&e.createElement("div",{className:"googlesitekit-error-text"},null==l?void 0:l.message))}OptIn.propTypes={id:s.a.string,name:s.a.string,className:s.a.string},OptIn.defaultProps={id:"googlesitekit-opt-in",name:"optIn"}}).call(this,n(3))},38:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(37),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},39:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return h})),n.d(t,"d",(function(){return v})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return k}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i);n(23);function c(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,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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 i,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,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}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 l,u="googlesitekit_".concat("1.49.1","_"),d=["sessionStorage","localStorage"],f=[].concat(d),p=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.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,i="__storage_test__",r.setItem(i,i),r.removeItem(i),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 g(){return m.apply(this,arguments)}function m(){return(m=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===l){t.next=2;break}return t.abrupt("return",l);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!l){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,p(i);case 11:if(!t.sent){t.next=13;break}l=e[i];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===l&&(l=null),t.abrupt("return",l);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,s,l;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,s=i.value,l=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:l});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)}}(),v=function(){var t=o()(a.a.mark((function t(n,r){var i,o,c,s,l,d,f,p,m=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=m.length>2&&void 0!==m[2]?m[2]:{},o=i.ttl,c=void 0===o?3600:o,s=i.timestamp,l=void 0===s?Math.round(Date.now()/1e3):s,d=i.isError,f=void 0!==d&&d,t.next=3,g();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(u).concat(n),JSON.stringify({timestamp:l,ttl:c,value:r,isError:f})),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)}}(),b=function(){var t=o()(a.a.mark((function t(n){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),k=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(u)&&r.push(o.substring(u.length));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)}}()}).call(this,n(18))},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},409:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return v})),n.d(t,"e",(function(){return b})),n.d(t,"b",(function(){return k})),n.d(t,"a",(function(){return _})),n.d(t,"d",(function(){return y}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(34),s=n.n(c),l=n(15),u=n(828),d=n(235);function f(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 p(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 p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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 i,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,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function p(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 g=/^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$/,m=/\.(example|invalid|localhost|test)$/,h=[{subnet:"10.0.0.0",mask:8},{subnet:"127.0.0.0",mask:8},{subnet:"172.16.0.0",mask:12},{subnet:"192.168.0.0",mask:16}],v=function(){var t=o()(a.a.mark((function t(){var n,r,i,o,c,s,l;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.location,r=n.hostname,!n.port){t.next=3;break}throw d.f;case 3:if(!g.test(r)){t.next=23;break}i=f(h),t.prev=5,i.s();case 7:if((o=i.n()).done){t.next=13;break}if(c=o.value,s=c.mask,l=c.subnet,!Object(u.a)(r,l,s)){t.next=11;break}throw d.f;case 11:t.next=7;break;case 13:t.next=18;break;case 15:t.prev=15,t.t0=t.catch(5),i.e(t.t0);case 18:return t.prev=18,i.f(),t.finish(18);case 21:t.next=25;break;case 23:if(r.includes(".")&&!r.match(m)){t.next=25;break}throw d.f;case 25:case"end":return t.stop()}}),t,null,[[5,15,18,21]])})));return function(){return t.apply(this,arguments)}}(),b=function(e){return o()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.dispatch(l.c).checkForSetupTag();case 2:if(!t.sent.error){t.next=5;break}throw d.g;case 5:case"end":return t.stop()}}),t)})))},k=function(){var e=o()(a.a.mark((function e(){var t,n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.get("core","site","health-checks",void 0,{useCache:!1}).catch((function(e){if("fetch_error"===e.code)throw d.d;throw d.c}));case 2:if(null==(r=e.sent)||null===(t=r.checks)||void 0===t||null===(n=t.googleAPI)||void 0===n?void 0:n.pass){e.next=5;break}throw d.e;case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_=function(){var e=o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(d.a).catch((function(){throw d.b}));case 2:if(e.sent.ok){e.next=5;break}throw d.b;case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=function(){var t=o()(a.a.mark((function t(){var n,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e._googlesitekitBaseData||{},!((r=n.wpVersion)&&r.major<5)){t.next=3;break}throw d.h;case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},42:function(e,t,n){"use strict";(function(e,r){var a=n(6),i=n.n(a),o=n(5),c=n.n(o),s=n(14),l=n.n(s),u=n(12),d=n.n(u),f=n(0),p=n.n(f),g=n(10),m=n.n(g),h=n(231),v=n.n(h),b=n(103),k=n(2),_=n(88),y=n(8),E=n(114),O=n(49),S=n(60),j=n(74),w=n(21),C=n(155),x=n(116),N=n(22),R=n(121),A=n(39),T=n(9),M=n(16),D=n(99);function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,s=t.blockData,u=t.children,f=t.className,p=t.ctaLabel,g=t.ctaLink,h=t.ctaTarget,L=t.description,z=t.dismiss,P=t.dismissExpires,I=t.format,B=t.id,F=t.isDismissible,U=t.learnMoreDescription,q=t.learnMoreLabel,H=t.learnMoreURL,V=t.logo,W=t.module,K=t.moduleName,G=t.onCTAClick,X=t.onDismiss,Y=t.pageIndex,$=t.showOnce,Q=t.SmallImageSVG,J=t.title,Z=t.type,ee=t.WinImageSVG,te=Object(k.useState)(!1),ne=d()(te,2),re=ne[0],ae=ne[1],ie=Object(k.useState)(!1),oe=d()(ie,2),ce=oe[0],se=oe[1],le=Object(k.useRef)(),ue="notification::dismissed::".concat(B),de=function(){return Object(A.d)(ue,new Date,{ttl:null})},fe=Object(D.a)();function pe(){return(pe=l()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(T.v)("".concat(M.g,"_site-notification"),"dismiss_notification",B);case 4:if(!X){e.next=7;break}return e.next=7,X(t);case 7:ge();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ge(){var e=le.current;ae(!0),setTimeout(l()(c.a.mark((function t(){var n;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,de();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function me(){return(me=l()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(T.v)("".concat(M.g,"_site-notification"),"confirm_notification",B);case 3:if(!G){e.next=6;break}return e.next=6,G(t);case 6:F&&ge();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(b.a)(l()(c.a.mark((function e(){var t,n;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(T.v)("".concat(M.g,"_site-notification"),"view_notification",B);case 2:if(!(P>0)){e.next=5;break}return e.next=5,be();case 5:if(!F){e.next=11;break}return e.next=8,Object(A.b)(ue);case 8:t=e.sent,n=t.cacheHit,se(n);case 11:if(!$){e.next=14;break}return e.next=14,de();case 14:case"end":return e.stop()}}),e)}))));var he=Object(k.useCallback)((function(t){Object(O.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(E.a)(a,fe),behavior:"smooth"}))}),[a,fe]);function ve(){return(ve=l()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(T.v)("".concat(M.g,"_site-notification"),"click_learn_more_link",B);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function be(){return ke.apply(this,arguments)}function ke(){return(ke=l()(c.a.mark((function e(){var t,n,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(A.b)(ue);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(P,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(A.a)(ue);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(F&&(void 0===ce||ce))return null;var _e,ye,Ee=re?"is-closed":"is-open",Oe="large"===I&&"win-stats-increase"===Z;_e="large"===I?Oe?{mdSize:5,lgSize:8,smOrder:2,mdOrder:1}:{mdSize:6,lgSize:8,smOrder:2,mdOrder:1}:"small"===I?{smSize:3,mdSize:7,lgSize:11}:{size:12},ye="win-warning"===Z?r.createElement(C.a,{width:34}):"win-error"===Z?r.createElement(x.a,{width:28}):"";var Se=r.createElement(k.Fragment,null,s&&r.createElement(y.l,null,v()(s,(function(e,t){return r.createElement(y.a,{key:t,lgSize:Oe?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(j.a,e)))})))),je=r.createElement(k.Fragment,null,J&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},J),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(N.a,{href:a,onClick:he},o)),L&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(k.isValidElement)(L)?L:r.createElement("span",{dangerouslySetInnerHTML:Object(S.a)(L,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),q&&r.createElement(k.Fragment,null," ",r.createElement(N.a,{onClick:function(e){return ve.apply(this,arguments)},href:H,external:!0,inherit:!0},q),U),Y&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},Y))),u),we=W?r.createElement(R.a,{slug:W,size:19}):r.createElement(_.a,{height:"34",width:"32"}),Ce=Oe?{size:12,smOrder:2,mdOrder:1}:{size:12};return r.createElement("section",{id:B,ref:le,className:m()(f,"googlesitekit-publisher-win",(n={},i()(n,"googlesitekit-publisher-win--".concat(I),I),i()(n,"googlesitekit-publisher-win--".concat(Z),Z),i()(n,"googlesitekit-publisher-win--".concat(Ee),Ee),n))},r.createElement(y.b,null,r.createElement(y.l,null,V&&r.createElement(y.a,Ce,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},we),K&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},K)),Q&&r.createElement(y.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(Q,null)),r.createElement(y.a,_e,Oe?r.createElement(y.l,null,r.createElement(y.a,{mdSize:8,lgSize:5},je),r.createElement(y.a,{alignBottom:!0,mdSize:8,lgSize:7},Se)):r.createElement(k.Fragment,null,je,Se),g&&r.createElement(w.a,{className:"googlesitekit-notification__cta",href:g,target:h,onClick:function(e){return me.apply(this,arguments)}},p),F&&z&&r.createElement(N.a,{onClick:function(e){return pe.apply(this,arguments)}},z)),ee&&r.createElement(y.a,{mdSize:2,lgSize:4,smOrder:1,mdOrder:2},r.createElement("div",{className:"googlesitekit-publisher-win__image-large"},r.createElement(ee,null))),("win-error"===Z||"win-warning"===Z)&&r.createElement(y.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},ye)))))}BannerNotification.propTypes={id:p.a.string.isRequired,className:p.a.string,title:p.a.string.isRequired,description:p.a.node,learnMoreURL:p.a.string,learnMoreDescription:p.a.string,learnMoreLabel:p.a.string,blockData:p.a.array,WinImageSVG:p.a.elementType,SmallImageSVG:p.a.elementType,format:p.a.string,ctaLink:p.a.string,ctaLabel:p.a.string,type:p.a.string,dismiss:p.a.string,isDismissible:p.a.bool,logo:p.a.bool,module:p.a.string,moduleName:p.a.string,pageIndex:p.a.string,dismissExpires:p.a.number,showOnce:p.a.bool,onCTAClick:p.a.func,onDismiss:p.a.func,anchorLink:p.a.string,anchorLinkLabel:p.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(18),n(3))},441:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(14),c=n.n(o),s=n(12),l=n.n(s),u=n(1),d=n(2),f=n(126),p=n(72),g=n(442),m=n(4),h=n.n(m),v=n(9),b=n(113),k=n(92),_=n(22),y=n(15),E=n(36),O=n(30),S=n(24),j=h.a.useSelect,w=h.a.useDispatch;t.a=function ResetButton(t){var n=t.children,a=j((function(e){return e(y.c).getAdminURL("googlesitekit-splash",{notification:"reset_success"})})),o=j((function(e){return e(y.c).isDoingReset()})),s=j((function(e){return e(E.a).isNavigatingTo(a||"")})),m=Object(d.useState)(!1),h=l()(m,2),C=h[0],x=h[1],N=Object(d.useState)(!1),R=l()(N,2),A=R[0],T=R[1],M=Object(g.a)(x,3e3);Object(d.useEffect)((function(){o||s?x(!0):M(!1)}),[o,s,M]),Object(d.useEffect)((function(){var t=function(e){p.c===e.keyCode&&T(!1)};return A&&e.addEventListener("keyup",t,!1),function(){A&&e.removeEventListener("keyup",t)}}),[A]);var D=w(y.c).reset,L=w(E.a).navigateTo,z=Object(d.useContext)(S.b),P=Object(d.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D();case 2:return Object(v.c)(),e.next=5,Object(O.b)(z,"reset_plugin");case 5:L(a);case 6:case"end":return e.stop()}}),e)}))),[L,a,D,z]),I=Object(d.useCallback)((function(){T(!A)}),[A]),B=Object(d.useCallback)((function(){T(!0)}),[]);return r.createElement(d.Fragment,null,r.createElement(_.a,{className:"googlesitekit-reset-button",onClick:B,inherit:!0},n||Object(u.__)("Reset Site Kit","google-site-kit")),r.createElement(k.a,null,r.createElement(b.a,{dialogActive:A,handleConfirm:P,handleDialog:I,title:Object(u.__)("Reset Site Kit","google-site-kit"),subtitle:Object(f.a)(Object(u.__)("Resetting will disconnect all users and remove all Site Kit settings and data within WordPress. <br />You and any other users who wish to use Site Kit will need to reconnect to restore access.","google-site-kit"),{br:r.createElement("br",null)}),confirmButton:Object(u.__)("Reset","google-site-kit"),danger:!0,inProgress:C})))}}).call(this,n(18),n(3))},442:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(534),a=n(26),i=n(2);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object(r.a)((function(){return a.debounce.apply(void 0,t)}),t);return Object(i.useEffect)((function(){return function(){return o.cancel()}}),[o]),o}},447:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(78),s=n.n(c),l=n(67),u=n.n(l),d=n(68),f=n.n(d),p=n(46),g=n.n(p),m=n(10),h=n.n(m),v=n(107),b=n(2),k=n(1),_=n(339),y=n(54);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=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var O=function(t){u()(NotificationCounter,t);var n=E(NotificationCounter);function NotificationCounter(e){var t;return a()(this,NotificationCounter),(t=n.call(this,e)).state={count:0},t.handleIncrement=t.handleIncrement.bind(s()(t)),t.handleDecrement=t.handleDecrement.bind(s()(t)),t}return o()(NotificationCounter,[{key:"componentDidMount",value:function(){var e=this;Object(_.b)().then((function(t){e.setState({count:t})})),document.addEventListener("notificationDismissed",this.handleDecrement,!1)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("notificationDismissed",this.handleDecrement)}},{key:"handleIncrement",value:function(){this.setState(_.c)}},{key:"handleDecrement",value:function(){this.setState(_.a)}},{key:"render",value:function(){var t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name");if(!t)return null;var n=Object(k.sprintf)(
14
  /* translators: %d: the number of notifications */
15
  Object(k._n)("%d notification","%d notifications",this.state.count,"google-site-kit"),this.state.count),r=e.createElement("span",{className:h()("googlesitekit-notifications-counter","update-plugins","count-".concat(this.state.count))},e.createElement("span",{className:"plugin-count","aria-hidden":"true"},this.state.count),e.createElement(y.a,null,n));return Object(v.createPortal)(r,t)}}]),NotificationCounter}(b.Component);t.a=O}).call(this,n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(27);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},49:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return s}));var r=n(105);function a(e){try{return new URL(e).pathname}catch(e){}return null}function i(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){return/^#\w[A-Za-z0-9-_]*$/.test(e)}function s(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),a=e.replace(n.origin,"");if(a.length<t)return a;var i=a.length-Math.floor(t)+1;return"…"+a.substr(i)}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),a=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},54:function(e,t,n){"use strict";(function(e){var r=n(19),a=n.n(r),i=n(17),o=n.n(i),c=n(0),s=n.n(c),l=n(10),u=n.n(l);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},56:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return g})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return v})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(37),s=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},l=n(12),u=n.n(l),d=n(38),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),s(n)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function m(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var h=n(1);function v(){var e=function(e){return Object(h.sprintf)(
16
  /* translators: %s: number of days */
41
  /* translators: %1$s: Support Forum URL, %2$s: Error message */
42
  Object(i.__)('To get more help, ask a question on our <a href="%1$s">support forum</a> and include the text of the original error message: %2$s',"google-site-kit"),"https://wordpress.org/support/plugin/google-site-kit/","<br/>".concat(n)),"\n\t\t\t\t\t\t"),{ALLOWED_TAGS:["a","br"],ALLOWED_ATTR:["href"]})});case d.b:return e.createElement("p",{dangerouslySetInnerHTML:Object(s.a)("\n\t\t\t\t\t\t".concat(Object(i.__)("Looks like the AMP CDN is restricted in your region, which could interfere with setup on the Site Kit service.","google-site-kit"),"\n\t\t\t\t\t\t<br/>\n\t\t\t\t\t\t").concat(Object(i.sprintf)(
43
  /* translators: %1$s: Support Forum URL, %2$s: Error message */
44
+ Object(i.__)('To get more help, ask a question on our <a href="%1$s">support forum</a> and include the text of the original error message: %2$s',"google-site-kit"),"https://wordpress.org/support/plugin/google-site-kit/","<br/>".concat(n)),"\n\t\t\t\t\t\t"),{ALLOWED_TAGS:["a","br"],ALLOWED_ATTR:["href"]})});case d.h:return e.createElement("p",null,Object(i.__)("Looks like you’re using a version of WordPress that’s older than 5.0. You can still install and use Site Kit, but some of its features might not work (for example translations).","google-site-kit"))}}}).call(this,n(3))},828:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=function(e){var t=e.split(".");return(+t[0]<<24)+(+t[1]<<16)+(+t[2]<<8)+ +t[3]},a=function(e,t,n){return(r(e)&-1<<32-n)===r(t)}},829:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivateAnalyticsNotice}));var r=n(6),a=n.n(r),i=n(2),o=n(1),c=n(4),s=n.n(c),l=n(362),u=n(40),d=n(128),f=n(830),p=s.a.useSelect,g=s.a.useDispatch;function ActivateAnalyticsNotice(){var t=g(u.a).setValues,n=p((function(e){return e(u.a).getValue(l.b,l.a)})),r=Object(i.useCallback)((function(e){t(l.b,a()({},l.a,e.target.checked))}),[t]);return e.createElement("div",{className:"googlesitekit-setup-analytics-notice"},e.createElement("div",{className:"googlesitekit-setup-analytics-notice__opt-in"},e.createElement(d.a,{id:"googlesitekit-analytics-setup-opt-in",name:"googlesitekit-analytics-setup-opt-in",value:"1",checked:n,onChange:r},e.createElement("strong",null,Object(o.__)("Connect Google Analytics as part of your setup.","google-site-kit")," "),e.createElement("span",null,Object(o.__)("Activate Google Analytics to track how much traffic you’re getting and how people navigate your site.","google-site-kit")))),e.createElement("div",{className:"googlesitekit-setup-analytics-notice__icon"},e.createElement(f.a,null)))}}).call(this,n(3))},83:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(14),s=n.n(c),l=n(47),u=n(33);function d(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(t,n,r,i){var o=Object(l.a)(n);return function(){var n=s()(a.a.mark((function n(c,s,l,d){var p,g,m,h,v,b,k,_,y,E;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(h=t.activeModules,v=t.referenceSiteURL,b=t.trackingEnabled,k=t.trackingID,_=t.userIDHash,b){n.next=3;break}return n.abrupt("return");case 3:return r(),y=null!==(p=null===(g=e._googlesitekitUserData)||void 0===g||null===(m=g.user)||void 0===m?void 0:m.roles)&&void 0!==p?p:[],E={send_to:k,event_category:c,event_label:l,value:d,dimension1:v,dimension2:y.join(","),dimension3:_,dimension4:"1.49.1",dimension5:Array.from(u.a).join(","),dimension6:h.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(s,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),a=function(){clearTimeout(r),e()};o("event",s,f(f({},E),{},{event_callback:a})),(null===(t=i._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},830:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("g",{filter:"url(#analytics-setup-sidekick_svg__a)"},r.createElement("rect",{x:135,y:2,width:148,height:122,rx:3.976,fill:"#fff"})),o=r.createElement("path",{d:"M147.754 25.902v-7.98h1.939l2.118 5.607h.089l2.118-5.606h1.95v7.98h-1.494v-3.935l.09-1.326h-.09l-2.028 5.26h-1.17l-2.04-5.26h-.089l.089 1.326v3.934h-1.482zm12.456.179c-.595 0-1.122-.13-1.583-.39a2.93 2.93 0 01-1.07-1.081 3.164 3.164 0 01-.379-1.55 3.1 3.1 0 01.379-1.537c.26-.461.617-.822 1.07-1.082.461-.267.988-.4 1.583-.4.594 0 1.118.133 1.571.4a2.85 2.85 0 011.059 1.082c.26.453.39.965.39 1.537 0 .573-.13 1.089-.39 1.55a2.85 2.85 0 01-1.059 1.08c-.453.26-.977.39-1.571.39zm0-1.36c.282 0 .538-.063.769-.19a1.49 1.49 0 00.568-.568c.148-.252.223-.553.223-.903 0-.349-.075-.646-.223-.891a1.494 1.494 0 00-.568-.569 1.506 1.506 0 00-.769-.2 1.61 1.61 0 00-.781.2 1.573 1.573 0 00-.579.569c-.141.245-.212.542-.212.891 0 .35.071.65.212.903.148.245.342.435.579.569.246.126.506.189.781.189zm6.244 1.36c-.49 0-.91-.07-1.259-.212a2.36 2.36 0 01-.836-.557 2.299 2.299 0 01-.479-.758l1.304-.569c.245.543.669.814 1.27.814.238 0 .454-.037.647-.111a.438.438 0 00.29-.435.414.414 0 00-.156-.346.933.933 0 00-.368-.2 3.213 3.213 0 00-.457-.123l-.669-.145a2.524 2.524 0 01-.78-.312 2.04 2.04 0 01-.602-.58 1.508 1.508 0 01-.223-.813c0-.342.097-.639.29-.891.201-.253.468-.45.803-.591a2.916 2.916 0 011.125-.212c.565 0 1.048.1 1.449.301.401.2.702.513.903.936l-1.249.546a1.01 1.01 0 00-.468-.468 1.369 1.369 0 00-.601-.133c-.253 0-.454.048-.602.144-.149.097-.223.212-.223.346 0 .141.074.264.223.368.148.104.327.182.535.234l.836.2c.564.134.988.35 1.27.647.29.297.435.654.435 1.07 0 .371-.108.698-.323.98-.216.275-.506.49-.87.647a3.187 3.187 0 01-1.215.223zm5.885-.09c-.587 0-1.048-.167-1.382-.501-.334-.342-.502-.81-.502-1.404v-2.62h-.991V20.22h.991v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351c0 .26.056.46.168.602.111.134.297.2.557.2a.884.884 0 00.368-.066 3.06 3.06 0 00.345-.178v1.426a2.74 2.74 0 01-1.014.19zm4.751 2.319v-8.091h1.371v.69h.089c.141-.222.357-.423.647-.601.297-.179.65-.268 1.058-.268.521 0 .985.13 1.394.39.416.253.742.606.98 1.059.245.453.368.977.368 1.571 0 .595-.123 1.119-.368 1.572-.238.453-.564.81-.98 1.07a2.596 2.596 0 01-1.394.379c-.408 0-.761-.086-1.058-.257-.29-.178-.506-.379-.647-.602h-.089l.089.803v2.285h-1.46zm2.909-3.578a1.481 1.481 0 001.326-.791 1.7 1.7 0 00.223-.88c0-.342-.074-.636-.223-.881a1.488 1.488 0 00-.568-.568 1.464 1.464 0 00-1.516 0c-.23.133-.42.327-.568.58a1.714 1.714 0 00-.212.868c0 .335.071.628.212.88.148.246.338.44.568.58.238.142.491.212.758.212zm6.842 1.349c-.594 0-1.121-.13-1.582-.39a2.93 2.93 0 01-1.07-1.081 3.164 3.164 0 01-.379-1.55 3.1 3.1 0 01.379-1.537c.26-.461.617-.822 1.07-1.082.461-.267.988-.4 1.582-.4.595 0 1.119.133 1.572.4a2.85 2.85 0 011.059 1.082c.26.453.39.965.39 1.537 0 .573-.13 1.089-.39 1.55a2.85 2.85 0 01-1.059 1.08c-.453.26-.977.39-1.572.39zm0-1.36c.283 0 .539-.063.769-.19a1.49 1.49 0 00.569-.568c.148-.252.223-.553.223-.903 0-.349-.075-.646-.223-.891a1.49 1.49 0 00-.569-.569 1.604 1.604 0 00-1.549 0 1.573 1.573 0 00-.579.569c-.141.245-.212.542-.212.891 0 .35.071.65.212.903.148.245.342.435.579.569.245.126.505.189.78.189zm4.039 3.589v-8.091h1.37v.69h.09c.141-.222.356-.423.646-.601.297-.179.65-.268 1.059-.268.52 0 .984.13 1.393.39.416.253.743.606.981 1.059.245.453.367.977.367 1.571 0 .595-.122 1.119-.367 1.572-.238.453-.565.81-.981 1.07a2.595 2.595 0 01-1.393.379c-.409 0-.762-.086-1.059-.257-.29-.178-.505-.379-.646-.602h-.09l.09.803v2.285h-1.46zm2.908-3.578a1.481 1.481 0 001.327-.791 1.71 1.71 0 00.223-.88c0-.342-.075-.636-.223-.881a1.49 1.49 0 00-.569-.568 1.457 1.457 0 00-1.515 0 1.57 1.57 0 00-.569.58 1.714 1.714 0 00-.212.868c0 .335.071.628.212.88.149.246.338.44.569.58.237.142.49.212.757.212zm6.12 1.349c-.699 0-1.223-.216-1.572-.647-.349-.43-.524-1.018-.524-1.76v-3.455h1.46v3.276c0 .386.093.691.279.914a.944.944 0 00.736.323c.431 0 .765-.156 1.003-.468.237-.312.356-.695.356-1.148V20.22h1.46v5.683h-1.371v-.713h-.089a1.83 1.83 0 01-.724.658 2.194 2.194 0 01-1.014.234zm4.632-.179v-7.98H206v7.98h-1.46zm4.579.179c-.402 0-.758-.078-1.07-.234a1.88 1.88 0 01-.725-.68 1.877 1.877 0 01-.267-1.003c0-.394.1-.732.301-1.014.208-.283.483-.502.825-.658a2.806 2.806 0 011.159-.234c.349 0 .65.03.902.09.253.051.454.107.602.166v-.245a.93.93 0 00-.345-.746c-.231-.201-.546-.301-.948-.301a1.73 1.73 0 00-.78.189 1.788 1.788 0 00-.613.48l-.936-.736c.275-.357.62-.632 1.037-.825a3.19 3.19 0 011.359-.29c.869 0 1.531.2 1.984.602.453.401.68.988.68 1.76v3.5h-1.438v-.58h-.089a1.955 1.955 0 01-.646.536c-.268.148-.599.223-.992.223zm.345-1.137c.297 0 .546-.063.747-.19.208-.133.364-.304.468-.512.111-.208.167-.427.167-.658a2.331 2.331 0 00-.557-.19 2.61 2.61 0 00-.635-.077c-.431 0-.728.081-.892.245a.82.82 0 00-.245.602c0 .223.078.408.234.557.163.149.401.223.713.223zm4.163.958V20.22h1.371v.757h.089a1.76 1.76 0 01.647-.657 1.89 1.89 0 01.991-.268c.149 0 .283.012.402.034.119.022.223.052.312.089v1.46a3.776 3.776 0 00-.468-.145 1.67 1.67 0 00-.48-.067c-.438 0-.783.16-1.036.48-.245.319-.368.709-.368 1.17v2.83h-1.46zm-63.399 16.179c-.579 0-1.096-.127-1.549-.38a2.874 2.874 0 01-1.059-1.07c-.252-.46-.378-.984-.378-1.57 0-.587.126-1.108.378-1.56a2.87 2.87 0 011.059-1.07c.453-.26.97-.39 1.549-.39.632 0 1.174.133 1.627.4.454.268.781.654.981 1.16l-1.337.557a1.183 1.183 0 00-.502-.569 1.49 1.49 0 00-.769-.19c-.431 0-.795.153-1.092.458-.29.297-.435.698-.435 1.203 0 .513.145.922.435 1.226.297.298.661.446 1.092.446.327 0 .598-.07.814-.212.215-.148.39-.349.524-.601l1.304.58a2.698 2.698 0 01-1.015 1.147c-.453.29-.995.435-1.627.435zm6.379 0c-.594 0-1.122-.13-1.582-.39a2.922 2.922 0 01-1.07-1.081 3.164 3.164 0 01-.379-1.55 3.1 3.1 0 01.379-1.538c.26-.46.616-.82 1.07-1.08.46-.268.988-.402 1.582-.402.594 0 1.118.134 1.571.401a2.84 2.84 0 011.059 1.081c.26.454.39.966.39 1.538a3.1 3.1 0 01-.39 1.55 2.835 2.835 0 01-1.059 1.08c-.453.26-.977.39-1.571.39zm0-1.36a1.483 1.483 0 001.337-.758c.149-.252.223-.553.223-.903 0-.349-.074-.646-.223-.891a1.487 1.487 0 00-.568-.569 1.604 1.604 0 00-1.549 0 1.575 1.575 0 00-.58.569c-.141.245-.211.542-.211.891 0 .35.07.65.211.903.149.245.342.435.58.569.245.126.505.189.78.189zm4.029 1.181V36.22h1.37v.713h.089c.171-.275.413-.49.725-.647.312-.163.65-.245 1.014-.245.698 0 1.222.212 1.571.636.35.423.524.988.524 1.694v3.532h-1.46v-3.354c0-.372-.096-.654-.289-.847-.186-.2-.443-.301-.769-.301-.409 0-.732.156-.97.468-.23.312-.346.69-.346 1.137v2.897h-1.459zm8.862.09c-.587 0-1.047-.168-1.382-.502-.334-.342-.501-.81-.501-1.404v-2.62h-.992V36.22h.992v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351c0 .26.055.46.167.602.111.134.297.2.557.2a.88.88 0 00.368-.066 3.06 3.06 0 00.345-.178v1.426a2.73 2.73 0 01-1.014.19zm4.652.089c-.572 0-1.085-.13-1.538-.39a2.868 2.868 0 01-1.059-1.07 3.134 3.134 0 01-.379-1.55c0-.542.127-1.043.379-1.504.253-.46.598-.828 1.037-1.103.438-.283.94-.424 1.504-.424.609 0 1.122.13 1.538.39.416.26.732.61.947 1.048.216.43.324.91.324 1.438 0 .118-.004.223-.011.312a1.825 1.825 0 01-.023.178h-4.257c.067.446.245.788.535 1.025.29.238.631.357 1.025.357.349 0 .643-.074.881-.223a1.74 1.74 0 00.557-.58l1.181.58c-.267.468-.616.84-1.047 1.114-.431.268-.963.402-1.594.402zm-.045-4.848c-.334 0-.631.1-.891.3a1.58 1.58 0 00-.546.837h2.83a1.108 1.108 0 00-.189-.513 1.344 1.344 0 00-.468-.446 1.422 1.422 0 00-.736-.178zm3.922 4.67v-5.684h1.371v.713h.089c.171-.275.413-.49.725-.647.312-.163.65-.245 1.014-.245.698 0 1.222.212 1.571.636.349.423.524.988.524 1.694v3.532h-1.46v-3.354c0-.372-.096-.654-.29-.847-.185-.2-.442-.301-.769-.301-.408 0-.731.156-.969.468-.231.312-.346.69-.346 1.137v2.897h-1.46zm8.863.089c-.587 0-1.048-.168-1.382-.502-.334-.342-.501-.81-.501-1.404v-2.62h-.992V36.22h.992v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351c0 .26.055.46.167.602.111.134.297.2.557.2a.88.88 0 00.368-.066 3.06 3.06 0 00.345-.178v1.426a2.73 2.73 0 01-1.014.19z",fill:"#202124"}),c=r.createElement("path",{d:"M149.749 64.817h-.742v-4.92l-1.488.546v-.67l2.115-.794h.115v5.838zm1.381 15h-3.807v-.53l2.011-2.236c.298-.338.503-.612.615-.822.114-.213.172-.432.172-.658 0-.303-.092-.552-.276-.746-.183-.195-.428-.292-.734-.292-.367 0-.653.105-.858.316-.202.207-.303.497-.303.87h-.739c0-.535.172-.968.515-1.297.346-.33.808-.495 1.385-.495.54 0 .967.142 1.281.427.314.282.471.658.471 1.13 0 .571-.365 1.252-1.094 2.042l-1.556 1.688h2.917v.603zm-2.733 11.736h.554c.349-.006.623-.097.822-.276.2-.178.3-.419.3-.722 0-.681-.339-1.022-1.018-1.022-.319 0-.575.092-.766.276-.189.18-.283.421-.283.722h-.739c0-.46.168-.842.503-1.145.338-.306.766-.46 1.285-.46.548 0 .978.146 1.289.436.311.29.467.693.467 1.209 0 .253-.082.497-.247.734a1.475 1.475 0 01-.667.53c.319.102.565.27.738.504.176.234.264.52.264.858 0 .521-.17.935-.511 1.24-.341.307-.784.46-1.329.46-.545 0-.99-.148-1.333-.443-.34-.296-.511-.685-.511-1.17h.743c0 .306.099.551.299.735.2.183.467.275.802.275.357 0 .629-.093.818-.28.189-.185.284-.453.284-.801 0-.338-.104-.598-.312-.778-.207-.181-.507-.275-.898-.28h-.554v-.602zm2.043 16.312h.806v.603h-.806v1.349h-.742v-1.349h-2.646v-.435l2.602-4.026h.786v3.858zm-2.55 0h1.808v-2.849l-.088.16-1.72 2.689z",fill:"#C7C7C7"}),s=r.createElement("path",{d:"M149 62.227c0-1.23 1.104-2.227 2.465-2.227h51.464c1.362 0 2.465.997 2.465 2.227s-1.103 2.227-2.465 2.227h-51.464c-1.361 0-2.465-.997-2.465-2.227zm0 14.849c0-1.23 1.104-2.227 2.465-2.227h80.07c1.361 0 2.465.997 2.465 2.227s-1.104 2.227-2.465 2.227h-80.07c-1.361 0-2.465-.997-2.465-2.227zm0 14.848c0-1.23 1.104-2.227 2.465-2.227h44.109c1.361 0 2.464.997 2.464 2.227s-1.103 2.227-2.464 2.227h-44.109c-1.361 0-2.465-.997-2.465-2.227zm0 14.849c0-1.23 1.104-2.228 2.465-2.228h59.637c1.362 0 2.465.998 2.465 2.228 0 1.23-1.103 2.227-2.465 2.227h-59.637c-1.361 0-2.465-.997-2.465-2.227z",fill:"#C7C7C7"}),l=r.createElement("g",{filter:"url(#analytics-setup-sidekick_svg__b)"},r.createElement("rect",{x:4,y:52,width:148,height:122,rx:3.976,fill:"#fff"})),u=r.createElement("path",{d:"M19.707 75.08c-.624 0-1.17-.133-1.638-.4a2.783 2.783 0 01-1.08-1.149c-.253-.505-.38-1.107-.38-1.805v-4.803h1.494v4.892c0 .528.133.966.4 1.315.276.35.677.524 1.204.524.528 0 .925-.174 1.193-.524.275-.349.412-.787.412-1.315v-4.892h1.494v4.803c0 .661-.127 1.245-.38 1.75a2.834 2.834 0 01-1.069 1.181c-.46.282-1.01.424-1.65.424zm4.585-.178V69.22h1.37v.713h.09c.17-.275.412-.49.724-.647.312-.163.65-.245 1.014-.245.699 0 1.223.212 1.572.635.349.424.523.989.523 1.695v3.532h-1.46v-3.354c0-.372-.096-.654-.29-.847-.185-.2-.441-.301-.768-.301-.409 0-.732.156-.97.468-.23.312-.345.69-.345 1.137v2.897h-1.46zm7.496-6.308a.912.912 0 01-.669-.278.912.912 0 01-.278-.669c0-.26.093-.48.278-.657a.912.912 0 01.669-.279c.26 0 .48.093.658.279a.876.876 0 01.278.657c0 .26-.093.483-.278.669a.876.876 0 01-.658.278zm-.736 6.308V69.22h1.46v5.683h-1.46zm7.072 2.408v-2.285l.089-.803h-.09c-.14.223-.356.424-.645.602-.29.171-.643.257-1.06.257-.52 0-.987-.127-1.404-.38a2.811 2.811 0 01-.991-1.07c-.238-.452-.357-.976-.357-1.57 0-.595.119-1.119.357-1.572a2.73 2.73 0 01.991-1.059 2.6 2.6 0 011.405-.39c.416 0 .769.09 1.059.268.29.178.505.379.646.601h.089v-.69h1.36v8.09h-1.45zm-1.46-3.578c.275 0 .527-.07.758-.212.238-.14.427-.334.568-.58.149-.252.223-.545.223-.88a1.64 1.64 0 00-.223-.869 1.471 1.471 0 00-.568-.58 1.46 1.46 0 00-1.516 0c-.23.134-.42.324-.568.569a1.736 1.736 0 00-.212.88c0 .335.07.628.212.88.148.254.338.45.568.591.238.134.49.201.758.201zm6.352 1.349c-.698 0-1.222-.216-1.572-.647-.349-.43-.523-1.018-.523-1.76v-3.455h1.46v3.276c0 .386.093.691.278.914a.945.945 0 00.736.323c.43 0 .765-.156 1.003-.468.238-.312.356-.695.356-1.148V69.22h1.46v5.683h-1.37v-.713h-.09a1.83 1.83 0 01-.724.658 2.192 2.192 0 01-1.014.234zm7.23 0c-.572 0-1.085-.13-1.538-.39a2.868 2.868 0 01-1.059-1.07c-.252-.453-.379-.97-.379-1.55 0-.542.127-1.043.38-1.504.252-.46.597-.828 1.036-1.103.438-.283.94-.424 1.504-.424.61 0 1.122.13 1.538.39.416.26.732.61.947 1.048.216.43.324.91.324 1.438 0 .118-.004.222-.011.312a1.913 1.913 0 01-.023.178h-4.257c.067.446.245.787.535 1.025.29.238.631.357 1.025.357.35 0 .643-.074.88-.223.238-.156.424-.35.558-.58l1.181.58c-.267.468-.616.84-1.047 1.114-.431.268-.963.402-1.594.402zm-.045-4.848c-.334 0-.631.1-.891.3a1.58 1.58 0 00-.546.837h2.83a1.114 1.114 0 00-.189-.513 1.35 1.35 0 00-.468-.446 1.42 1.42 0 00-.736-.178zm8.306 4.67L56.1 69.218h1.66l1.438 3.7h.09l1.46-3.7h1.638l-2.43 5.683h-1.449zm5.496-6.309a.912.912 0 01-.669-.278.912.912 0 01-.278-.669c0-.26.093-.48.279-.657a.912.912 0 01.668-.279c.26 0 .48.093.658.279a.876.876 0 01.278.657c0 .26-.093.483-.278.669a.876.876 0 01-.658.278zm-.735 6.308V69.22h1.46v5.683h-1.46zm5.142.179c-.49 0-.91-.07-1.26-.212a2.356 2.356 0 01-.836-.557 2.293 2.293 0 01-.479-.758l1.304-.569c.245.543.669.814 1.27.814.238 0 .454-.037.647-.111a.437.437 0 00.29-.435.414.414 0 00-.156-.346.925.925 0 00-.368-.2 3.198 3.198 0 00-.457-.123l-.669-.145a2.526 2.526 0 01-.78-.312 2.04 2.04 0 01-.602-.58 1.504 1.504 0 01-.222-.813c0-.341.096-.639.29-.891.2-.253.467-.45.802-.591a2.92 2.92 0 011.125-.212c.565 0 1.048.1 1.45.301.4.2.701.513.902.936l-1.248.546a1.019 1.019 0 00-.468-.468 1.373 1.373 0 00-.602-.133c-.253 0-.453.048-.602.145-.149.096-.223.211-.223.345 0 .141.074.264.223.368.149.104.327.182.535.234l.836.2c.564.134.988.35 1.27.647.29.297.435.654.435 1.07 0 .371-.108.698-.323.98-.216.275-.505.49-.87.647a3.186 3.186 0 01-1.214.223zm4.235-6.487a.912.912 0 01-.669-.278.912.912 0 01-.279-.669c0-.26.093-.48.279-.657a.912.912 0 01.669-.279c.26 0 .479.093.657.279a.876.876 0 01.279.657c0 .26-.093.483-.279.669a.876.876 0 01-.657.278zm-.736 6.308V69.22h1.46v5.683h-1.46zm5.4.09c-.587 0-1.048-.168-1.382-.502-.335-.342-.502-.81-.502-1.404v-2.62h-.992V69.22h.992v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351c0 .26.056.46.167.602.112.134.298.2.558.2a.88.88 0 00.368-.066 3.09 3.09 0 00.345-.178v1.426c-.32.126-.658.19-1.014.19zm4.707.089c-.594 0-1.122-.13-1.582-.39a2.929 2.929 0 01-1.07-1.081 3.168 3.168 0 01-.38-1.55c0-.572.127-1.084.38-1.538.26-.46.616-.82 1.07-1.08.46-.268.988-.402 1.582-.402.595 0 1.118.134 1.572.401.453.268.806.628 1.058 1.081.26.454.39.966.39 1.538a3.1 3.1 0 01-.39 1.55 2.844 2.844 0 01-1.058 1.08c-.454.26-.977.39-1.572.39zm0-1.36c.282 0 .539-.063.77-.19a1.49 1.49 0 00.567-.568 1.75 1.75 0 00.223-.903c0-.349-.074-.646-.222-.891a1.49 1.49 0 00-.569-.569 1.605 1.605 0 00-1.55 0 1.573 1.573 0 00-.579.569c-.14.245-.211.542-.211.891 0 .35.07.65.212.903.148.245.341.435.58.569.244.126.504.189.78.189zm4.029 1.181V69.22h1.37v.757h.09c.14-.26.356-.479.646-.657a1.89 1.89 0 01.992-.268c.148 0 .282.011.401.034.119.022.223.052.312.089v1.46a3.772 3.772 0 00-.468-.145 1.663 1.663 0 00-.48-.067c-.438 0-.783.16-1.036.48-.245.319-.367.709-.367 1.17v2.83h-1.46zm6.7.179c-.49 0-.91-.07-1.26-.212a2.356 2.356 0 01-.835-.557 2.293 2.293 0 01-.48-.758l1.305-.569c.245.543.668.814 1.27.814.238 0 .453-.037.646-.111a.437.437 0 00.29-.435.414.414 0 00-.156-.346.924.924 0 00-.368-.2 3.196 3.196 0 00-.456-.123l-.67-.145a2.528 2.528 0 01-.78-.312 2.038 2.038 0 01-.601-.58 1.503 1.503 0 01-.223-.813c0-.341.097-.639.29-.891.2-.253.468-.45.802-.591a2.92 2.92 0 011.126-.212c.565 0 1.047.1 1.449.301.4.2.702.513.902.936l-1.248.546a1.018 1.018 0 00-.468-.468 1.374 1.374 0 00-.602-.133c-.252 0-.453.048-.602.145-.148.096-.222.211-.222.345 0 .141.074.264.222.368.149.104.327.182.535.234l.836.2c.565.134.988.35 1.27.647.29.297.435.654.435 1.07 0 .371-.107.698-.323.98a2.16 2.16 0 01-.87.647 3.187 3.187 0 01-1.214.223zM17.166 88.902v-4.435h-1.014v-1.248h1.014v-.313c0-.66.197-1.17.591-1.526.394-.364.895-.546 1.505-.546.186 0 .36.01.524.033.163.022.297.052.4.09v1.426a5.375 5.375 0 00-.322-.112 1.206 1.206 0 00-.424-.067.847.847 0 00-.59.212c-.15.141-.224.335-.224.58v.223h1.394v1.248h-1.393v4.435h-1.46zm3.991 0V83.22h1.371v.757h.09c.14-.26.356-.479.646-.657a1.89 1.89 0 01.992-.268c.148 0 .282.011.4.034.12.022.224.052.313.089v1.46a3.778 3.778 0 00-.468-.145 1.663 1.663 0 00-.48-.067c-.438 0-.783.16-1.036.48-.245.319-.368.709-.368 1.17v2.83h-1.46zm7.138.179c-.594 0-1.122-.13-1.582-.39a2.927 2.927 0 01-1.07-1.081 3.169 3.169 0 01-.38-1.55c0-.572.127-1.084.38-1.538.26-.46.616-.82 1.07-1.08.46-.268.988-.402 1.582-.402.595 0 1.118.134 1.572.401.453.268.806.628 1.058 1.081.26.454.39.966.39 1.538a3.1 3.1 0 01-.39 1.55 2.844 2.844 0 01-1.058 1.08c-.454.26-.977.39-1.572.39zm0-1.36c.283 0 .539-.063.77-.19.237-.133.426-.323.568-.568a1.75 1.75 0 00.223-.903c0-.349-.075-.646-.223-.891a1.492 1.492 0 00-.569-.569 1.606 1.606 0 00-1.55 0 1.572 1.572 0 00-.578.569c-.142.245-.212.542-.212.891 0 .35.07.65.212.903.148.245.341.435.58.569.244.126.504.189.78.189zm4.029 1.181V83.22h1.37v.713h.09c.17-.268.405-.483.702-.647a2.093 2.093 0 011.025-.245c.416 0 .77.097 1.059.29.297.193.505.43.624.713.17-.275.412-.509.724-.702.32-.2.714-.3 1.182-.3.661 0 1.155.2 1.482.601.334.401.502.936.502 1.605v3.655h-1.45v-3.388c0-.364-.085-.639-.256-.824-.17-.194-.4-.29-.69-.29-.387 0-.692.152-.915.457-.222.304-.334.698-.334 1.181v2.864h-1.46v-3.388c0-.364-.089-.639-.267-.824-.171-.194-.416-.29-.736-.29-.364 0-.654.152-.87.457-.215.304-.322.698-.322 1.181v2.864h-1.46zm14.917.179c-.49 0-.91-.07-1.26-.212a2.356 2.356 0 01-.835-.557 2.291 2.291 0 01-.48-.758l1.305-.569c.245.543.669.814 1.27.814a1.8 1.8 0 00.647-.111.438.438 0 00.29-.435.414.414 0 00-.157-.346.925.925 0 00-.367-.2 3.198 3.198 0 00-.457-.123l-.669-.145a2.527 2.527 0 01-.78-.312 2.038 2.038 0 01-.602-.58 1.503 1.503 0 01-.223-.813c0-.341.097-.639.29-.891.2-.253.468-.45.802-.591a2.92 2.92 0 011.126-.212c.565 0 1.048.1 1.449.301.401.2.702.513.902.936l-1.248.546a1.019 1.019 0 00-.468-.468 1.373 1.373 0 00-.602-.133c-.252 0-.453.048-.601.145-.149.096-.223.211-.223.345 0 .141.074.264.223.368.148.104.327.182.535.234l.835.2c.565.134.989.35 1.27.647.29.297.435.654.435 1.07 0 .371-.107.698-.323.98-.215.275-.505.49-.869.647a3.186 3.186 0 01-1.215.223zm6.183 0c-.572 0-1.085-.13-1.538-.39a2.868 2.868 0 01-1.059-1.07c-.252-.453-.379-.97-.379-1.55 0-.542.127-1.043.38-1.504.252-.46.597-.828 1.036-1.103.438-.283.94-.424 1.504-.424.61 0 1.122.13 1.538.39.416.26.732.61.947 1.048.216.43.324.91.324 1.438 0 .118-.004.222-.011.312a1.913 1.913 0 01-.023.178h-4.257c.067.446.245.787.535 1.025.29.238.632.357 1.025.357.35 0 .643-.074.88-.223.238-.156.424-.35.558-.58l1.181.58c-.267.468-.616.84-1.047 1.114-.431.268-.962.402-1.594.402zm-.045-4.848c-.334 0-.631.1-.891.3a1.58 1.58 0 00-.546.837h2.83a1.114 1.114 0 00-.189-.513 1.351 1.351 0 00-.468-.446 1.42 1.42 0 00-.736-.178zm5.715 4.848a2.36 2.36 0 01-1.07-.234 1.876 1.876 0 01-.724-.68 1.875 1.875 0 01-.267-1.003c0-.394.1-.732.3-1.014a2.07 2.07 0 01.825-.658c.35-.156.736-.234 1.16-.234.348 0 .65.03.902.09.253.051.453.107.602.166v-.245a.93.93 0 00-.346-.747c-.23-.2-.546-.3-.947-.3-.268 0-.528.063-.78.189-.245.119-.45.279-.613.48l-.936-.736a2.75 2.75 0 011.036-.825c.416-.193.87-.29 1.36-.29.87 0 1.53.2 1.984.602.453.401.68.988.68 1.76v3.5h-1.438v-.58h-.09a1.948 1.948 0 01-.646.536c-.267.148-.598.223-.992.223zm.346-1.137c.297 0 .546-.063.747-.19.208-.133.364-.304.468-.512.111-.208.167-.427.167-.658a2.34 2.34 0 00-.558-.19 2.609 2.609 0 00-.635-.077c-.43 0-.728.082-.891.245a.818.818 0 00-.245.602c0 .223.078.408.234.557.163.149.4.223.713.223zm4.163.958V83.22h1.37v.757h.09c.141-.26.356-.479.646-.657a1.89 1.89 0 01.992-.268c.149 0 .282.011.401.034.12.022.223.052.312.089v1.46a3.778 3.778 0 00-.468-.145 1.663 1.663 0 00-.479-.067c-.438 0-.784.16-1.036.48-.246.319-.368.709-.368 1.17v2.83h-1.46zm7.093.179c-.58 0-1.096-.127-1.549-.38a2.868 2.868 0 01-1.059-1.07c-.252-.46-.378-.984-.378-1.57 0-.588.126-1.108.379-1.56a2.86 2.86 0 011.058-1.07c.453-.26.97-.39 1.55-.39.63 0 1.173.133 1.626.4.454.268.78.654.981 1.16l-1.337.557a1.184 1.184 0 00-.502-.569 1.494 1.494 0 00-.769-.19c-.43 0-.795.153-1.092.458-.29.297-.434.698-.434 1.203 0 .513.144.922.434 1.226.297.298.661.446 1.092.446.327 0 .598-.07.814-.212.215-.148.39-.349.524-.601l1.304.58a2.7 2.7 0 01-1.015 1.147c-.453.29-.995.435-1.627.435zm3.714-.179v-7.98h1.46v2.018l-.089.992h.09a1.82 1.82 0 01.701-.635 2.1 2.1 0 011.026-.257c.705 0 1.237.212 1.593.635.364.417.546.981.546 1.695v3.532h-1.46v-3.354c0-.372-.1-.654-.3-.847-.201-.2-.461-.301-.78-.301-.26 0-.491.074-.692.223-.2.14-.356.334-.468.58a1.944 1.944 0 00-.167.813v2.886h-1.46z",fill:"#202124"}),d=r.createElement("path",{d:"M22.5 144.244l5.55-4.092 4.44 1.86 5.92-1.86 8.14 5.58 6.66-1.488 3.33-4.092 5.18 5.58 3.7-1.488 8.51 3.347 8.51-7.439 4.81 1.86 5.92-2.976 2.22 1.116h6.66l9.62-13.762 2.96 5.579 2.59-1.487 2.96 4.463 13.32-4.463",stroke:"#CCC",strokeWidth:1.486}),f=r.createElement("g",{filter:"url(#analytics-setup-sidekick_svg__c)"},r.createElement("rect",{x:226,y:69,width:148,height:122,rx:3.976,fill:"#fff"})),p=r.createElement("path",{d:"M331.315 120.007a23.387 23.387 0 016.546-1.154l.216 8.328a15.2 15.2 0 00-4.255.75l-2.507-7.924z",fill:"#DEDEDE"}),g=r.createElement("path",{d:"M319.491 128.654a23.758 23.758 0 0111.122-8.405l2.753 7.839a15.44 15.44 0 00-7.229 5.464l-6.646-4.898z",fill:"#C6C6C6"}),m=r.createElement("path",{d:"M319.348 156.639a23.871 23.871 0 01-4.426-13.619 24.068 24.068 0 014.141-13.754l6.795 4.683a15.646 15.646 0 00-2.691 8.94 15.51 15.51 0 002.877 8.852l-6.696 4.898z",fill:"#F1F1F1"}),h=r.createElement("path",{d:"M352.229 161.904a23.453 23.453 0 01-17.188 4.31 23.358 23.358 0 01-15.25-8.976l6.541-5.107a15.182 15.182 0 009.912 5.834 15.24 15.24 0 0011.173-2.801l4.812 6.74z",fill:"#959595"}),v=r.createElement("path",{d:"M338.601 118.842c4.912 0 9.693 1.551 13.674 4.437a23.611 23.611 0 018.532 11.657 24.032 24.032 0 01.208 14.531 23.977 23.977 0 01-8.192 11.989l-5.021-6.583a15.626 15.626 0 005.19-17.239 15.35 15.35 0 00-5.545-7.577 15.145 15.145 0 00-8.889-2.884l.043-8.331z",fill:"#C7C7C7"}),b=r.createElement("ellipse",{cx:327.009,cy:174.262,rx:1.85,ry:1.86,fill:"#959595"}),k=r.createElement("ellipse",{cx:334.41,cy:174.262,rx:1.85,ry:1.86,fill:"#C7C7C7"}),_=r.createElement("ellipse",{cx:341.81,cy:174.262,rx:1.85,ry:1.86,fill:"#DEDEDE"}),y=r.createElement("ellipse",{cx:349.209,cy:174.262,rx:1.85,ry:1.86,fill:"#F1F1F1"}),E=r.createElement("path",{stroke:"#ECE9F1",strokeWidth:.994,strokeLinecap:"round",d:"M238.336 175.624h58.206"}),O=r.createElement("path",{stroke:"#ECE9F1",strokeWidth:.497,strokeLinecap:"round",d:"M238.088 160.995h58.703m-58.703-14.878h58.703m-58.703-14.877h58.703"}),S=r.createElement("path",{opacity:.08,d:"M264.829 164.08c-4.374-1.37-6.29-5.044-10.433-5.568-4.285-.542-7.612 13.315-16.557 14.64v2.97h59.2v-25.431c-2.378-.516-4.616-19.012-9.777-17.643-5.162 1.369-8.961 22.202-13.073 15.493-4.111-6.71-4.985 16.908-9.36 15.539z",fill:"url(#analytics-setup-sidekick_svg__d)"}),j=r.createElement("path",{d:"M241.722 119.374h-2.434l-.547 1.516h-.79l2.219-5.81h.67l2.223 5.81h-.786l-.555-1.516zm-2.203-.631h1.976l-.99-2.717-.986 2.717zm5.013 2.147h-.739v-6.129h.739v6.129zm1.987 0h-.738v-6.129h.738v6.129zm5.878-.427c-.287.338-.709.507-1.265.507-.46 0-.811-.133-1.053-.399-.24-.269-.361-.665-.364-1.189v-2.809h.739v2.789c0 .654.266.982.798.982.564 0 .939-.211 1.125-.631v-3.14h.738v4.317h-.702l-.016-.427zm4.358-.718a.537.537 0 00-.228-.463c-.149-.112-.411-.207-.786-.287a3.813 3.813 0 01-.89-.287 1.29 1.29 0 01-.487-.4.966.966 0 01-.155-.55c0-.354.149-.653.447-.898.3-.245.684-.367 1.149-.367.49 0 .886.126 1.189.379.306.253.459.576.459.97h-.742a.666.666 0 00-.259-.523.956.956 0 00-.647-.22c-.269 0-.479.059-.63.176a.552.552 0 00-.228.459c0 .178.071.312.212.403.141.09.395.177.762.259.37.083.669.181.898.296.228.114.397.252.507.415a1 1 0 01.167.586c0 .386-.154.696-.463.93-.308.231-.709.347-1.201.347a2.18 2.18 0 01-.918-.183 1.514 1.514 0 01-.626-.511 1.254 1.254 0 01-.224-.714h.738a.773.773 0 00.296.59c.186.144.431.216.734.216.279 0 .503-.056.67-.168a.524.524 0 00.256-.455zm3.492 1.225c-.586 0-1.062-.191-1.429-.574-.367-.386-.551-.901-.551-1.545v-.136c0-.428.081-.81.244-1.145.165-.338.393-.601.686-.79.295-.191.615-.287.958-.287.561 0 .998.185 1.309.554.311.37.467.9.467 1.589v.307h-2.925c.01.426.134.77.371 1.034.239.26.542.391.91.391.26 0 .481-.054.662-.16.181-.106.339-.247.475-.423l.451.351c-.362.556-.905.834-1.628.834zm-.092-3.871a.979.979 0 00-.75.328c-.203.215-.328.518-.376.909h2.163v-.055c-.021-.376-.122-.666-.303-.87-.181-.208-.426-.312-.734-.312zm4.721.136a2.175 2.175 0 00-.363-.028c-.485 0-.813.206-.986.619v3.064h-.738v-4.317h.718l.012.498c.242-.385.585-.578 1.03-.578.143 0 .252.018.327.056v.686zm3.196 2.51a.539.539 0 00-.227-.463c-.149-.112-.411-.207-.786-.287a3.797 3.797 0 01-.89-.287 1.283 1.283 0 01-.487-.4.958.958 0 01-.156-.55c0-.354.149-.653.447-.898.301-.245.684-.367 1.149-.367.49 0 .886.126 1.19.379.306.253.459.576.459.97h-.743a.663.663 0 00-.259-.523.954.954 0 00-.647-.22c-.268 0-.478.059-.63.176a.552.552 0 00-.228.459c0 .178.071.312.212.403.141.09.395.177.762.259.37.083.669.181.898.296.229.114.398.252.507.415a.993.993 0 01.167.586c0 .386-.154.696-.462.93-.309.231-.709.347-1.202.347-.345 0-.651-.061-.917-.183a1.524 1.524 0 01-.627-.511 1.253 1.253 0 01-.223-.714h.738a.772.772 0 00.295.59c.186.144.431.216.734.216.28 0 .503-.056.671-.168a.525.525 0 00.255-.455z",fill:"#B8B8B8"}),w=r.createElement("path",{d:"M240.358 92.903V86.35h-2.229v-1.427h5.963v1.427h-2.229v6.553h-1.505zm4.072 0v-5.684h1.37v.758h.09c.141-.26.356-.48.646-.658.297-.178.628-.267.992-.267.149 0 .282.01.401.033.119.022.223.052.312.09v1.46a3.743 3.743 0 00-.468-.146 1.654 1.654 0 00-.479-.067c-.438 0-.784.16-1.037.48-.245.32-.367.71-.367 1.17v2.83h-1.46zm6.32.178c-.401 0-.758-.078-1.07-.234a1.877 1.877 0 01-.724-.68 1.878 1.878 0 01-.268-1.003c0-.394.101-.732.301-1.014.208-.282.483-.502.825-.658a2.81 2.81 0 011.159-.234c.349 0 .65.03.903.09.252.051.453.107.602.167v-.246a.931.931 0 00-.346-.746c-.23-.2-.546-.301-.947-.301-.268 0-.528.063-.78.19-.245.118-.45.278-.613.478l-.936-.735a2.75 2.75 0 011.036-.825 3.19 3.19 0 011.36-.29c.869 0 1.53.201 1.983.602.454.401.68.989.68 1.761v3.5h-1.437v-.58h-.09a1.946 1.946 0 01-.646.535c-.267.149-.598.223-.992.223zm.346-1.137c.297 0 .546-.063.746-.19a1.29 1.29 0 00.468-.512c.112-.208.168-.427.168-.657a2.355 2.355 0 00-.558-.19 2.604 2.604 0 00-.635-.078c-.431 0-.728.082-.891.245a.817.817 0 00-.246.602c0 .223.078.409.234.557.164.149.402.223.714.223zm12.814-5.294a.932.932 0 01-.669-.267.933.933 0 01-.268-.669c0-.26.09-.479.268-.657a.913.913 0 01.669-.279c.26 0 .479.093.657.279a.875.875 0 01.279.657c0 .26-.093.483-.279.669a.892.892 0 01-.657.267zm-8.147 6.253v-4.436h-1.014v-1.248h1.014v-.312c0-.661.197-1.17.591-1.527.393-.364.895-.546 1.504-.546a2.603 2.603 0 01.624.067v1.404a6.55 6.55 0 00-.212-.056.961.961 0 00-.323-.044.713.713 0 00-.524.211c-.133.142-.2.335-.2.58v.223h2.251v-.312c0-.661.197-1.17.591-1.527.394-.364.895-.546 1.504-.546a2.593 2.593 0 01.624.067v1.404a7.12 7.12 0 00-.211-.056.972.972 0 00-.324-.044.71.71 0 00-.523.211c-.134.142-.201.335-.201.58v.223h3.7v5.684h-1.449v-4.436h-2.251v4.436h-1.46v-4.436h-2.251v4.436h-1.46zm13.01.178c-.579 0-1.095-.126-1.549-.379a2.873 2.873 0 01-1.058-1.07c-.253-.46-.379-.984-.379-1.571s.126-1.107.379-1.56c.26-.454.613-.81 1.058-1.07.454-.26.97-.39 1.549-.39.632 0 1.174.133 1.628.4.453.268.78.654.98 1.16l-1.337.557a1.183 1.183 0 00-.502-.568 1.49 1.49 0 00-.769-.19c-.43 0-.795.152-1.092.457-.29.297-.434.698-.434 1.204 0 .512.144.921.434 1.226.297.297.662.445 1.092.445.327 0 .599-.07.814-.211.215-.149.39-.35.524-.602l1.304.58a2.703 2.703 0 01-1.014 1.147c-.454.29-.996.435-1.628.435z",fill:"#202124"}),C=r.createElement("defs",null,r.createElement("filter",{id:"analytics-setup-sidekick_svg__a",x:132.515,y:.012,width:152.97,height:126.97,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("feMorphology",{radius:.497,operator:"dilate",in:"SourceAlpha",result:"effect1_dropShadow_532_12388"}),r.createElement("feOffset",{dy:.497}),r.createElement("feGaussianBlur",{stdDeviation:.994}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.423529 0 0 0 0 0.443137 0 0 0 0 0.458824 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_532_12388"}),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:.994}),r.createElement("feGaussianBlur",{stdDeviation:.746}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.337255 0 0 0 0 0.352941 0 0 0 0 0.360784 0 0 0 0.25 0"}),r.createElement("feBlend",{in2:"effect1_dropShadow_532_12388",result:"effect2_dropShadow_532_12388"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect2_dropShadow_532_12388",result:"shape"})),r.createElement("filter",{id:"analytics-setup-sidekick_svg__b",x:.784,y:49.588,width:154.431,height:128.431,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:.804}),r.createElement("feGaussianBlur",{stdDeviation:1.608}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_532_12388"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_532_12388",result:"shape"})),r.createElement("filter",{id:"analytics-setup-sidekick_svg__c",x:222.784,y:66.588,width:154.431,height:128.431,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:.804}),r.createElement("feGaussianBlur",{stdDeviation:1.608}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_532_12388"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_532_12388",result:"shape"})),r.createElement("linearGradient",{id:"analytics-setup-sidekick_svg__d",x1:258.024,y1:132.976,x2:258.024,y2:184.15,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#4F4F4F"}),r.createElement("stop",{offset:1,stopColor:"#4F4F4F",stopOpacity:0})));t.a=function SvgAnalyticsSetupSidekick(e){return r.createElement("svg",a({fill:"none",viewBox:"0 0 378 196"},e),i,o,c,s,l,u,d,f,p,g,m,h,v,b,k,_,y,E,O,S,j,w,C)}},831:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(14),c=n.n(o),s=n(44),l=n.n(s),u=n(45),d=n.n(u),f=n(78),p=n.n(f),g=n(67),m=n.n(g),h=n(68),v=n.n(h),b=n(46),k=n.n(b),_=n(26),y=n(1),E=n(2),O=n(590),S=n(4),j=n.n(S),w=n(34),C=n.n(w),x=n(16),N=n(15),R=n(13),A=n(8),T=n(188),M=n(21),D=n(210),L=n(9),z=n(832),P=n(838),I=n(189);function B(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=k()(e);if(t){var a=k()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v()(this,n)}}var F=j.a.withSelect,U=function(t){m()(SetupUsingGCP,t);var n,a,o=B(SetupUsingGCP);function SetupUsingGCP(t){var n;l()(this,SetupUsingGCP),n=o.call(this,t);var r=e._googlesitekitLegacyData.admin.connectURL,a=e._googlesitekitLegacyData.setup,i=a.isAuthenticated,c=a.hasSearchConsoleProperty,s=a.isSiteKitConnected,u=a.isVerified,d=a.needReauthenticate,f=t.canSetup;return n.state={canSetup:f,isAuthenticated:i,isVerified:u,needReauthenticate:d,hasSearchConsoleProperty:c,hasSearchConsolePropertyFromTheStart:c,connectURL:r,errorMsg:"",isSiteKitConnected:s,completeSetup:!1},n.siteConnectedSetup=n.siteConnectedSetup.bind(p()(n)),n.siteVerificationSetup=n.siteVerificationSetup.bind(p()(n)),n.searchConsoleSetup=n.searchConsoleSetup.bind(p()(n)),n.resetAndRestart=n.resetAndRestart.bind(p()(n)),n.completeSetup=n.completeSetup.bind(p()(n)),n.setErrorMessage=n.setErrorMessage.bind(p()(n)),n.onButtonClick=n.onButtonClick.bind(p()(n)),n}return d()(SetupUsingGCP,[{key:"resetAndRestart",value:(a=c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,C.a.set("core","site","reset");case 2:Object(L.c)(),this.setState({isSiteKitConnected:!1,isAuthenticated:!1,isVerified:!1,hasSearchConsoleProperty:!1,completeSetup:!1,errorMsg:""});case 4:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"completeSetup",value:function(){this.setState({completeSetup:!0})}},{key:"siteConnectedSetup",value:function(e){this.setState({isSiteKitConnected:e})}},{key:"siteVerificationSetup",value:function(e){this.setState({isVerified:e})}},{key:"searchConsoleSetup",value:function(e){this.setState({hasSearchConsoleProperty:e})}},{key:"isSetupFinished",value:function(){var e=this.state,t=e.isSiteKitConnected,n=e.isAuthenticated,r=e.isVerified,a=e.hasSearchConsoleProperty,i=e.completeSetup;return t&&n&&r&&a&&i}},{key:"setErrorMessage",value:function(e){this.setState({errorMsg:e})}},{key:"getApplicableSteps",value:function(){var e,t=z.a,n=Object.keys(t);for(e=0;e<n.length;e++)t[n[e]].isApplicable(this.state)||delete t[n[e]];return t}},{key:"currentStep",value:function(e){var t,n=Object.keys(e);for(t=0;t<n.length-1;t++)if(!e[n[t]].isCompleted(this.state))return n[t];return n[t]}},{key:"stepStatus",value:function(e,t){return e[t].isCompleted(this.state)?"completed":t===this.currentStep(e)?"inprogress":""}},{key:"onButtonClick",value:(n=c()(i.a.mark((function e(){var t,n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.state,n=t.isSiteKitConnected,r=t.connectURL,e.next=3,Object(L.v)(x.h,"start_user_setup","custom-oauth");case 3:if(n){e.next=6;break}return e.next=6,Object(L.v)(x.h,"start_site_setup","custom-oauth");case 6:document.location=r;case 7:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"render",value:function(){var t=this,n=this.state,a=n.canSetup,i=n.isAuthenticated,o=n.isVerified,c=n.needReauthenticate,s=n.hasSearchConsoleProperty,l=n.connectURL,u=n.isSiteKitConnected,d=this.props.redirectURL;this.isSetupFinished()&&Object(_.delay)((function(){e.location.replace(d)}),500,"later");var f=this.getApplicableSteps(),p=this.currentStep(f),g=f[p].Component,m=r.createElement(g,{siteConnectedSetup:this.siteConnectedSetup,connectURL:l,siteVerificationSetup:this.siteVerificationSetup,searchConsoleSetup:this.searchConsoleSetup,completeSetup:this.completeSetup,isSiteKitConnected:u,isAuthenticated:i,isVerified:o,needReauthenticate:c,hasSearchConsoleProperty:s,setErrorMessage:this.setErrorMessage,resetAndRestart:f.clientCredentials?this.resetAndRestart:void 0}),h=a,v=!h&&!i;return r.createElement(E.Fragment,null,r.createElement(T.a,null,r.createElement(I.a,null)),r.createElement("div",{className:"googlesitekit-wizard"},r.createElement(A.b,null,r.createElement(A.l,null,r.createElement(A.a,{size:12},r.createElement(D.a,null,r.createElement("section",{className:"googlesitekit-wizard-progress"},r.createElement(A.b,null,r.createElement(A.l,null,h&&r.createElement(A.a,{size:12},r.createElement("div",{className:"googlesitekit-wizard-progress__steps"},Object.keys(f).map((function(e,n){return r.createElement(P.a,{key:f[e].title,currentStep:p===e,title:f[e].title,step:n+1,status:t.stepStatus(f,e),warning:f[e].warning,error:f[e].error,stepKey:e})})))))),v&&r.createElement("div",{className:"googlesitekit-setup__footer"},r.createElement(A.b,null,r.createElement(A.l,null,r.createElement(A.a,{size:12},r.createElement("h1",{className:"googlesitekit-setup__title"},Object(y.__)("Authenticate Site Kit","google-site-kit")),r.createElement("p",{className:"googlesitekit-setup__description"},Object(y.__)("Please sign into your Google account to begin.","google-site-kit")),r.createElement(M.a,{href:"#",onClick:this.onButtonClick},Object(y.__)("Sign in with Google","google-site-kit"))))))),h&&m))))))}}]),SetupUsingGCP}(E.Component);t.a=Object(O.a)(F((function(e){return{canSetup:e(R.a).hasCapability(R.d),redirectURL:e(N.c).getAdminURL("googlesitekit-dashboard",{notification:"authentication_success"})}})))(U)}).call(this,n(18),n(3))},832:function(e,t,n){"use strict";var r=n(1),a=n(833),i=n(834),o=n(836),c=n(837),s={authentication:{title:Object(r.__)("Authenticate","google-site-kit"),required:!0,isApplicable:function(){return!0},isCompleted:function(e){return e.isSiteKitConnected&&e.isAuthenticated&&!e.needReauthenticate},Component:a.a},verification:{title:Object(r.__)("Verify URL","google-site-kit"),required:!0,isApplicable:function(){return!0},isCompleted:function(e){return e.isSiteKitConnected&&e.isAuthenticated&&e.isVerified},Component:i.a},seachConsoleProperty:{title:Object(r.__)("Connect Search Console","google-site-kit"),required:!0,isApplicable:function(){return!0},isCompleted:function(e){return e.isSiteKitConnected&&e.isAuthenticated&&e.isVerified&&e.hasSearchConsoleProperty},Component:o.a},completeSetup:{title:Object(r._x)("Finish","complete module setup","google-site-kit"),required:!1,isApplicable:function(){return!0},isCompleted:function(e){return e.isSiteKitConnected&&e.isAuthenticated&&e.isVerified&&e.hasSearchConsoleProperty},Component:c.a}};t.a=s},833:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(67),s=n.n(c),l=n(68),u=n.n(l),d=n(46),f=n.n(d),p=n(0),g=n.n(p),m=n(1),h=n(2),v=n(8),b=n(21),k=n(22),_=n(370);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=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var E=function(t){s()(WizardStepAuthentication,t);var n=y(WizardStepAuthentication);function WizardStepAuthentication(){return a()(this,WizardStepAuthentication),n.apply(this,arguments)}return o()(WizardStepAuthentication,[{key:"render",value:function(){var t=this.props,n=t.connectURL,r=t.needReauthenticate,a=t.resetAndRestart;return e.createElement("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--two"},e.createElement(v.b,null,e.createElement(v.l,null,e.createElement(v.a,{size:12},e.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-wizard-step__title "},Object(m.__)("Authenticate with Google","google-site-kit")),e.createElement("p",null,Object(m.__)("Please sign into your Google account to begin.","google-site-kit")),r&&e.createElement("p",{className:"googlesitekit-error-text"},Object(m.__)("You did not grant access to one or more of the requested scopes. Please grant all scopes that you are prompted for.","google-site-kit")),e.createElement("p",null,e.createElement(b.a,{onClick:function(){document.location=n}},Object(m.__)("Sign in with Google","google-site-kit")),a&&e.createElement(k.a,{className:"googlesitekit-wizard-step__back",onClick:a},Object(m.__)("Back","google-site-kit"))),e.createElement("div",{className:"googlesitekit-wizard-step__action googlesitekit-wizard-step__action--justify"},e.createElement(_.a,null))))))}}]),WizardStepAuthentication}(h.Component);E.propTypes={connectURL:g.a.string.isRequired,resetAndRestart:g.a.func},t.a=E}).call(this,n(3))},834:function(e,t,n){"use strict";(function(e){var r=n(19),a=n.n(r),i=n(44),o=n.n(i),c=n(45),s=n.n(c),l=n(67),u=n.n(l),d=n(68),f=n.n(d),p=n(46),g=n.n(p),m=n(0),h=n.n(m),v=n(2),b=n(8),k=n(835);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 a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var y=function(t){u()(WizardStepVerification,t);var n=_(WizardStepVerification);function WizardStepVerification(){return o()(this,WizardStepVerification),n.apply(this,arguments)}return s()(WizardStepVerification,[{key:"render",value:function(){var t=!this.props.isVerified;return e.createElement("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--three"},e.createElement(b.b,null,e.createElement(b.l,null,e.createElement(b.a,{size:12},e.createElement(k.a,a()({shouldSetup:t},this.props))))))}}]),WizardStepVerification}(v.Component);y.propTypes={siteVerificationSetup:h.a.func.isRequired},t.a=y}).call(this,n(3))},835:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(14),c=n.n(o),s=n(44),l=n.n(s),u=n(45),d=n.n(u),f=n(78),p=n.n(f),g=n(67),m=n.n(g),h=n(68),v=n.n(h),b=n(46),k=n.n(b),_=n(0),y=n.n(_),E=n(1),O=n(2),S=n(34),j=n.n(S),w=n(9),C=n(8),x=n(21),N=n(61);function R(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=k()(e);if(t){var a=k()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v()(this,n)}}var A=function(t){m()(SiteVerification,t);var n,a,o=R(SiteVerification);function SiteVerification(e){var t;l()(this,SiteVerification);var n=(t=o.call(this,e)).props,r=n.isAuthenticated,a=n.shouldSetup;return t.state={loading:r&&a,loadingMsg:Object(E.__)("Getting your verified sites…","google-site-kit"),siteURL:" ",selectedURL:"",errorCode:!1,errorMsg:""},t.onProceed=t.onProceed.bind(p()(t)),t}return d()(SiteVerification,[{key:"componentDidMount",value:function(){var e=this.props,t=e.isAuthenticated,n=e.shouldSetup;t&&n&&this.requestSitePropertyList()}},{key:"requestSitePropertyList",value:function(){var t=this,n=this.props.setErrorMessage;c()(i.a.mark((function r(){var a,o,c,s,l;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,j.a.get("modules","site-verification","verification",void 0,{useCache:!1});case 3:if(a=r.sent,o=a.verified,c=a.identifier,!o){r.next=17;break}return r.next=9,Object(w.v)("verification_setup","verification_check_true");case 9:return r.next=11,t.insertSiteVerification(c);case 11:if(!0!==r.sent.verified){r.next=15;break}return t.props.siteVerificationSetup(!0),r.abrupt("return",!0);case 15:r.next=19;break;case 17:return r.next=19,Object(w.v)("verification_setup","verification_check_false");case 19:t.setState({loading:!1,siteURL:c}),r.next=28;break;case 22:r.prev=22,r.t0=r.catch(0),s=r.t0.message,Object(w.x)(r.t0.message)&&(l=JSON.parse(r.t0.message),s=l.error.message||r.t0.message),n(s),t.setState({loading:!1,errorCode:r.t0.code,errorMsg:s,siteURL:e._googlesitekitLegacyData.admin.siteURL});case 28:case"end":return r.stop()}}),r,null,[[0,22]])})))()}},{key:"insertSiteVerification",value:(a=c()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j.a.set("modules","site-verification","verification",{siteURL:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(e){return a.apply(this,arguments)})},{key:"onProceed",value:(n=c()(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 n=this.props.setErrorMessage,r=this.state.siteURL?this.state.siteURL:e._googlesitekitLegacyData.admin.siteURL,n(""),this.setState({loading:!0,loadingMsg:Object(E.__)("Verifying…","google-site-kit"),errorCode:!1,errorMsg:""}),t.prev=4,t.next=7,this.insertSiteVerification(r);case 7:!0===t.sent.verified&&(Object(w.v)("verification_setup","verification_insert_tag"),this.props.siteVerificationSetup(!0)),t.next=17;break;case 11:t.prev=11,t.t0=t.catch(4),a=t.t0.message,Object(w.x)(t.t0.message)&&(o=JSON.parse(t.t0.message),a=o.error.message||t.t0.message),n(a),this.setState({loading:!1,errorCode:t.t0.code,errorMsg:a});case 17:case"end":return t.stop()}}),t,this,[[4,11]])}))),function(){return n.apply(this,arguments)})},{key:"renderForm",value:function(){var e=this.state,t=e.loading,n=e.loadingMsg,a=e.siteURL,i=r.createElement(O.Fragment,null,n&&r.createElement("p",null,n),r.createElement(N.a,null));return t?i:r.createElement(O.Fragment,null,r.createElement("div",{className:"googlesitekit-wizard-step__inputs"},r.createElement(C.n,{label:Object(E.__)("Website Address","google-site-kit"),name:"siteProperty",floatingLabelClassName:"mdc-floating-label--float-above",outlined:!0,disabled:!0},r.createElement(C.d,{value:a}))),r.createElement("div",{className:"googlesitekit-wizard-step__action googlesitekit-wizard-step__action--justify"},r.createElement(x.a,{onClick:this.onProceed},Object(E.__)("Continue","google-site-kit"))))}},{key:"render",value:function(){var e=this.props,t=e.isAuthenticated,n=e.shouldSetup,a=this.state.errorMsg;return n?r.createElement(O.Fragment,null,r.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-wizard-step__title "},Object(E.__)("Verify URL","google-site-kit")),r.createElement("p",{className:"googlesitekit-wizard-step__text"},Object(E.__)("We will need to verify your URL for Site Kit.","google-site-kit")),a&&0<a.length&&r.createElement("p",{className:"googlesitekit-error-text"},a),t&&this.renderForm()):SiteVerification.renderSetupDone()}}],[{key:"renderSetupDone",value:function(){return r.createElement(O.Fragment,null,r.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-wizard-step__title "},Object(E.__)("Verify URL","google-site-kit")),r.createElement("p",{className:"googlesitekit-wizard-step__text"},Object(E.__)("Congratulations, your site has been verified!","google-site-kit")))}}]),SiteVerification}(O.Component);A.propTypes={isAuthenticated:y.a.bool.isRequired,shouldSetup:y.a.bool.isRequired,siteVerificationSetup:y.a.func.isRequired,completeSetup:y.a.func,setErrorMessage:y.a.func.isRequired},t.a=A}).call(this,n(18),n(3))},836:function(e,t,n){"use strict";(function(e){var r=n(19),a=n.n(r),i=n(44),o=n.n(i),c=n(45),s=n.n(c),l=n(67),u=n.n(l),d=n(68),f=n.n(d),p=n(46),g=n.n(p),m=n(0),h=n.n(m),v=n(2),b=n(8),k=n(585);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 a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var y=function(t){u()(WizardStepSearchConsoleProperty,t);var n=_(WizardStepSearchConsoleProperty);function WizardStepSearchConsoleProperty(){return o()(this,WizardStepSearchConsoleProperty),n.apply(this,arguments)}return s()(WizardStepSearchConsoleProperty,[{key:"render",value:function(){var t=this.props,n=t.isVerified,r=t.hasSearchConsoleProperty,i=n&&!r;return e.createElement("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--four"},e.createElement(b.b,null,e.createElement(b.l,null,e.createElement(b.a,{size:12},i?e.createElement(k.a,a()({shouldSetup:i},this.props)):k.a.connected()))))}}]),WizardStepSearchConsoleProperty}(v.Component);y.propTypes={searchConsoleSetup:h.a.func.isRequired},t.a=y}).call(this,n(3))},837:function(e,t,n){"use strict";(function(e,r){var a=n(44),i=n.n(a),o=n(45),c=n.n(o),s=n(67),l=n.n(s),u=n(68),d=n.n(u),f=n(46),p=n.n(f),g=n(0),m=n.n(g),h=n(1),v=n(2),b=n(8),k=n(9),_=n(21);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=p()(e);if(t){var a=p()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d()(this,n)}}var E=function(t){l()(WizardStepCompleteSetup,t);var n=y(WizardStepCompleteSetup);function WizardStepCompleteSetup(t){var r;return i()(this,WizardStepCompleteSetup),r=n.call(this,t),e._googlesitekitLegacyData.setup.hasSearchConsoleProperty?Object(k.v)("plugin_setup","user_verified"):Object(k.v)("plugin_setup","site_verified"),r}return c()(WizardStepCompleteSetup,[{key:"render",value:function(){return r.createElement("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--five"},r.createElement(b.b,null,r.createElement(b.l,null,r.createElement(b.a,{size:12},r.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-wizard-step__title "},Object(h.__)("Congratulations!","google-site-kit")),r.createElement("p",null,Object(h.__)("You successfully completed the Site Kit setup and connected Search Console. Check the dashboard for more services to connect.","google-site-kit")),r.createElement("div",{className:"googlesitekit-wizard-step__action"},r.createElement(_.a,{id:"wizard-step-five-proceed",onClick:this.props.completeSetup},Object(h.__)("Go to Dashboard","google-site-kit")))))))}}]),WizardStepCompleteSetup}(v.Component);E.propTypes={completeSetup:m.a.func.isRequired},t.a=E}).call(this,n(18),n(3))},838:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(67),s=n.n(c),l=n(68),u=n.n(l),d=n(46),f=n.n(d),p=n(0),g=n.n(p),m=n(10),h=n.n(m),v=n(2),b=n(586),k=n(839);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=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var y=function(t){s()(WizardProgressStep,t);var n=_(WizardProgressStep);function WizardProgressStep(){return a()(this,WizardProgressStep),n.apply(this,arguments)}return o()(WizardProgressStep,[{key:"render",value:function(){var t=this.props,n=t.currentStep,r=t.step,a=t.title,i=t.status,o=t.warning,c=t.error,s=t.stepKey,l=i;o?l="warning":c&&(l="error");var u=!1;switch(l){case"warning":case"error":u=e.createElement(b.a,{height:"12",width:"2"});break;case"completed":u=e.createElement(k.a,{height:"12",width:"16"})}return e.createElement("div",{className:h()("googlesitekit-wizard-progress-step","googlesitekit-wizard-progress-step--".concat(r),"googlesitekit-wizard-progress-step--".concat(s),{"googlesitekit-wizard-progress-step--current":n})},e.createElement("div",{className:"googlesitekit-wizard-progress-step__number-wrapper"},e.createElement("div",{className:h()("googlesitekit-wizard-progress-step__number","googlesitekit-wizard-progress-step__number--".concat(l))},e.createElement("span",{className:h()("googlesitekit-wizard-progress-step__number-text","googlesitekit-wizard-progress-step__number-text--".concat(l))},r),u&&e.createElement("span",{className:h()("googlesitekit-wizard-progress-step__number-icon","googlesitekit-wizard-progress-step__number-icon--".concat(l))},u))),e.createElement("p",{className:"googlesitekit-wizard-progress-step__text"},a))}}]),WizardProgressStep}(v.Component);y.propTypes={currentStep:g.a.bool.isRequired,step:g.a.number.isRequired,title:g.a.string,status:g.a.string,warning:g.a.bool,error:g.a.bool},y.defaultProps={title:"",status:"",warning:!1,error:!1,removeFirstStep:!1},t.a=y}).call(this,n(3))},839:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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 SvgCheck(e){return r.createElement("svg",a({viewBox:"0 0 16 12"},e),i)}},86:function(e,t,n){"use strict";var r=n(100);n.d(t,"a",(function(){return r.a}));var a=n(101);n.d(t,"c",(function(){return a.a}));var i=n(102);n.d(t,"b",(function(){return i.a}))},88:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=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",a({viewBox:"0 0 43 44"},e),i)}},9:function(e,t,n){"use strict";n.d(t,"v",(function(){return c.b})),n.d(t,"s",(function(){return s.a})),n.d(t,"w",(function(){return s.b})),n.d(t,"u",(function(){return p})),n.d(t,"c",(function(){return g.b})),n.d(t,"j",(function(){return g.c})),n.d(t,"q",(function(){return m.c})),n.d(t,"r",(function(){return m.d})),n.d(t,"n",(function(){return m.b})),n.d(t,"i",(function(){return m.a})),n.d(t,"o",(function(){return k})),n.d(t,"d",(function(){return _})),n.d(t,"f",(function(){return y.c})),n.d(t,"t",(function(){return y.i})),n.d(t,"g",(function(){return E.b})),n.d(t,"m",(function(){return E.c})),n.d(t,"b",(function(){return E.a})),n.d(t,"l",(function(){return O.b})),n.d(t,"h",(function(){return O.a})),n.d(t,"p",(function(){return O.d})),n.d(t,"k",(function(){return S})),n.d(t,"a",(function(){return j})),n.d(t,"x",(function(){return w})),n.d(t,"e",(function(){return C}));var r=n(110),a=n.n(r),i=n(108),o=n.n(i),c=n(30),s=n(60),l=n(28),u=n.n(l),d=n(73),f=n.n(d),p=function(e){return f()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===u()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};var g=n(77),m=(n(79),n(69));n(53);function h(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function v(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function b(e){return e.replace(/\n/gi,"<br>")}function k(e){for(var t=e,n=0,r=[h,v,b];n<r.length;n++){t=(0,r[n])(t)}return t}var _=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)]},y=n(56),E=n(80),O=n(49),S=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},j=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!a()(n)?null:n},w=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},C=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},92:function(e,t,n){"use strict";var r=n(12),a=n.n(r),i=n(289),o=n(0),c=n.n(o),s=n(2),l=n(107);function Portal(e){var t=e.children,n=e.slug,r=Object(s.useState)(document.createElement("div")),o=a()(r,1)[0];return Object(i.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(l.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},93:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return b}));var r=n(17),a=n.n(r),i=n(6),o=n.n(i),c=n(5),s=n.n(c),l=n(7),u=n.n(l),d=n(4),f=n.n(d),p=n(39),g=f.a.createRegistryControl,m=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:s.a.mark((function e(){var t;return s.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:s.a.mark((function e(){var t,n,r,a,i,o,c=arguments;return s.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(a=e.sent,i=a.cacheHit,o=a.value,!i){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",i);case 14:case"end":return e.stop()}}),e)})),createSnapshot:s.a.mark((function e(){var t;return s.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)}))},i=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(p.a)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",g((function(t){return function(){return Object(p.d)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(p.b)("datastore::cache::".concat(e),3600)})),t);return{initialState:n,actions:r,controls:i,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,i=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var o=i.snapshot,c=(o.error,a()(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")}))},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().createSnapshot()})))},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().restoreSnapshot()})))}},94:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(10),o=n.n(i),c=n(126),s=n(1),l=n(22);function SourceLink(t){var n=t.name,r=t.href,a=t.className,i=t.external;return e.createElement("div",{className:o()("googlesitekit-source-link",a)},Object(c.a)(Object(s.sprintf)(
45
  /* translators: %s: source link */
46
  Object(s.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(l.a,{key:"link",href:r,external:i,inherit:!0})}))}SourceLink.propTypes={name:a.a.string,href:a.a.string,className:a.a.string,external:a.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(3))},95:function(e,t,n){"use strict";var r=n(2),a=n(33),i=Object(r.createContext)(a.a);t.a=i},96:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(0),o=n.n(i);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 s(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){a()(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}function Spinner(t){var n=t.isSaving,r=t.style,a=void 0===r?{}:r;return e.createElement("span",{className:"spinner",style:s({display:n?"inline-block":"none",float:"none",marginTop:"0",visibility:"visible"},a)})}Spinner.propTypes={isSaving:o.a.bool,style:o.a.object},t.a=Spinner}).call(this,n(3))},99:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(115),a=function(){var e=Object(r.a)();return e>1280?"xlarge":e>960?"desktop":e>600?"tablet":"small"}}},[[1036,1,0]]]);
dist/assets/js/{googlesitekit-datastore-forms-e4dfa1683e6abca74931.js → googlesitekit-datastore-forms-5dc3f4cf20255b0d6277.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[10],{1:function(t,r){t.exports=googlesitekit.i18n},1051:function(t,r,e){"use strict";e.r(r);var n=e(4),o=e.n(n),a=e(50),i=e(93),c=e(6),u=e.n(c),s=e(7),l=e.n(s),f=e(52),d=e.n(f);function p(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function v(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?p(Object(e),!0).forEach((function(r){u()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):p(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var g={initialState:{},actions:{setValues:function(t,r){return l()(t&&"string"==typeof t,"a valid formName is required for setting values."),l()(d()(r),"formData must be an object."),{payload:{formName:t,formData:r},type:"SET_FORM_VALUES"}}},controls:{},reducer:function(t,r){var e=r.type,n=r.payload;switch(e){case"SET_FORM_VALUES":var o=n.formName,a=n.formData;return v(v({},t),{},u()({},o,v(v({},t[o]||{}),a)));default:return t}},resolvers:{},selectors:{getValue:function(t,r,e){return(t[r]||{})[e]},hasForm:function(t,r){return!!t[r]}}},b=e(40),h=o.a.combineStores(o.a.commonStore,g,Object(i.a)(b.a),Object(a.b)());h.initialState,h.actions,h.controls,h.reducer,h.resolvers,h.selectors;o.a.registerStore(b.a,h)},27:function(t,r,e){"use strict";e.d(r,"a",(function(){return n})),e.d(r,"b",(function(){return o}));var n="_googlesitekitDataLayer",o="data-googlesitekit-gtag"},30:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return g})),e.d(r,"b",(function(){return v}));var n=e(81),o=t._googlesitekitBaseData||{},a=o.activeModules,i=void 0===a?[]:a,c=o.isSiteKitScreen,u=o.trackingEnabled,s={activeModules:i,trackingEnabled:u,trackingID:o.trackingID,referenceSiteURL:o.referenceSiteURL,userIDHash:o.userIDHash,isSiteKitScreen:c},l=Object(n.a)(s),f=l.enableTracking,d=l.disableTracking,p=(l.isTrackingEnabled,l.initializeSnippet),v=l.trackEvent;function g(t){t?f():d()}c&&u&&p()}).call(this,e(18))},33:function(t,r,e){"use strict";(function(t){var n,o;e.d(r,"a",(function(){return a})),e.d(r,"b",(function(){return i}));var a=new Set((null===(n=t)||void 0===n||null===(o=n._googlesitekitBaseData)||void 0===o?void 0:o.enabledFeatures)||[]),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return r instanceof Set&&r.has(t)}}).call(this,e(18))},37:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));var n=function(t){return t instanceof Date&&!isNaN(t)}},38:function(t,r,e){"use strict";e.d(r,"a",(function(){return o}));var n=e(37),o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r="string"==typeof t;if(!r)return!1;var e=t.split("-");return 3===e.length&&Object(n.a)(new Date(t))}},39:function(t,r,e){"use strict";(function(t){e.d(r,"b",(function(){return b})),e.d(r,"d",(function(){return h})),e.d(r,"a",(function(){return m})),e.d(r,"c",(function(){return y}));var n=e(5),o=e.n(n),a=e(14),i=e.n(a);e(23);function c(t,r){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"==typeof t)return u(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return u(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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,i=!0,c=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){c=!0,a=t},f:function(){try{i||null==e.return||e.return()}finally{if(c)throw a}}}}function u(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var s,l="googlesitekit_".concat("1.49.0","_"),f=["sessionStorage","localStorage"],d=[].concat(f),p=function(){var r=i()(o.a.mark((function r(e){var n,a;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=t[e]){r.next=3;break}return r.abrupt("return",!1);case 3:return r.prev=3,a="__storage_test__",n.setItem(a,a),n.removeItem(a),r.abrupt("return",!0);case 10:return r.prev=10,r.t0=r.catch(3),r.abrupt("return",r.t0 instanceof DOMException&&(22===r.t0.code||1014===r.t0.code||"QuotaExceededError"===r.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===r.t0.name)&&0!==n.length);case 13:case"end":return r.stop()}}),r,null,[[3,10]])})));return function(t){return r.apply(this,arguments)}}();function v(){return g.apply(this,arguments)}function g(){return(g=i()(o.a.mark((function r(){var e,n,a;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0===s){r.next=2;break}return r.abrupt("return",s);case 2:e=c(d),r.prev=3,e.s();case 5:if((n=e.n()).done){r.next=15;break}if(a=n.value,!s){r.next=9;break}return r.abrupt("continue",13);case 9:return r.next=11,p(a);case 11:if(!r.sent){r.next=13;break}s=t[a];case 13:r.next=5;break;case 15:r.next=20;break;case 17:r.prev=17,r.t0=r.catch(3),e.e(r.t0);case 20:return r.prev=20,e.f(),r.finish(20);case 23:return void 0===s&&(s=null),r.abrupt("return",s);case 25:case"end":return r.stop()}}),r,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var t=i()(o.a.mark((function t(r){var e,n,a,i,c,u,s;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:if(!(e=t.sent)){t.next=10;break}if(!(n=e.getItem("".concat(l).concat(r)))){t.next=10;break}if(a=JSON.parse(n),i=a.timestamp,c=a.ttl,u=a.value,s=a.isError,!i||c&&!(Math.round(Date.now()/1e3)-i<c)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(r){return t.apply(this,arguments)}}(),h=function(){var r=i()(o.a.mark((function r(e,n){var a,i,c,u,s,f,d,p,g=arguments;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=g.length>2&&void 0!==g[2]?g[2]:{},i=a.ttl,c=void 0===i?3600:i,u=a.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=a.isError,d=void 0!==f&&f,r.next=3,v();case 3:if(!(p=r.sent)){r.next=14;break}return r.prev=5,p.setItem("".concat(l).concat(e),JSON.stringify({timestamp:s,ttl:c,value:n,isError:d})),r.abrupt("return",!0);case 10:return r.prev=10,r.t0=r.catch(5),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",!1);case 14:return r.abrupt("return",!1);case 15:case"end":return r.stop()}}),r,null,[[5,10]])})));return function(t,e){return r.apply(this,arguments)}}(),m=function(){var r=i()(o.a.mark((function r(e){var n;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,v();case 2:if(!(n=r.sent)){r.next=13;break}return r.prev=4,n.removeItem("".concat(l).concat(e)),r.abrupt("return",!0);case 9:return r.prev=9,r.t0=r.catch(4),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",!1);case 13:return r.abrupt("return",!1);case 14:case"end":return r.stop()}}),r,null,[[4,9]])})));return function(t){return r.apply(this,arguments)}}(),y=function(){var r=i()(o.a.mark((function r(){var e,n,a,i;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,v();case 2:if(!(e=r.sent)){r.next=14;break}for(r.prev=4,n=[],a=0;a<e.length;a++)0===(i=e.key(a)).indexOf(l)&&n.push(i.substring(l.length));return r.abrupt("return",n);case 10:return r.prev=10,r.t0=r.catch(4),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",[]);case 14:return r.abrupt("return",[]);case 15:case"end":return r.stop()}}),r,null,[[4,10]])})));return function(){return r.apply(this,arguments)}}()}).call(this,e(18))},4:function(t,r){t.exports=googlesitekit.data},40:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));var n="core/forms"},47:function(t,r,e){"use strict";e.d(r,"a",(function(){return o}));var n=e(27);function o(t){return function(){t[n.a]=t[n.a]||[],t[n.a].push(arguments)}}},49:function(t,r,e){"use strict";e.d(r,"b",(function(){return o})),e.d(r,"a",(function(){return a})),e.d(r,"d",(function(){return i})),e.d(r,"c",(function(){return c})),e.d(r,"e",(function(){return u}));var n=e(105);function o(t){try{return new URL(t).pathname}catch(t){}return null}function a(t,r){try{return new URL(r,t).href}catch(t){}return("string"==typeof t?t:"")+("string"==typeof r?r:"")}function i(t){return"string"!=typeof t?t:t.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(t){return/^#\w[A-Za-z0-9-_]*$/.test(t)}function u(t,r){if(!Object(n.a)(t))return t;if(t.length<=r)return t;var e=new URL(t),o=t.replace(e.origin,"");if(o.length<r)return o;var a=o.length-Math.floor(r)+1;return"…"+o.substr(a)}},50:function(t,r,e){"use strict";e.d(r,"a",(function(){return g})),e.d(r,"b",(function(){return b}));var n=e(6),o=e.n(n),a=e(28),i=e.n(a),c=e(7),u=e.n(c),s=e(73),l=e.n(s),f=e(9);function d(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function p(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?d(Object(e),!0).forEach((function(r){o()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):d(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function v(t,r){if(r&&Array.isArray(r)){var e=r.map((function(t){return"object"===i()(t)?Object(f.u)(t):t}));return"".concat(t,"::").concat(l()(JSON.stringify(e)))}return t}var g={receiveError:function(t,r,e){return u()(t,"error is required."),r&&u()(e&&Array.isArray(e),"args is required (and must be an array) when baseName is specified."),{type:"RECEIVE_ERROR",payload:{error:t,baseName:r,args:e}}},clearError:function(t,r){return t&&u()(r&&Array.isArray(r),"args is required (and must be an array) when baseName is specified."),{type:"CLEAR_ERROR",payload:{baseName:t,args:r}}},clearErrors:function(t){return{type:"CLEAR_ERRORS",payload:{baseName:t}}}};function b(){var t={getErrorForSelector:function(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"selectorName is required."),t.getError(r,e,n)},getErrorForAction:function(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"actionName is required."),t.getError(r,e,n)},getError:function(t,r,e){var n=t.error,o=t.errors;return r||e?(u()(r,"baseName is required."),o[v(r,e)]):n},getErrors:function(t){var r=new Set(Object.values(t.errors));return void 0!==t.error&&r.add(t.error),Array.from(r)},hasErrors:function(r){return t.getErrors(r).length>0}};return{initialState:{errors:{},error:void 0},actions:g,controls:{},reducer:function(t,r){var e=r.type,n=r.payload;switch(e){case"RECEIVE_ERROR":var a=n.baseName,i=n.args,c=n.error;return p(p({},t),{},a?{errors:p(p({},t.errors||{}),{},o()({},v(a,i),c))}:{error:c});case"CLEAR_ERROR":var u=n.baseName,s=n.args,l=p({},t);if(u){var f=v(u,s);l.errors=p({},t.errors||{}),delete l.errors[f]}else l.error=void 0;return l;case"CLEAR_ERRORS":var d=n.baseName,g=p({},t);if(d)for(var b in g.errors=p({},t.errors||{}),g.errors)(b===d||b.startsWith("".concat(d,"::")))&&delete g.errors[b];else g.errors={},g.error=void 0;return g;default:return t}},resolvers:{},selectors:t}}},53:function(t,r,e){"use strict";e.d(r,"a",(function(){return o}));var n=e(2),o=function(t){return function(r){return function FilteredComponent(e){return Object(n.createElement)(n.Fragment,{},"",Object(n.createElement)(r,e),t)}}}},56:function(t,r,e){"use strict";e.d(r,"a",(function(){return o})),e.d(r,"b",(function(){return n})),e.d(r,"e",(function(){return u})),e.d(r,"f",(function(){return p})),e.d(r,"g",(function(){return v})),e.d(r,"h",(function(){return f.a})),e.d(r,"d",(function(){return g})),e.d(r,"c",(function(){return h})),e.d(r,"i",(function(){return d}));var n="Invalid dateString parameter, it must be a string.",o='Invalid date range, it must be a string with the format "last-x-days".',a=e(7),i=e.n(a),c=e(37),u=function(t){var r=new Date(t);i()(Object(c.a)(r),"Date param must construct to a valid date instance or be a valid date instance itself.");var e="".concat(r.getMonth()+1),n="".concat(r.getDate());return[r.getFullYear(),e.length<2?"0".concat(e):e,n.length<2?"0".concat(n):n].join("-")},s=e(12),l=e.n(s),f=e(38),d=function(t){i()(Object(f.a)(t),n);var r=t.split("-"),e=l()(r,3),o=e[0],a=e[1],c=e[2];return new Date(o,a-1,c)},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,e=d(t);return e.setDate(e.getDate()-r),u(e)},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=t.split("-");return 3===r.length&&"last"===r[0]&&!Number.isNaN(r[1])&&!Number.isNaN(parseFloat(r[1]))&&"days"===r[2]};function g(t){var r=t.match(/last-(\d+)-days/);if(r&&r[1])return parseInt(r[1],10);throw new Error("Unrecognized date range slug.")}var b=e(1);function h(){var t=function(t){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._n)("Last %s day","Last %s days",t,"google-site-kit"),t)};return{"last-7-days":{slug:"last-7-days",label:t(7),days:7},"last-14-days":{slug:"last-14-days",label:t(14),days:14},"last-28-days":{slug:"last-28-days",label:t(28),days:28},"last-90-days":{slug:"last-90-days",label:t(90),days:90}}}},59:function(t,r,e){"use strict";(function(t){var n=e(0),o=e.n(n),a=e(10),i=e.n(a);function ChangeArrow(r){var e=r.direction,n=r.invertColor,o=r.width,a=r.height;return t.createElement("svg",{className:i()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(e),{"googlesitekit-change-arrow--inverted-color":n}),width:o,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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:o.a.string,invertColor:o.a.bool,width:o.a.number,height:o.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},r.a=ChangeArrow}).call(this,e(3))},60:function(t,r,e){"use strict";e.d(r,"a",(function(){return i})),e.d(r,"b",(function(){return c}));var n=e(28),o=e.n(n),a=e(66),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(t,r)}};function c(t){var r,e="object"===o()(t)?t.toString():t;return null==e||null===(r=e.replace)||void 0===r?void 0:r.call(e,/\/+$/,"")}},66:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return o}));var n=e(111),o=e.n(n)()(t)}).call(this,e(18))},69:function(t,r,e){"use strict";(function(t){e.d(r,"c",(function(){return w})),e.d(r,"d",(function(){return S})),e.d(r,"b",(function(){return E})),e.d(r,"a",(function(){return k}));var n=e(12),o=e.n(n),a=e(28),i=e.n(a),c=e(6),u=e.n(c),s=e(17),l=e.n(s),f=e(26),d=e(64),p=e.n(d),v=e(1);function g(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function b(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?g(Object(e),!0).forEach((function(r){u()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):g(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var h=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=m(t,r),n=e.formatUnit,o=e.formatDecimal;try{return n()}catch(t){return o()}},m=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=parseInt(t,10),Number.isNaN(t)&&(t=0);var e=Math.floor(t/60/60),n=Math.floor(t/60%60),o=Math.floor(t%60);return{hours:e,minutes:n,seconds:o,formatUnit:function(){var a=r.unitDisplay,i=b(b({unitDisplay:void 0===a?"short":a},l()(r,["unitDisplay"])),{},{style:"unit"});return 0===t?S(o,b(b({},i),{},{unit:"second"})):Object(v.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
@@ -13,4 +13,4 @@ Object(v.__)("%sK","google-site-kit"),S(y(t))):1e3<=t?Object(v.sprintf)(// trans
13
  Object(v.__)("%sK","google-site-kit"),S(y(t),t%10==0?{}:r)):S(t,{signDisplay:"never",maximumFractionDigits:1})},w=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object(f.isFinite)(t)?t:Number(t),Object(f.isFinite)(t)||(console.warn("Invalid number",t,i()(t)),t=0);var e={};if("%"===r)e={style:"percent",maximumFractionDigits:2};else{if("s"===r)return h(t,{unitDisplay:"narrow"});r&&"string"==typeof r?e={style:"currency",currency:r}:Object(f.isPlainObject)(r)&&(e=b({},r))}var n=e,o=n.style,a=void 0===o?"metric":o;return"metric"===a?O(t):"duration"===a?h(t,r):S(t,e)},j=p()(console.warn),S=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=r.locale,n=void 0===e?k():e,a=l()(r,["locale"]);try{return new Intl.NumberFormat(n,a).format(t)}catch(r){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(a)," ).format( ").concat(i()(t)," )"),r.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(a);f<d.length;f++){var p=o()(d[f],2),v=p[0],g=p[1];c[v]&&g===c[v]||(u.includes(v)||(s[v]=g))}try{return new Intl.NumberFormat(n,s).format(t)}catch(r){return new Intl.NumberFormat(n).format(t)}},E=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=r.locale,n=void 0===e?k():e,o=r.style,a=void 0===o?"long":o,i=r.type,c=void 0===i?"conjunction":i;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:a,type:c});return u.format(t)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(v.__)(", ","google-site-kit");return t.join(s)},k=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,e=Object(f.get)(r,["_googlesitekitLegacyData","locale"]);if(e){var n=e.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return r.navigator.language}}).call(this,e(18))},77:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return u})),e.d(r,"b",(function(){return s})),e.d(r,"c",(function(){return f}));var n=e(12),o=e.n(n),a=e(1);function i(t,r){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"==typeof t)return c(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return c(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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,i=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){u=!0,a=t},f:function(){try{i||null==e.return||e.return()}finally{if(u)throw a}}}}function c(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=null,e=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),o=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&o)return!1;if(r=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),e=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===r&&null===e)return!1;var i=document.createElement("span");i.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(t));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=t;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(a.sprintf)(
15
  /* translators: %d is the number of notifications */
16
- Object(a._n)("%d notification","%d notifications",t,"google-site-kit"),t),i.appendChild(c),i.appendChild(u),r&&null===n&&r.appendChild(i),e&&null===o&&e.appendChild(i),i},s=function(){t.localStorage&&t.localStorage.clear(),t.sessionStorage&&t.sessionStorage.clear()},l=function(t){for(var r=location.search.substr(1).split("&"),e={},n=0;n<r.length;n++)e[r[n].split("=")[0]]=decodeURIComponent(r[n].split("=")[1]);return t?e.hasOwnProperty(t)?decodeURIComponent(e[t].replace(/\+/g," ")):"":e},f=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,e=new URL(r.href);if(t)return e.searchParams&&e.searchParams.get?e.searchParams.get(t):l(t);var n,a={},c=i(e.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=o()(n.value,2),s=u[0],f=u[1];a[s]=f}}catch(t){c.e(t)}finally{c.f()}return a}}).call(this,e(18))},79:function(t,r,e){"use strict";(function(t){e(44),e(45)}).call(this,e(18))},80:function(t,r,e){"use strict";(function(t){e.d(r,"b",(function(){return a})),e.d(r,"c",(function(){return i})),e.d(r,"a",(function(){return c}));var n=e(185),o=e(59),a=function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(r)))return"";var a=e.invertColor,i=void 0!==a&&a;return Object(n.a)(t.createElement(o.a,{direction:r>0?"up":"down",invertColor:i}))},i=function(t){var r,e,n,o,a,i,c,u,s,l,f,d,p,v,g;if(void 0!==t)return 1===(null==t||null===(r=t[0])||void 0===r||null===(e=r.data)||void 0===e||null===(n=e.rows)||void 0===n?void 0:n.length)||(null==t||null===(o=t[0])||void 0===o||null===(a=o.data)||void 0===a||null===(i=a.rows)||void 0===i||null===(c=i[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==t||null===(f=t[0])||void 0===f||null===(d=f.data)||void 0===d||null===(p=d.totals)||void 0===p||null===(v=p[0])||void 0===v||null===(g=v.values)||void 0===g?void 0:g[0])},c=function(t,r){return t>0&&r>0?t/r-1:t>0?1:r>0?-1:0}}).call(this,e(3))},81:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return l}));var n=e(6),o=e.n(n),a=e(82),i=e(83);function c(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function u(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?c(Object(e),!0).forEach((function(r){o()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,o=u(u({},s),r);o.referenceSiteURL&&(o.referenceSiteURL=o.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(o,e);return{enableTracking:function(){o.trackingEnabled=!0},disableTracking:function(){o.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!o.trackingEnabled},trackEvent:Object(i.a)(o,e,c,n)}}}).call(this,e(18))},82:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return a}));var n=e(47),o=e(27);function a(r,e){var a,i=Object(n.a)(e);return function(){var e=t.document;if(void 0===a&&(a=!!e.querySelector("script[".concat(o.b,"]"))),!a){var n=e.createElement("script");n.setAttribute(o.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(r.trackingID,"&l=").concat(o.a),e.head.appendChild(n),i("js",new Date),i("config",r.trackingID,{send_page_view:r.isSiteKitScreen}),a=!0}}}}).call(this,e(18))},83:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return p}));var n=e(5),o=e.n(n),a=e(6),i=e.n(a),c=e(14),u=e.n(c),s=e(47),l=e(33);function f(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function d(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?f(Object(e),!0).forEach((function(r){i()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function p(r,e,n,a){var i=Object(s.a)(e);return function(){var e=u()(o.a.mark((function e(c,u,s,f){var p,v,g,b,h,m,y,O,w,j;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(b=r.activeModules,h=r.referenceSiteURL,m=r.trackingEnabled,y=r.trackingID,O=r.userIDHash,m){e.next=3;break}return e.abrupt("return");case 3:return n(),w=null!==(p=null===(v=t._googlesitekitUserData)||void 0===v||null===(g=v.user)||void 0===g?void 0:g.roles)&&void 0!==p?p:[],j={send_to:y,event_category:c,event_label:s,value:f,dimension1:h,dimension2:w.join(","),dimension3:O,dimension4:"1.49.0",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},e.abrupt("return",new Promise((function(t){var r,e,n=setTimeout((function(){a.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),t()}),1e3),o=function(){clearTimeout(n),t()};i("event",u,d(d({},j),{},{event_callback:o})),(null===(r=a._gaUserPrefs)||void 0===r||null===(e=r.ioo)||void 0===e?void 0:e.call(r))&&o()})));case 7:case"end":return e.stop()}}),e)})));return function(t,r,n,o){return e.apply(this,arguments)}}()}}).call(this,e(18))},9:function(t,r,e){"use strict";e.d(r,"v",(function(){return c.b})),e.d(r,"s",(function(){return u.a})),e.d(r,"w",(function(){return u.b})),e.d(r,"u",(function(){return p})),e.d(r,"c",(function(){return v.b})),e.d(r,"j",(function(){return v.c})),e.d(r,"q",(function(){return g.c})),e.d(r,"r",(function(){return g.d})),e.d(r,"n",(function(){return g.b})),e.d(r,"i",(function(){return g.a})),e.d(r,"o",(function(){return y})),e.d(r,"d",(function(){return O})),e.d(r,"f",(function(){return w.c})),e.d(r,"t",(function(){return w.i})),e.d(r,"g",(function(){return j.b})),e.d(r,"m",(function(){return j.c})),e.d(r,"b",(function(){return j.a})),e.d(r,"l",(function(){return S.b})),e.d(r,"h",(function(){return S.a})),e.d(r,"p",(function(){return S.d})),e.d(r,"k",(function(){return E})),e.d(r,"a",(function(){return k})),e.d(r,"x",(function(){return _})),e.d(r,"e",(function(){return D}));var n=e(110),o=e.n(n),a=e(108),i=e.n(a),c=e(30),u=e(60),s=e(28),l=e.n(s),f=e(73),d=e.n(f),p=function(t){return d()(JSON.stringify(function t(r){var e={};return Object.keys(r).sort().forEach((function(n){var o=r[n];o&&"object"===l()(o)&&!Array.isArray(o)&&(o=t(o)),e[n]=o})),e}(t)))};var v=e(77),g=(e(79),e(69));e(53);function b(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function h(t){return"<p>".concat(t.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(t){return t.replace(/\n/gi,"<br>")}function y(t){for(var r=t,e=0,n=[b,h,m];e<n.length;e++){r=(0,n[e])(r)}return r}var O=function(t){return t=parseFloat(t),isNaN(t)||0===t?[0,0,0,0]:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60),Math.floor(1e3*t)-1e3*Math.floor(t)]},w=e(56),j=e(80),S=e(49),E=function(t){switch(t){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},k=function(t,r){if("0"===t||0===t||isNaN(t))return null;var e=(r-t)/t;return isNaN(e)||!o()(e)?null:e},_=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},D=function(t){if(!t)return"";var r=t.replace(/&#(\d+);/g,(function(t,r){return String.fromCharCode(r)})).replace(/(\\)/g,"");return i()(r)}},93:function(t,r,e){"use strict";e.d(r,"a",(function(){return g})),e.d(r,"c",(function(){return h})),e.d(r,"b",(function(){return m}));var n=e(17),o=e.n(n),a=e(6),i=e.n(a),c=e(5),u=e.n(c),s=e(7),l=e.n(s),f=e(4),d=e.n(f),p=e(39),v=d.a.createRegistryControl,g=function(t){var r;l()(t,"storeName is required to create a snapshot store.");var e={},n={deleteSnapshot:u.a.mark((function t(){var r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})),restoreSnapshot:u.a.mark((function t(){var r,e,n,o,a,i,c=arguments;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=c.length>0&&void 0!==c[0]?c[0]:{},e=r.clearAfterRestore,n=void 0===e||e,t.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(o=t.sent,a=o.cacheHit,i=o.value,!a){t.next=13;break}return t.next=10,{payload:{snapshot:i},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!n){t.next=13;break}return t.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return t.abrupt("return",a);case 14:case"end":return t.stop()}}),t)})),createSnapshot:u.a.mark((function t(){var r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)}))},a=(r={},i()(r,"DELETE_SNAPSHOT",(function(){return Object(p.a)("datastore::cache::".concat(t))})),i()(r,"CREATE_SNAPSHOT",v((function(r){return function(){return Object(p.d)("datastore::cache::".concat(t),r.stores[t].store.getState())}}))),i()(r,"RESTORE_SNAPSHOT",(function(){return Object(p.b)("datastore::cache::".concat(t),3600)})),r);return{initialState:e,actions:n,controls:a,reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=arguments.length>1?arguments[1]:void 0,n=r.type,a=r.payload;switch(n){case"SET_STATE_FROM_SNAPSHOT":var i=a.snapshot,c=(i.error,o()(i,["error"]));return c;default:return t}}}},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Object.values(t.stores).filter((function(t){return Object.keys(t.getActions()).includes("restoreSnapshot")}))},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().createSnapshot()})))},m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().restoreSnapshot()})))}}},[[1051,1,0]]]);
1
+ (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[10],{1:function(t,r){t.exports=googlesitekit.i18n},1051:function(t,r,e){"use strict";e.r(r);var n=e(4),o=e.n(n),a=e(50),i=e(93),c=e(6),u=e.n(c),s=e(7),l=e.n(s),f=e(52),d=e.n(f);function p(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function v(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?p(Object(e),!0).forEach((function(r){u()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):p(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var g={initialState:{},actions:{setValues:function(t,r){return l()(t&&"string"==typeof t,"a valid formName is required for setting values."),l()(d()(r),"formData must be an object."),{payload:{formName:t,formData:r},type:"SET_FORM_VALUES"}}},controls:{},reducer:function(t,r){var e=r.type,n=r.payload;switch(e){case"SET_FORM_VALUES":var o=n.formName,a=n.formData;return v(v({},t),{},u()({},o,v(v({},t[o]||{}),a)));default:return t}},resolvers:{},selectors:{getValue:function(t,r,e){return(t[r]||{})[e]},hasForm:function(t,r){return!!t[r]}}},b=e(40),h=o.a.combineStores(o.a.commonStore,g,Object(i.a)(b.a),Object(a.b)());h.initialState,h.actions,h.controls,h.reducer,h.resolvers,h.selectors;o.a.registerStore(b.a,h)},27:function(t,r,e){"use strict";e.d(r,"a",(function(){return n})),e.d(r,"b",(function(){return o}));var n="_googlesitekitDataLayer",o="data-googlesitekit-gtag"},30:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return g})),e.d(r,"b",(function(){return v}));var n=e(81),o=t._googlesitekitBaseData||{},a=o.activeModules,i=void 0===a?[]:a,c=o.isSiteKitScreen,u=o.trackingEnabled,s={activeModules:i,trackingEnabled:u,trackingID:o.trackingID,referenceSiteURL:o.referenceSiteURL,userIDHash:o.userIDHash,isSiteKitScreen:c},l=Object(n.a)(s),f=l.enableTracking,d=l.disableTracking,p=(l.isTrackingEnabled,l.initializeSnippet),v=l.trackEvent;function g(t){t?f():d()}c&&u&&p()}).call(this,e(18))},33:function(t,r,e){"use strict";(function(t){var n,o;e.d(r,"a",(function(){return a})),e.d(r,"b",(function(){return i}));var a=new Set((null===(n=t)||void 0===n||null===(o=n._googlesitekitBaseData)||void 0===o?void 0:o.enabledFeatures)||[]),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return r instanceof Set&&r.has(t)}}).call(this,e(18))},37:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));var n=function(t){return t instanceof Date&&!isNaN(t)}},38:function(t,r,e){"use strict";e.d(r,"a",(function(){return o}));var n=e(37),o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r="string"==typeof t;if(!r)return!1;var e=t.split("-");return 3===e.length&&Object(n.a)(new Date(t))}},39:function(t,r,e){"use strict";(function(t){e.d(r,"b",(function(){return b})),e.d(r,"d",(function(){return h})),e.d(r,"a",(function(){return m})),e.d(r,"c",(function(){return y}));var n=e(5),o=e.n(n),a=e(14),i=e.n(a);e(23);function c(t,r){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"==typeof t)return u(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return u(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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,i=!0,c=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){c=!0,a=t},f:function(){try{i||null==e.return||e.return()}finally{if(c)throw a}}}}function u(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var s,l="googlesitekit_".concat("1.49.1","_"),f=["sessionStorage","localStorage"],d=[].concat(f),p=function(){var r=i()(o.a.mark((function r(e){var n,a;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=t[e]){r.next=3;break}return r.abrupt("return",!1);case 3:return r.prev=3,a="__storage_test__",n.setItem(a,a),n.removeItem(a),r.abrupt("return",!0);case 10:return r.prev=10,r.t0=r.catch(3),r.abrupt("return",r.t0 instanceof DOMException&&(22===r.t0.code||1014===r.t0.code||"QuotaExceededError"===r.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===r.t0.name)&&0!==n.length);case 13:case"end":return r.stop()}}),r,null,[[3,10]])})));return function(t){return r.apply(this,arguments)}}();function v(){return g.apply(this,arguments)}function g(){return(g=i()(o.a.mark((function r(){var e,n,a;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0===s){r.next=2;break}return r.abrupt("return",s);case 2:e=c(d),r.prev=3,e.s();case 5:if((n=e.n()).done){r.next=15;break}if(a=n.value,!s){r.next=9;break}return r.abrupt("continue",13);case 9:return r.next=11,p(a);case 11:if(!r.sent){r.next=13;break}s=t[a];case 13:r.next=5;break;case 15:r.next=20;break;case 17:r.prev=17,r.t0=r.catch(3),e.e(r.t0);case 20:return r.prev=20,e.f(),r.finish(20);case 23:return void 0===s&&(s=null),r.abrupt("return",s);case 25:case"end":return r.stop()}}),r,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var t=i()(o.a.mark((function t(r){var e,n,a,i,c,u,s;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:if(!(e=t.sent)){t.next=10;break}if(!(n=e.getItem("".concat(l).concat(r)))){t.next=10;break}if(a=JSON.parse(n),i=a.timestamp,c=a.ttl,u=a.value,s=a.isError,!i||c&&!(Math.round(Date.now()/1e3)-i<c)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(r){return t.apply(this,arguments)}}(),h=function(){var r=i()(o.a.mark((function r(e,n){var a,i,c,u,s,f,d,p,g=arguments;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=g.length>2&&void 0!==g[2]?g[2]:{},i=a.ttl,c=void 0===i?3600:i,u=a.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=a.isError,d=void 0!==f&&f,r.next=3,v();case 3:if(!(p=r.sent)){r.next=14;break}return r.prev=5,p.setItem("".concat(l).concat(e),JSON.stringify({timestamp:s,ttl:c,value:n,isError:d})),r.abrupt("return",!0);case 10:return r.prev=10,r.t0=r.catch(5),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",!1);case 14:return r.abrupt("return",!1);case 15:case"end":return r.stop()}}),r,null,[[5,10]])})));return function(t,e){return r.apply(this,arguments)}}(),m=function(){var r=i()(o.a.mark((function r(e){var n;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,v();case 2:if(!(n=r.sent)){r.next=13;break}return r.prev=4,n.removeItem("".concat(l).concat(e)),r.abrupt("return",!0);case 9:return r.prev=9,r.t0=r.catch(4),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",!1);case 13:return r.abrupt("return",!1);case 14:case"end":return r.stop()}}),r,null,[[4,9]])})));return function(t){return r.apply(this,arguments)}}(),y=function(){var r=i()(o.a.mark((function r(){var e,n,a,i;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,v();case 2:if(!(e=r.sent)){r.next=14;break}for(r.prev=4,n=[],a=0;a<e.length;a++)0===(i=e.key(a)).indexOf(l)&&n.push(i.substring(l.length));return r.abrupt("return",n);case 10:return r.prev=10,r.t0=r.catch(4),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",[]);case 14:return r.abrupt("return",[]);case 15:case"end":return r.stop()}}),r,null,[[4,10]])})));return function(){return r.apply(this,arguments)}}()}).call(this,e(18))},4:function(t,r){t.exports=googlesitekit.data},40:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));var n="core/forms"},47:function(t,r,e){"use strict";e.d(r,"a",(function(){return o}));var n=e(27);function o(t){return function(){t[n.a]=t[n.a]||[],t[n.a].push(arguments)}}},49:function(t,r,e){"use strict";e.d(r,"b",(function(){return o})),e.d(r,"a",(function(){return a})),e.d(r,"d",(function(){return i})),e.d(r,"c",(function(){return c})),e.d(r,"e",(function(){return u}));var n=e(105);function o(t){try{return new URL(t).pathname}catch(t){}return null}function a(t,r){try{return new URL(r,t).href}catch(t){}return("string"==typeof t?t:"")+("string"==typeof r?r:"")}function i(t){return"string"!=typeof t?t:t.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(t){return/^#\w[A-Za-z0-9-_]*$/.test(t)}function u(t,r){if(!Object(n.a)(t))return t;if(t.length<=r)return t;var e=new URL(t),o=t.replace(e.origin,"");if(o.length<r)return o;var a=o.length-Math.floor(r)+1;return"…"+o.substr(a)}},50:function(t,r,e){"use strict";e.d(r,"a",(function(){return g})),e.d(r,"b",(function(){return b}));var n=e(6),o=e.n(n),a=e(28),i=e.n(a),c=e(7),u=e.n(c),s=e(73),l=e.n(s),f=e(9);function d(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function p(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?d(Object(e),!0).forEach((function(r){o()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):d(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function v(t,r){if(r&&Array.isArray(r)){var e=r.map((function(t){return"object"===i()(t)?Object(f.u)(t):t}));return"".concat(t,"::").concat(l()(JSON.stringify(e)))}return t}var g={receiveError:function(t,r,e){return u()(t,"error is required."),r&&u()(e&&Array.isArray(e),"args is required (and must be an array) when baseName is specified."),{type:"RECEIVE_ERROR",payload:{error:t,baseName:r,args:e}}},clearError:function(t,r){return t&&u()(r&&Array.isArray(r),"args is required (and must be an array) when baseName is specified."),{type:"CLEAR_ERROR",payload:{baseName:t,args:r}}},clearErrors:function(t){return{type:"CLEAR_ERRORS",payload:{baseName:t}}}};function b(){var t={getErrorForSelector:function(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"selectorName is required."),t.getError(r,e,n)},getErrorForAction:function(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"actionName is required."),t.getError(r,e,n)},getError:function(t,r,e){var n=t.error,o=t.errors;return r||e?(u()(r,"baseName is required."),o[v(r,e)]):n},getErrors:function(t){var r=new Set(Object.values(t.errors));return void 0!==t.error&&r.add(t.error),Array.from(r)},hasErrors:function(r){return t.getErrors(r).length>0}};return{initialState:{errors:{},error:void 0},actions:g,controls:{},reducer:function(t,r){var e=r.type,n=r.payload;switch(e){case"RECEIVE_ERROR":var a=n.baseName,i=n.args,c=n.error;return p(p({},t),{},a?{errors:p(p({},t.errors||{}),{},o()({},v(a,i),c))}:{error:c});case"CLEAR_ERROR":var u=n.baseName,s=n.args,l=p({},t);if(u){var f=v(u,s);l.errors=p({},t.errors||{}),delete l.errors[f]}else l.error=void 0;return l;case"CLEAR_ERRORS":var d=n.baseName,g=p({},t);if(d)for(var b in g.errors=p({},t.errors||{}),g.errors)(b===d||b.startsWith("".concat(d,"::")))&&delete g.errors[b];else g.errors={},g.error=void 0;return g;default:return t}},resolvers:{},selectors:t}}},53:function(t,r,e){"use strict";e.d(r,"a",(function(){return o}));var n=e(2),o=function(t){return function(r){return function FilteredComponent(e){return Object(n.createElement)(n.Fragment,{},"",Object(n.createElement)(r,e),t)}}}},56:function(t,r,e){"use strict";e.d(r,"a",(function(){return o})),e.d(r,"b",(function(){return n})),e.d(r,"e",(function(){return u})),e.d(r,"f",(function(){return p})),e.d(r,"g",(function(){return v})),e.d(r,"h",(function(){return f.a})),e.d(r,"d",(function(){return g})),e.d(r,"c",(function(){return h})),e.d(r,"i",(function(){return d}));var n="Invalid dateString parameter, it must be a string.",o='Invalid date range, it must be a string with the format "last-x-days".',a=e(7),i=e.n(a),c=e(37),u=function(t){var r=new Date(t);i()(Object(c.a)(r),"Date param must construct to a valid date instance or be a valid date instance itself.");var e="".concat(r.getMonth()+1),n="".concat(r.getDate());return[r.getFullYear(),e.length<2?"0".concat(e):e,n.length<2?"0".concat(n):n].join("-")},s=e(12),l=e.n(s),f=e(38),d=function(t){i()(Object(f.a)(t),n);var r=t.split("-"),e=l()(r,3),o=e[0],a=e[1],c=e[2];return new Date(o,a-1,c)},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,e=d(t);return e.setDate(e.getDate()-r),u(e)},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=t.split("-");return 3===r.length&&"last"===r[0]&&!Number.isNaN(r[1])&&!Number.isNaN(parseFloat(r[1]))&&"days"===r[2]};function g(t){var r=t.match(/last-(\d+)-days/);if(r&&r[1])return parseInt(r[1],10);throw new Error("Unrecognized date range slug.")}var b=e(1);function h(){var t=function(t){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._n)("Last %s day","Last %s days",t,"google-site-kit"),t)};return{"last-7-days":{slug:"last-7-days",label:t(7),days:7},"last-14-days":{slug:"last-14-days",label:t(14),days:14},"last-28-days":{slug:"last-28-days",label:t(28),days:28},"last-90-days":{slug:"last-90-days",label:t(90),days:90}}}},59:function(t,r,e){"use strict";(function(t){var n=e(0),o=e.n(n),a=e(10),i=e.n(a);function ChangeArrow(r){var e=r.direction,n=r.invertColor,o=r.width,a=r.height;return t.createElement("svg",{className:i()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(e),{"googlesitekit-change-arrow--inverted-color":n}),width:o,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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:o.a.string,invertColor:o.a.bool,width:o.a.number,height:o.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},r.a=ChangeArrow}).call(this,e(3))},60:function(t,r,e){"use strict";e.d(r,"a",(function(){return i})),e.d(r,"b",(function(){return c}));var n=e(28),o=e.n(n),a=e(66),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(t,r)}};function c(t){var r,e="object"===o()(t)?t.toString():t;return null==e||null===(r=e.replace)||void 0===r?void 0:r.call(e,/\/+$/,"")}},66:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return o}));var n=e(111),o=e.n(n)()(t)}).call(this,e(18))},69:function(t,r,e){"use strict";(function(t){e.d(r,"c",(function(){return w})),e.d(r,"d",(function(){return S})),e.d(r,"b",(function(){return E})),e.d(r,"a",(function(){return k}));var n=e(12),o=e.n(n),a=e(28),i=e.n(a),c=e(6),u=e.n(c),s=e(17),l=e.n(s),f=e(26),d=e(64),p=e.n(d),v=e(1);function g(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function b(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?g(Object(e),!0).forEach((function(r){u()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):g(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var h=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=m(t,r),n=e.formatUnit,o=e.formatDecimal;try{return n()}catch(t){return o()}},m=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=parseInt(t,10),Number.isNaN(t)&&(t=0);var e=Math.floor(t/60/60),n=Math.floor(t/60%60),o=Math.floor(t%60);return{hours:e,minutes:n,seconds:o,formatUnit:function(){var a=r.unitDisplay,i=b(b({unitDisplay:void 0===a?"short":a},l()(r,["unitDisplay"])),{},{style:"unit"});return 0===t?S(o,b(b({},i),{},{unit:"second"})):Object(v.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
13
  Object(v.__)("%sK","google-site-kit"),S(y(t),t%10==0?{}:r)):S(t,{signDisplay:"never",maximumFractionDigits:1})},w=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object(f.isFinite)(t)?t:Number(t),Object(f.isFinite)(t)||(console.warn("Invalid number",t,i()(t)),t=0);var e={};if("%"===r)e={style:"percent",maximumFractionDigits:2};else{if("s"===r)return h(t,{unitDisplay:"narrow"});r&&"string"==typeof r?e={style:"currency",currency:r}:Object(f.isPlainObject)(r)&&(e=b({},r))}var n=e,o=n.style,a=void 0===o?"metric":o;return"metric"===a?O(t):"duration"===a?h(t,r):S(t,e)},j=p()(console.warn),S=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=r.locale,n=void 0===e?k():e,a=l()(r,["locale"]);try{return new Intl.NumberFormat(n,a).format(t)}catch(r){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(a)," ).format( ").concat(i()(t)," )"),r.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(a);f<d.length;f++){var p=o()(d[f],2),v=p[0],g=p[1];c[v]&&g===c[v]||(u.includes(v)||(s[v]=g))}try{return new Intl.NumberFormat(n,s).format(t)}catch(r){return new Intl.NumberFormat(n).format(t)}},E=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=r.locale,n=void 0===e?k():e,o=r.style,a=void 0===o?"long":o,i=r.type,c=void 0===i?"conjunction":i;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:a,type:c});return u.format(t)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(v.__)(", ","google-site-kit");return t.join(s)},k=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,e=Object(f.get)(r,["_googlesitekitLegacyData","locale"]);if(e){var n=e.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return r.navigator.language}}).call(this,e(18))},77:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return u})),e.d(r,"b",(function(){return s})),e.d(r,"c",(function(){return f}));var n=e(12),o=e.n(n),a=e(1);function i(t,r){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"==typeof t)return c(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return c(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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,i=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){u=!0,a=t},f:function(){try{i||null==e.return||e.return()}finally{if(u)throw a}}}}function c(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=null,e=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),o=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&o)return!1;if(r=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),e=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===r&&null===e)return!1;var i=document.createElement("span");i.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(t));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=t;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(a.sprintf)(
15
  /* translators: %d is the number of notifications */
16
+ Object(a._n)("%d notification","%d notifications",t,"google-site-kit"),t),i.appendChild(c),i.appendChild(u),r&&null===n&&r.appendChild(i),e&&null===o&&e.appendChild(i),i},s=function(){t.localStorage&&t.localStorage.clear(),t.sessionStorage&&t.sessionStorage.clear()},l=function(t){for(var r=location.search.substr(1).split("&"),e={},n=0;n<r.length;n++)e[r[n].split("=")[0]]=decodeURIComponent(r[n].split("=")[1]);return t?e.hasOwnProperty(t)?decodeURIComponent(e[t].replace(/\+/g," ")):"":e},f=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,e=new URL(r.href);if(t)return e.searchParams&&e.searchParams.get?e.searchParams.get(t):l(t);var n,a={},c=i(e.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=o()(n.value,2),s=u[0],f=u[1];a[s]=f}}catch(t){c.e(t)}finally{c.f()}return a}}).call(this,e(18))},79:function(t,r,e){"use strict";(function(t){e(44),e(45)}).call(this,e(18))},80:function(t,r,e){"use strict";(function(t){e.d(r,"b",(function(){return a})),e.d(r,"c",(function(){return i})),e.d(r,"a",(function(){return c}));var n=e(185),o=e(59),a=function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(r)))return"";var a=e.invertColor,i=void 0!==a&&a;return Object(n.a)(t.createElement(o.a,{direction:r>0?"up":"down",invertColor:i}))},i=function(t){var r,e,n,o,a,i,c,u,s,l,f,d,p,v,g;if(void 0!==t)return 1===(null==t||null===(r=t[0])||void 0===r||null===(e=r.data)||void 0===e||null===(n=e.rows)||void 0===n?void 0:n.length)||(null==t||null===(o=t[0])||void 0===o||null===(a=o.data)||void 0===a||null===(i=a.rows)||void 0===i||null===(c=i[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==t||null===(f=t[0])||void 0===f||null===(d=f.data)||void 0===d||null===(p=d.totals)||void 0===p||null===(v=p[0])||void 0===v||null===(g=v.values)||void 0===g?void 0:g[0])},c=function(t,r){return t>0&&r>0?t/r-1:t>0?1:r>0?-1:0}}).call(this,e(3))},81:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return l}));var n=e(6),o=e.n(n),a=e(82),i=e(83);function c(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function u(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?c(Object(e),!0).forEach((function(r){o()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,o=u(u({},s),r);o.referenceSiteURL&&(o.referenceSiteURL=o.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(o,e);return{enableTracking:function(){o.trackingEnabled=!0},disableTracking:function(){o.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!o.trackingEnabled},trackEvent:Object(i.a)(o,e,c,n)}}}).call(this,e(18))},82:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return a}));var n=e(47),o=e(27);function a(r,e){var a,i=Object(n.a)(e);return function(){var e=t.document;if(void 0===a&&(a=!!e.querySelector("script[".concat(o.b,"]"))),!a){var n=e.createElement("script");n.setAttribute(o.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(r.trackingID,"&l=").concat(o.a),e.head.appendChild(n),i("js",new Date),i("config",r.trackingID,{send_page_view:r.isSiteKitScreen}),a=!0}}}}).call(this,e(18))},83:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return p}));var n=e(5),o=e.n(n),a=e(6),i=e.n(a),c=e(14),u=e.n(c),s=e(47),l=e(33);function f(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function d(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?f(Object(e),!0).forEach((function(r){i()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function p(r,e,n,a){var i=Object(s.a)(e);return function(){var e=u()(o.a.mark((function e(c,u,s,f){var p,v,g,b,h,m,y,O,w,j;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(b=r.activeModules,h=r.referenceSiteURL,m=r.trackingEnabled,y=r.trackingID,O=r.userIDHash,m){e.next=3;break}return e.abrupt("return");case 3:return n(),w=null!==(p=null===(v=t._googlesitekitUserData)||void 0===v||null===(g=v.user)||void 0===g?void 0:g.roles)&&void 0!==p?p:[],j={send_to:y,event_category:c,event_label:s,value:f,dimension1:h,dimension2:w.join(","),dimension3:O,dimension4:"1.49.1",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},e.abrupt("return",new Promise((function(t){var r,e,n=setTimeout((function(){a.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),t()}),1e3),o=function(){clearTimeout(n),t()};i("event",u,d(d({},j),{},{event_callback:o})),(null===(r=a._gaUserPrefs)||void 0===r||null===(e=r.ioo)||void 0===e?void 0:e.call(r))&&o()})));case 7:case"end":return e.stop()}}),e)})));return function(t,r,n,o){return e.apply(this,arguments)}}()}}).call(this,e(18))},9:function(t,r,e){"use strict";e.d(r,"v",(function(){return c.b})),e.d(r,"s",(function(){return u.a})),e.d(r,"w",(function(){return u.b})),e.d(r,"u",(function(){return p})),e.d(r,"c",(function(){return v.b})),e.d(r,"j",(function(){return v.c})),e.d(r,"q",(function(){return g.c})),e.d(r,"r",(function(){return g.d})),e.d(r,"n",(function(){return g.b})),e.d(r,"i",(function(){return g.a})),e.d(r,"o",(function(){return y})),e.d(r,"d",(function(){return O})),e.d(r,"f",(function(){return w.c})),e.d(r,"t",(function(){return w.i})),e.d(r,"g",(function(){return j.b})),e.d(r,"m",(function(){return j.c})),e.d(r,"b",(function(){return j.a})),e.d(r,"l",(function(){return S.b})),e.d(r,"h",(function(){return S.a})),e.d(r,"p",(function(){return S.d})),e.d(r,"k",(function(){return E})),e.d(r,"a",(function(){return k})),e.d(r,"x",(function(){return _})),e.d(r,"e",(function(){return D}));var n=e(110),o=e.n(n),a=e(108),i=e.n(a),c=e(30),u=e(60),s=e(28),l=e.n(s),f=e(73),d=e.n(f),p=function(t){return d()(JSON.stringify(function t(r){var e={};return Object.keys(r).sort().forEach((function(n){var o=r[n];o&&"object"===l()(o)&&!Array.isArray(o)&&(o=t(o)),e[n]=o})),e}(t)))};var v=e(77),g=(e(79),e(69));e(53);function b(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function h(t){return"<p>".concat(t.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(t){return t.replace(/\n/gi,"<br>")}function y(t){for(var r=t,e=0,n=[b,h,m];e<n.length;e++){r=(0,n[e])(r)}return r}var O=function(t){return t=parseFloat(t),isNaN(t)||0===t?[0,0,0,0]:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60),Math.floor(1e3*t)-1e3*Math.floor(t)]},w=e(56),j=e(80),S=e(49),E=function(t){switch(t){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},k=function(t,r){if("0"===t||0===t||isNaN(t))return null;var e=(r-t)/t;return isNaN(e)||!o()(e)?null:e},_=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},D=function(t){if(!t)return"";var r=t.replace(/&#(\d+);/g,(function(t,r){return String.fromCharCode(r)})).replace(/(\\)/g,"");return i()(r)}},93:function(t,r,e){"use strict";e.d(r,"a",(function(){return g})),e.d(r,"c",(function(){return h})),e.d(r,"b",(function(){return m}));var n=e(17),o=e.n(n),a=e(6),i=e.n(a),c=e(5),u=e.n(c),s=e(7),l=e.n(s),f=e(4),d=e.n(f),p=e(39),v=d.a.createRegistryControl,g=function(t){var r;l()(t,"storeName is required to create a snapshot store.");var e={},n={deleteSnapshot:u.a.mark((function t(){var r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})),restoreSnapshot:u.a.mark((function t(){var r,e,n,o,a,i,c=arguments;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=c.length>0&&void 0!==c[0]?c[0]:{},e=r.clearAfterRestore,n=void 0===e||e,t.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(o=t.sent,a=o.cacheHit,i=o.value,!a){t.next=13;break}return t.next=10,{payload:{snapshot:i},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!n){t.next=13;break}return t.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return t.abrupt("return",a);case 14:case"end":return t.stop()}}),t)})),createSnapshot:u.a.mark((function t(){var r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)}))},a=(r={},i()(r,"DELETE_SNAPSHOT",(function(){return Object(p.a)("datastore::cache::".concat(t))})),i()(r,"CREATE_SNAPSHOT",v((function(r){return function(){return Object(p.d)("datastore::cache::".concat(t),r.stores[t].store.getState())}}))),i()(r,"RESTORE_SNAPSHOT",(function(){return Object(p.b)("datastore::cache::".concat(t),3600)})),r);return{initialState:e,actions:n,controls:a,reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=arguments.length>1?arguments[1]:void 0,n=r.type,a=r.payload;switch(n){case"SET_STATE_FROM_SNAPSHOT":var i=a.snapshot,c=(i.error,o()(i,["error"]));return c;default:return t}}}},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Object.values(t.stores).filter((function(t){return Object.keys(t.getActions()).includes("restoreSnapshot")}))},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().createSnapshot()})))},m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().restoreSnapshot()})))}}},[[1051,1,0]]]);
dist/assets/js/{googlesitekit-datastore-site-e2cfc2738315cef59e58.js → googlesitekit-datastore-site-caa9d76c4ca31a351a13.js} RENAMED
@@ -13,4 +13,4 @@ Object(v.__)("%sK","google-site-kit"),S(O(e))):1e3<=e?Object(v.sprintf)(// trans
13
  Object(v.__)("%sK","google-site-kit"),S(O(e),e%10==0?{}:t)):S(e,{signDisplay:"never",maximumFractionDigits:1})},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(f.isFinite)(e)?e:Number(e),Object(f.isFinite)(e)||(console.warn("Invalid number",e,a()(e)),e=0);var r={};if("%"===t)r={style:"percent",maximumFractionDigits:2};else{if("s"===t)return y(e,{unitDisplay:"narrow"});t&&"string"==typeof t?r={style:"currency",currency:t}:Object(f.isPlainObject)(t)&&(r=b({},t))}var n=r,o=n.style,i=void 0===o?"metric":o;return"metric"===i?h(e):"duration"===i?y(e,t):S(e,r)},w=d()(console.warn),S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?P():r,i=l()(t,["locale"]);try{return new Intl.NumberFormat(n,i).format(e)}catch(t){w("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(i)," ).format( ").concat(a()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,p=Object.entries(i);f<p.length;f++){var d=o()(p[f],2),v=d[0],g=d[1];c[v]&&g===c[v]||(u.includes(v)||(s[v]=g))}try{return new Intl.NumberFormat(n,s).format(e)}catch(t){return new Intl.NumberFormat(n).format(e)}},R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?P():r,o=t.style,i=void 0===o?"long":o,a=t.type,c=void 0===a?"conjunction":a;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:i,type:c});return u.format(e)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(v.__)(", ","google-site-kit");return e.join(s)},P=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=Object(f.get)(t,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,r(18))},698:function(e,t,r){"use strict";(function(e){var n=r(17),o=r.n(n),i=r(5),a=r.n(i),c=r(6),u=r.n(c),s=r(7),l=r.n(s),f=r(699),p=r.n(f),d=r(280),v=r(374),g=r(4),b=r.n(g),y=r(15),m=r(9);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var j=b.a.createRegistrySelector;function w(e){return j((function(t){return function(){return(t(y.c).getSiteInfo()||{})[e]}}))}var S={siteInfo:void 0,permaLink:!1},R={receiveSiteInfo:function(e){return l()(e,"siteInfo is required."),{payload:{siteInfo:e},type:"RECEIVE_SITE_INFO"}},receivePermaLinkParam:function(e){return l()(e,"permaLink is required."),{payload:{permaLink:e},type:"RECEIVE_PERMALINK_PARAM"}}},P={getSiteInfo:a.a.mark((function t(){var r,n,o,i,c,u,s,l,f,p,d,v,g,m,O,h;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b.a.commonActions.getRegistry();case 2:if(!t.sent.select(y.c).getSiteInfo()){t.next=5;break}return t.abrupt("return");case 5:if(e._googlesitekitBaseData&&e._googlesitekitEntityData){t.next=8;break}return e.console.error("Could not load core/site info."),t.abrupt("return");case 8:return r=e._googlesitekitBaseData,n=r.adminURL,o=r.ampMode,i=r.homeURL,c=r.proxyPermissionsURL,u=r.proxySetupURL,s=r.referenceSiteURL,l=r.siteName,f=r.timezone,p=r.usingProxy,d=r.webStoriesActive,v=e._googlesitekitEntityData,g=v.currentEntityID,m=v.currentEntityTitle,O=v.currentEntityType,h=v.currentEntityURL,t.next=12,R.receiveSiteInfo({adminURL:n,ampMode:o,currentEntityID:g,currentEntityTitle:m,currentEntityType:O,currentEntityURL:h,homeURL:i,proxyPermissionsURL:c,proxySetupURL:u,referenceSiteURL:s,siteName:l,timezone:f,usingProxy:!!p,webStoriesActive:d});case 12:case"end":return t.stop()}}),t)}))},E={getSiteInfo:function(e){return e.siteInfo},getAdminURL:j((function(e){return function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e(y.c).getSiteInfo()||{},a=i.adminURL;if(void 0===a||void 0===r)return a;var c="/"===a[a.length-1]?a:"".concat(a,"/"),u=r,s="admin.php";if(-1!==r.indexOf(".php?")){var l=r.split("?");if(!(u=p.a.parse(l.pop()).page))return a;s=l.shift()}n.page;var f=o()(n,["page"]);return Object(d.a)("".concat(c).concat(s),h({page:u},f))}})),getAMPMode:w("ampMode"),getCurrentEntityID:w("currentEntityID"),getCurrentEntityTitle:w("currentEntityTitle"),getCurrentEntityType:w("currentEntityType"),getCurrentEntityURL:w("currentEntityURL"),getHomeURL:w("homeURL"),getReferenceSiteURL:w("referenceSiteURL"),getProxySetupURL:w("proxySetupURL"),getProxyPermissionsURL:w("proxyPermissionsURL"),getCurrentReferenceURL:j((function(e){return function(){var t=e(y.c).getCurrentEntityURL();return null!==t?t:e(y.c).getReferenceSiteURL()}})),isAMP:j((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return!!t}})),isPrimaryAMP:j((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return t===y.a}})),isSecondaryAMP:j((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return t===y.b}})),getTimezone:w("timezone"),isUsingProxy:w("usingProxy"),getSiteName:w("siteName"),getPermaLinkParam:function(t){if(t.permaLink)return t.permaLink;var r=Object(v.a)(e.location.href,"permaLink");return r||!1},isWebStoriesActive:w("webStoriesActive"),isSiteURLMatch:j((function(e){return function(t,r){var n=e(y.c).getReferenceSiteURL();return Object(m.p)(n)===Object(m.p)(r)}})),getSiteURLPermutations:j((function(e){return function(){var t=e(y.c).getReferenceSiteURL(),r=[],n=new URL(t);return n.hostname=n.hostname.replace(/^www\./i,""),n.protocol="http",r.push(Object(m.w)(n)),n.protocol="https",r.push(Object(m.w)(n)),n.hostname="www."+n.hostname,r.push(Object(m.w)(n)),n.protocol="http",r.push(Object(m.w)(n)),r}}))};t.a={initialState:S,actions:R,controls:{},reducer:function(e,t){var r=t.payload;switch(t.type){case"RECEIVE_SITE_INFO":var n=r.siteInfo,o=n.adminURL,i=n.ampMode,a=n.currentEntityID,c=n.currentEntityTitle,u=n.currentEntityType,s=n.currentEntityURL,l=n.homeURL,f=n.proxyPermissionsURL,p=n.proxySetupURL,d=n.referenceSiteURL,v=n.siteName,g=n.timezone,b=n.usingProxy,y=n.webStoriesActive;return h(h({},e),{},{siteInfo:{adminURL:o,ampMode:i,currentEntityID:parseInt(a,10),currentEntityTitle:c,currentEntityType:u,currentEntityURL:s,homeURL:l,proxyPermissionsURL:f,proxySetupURL:p,referenceSiteURL:d,siteName:v,timezone:g,usingProxy:b,webStoriesActive:y}});case"RECEIVE_PERMALINK_PARAM":var m=r.permaLink;return h(h({},e),{},{permaLink:m});default:return e}},resolvers:P,selectors:E}}).call(this,r(18))},70:function(e,t,r){"use strict";r.d(t,"a",(function(){return k})),r.d(t,"b",(function(){return L})),r.d(t,"c",(function(){return D})),r.d(t,"d",(function(){return x})),r.d(t,"e",(function(){return A})),r.d(t,"g",(function(){return N})),r.d(t,"f",(function(){return I}));var n,o=r(5),i=r.n(o),a=r(23),c=r.n(a),u=r(6),s=r.n(u),l=r(7),f=r.n(l),p=r(198),d=r.n(p),v=r(64),g=r.n(v),b=r(97);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var O=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.reduce((function(e,t){return m(m({},e),t)}),{}),o=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),i=_(o);return f()(0===i.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(i.join(", "),". Check your data stores for duplicates.")),n},h=O,j=O,w=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=[].concat(t);return"function"!=typeof o[0]&&(n=o.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.reduce((function(e,r){return r(e,t)}),e)}},S=O,R=O,P=O,E=function(e){return e},k=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=P.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:n,controls:j.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:h.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:w.apply(void 0,[n].concat(c()(t.map((function(e){return e.reducer||E}))))),resolvers:S.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:R.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},L={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},D=(n={},s()(n,"GET_REGISTRY",Object(b.d)((function(e){return function(){return e}}))),s()(n,"AWAIT",(function(e){return e.payload.value})),n),_=function(e){for(var t=[],r={},n=0;n<e.length;n++){var o=e[n];r[o]=r[o]>=1?r[o]+1:1,r[o]>1&&t.push(o)}return t},x={actions:L,controls:D,reducer:E},A=function(e){return function(t){return U(e(t))}},U=g()((function(e){return d()(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return f()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function N(e){return{safeSelector:Object(b.e)((function(t){return function(r){try{for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return e.apply(void 0,[t,r].concat(o)),!0}catch(e){return!1}}})),dangerousSelector:Object(b.e)((function(t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];e.apply(void 0,[t,r].concat(o))}}))}}function I(e,t){return f()("function"==typeof e,"a validator function is required."),f()("function"==typeof t,"an action creator function is required."),f()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},71:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return o})),r.d(t,"c",(function(){return i}));var n=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},o=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function i(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},77:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return f}));var n=r(12),o=r.n(n),i=r(1);function a(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,r=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),o=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&o)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),r=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===r)return!1;var a=document.createElement("span");a.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(i.sprintf)(
15
  /* translators: %d is the number of notifications */
16
- Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),a.appendChild(c),a.appendChild(u),t&&null===n&&t.appendChild(a),r&&null===o&&r.appendChild(a),a},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},l=function(e){for(var t=location.search.substr(1).split("&"),r={},n=0;n<t.length;n++)r[t[n].split("=")[0]]=decodeURIComponent(t[n].split("=")[1]);return e?r.hasOwnProperty(e)?decodeURIComponent(r[e].replace(/\+/g," ")):"":r},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,r=new URL(t.href);if(e)return r.searchParams&&r.searchParams.get?r.searchParams.get(e):l(e);var n,i={},c=a(r.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=o()(n.value,2),s=u[0],f=u[1];i[s]=f}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,r(18))},79:function(e,t,r){"use strict";(function(e){r(44),r(45)}).call(this,r(18))},80:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return c}));var n=r(185),o=r(59),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=r.invertColor,a=void 0!==i&&i;return Object(n.a)(e.createElement(o.a,{direction:t>0?"up":"down",invertColor:a}))},a=function(e){var t,r,n,o,i,a,c,u,s,l,f,p,d,v,g;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(r=t.data)||void 0===r||null===(n=r.rows)||void 0===n?void 0:n.length)||(null==e||null===(o=e[0])||void 0===o||null===(i=o.data)||void 0===i||null===(a=i.rows)||void 0===a||null===(c=a[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==e||null===(f=e[0])||void 0===f||null===(p=f.data)||void 0===p||null===(d=p.totals)||void 0===d||null===(v=d[0])||void 0===v||null===(g=v.values)||void 0===g?void 0:g[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,r(3))},81:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return l}));var n=r(6),o=r.n(n),i=r(82),a=r(83);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,o=u(u({},s),t);o.referenceSiteURL&&(o.referenceSiteURL=o.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(o,r);return{enableTracking:function(){o.trackingEnabled=!0},disableTracking:function(){o.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!o.trackingEnabled},trackEvent:Object(a.a)(o,r,c,n)}}}).call(this,r(18))},82:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return i}));var n=r(47),o=r(27);function i(t,r){var i,a=Object(n.a)(r);return function(){var r=e.document;if(void 0===i&&(i=!!r.querySelector("script[".concat(o.b,"]"))),!i){var n=r.createElement("script");n.setAttribute(o.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(o.a),r.head.appendChild(n),a("js",new Date),a("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,r(18))},83:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return d}));var n=r(5),o=r.n(n),i=r(6),a=r.n(i),c=r(14),u=r.n(c),s=r(47),l=r(33);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(t,r,n,i){var a=Object(s.a)(r);return function(){var r=u()(o.a.mark((function r(c,u,s,f){var d,v,g,b,y,m,O,h,j,w;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(b=t.activeModules,y=t.referenceSiteURL,m=t.trackingEnabled,O=t.trackingID,h=t.userIDHash,m){r.next=3;break}return r.abrupt("return");case 3:return n(),j=null!==(d=null===(v=e._googlesitekitUserData)||void 0===v||null===(g=v.user)||void 0===g?void 0:g.roles)&&void 0!==d?d:[],w={send_to:O,event_category:c,event_label:s,value:f,dimension1:y,dimension2:j.join(","),dimension3:h,dimension4:"1.49.0",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},r.abrupt("return",new Promise((function(e){var t,r,n=setTimeout((function(){i.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),o=function(){clearTimeout(n),e()};a("event",u,p(p({},w),{},{event_callback:o})),(null===(t=i._gaUserPrefs)||void 0===t||null===(r=t.ioo)||void 0===r?void 0:r.call(t))&&o()})));case 7:case"end":return r.stop()}}),r)})));return function(e,t,n,o){return r.apply(this,arguments)}}()}}).call(this,r(18))},9:function(e,t,r){"use strict";r.d(t,"v",(function(){return c.b})),r.d(t,"s",(function(){return u.a})),r.d(t,"w",(function(){return u.b})),r.d(t,"u",(function(){return d})),r.d(t,"c",(function(){return v.b})),r.d(t,"j",(function(){return v.c})),r.d(t,"q",(function(){return g.c})),r.d(t,"r",(function(){return g.d})),r.d(t,"n",(function(){return g.b})),r.d(t,"i",(function(){return g.a})),r.d(t,"o",(function(){return O})),r.d(t,"d",(function(){return h})),r.d(t,"f",(function(){return j.c})),r.d(t,"t",(function(){return j.i})),r.d(t,"g",(function(){return w.b})),r.d(t,"m",(function(){return w.c})),r.d(t,"b",(function(){return w.a})),r.d(t,"l",(function(){return S.b})),r.d(t,"h",(function(){return S.a})),r.d(t,"p",(function(){return S.d})),r.d(t,"k",(function(){return R})),r.d(t,"a",(function(){return P})),r.d(t,"x",(function(){return E})),r.d(t,"e",(function(){return k}));var n=r(110),o=r.n(n),i=r(108),a=r.n(i),c=r(30),u=r(60),s=r(28),l=r.n(s),f=r(73),p=r.n(f),d=function(e){return p()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var o=t[n];o&&"object"===l()(o)&&!Array.isArray(o)&&(o=e(o)),r[n]=o})),r}(e)))};var v=r(77),g=(r(79),r(69));r(53);function b(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function y(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function O(e){for(var t=e,r=0,n=[b,y,m];r<n.length;r++){t=(0,n[r])(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)]},j=r(56),w=r(80),S=r(49),R=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},P=function(e,t){if("0"===e||0===e||isNaN(e))return null;var r=(t-e)/e;return isNaN(r)||!o()(r)?null:r},E=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 a()(t)}}},[[1044,1,0]]]);
13
  Object(v.__)("%sK","google-site-kit"),S(O(e),e%10==0?{}:t)):S(e,{signDisplay:"never",maximumFractionDigits:1})},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(f.isFinite)(e)?e:Number(e),Object(f.isFinite)(e)||(console.warn("Invalid number",e,a()(e)),e=0);var r={};if("%"===t)r={style:"percent",maximumFractionDigits:2};else{if("s"===t)return y(e,{unitDisplay:"narrow"});t&&"string"==typeof t?r={style:"currency",currency:t}:Object(f.isPlainObject)(t)&&(r=b({},t))}var n=r,o=n.style,i=void 0===o?"metric":o;return"metric"===i?h(e):"duration"===i?y(e,t):S(e,r)},w=d()(console.warn),S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?P():r,i=l()(t,["locale"]);try{return new Intl.NumberFormat(n,i).format(e)}catch(t){w("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(i)," ).format( ").concat(a()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,p=Object.entries(i);f<p.length;f++){var d=o()(p[f],2),v=d[0],g=d[1];c[v]&&g===c[v]||(u.includes(v)||(s[v]=g))}try{return new Intl.NumberFormat(n,s).format(e)}catch(t){return new Intl.NumberFormat(n).format(e)}},R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?P():r,o=t.style,i=void 0===o?"long":o,a=t.type,c=void 0===a?"conjunction":a;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:i,type:c});return u.format(e)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(v.__)(", ","google-site-kit");return e.join(s)},P=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=Object(f.get)(t,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,r(18))},698:function(e,t,r){"use strict";(function(e){var n=r(17),o=r.n(n),i=r(5),a=r.n(i),c=r(6),u=r.n(c),s=r(7),l=r.n(s),f=r(699),p=r.n(f),d=r(280),v=r(374),g=r(4),b=r.n(g),y=r(15),m=r(9);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var j=b.a.createRegistrySelector;function w(e){return j((function(t){return function(){return(t(y.c).getSiteInfo()||{})[e]}}))}var S={siteInfo:void 0,permaLink:!1},R={receiveSiteInfo:function(e){return l()(e,"siteInfo is required."),{payload:{siteInfo:e},type:"RECEIVE_SITE_INFO"}},receivePermaLinkParam:function(e){return l()(e,"permaLink is required."),{payload:{permaLink:e},type:"RECEIVE_PERMALINK_PARAM"}}},P={getSiteInfo:a.a.mark((function t(){var r,n,o,i,c,u,s,l,f,p,d,v,g,m,O,h;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b.a.commonActions.getRegistry();case 2:if(!t.sent.select(y.c).getSiteInfo()){t.next=5;break}return t.abrupt("return");case 5:if(e._googlesitekitBaseData&&e._googlesitekitEntityData){t.next=8;break}return e.console.error("Could not load core/site info."),t.abrupt("return");case 8:return r=e._googlesitekitBaseData,n=r.adminURL,o=r.ampMode,i=r.homeURL,c=r.proxyPermissionsURL,u=r.proxySetupURL,s=r.referenceSiteURL,l=r.siteName,f=r.timezone,p=r.usingProxy,d=r.webStoriesActive,v=e._googlesitekitEntityData,g=v.currentEntityID,m=v.currentEntityTitle,O=v.currentEntityType,h=v.currentEntityURL,t.next=12,R.receiveSiteInfo({adminURL:n,ampMode:o,currentEntityID:g,currentEntityTitle:m,currentEntityType:O,currentEntityURL:h,homeURL:i,proxyPermissionsURL:c,proxySetupURL:u,referenceSiteURL:s,siteName:l,timezone:f,usingProxy:!!p,webStoriesActive:d});case 12:case"end":return t.stop()}}),t)}))},E={getSiteInfo:function(e){return e.siteInfo},getAdminURL:j((function(e){return function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e(y.c).getSiteInfo()||{},a=i.adminURL;if(void 0===a||void 0===r)return a;var c="/"===a[a.length-1]?a:"".concat(a,"/"),u=r,s="admin.php";if(-1!==r.indexOf(".php?")){var l=r.split("?");if(!(u=p.a.parse(l.pop()).page))return a;s=l.shift()}n.page;var f=o()(n,["page"]);return Object(d.a)("".concat(c).concat(s),h({page:u},f))}})),getAMPMode:w("ampMode"),getCurrentEntityID:w("currentEntityID"),getCurrentEntityTitle:w("currentEntityTitle"),getCurrentEntityType:w("currentEntityType"),getCurrentEntityURL:w("currentEntityURL"),getHomeURL:w("homeURL"),getReferenceSiteURL:w("referenceSiteURL"),getProxySetupURL:w("proxySetupURL"),getProxyPermissionsURL:w("proxyPermissionsURL"),getCurrentReferenceURL:j((function(e){return function(){var t=e(y.c).getCurrentEntityURL();return null!==t?t:e(y.c).getReferenceSiteURL()}})),isAMP:j((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return!!t}})),isPrimaryAMP:j((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return t===y.a}})),isSecondaryAMP:j((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return t===y.b}})),getTimezone:w("timezone"),isUsingProxy:w("usingProxy"),getSiteName:w("siteName"),getPermaLinkParam:function(t){if(t.permaLink)return t.permaLink;var r=Object(v.a)(e.location.href,"permaLink");return r||!1},isWebStoriesActive:w("webStoriesActive"),isSiteURLMatch:j((function(e){return function(t,r){var n=e(y.c).getReferenceSiteURL();return Object(m.p)(n)===Object(m.p)(r)}})),getSiteURLPermutations:j((function(e){return function(){var t=e(y.c).getReferenceSiteURL(),r=[],n=new URL(t);return n.hostname=n.hostname.replace(/^www\./i,""),n.protocol="http",r.push(Object(m.w)(n)),n.protocol="https",r.push(Object(m.w)(n)),n.hostname="www."+n.hostname,r.push(Object(m.w)(n)),n.protocol="http",r.push(Object(m.w)(n)),r}}))};t.a={initialState:S,actions:R,controls:{},reducer:function(e,t){var r=t.payload;switch(t.type){case"RECEIVE_SITE_INFO":var n=r.siteInfo,o=n.adminURL,i=n.ampMode,a=n.currentEntityID,c=n.currentEntityTitle,u=n.currentEntityType,s=n.currentEntityURL,l=n.homeURL,f=n.proxyPermissionsURL,p=n.proxySetupURL,d=n.referenceSiteURL,v=n.siteName,g=n.timezone,b=n.usingProxy,y=n.webStoriesActive;return h(h({},e),{},{siteInfo:{adminURL:o,ampMode:i,currentEntityID:parseInt(a,10),currentEntityTitle:c,currentEntityType:u,currentEntityURL:s,homeURL:l,proxyPermissionsURL:f,proxySetupURL:p,referenceSiteURL:d,siteName:v,timezone:g,usingProxy:b,webStoriesActive:y}});case"RECEIVE_PERMALINK_PARAM":var m=r.permaLink;return h(h({},e),{},{permaLink:m});default:return e}},resolvers:P,selectors:E}}).call(this,r(18))},70:function(e,t,r){"use strict";r.d(t,"a",(function(){return k})),r.d(t,"b",(function(){return L})),r.d(t,"c",(function(){return D})),r.d(t,"d",(function(){return x})),r.d(t,"e",(function(){return A})),r.d(t,"g",(function(){return N})),r.d(t,"f",(function(){return I}));var n,o=r(5),i=r.n(o),a=r(23),c=r.n(a),u=r(6),s=r.n(u),l=r(7),f=r.n(l),p=r(198),d=r.n(p),v=r(64),g=r.n(v),b=r(97);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var O=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.reduce((function(e,t){return m(m({},e),t)}),{}),o=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),i=_(o);return f()(0===i.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(i.join(", "),". Check your data stores for duplicates.")),n},h=O,j=O,w=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=[].concat(t);return"function"!=typeof o[0]&&(n=o.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.reduce((function(e,r){return r(e,t)}),e)}},S=O,R=O,P=O,E=function(e){return e},k=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=P.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:n,controls:j.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:h.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:w.apply(void 0,[n].concat(c()(t.map((function(e){return e.reducer||E}))))),resolvers:S.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:R.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},L={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},D=(n={},s()(n,"GET_REGISTRY",Object(b.d)((function(e){return function(){return e}}))),s()(n,"AWAIT",(function(e){return e.payload.value})),n),_=function(e){for(var t=[],r={},n=0;n<e.length;n++){var o=e[n];r[o]=r[o]>=1?r[o]+1:1,r[o]>1&&t.push(o)}return t},x={actions:L,controls:D,reducer:E},A=function(e){return function(t){return U(e(t))}},U=g()((function(e){return d()(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return f()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function N(e){return{safeSelector:Object(b.e)((function(t){return function(r){try{for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return e.apply(void 0,[t,r].concat(o)),!0}catch(e){return!1}}})),dangerousSelector:Object(b.e)((function(t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];e.apply(void 0,[t,r].concat(o))}}))}}function I(e,t){return f()("function"==typeof e,"a validator function is required."),f()("function"==typeof t,"an action creator function is required."),f()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},71:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return o})),r.d(t,"c",(function(){return i}));var n=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},o=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function i(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},77:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return f}));var n=r(12),o=r.n(n),i=r(1);function a(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,r=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),o=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&o)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),r=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===r)return!1;var a=document.createElement("span");a.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(i.sprintf)(
15
  /* translators: %d is the number of notifications */
16
+ Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),a.appendChild(c),a.appendChild(u),t&&null===n&&t.appendChild(a),r&&null===o&&r.appendChild(a),a},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},l=function(e){for(var t=location.search.substr(1).split("&"),r={},n=0;n<t.length;n++)r[t[n].split("=")[0]]=decodeURIComponent(t[n].split("=")[1]);return e?r.hasOwnProperty(e)?decodeURIComponent(r[e].replace(/\+/g," ")):"":r},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,r=new URL(t.href);if(e)return r.searchParams&&r.searchParams.get?r.searchParams.get(e):l(e);var n,i={},c=a(r.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=o()(n.value,2),s=u[0],f=u[1];i[s]=f}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,r(18))},79:function(e,t,r){"use strict";(function(e){r(44),r(45)}).call(this,r(18))},80:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return c}));var n=r(185),o=r(59),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=r.invertColor,a=void 0!==i&&i;return Object(n.a)(e.createElement(o.a,{direction:t>0?"up":"down",invertColor:a}))},a=function(e){var t,r,n,o,i,a,c,u,s,l,f,p,d,v,g;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(r=t.data)||void 0===r||null===(n=r.rows)||void 0===n?void 0:n.length)||(null==e||null===(o=e[0])||void 0===o||null===(i=o.data)||void 0===i||null===(a=i.rows)||void 0===a||null===(c=a[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==e||null===(f=e[0])||void 0===f||null===(p=f.data)||void 0===p||null===(d=p.totals)||void 0===d||null===(v=d[0])||void 0===v||null===(g=v.values)||void 0===g?void 0:g[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,r(3))},81:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return l}));var n=r(6),o=r.n(n),i=r(82),a=r(83);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,o=u(u({},s),t);o.referenceSiteURL&&(o.referenceSiteURL=o.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(o,r);return{enableTracking:function(){o.trackingEnabled=!0},disableTracking:function(){o.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!o.trackingEnabled},trackEvent:Object(a.a)(o,r,c,n)}}}).call(this,r(18))},82:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return i}));var n=r(47),o=r(27);function i(t,r){var i,a=Object(n.a)(r);return function(){var r=e.document;if(void 0===i&&(i=!!r.querySelector("script[".concat(o.b,"]"))),!i){var n=r.createElement("script");n.setAttribute(o.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(o.a),r.head.appendChild(n),a("js",new Date),a("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,r(18))},83:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return d}));var n=r(5),o=r.n(n),i=r(6),a=r.n(i),c=r(14),u=r.n(c),s=r(47),l=r(33);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(t,r,n,i){var a=Object(s.a)(r);return function(){var r=u()(o.a.mark((function r(c,u,s,f){var d,v,g,b,y,m,O,h,j,w;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(b=t.activeModules,y=t.referenceSiteURL,m=t.trackingEnabled,O=t.trackingID,h=t.userIDHash,m){r.next=3;break}return r.abrupt("return");case 3:return n(),j=null!==(d=null===(v=e._googlesitekitUserData)||void 0===v||null===(g=v.user)||void 0===g?void 0:g.roles)&&void 0!==d?d:[],w={send_to:O,event_category:c,event_label:s,value:f,dimension1:y,dimension2:j.join(","),dimension3:h,dimension4:"1.49.1",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},r.abrupt("return",new Promise((function(e){var t,r,n=setTimeout((function(){i.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),o=function(){clearTimeout(n),e()};a("event",u,p(p({},w),{},{event_callback:o})),(null===(t=i._gaUserPrefs)||void 0===t||null===(r=t.ioo)||void 0===r?void 0:r.call(t))&&o()})));case 7:case"end":return r.stop()}}),r)})));return function(e,t,n,o){return r.apply(this,arguments)}}()}}).call(this,r(18))},9:function(e,t,r){"use strict";r.d(t,"v",(function(){return c.b})),r.d(t,"s",(function(){return u.a})),r.d(t,"w",(function(){return u.b})),r.d(t,"u",(function(){return d})),r.d(t,"c",(function(){return v.b})),r.d(t,"j",(function(){return v.c})),r.d(t,"q",(function(){return g.c})),r.d(t,"r",(function(){return g.d})),r.d(t,"n",(function(){return g.b})),r.d(t,"i",(function(){return g.a})),r.d(t,"o",(function(){return O})),r.d(t,"d",(function(){return h})),r.d(t,"f",(function(){return j.c})),r.d(t,"t",(function(){return j.i})),r.d(t,"g",(function(){return w.b})),r.d(t,"m",(function(){return w.c})),r.d(t,"b",(function(){return w.a})),r.d(t,"l",(function(){return S.b})),r.d(t,"h",(function(){return S.a})),r.d(t,"p",(function(){return S.d})),r.d(t,"k",(function(){return R})),r.d(t,"a",(function(){return P})),r.d(t,"x",(function(){return E})),r.d(t,"e",(function(){return k}));var n=r(110),o=r.n(n),i=r(108),a=r.n(i),c=r(30),u=r(60),s=r(28),l=r.n(s),f=r(73),p=r.n(f),d=function(e){return p()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var o=t[n];o&&"object"===l()(o)&&!Array.isArray(o)&&(o=e(o)),r[n]=o})),r}(e)))};var v=r(77),g=(r(79),r(69));r(53);function b(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function y(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function O(e){for(var t=e,r=0,n=[b,y,m];r<n.length;r++){t=(0,n[r])(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)]},j=r(56),w=r(80),S=r(49),R=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},P=function(e,t){if("0"===e||0===e||isNaN(e))return null;var r=(t-e)/e;return isNaN(r)||!o()(r)?null:r},E=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 a()(t)}}},[[1044,1,0]]]);
dist/assets/js/{googlesitekit-datastore-ui-9caf795ae33e0478bd6d.js → googlesitekit-datastore-ui-5854e9bfec15f31d3202.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[13],{1:function(t,e){t.exports=googlesitekit.i18n},1052:function(t,e,r){"use strict";r.r(e);var n=r(4),a=r.n(n),o=r(50),i=r(93),c=r(6),u=r.n(c),s=r(5),l=r.n(s),f=r(7),d=r.n(f),p=r(52),v=r.n(p),g=r(58);function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){u()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var y={resetInViewHook:l.a.mark((function t(){var e,r;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.a.commonActions.getRegistry();case 2:return e=t.sent,r=e.select(g.a).getValue("useInViewResetCount"),t.next=6,y.setValue("useInViewResetCount",r+1);case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}}),t)})),setValues:function(t){return d()(v()(t),"values must be an object."),{payload:{values:t},type:"SET_VALUES"}},setValue:function(t,e){return d()(t,"key is required."),{payload:{key:t,value:e},type:"SET_VALUE"}}},m={initialState:{useInViewResetCount:0},actions:y,controls:{},reducer:function(t,e){var r=e.type,n=e.payload;switch(r){case"SET_VALUES":var a=n.values;return h(h({},t),a);case"SET_VALUE":var o=n.key,i=n.value;return h(h({},t),{},u()({},o,i));default:return t}},resolvers:{},selectors:{getValue:function(t,e){return t[e]},getInViewResetHook:function(t){return t.useInViewResetCount}}},O=a.a.combineStores(a.a.commonStore,m,Object(i.a)(g.a),Object(o.b)());O.initialState,O.actions,O.controls,O.reducer,O.resolvers,O.selectors;a.a.registerStore(g.a,O)},27:function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return a}));var n="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},30:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return g})),r.d(e,"b",(function(){return v}));var n=r(81),a=t._googlesitekitBaseData||{},o=a.activeModules,i=void 0===o?[]:o,c=a.isSiteKitScreen,u=a.trackingEnabled,s={activeModules:i,trackingEnabled:u,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},l=Object(n.a)(s),f=l.enableTracking,d=l.disableTracking,p=(l.isTrackingEnabled,l.initializeSnippet),v=l.trackEvent;function g(t){t?f():d()}c&&u&&p()}).call(this,r(18))},33:function(t,e,r){"use strict";(function(t){var n,a;r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return i}));var o=new Set((null===(n=t)||void 0===n||null===(a=n._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return e instanceof Set&&e.has(t)}}).call(this,r(18))},37:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(t){return t instanceof Date&&!isNaN(t)}},38:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(37),a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="string"==typeof t;if(!e)return!1;var r=t.split("-");return 3===r.length&&Object(n.a)(new Date(t))}},39:function(t,e,r){"use strict";(function(t){r.d(e,"b",(function(){return b})),r.d(e,"d",(function(){return h})),r.d(e,"a",(function(){return y})),r.d(e,"c",(function(){return m}));var n=r(5),a=r.n(n),o=r(14),i=r.n(o);r(23);function c(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}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 o,i=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){c=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw o}}}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var s,l="googlesitekit_".concat("1.49.0","_"),f=["sessionStorage","localStorage"],d=[].concat(f),p=function(){var e=i()(a.a.mark((function e(r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t[r]){e.next=3;break}return e.abrupt("return",!1);case 3:return e.prev=3,o="__storage_test__",n.setItem(o,o),n.removeItem(o),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",e.t0 instanceof DOMException&&(22===e.t0.code||1014===e.t0.code||"QuotaExceededError"===e.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.t0.name)&&0!==n.length);case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}();function v(){return g.apply(this,arguments)}function g(){return(g=i()(a.a.mark((function e(){var r,n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===s){e.next=2;break}return e.abrupt("return",s);case 2:r=c(d),e.prev=3,r.s();case 5:if((n=r.n()).done){e.next=15;break}if(o=n.value,!s){e.next=9;break}return e.abrupt("continue",13);case 9:return e.next=11,p(o);case 11:if(!e.sent){e.next=13;break}s=t[o];case 13:e.next=5;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(3),r.e(e.t0);case 20:return e.prev=20,r.f(),e.finish(20);case 23:return void 0===s&&(s=null),e.abrupt("return",s);case 25:case"end":return e.stop()}}),e,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var t=i()(a.a.mark((function t(e){var r,n,o,i,c,u,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:if(!(r=t.sent)){t.next=10;break}if(!(n=r.getItem("".concat(l).concat(e)))){t.next=10;break}if(o=JSON.parse(n),i=o.timestamp,c=o.ttl,u=o.value,s=o.isError,!i||c&&!(Math.round(Date.now()/1e3)-i<c)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),h=function(){var e=i()(a.a.mark((function e(r,n){var o,i,c,u,s,f,d,p,g=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=g.length>2&&void 0!==g[2]?g[2]:{},i=o.ttl,c=void 0===i?3600:i,u=o.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=o.isError,d=void 0!==f&&f,e.next=3,v();case 3:if(!(p=e.sent)){e.next=14;break}return e.prev=5,p.setItem("".concat(l).concat(r),JSON.stringify({timestamp:s,ttl:c,value:n,isError:d})),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(5),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e,null,[[5,10]])})));return function(t,r){return e.apply(this,arguments)}}(),y=function(){var e=i()(a.a.mark((function e(r){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:if(!(n=e.sent)){e.next=13;break}return e.prev=4,n.removeItem("".concat(l).concat(r)),e.abrupt("return",!0);case 9:return e.prev=9,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[4,9]])})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=i()(a.a.mark((function e(){var r,n,o,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:if(!(r=e.sent)){e.next=14;break}for(e.prev=4,n=[],o=0;o<r.length;o++)0===(i=r.key(o)).indexOf(l)&&n.push(i.substring(l.length));return e.abrupt("return",n);case 10:return e.prev=10,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",[]);case 14:return e.abrupt("return",[]);case 15:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(){return e.apply(this,arguments)}}()}).call(this,r(18))},4:function(t,e){t.exports=googlesitekit.data},47:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(27);function a(t){return function(){t[n.a]=t[n.a]||[],t[n.a].push(arguments)}}},49:function(t,e,r){"use strict";r.d(e,"b",(function(){return a})),r.d(e,"a",(function(){return o})),r.d(e,"d",(function(){return i})),r.d(e,"c",(function(){return c})),r.d(e,"e",(function(){return u}));var n=r(105);function a(t){try{return new URL(t).pathname}catch(t){}return null}function o(t,e){try{return new URL(e,t).href}catch(t){}return("string"==typeof t?t:"")+("string"==typeof e?e:"")}function i(t){return"string"!=typeof t?t:t.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(t){return/^#\w[A-Za-z0-9-_]*$/.test(t)}function u(t,e){if(!Object(n.a)(t))return t;if(t.length<=e)return t;var r=new URL(t),a=t.replace(r.origin,"");if(a.length<e)return a;var o=a.length-Math.floor(e)+1;return"…"+a.substr(o)}},50:function(t,e,r){"use strict";r.d(e,"a",(function(){return g})),r.d(e,"b",(function(){return b}));var n=r(6),a=r.n(n),o=r(28),i=r.n(o),c=r(7),u=r.n(c),s=r(73),l=r.n(s),f=r(9);function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){a()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function v(t,e){if(e&&Array.isArray(e)){var r=e.map((function(t){return"object"===i()(t)?Object(f.u)(t):t}));return"".concat(t,"::").concat(l()(JSON.stringify(r)))}return t}var g={receiveError:function(t,e,r){return u()(t,"error is required."),e&&u()(r&&Array.isArray(r),"args is required (and must be an array) when baseName is specified."),{type:"RECEIVE_ERROR",payload:{error:t,baseName:e,args:r}}},clearError:function(t,e){return t&&u()(e&&Array.isArray(e),"args is required (and must be an array) when baseName is specified."),{type:"CLEAR_ERROR",payload:{baseName:t,args:e}}},clearErrors:function(t){return{type:"CLEAR_ERRORS",payload:{baseName:t}}}};function b(){var t={getErrorForSelector:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"selectorName is required."),t.getError(e,r,n)},getErrorForAction:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"actionName is required."),t.getError(e,r,n)},getError:function(t,e,r){var n=t.error,a=t.errors;return e||r?(u()(e,"baseName is required."),a[v(e,r)]):n},getErrors:function(t){var e=new Set(Object.values(t.errors));return void 0!==t.error&&e.add(t.error),Array.from(e)},hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},error:void 0},actions:g,controls:{},reducer:function(t,e){var r=e.type,n=e.payload;switch(r){case"RECEIVE_ERROR":var o=n.baseName,i=n.args,c=n.error;return p(p({},t),{},o?{errors:p(p({},t.errors||{}),{},a()({},v(o,i),c))}:{error:c});case"CLEAR_ERROR":var u=n.baseName,s=n.args,l=p({},t);if(u){var f=v(u,s);l.errors=p({},t.errors||{}),delete l.errors[f]}else l.error=void 0;return l;case"CLEAR_ERRORS":var d=n.baseName,g=p({},t);if(d)for(var b in g.errors=p({},t.errors||{}),g.errors)(b===d||b.startsWith("".concat(d,"::")))&&delete g.errors[b];else g.errors={},g.error=void 0;return g;default:return t}},resolvers:{},selectors:t}}},53:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(2),a=function(t){return function(e){return function FilteredComponent(r){return Object(n.createElement)(n.Fragment,{},"",Object(n.createElement)(e,r),t)}}}},56:function(t,e,r){"use strict";r.d(e,"a",(function(){return a})),r.d(e,"b",(function(){return n})),r.d(e,"e",(function(){return u})),r.d(e,"f",(function(){return p})),r.d(e,"g",(function(){return v})),r.d(e,"h",(function(){return f.a})),r.d(e,"d",(function(){return g})),r.d(e,"c",(function(){return h})),r.d(e,"i",(function(){return d}));var n="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',o=r(7),i=r.n(o),c=r(37),u=function(t){var e=new Date(t);i()(Object(c.a)(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var r="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),r.length<2?"0".concat(r):r,n.length<2?"0".concat(n):n].join("-")},s=r(12),l=r.n(s),f=r(38),d=function(t){i()(Object(f.a)(t),n);var e=t.split("-"),r=l()(e,3),a=r[0],o=r[1],c=r[2];return new Date(a,o-1,c)},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,r=d(t);return r.setDate(r.getDate()-e),u(r)},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.split("-");return 3===e.length&&"last"===e[0]&&!Number.isNaN(e[1])&&!Number.isNaN(parseFloat(e[1]))&&"days"===e[2]};function g(t){var e=t.match(/last-(\d+)-days/);if(e&&e[1])return parseInt(e[1],10);throw new Error("Unrecognized date range slug.")}var b=r(1);function h(){var t=function(t){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._n)("Last %s day","Last %s days",t,"google-site-kit"),t)};return{"last-7-days":{slug:"last-7-days",label:t(7),days:7},"last-14-days":{slug:"last-14-days",label:t(14),days:14},"last-28-days":{slug:"last-28-days",label:t(28),days:28},"last-90-days":{slug:"last-90-days",label:t(90),days:90}}}},58:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n="core/ui"},59:function(t,e,r){"use strict";(function(t){var n=r(0),a=r.n(n),o=r(10),i=r.n(o);function ChangeArrow(e){var r=e.direction,n=e.invertColor,a=e.width,o=e.height;return t.createElement("svg",{className:i()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),width:a,height:o,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},e.a=ChangeArrow}).call(this,r(3))},60:function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return c}));var n=r(28),a=r.n(n),o=r(66),i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:o.a.sanitize(t,e)}};function c(t){var e,r="object"===a()(t)?t.toString():t;return null==r||null===(e=r.replace)||void 0===e?void 0:e.call(r,/\/+$/,"")}},66:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return a}));var n=r(111),a=r.n(n)()(t)}).call(this,r(18))},69:function(t,e,r){"use strict";(function(t){r.d(e,"c",(function(){return w})),r.d(e,"d",(function(){return S})),r.d(e,"b",(function(){return E})),r.d(e,"a",(function(){return k}));var n=r(12),a=r.n(n),o=r(28),i=r.n(o),c=r(6),u=r.n(c),s=r(17),l=r.n(s),f=r(26),d=r(64),p=r.n(d),v=r(1);function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach((function(e){u()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=y(t,e),n=r.formatUnit,a=r.formatDecimal;try{return n()}catch(t){return a()}},y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=parseInt(t,10),Number.isNaN(t)&&(t=0);var r=Math.floor(t/60/60),n=Math.floor(t/60%60),a=Math.floor(t%60);return{hours:r,minutes:n,seconds:a,formatUnit:function(){var o=e.unitDisplay,i=b(b({unitDisplay:void 0===o?"short":o},l()(e,["unitDisplay"])),{},{style:"unit"});return 0===t?S(a,b(b({},i),{},{unit:"second"})):Object(v.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
@@ -13,4 +13,4 @@ Object(v.__)("%sK","google-site-kit"),S(m(t))):1e3<=t?Object(v.sprintf)(// trans
13
  Object(v.__)("%sK","google-site-kit"),S(m(t),t%10==0?{}:e)):S(t,{signDisplay:"never",maximumFractionDigits:1})},w=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object(f.isFinite)(t)?t:Number(t),Object(f.isFinite)(t)||(console.warn("Invalid number",t,i()(t)),t=0);var r={};if("%"===e)r={style:"percent",maximumFractionDigits:2};else{if("s"===e)return h(t,{unitDisplay:"narrow"});e&&"string"==typeof e?r={style:"currency",currency:e}:Object(f.isPlainObject)(e)&&(r=b({},e))}var n=r,a=n.style,o=void 0===a?"metric":a;return"metric"===o?O(t):"duration"===o?h(t,e):S(t,r)},j=p()(console.warn),S=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.locale,n=void 0===r?k():r,o=l()(e,["locale"]);try{return new Intl.NumberFormat(n,o).format(t)}catch(e){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(o)," ).format( ").concat(i()(t)," )"),e.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(o);f<d.length;f++){var p=a()(d[f],2),v=p[0],g=p[1];c[v]&&g===c[v]||(u.includes(v)||(s[v]=g))}try{return new Intl.NumberFormat(n,s).format(t)}catch(e){return new Intl.NumberFormat(n).format(t)}},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.locale,n=void 0===r?k():r,a=e.style,o=void 0===a?"long":a,i=e.type,c=void 0===i?"conjunction":i;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:o,type:c});return u.format(t)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(v.__)(", ","google-site-kit");return t.join(s)},k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,r=Object(f.get)(e,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return e.navigator.language}}).call(this,r(18))},77:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return s})),r.d(e,"c",(function(){return f}));var n=r(12),a=r.n(n),o=r(1);function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}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 o,i=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){u=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw o}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=null,r=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&a)return!1;if(e=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),r=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===e&&null===r)return!1;var i=document.createElement("span");i.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(t));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=t;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(o.sprintf)(
15
  /* translators: %d is the number of notifications */
16
- Object(o._n)("%d notification","%d notifications",t,"google-site-kit"),t),i.appendChild(c),i.appendChild(u),e&&null===n&&e.appendChild(i),r&&null===a&&r.appendChild(i),i},s=function(){t.localStorage&&t.localStorage.clear(),t.sessionStorage&&t.sessionStorage.clear()},l=function(t){for(var e=location.search.substr(1).split("&"),r={},n=0;n<e.length;n++)r[e[n].split("=")[0]]=decodeURIComponent(e[n].split("=")[1]);return t?r.hasOwnProperty(t)?decodeURIComponent(r[t].replace(/\+/g," ")):"":r},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,r=new URL(e.href);if(t)return r.searchParams&&r.searchParams.get?r.searchParams.get(t):l(t);var n,o={},c=i(r.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=a()(n.value,2),s=u[0],f=u[1];o[s]=f}}catch(t){c.e(t)}finally{c.f()}return o}}).call(this,r(18))},79:function(t,e,r){"use strict";(function(t){r(44),r(45)}).call(this,r(18))},80:function(t,e,r){"use strict";(function(t){r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return i})),r.d(e,"a",(function(){return c}));var n=r(185),a=r(59),o=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(e)))return"";var o=r.invertColor,i=void 0!==o&&o;return Object(n.a)(t.createElement(a.a,{direction:e>0?"up":"down",invertColor:i}))},i=function(t){var e,r,n,a,o,i,c,u,s,l,f,d,p,v,g;if(void 0!==t)return 1===(null==t||null===(e=t[0])||void 0===e||null===(r=e.data)||void 0===r||null===(n=r.rows)||void 0===n?void 0:n.length)||(null==t||null===(a=t[0])||void 0===a||null===(o=a.data)||void 0===o||null===(i=o.rows)||void 0===i||null===(c=i[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==t||null===(f=t[0])||void 0===f||null===(d=f.data)||void 0===d||null===(p=d.totals)||void 0===p||null===(v=p[0])||void 0===v||null===(g=v.values)||void 0===g?void 0:g[0])},c=function(t,e){return t>0&&e>0?t/e-1:t>0?1:e>0?-1:0}}).call(this,r(3))},81:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return l}));var n=r(6),a=r.n(n),o=r(82),i=r(83);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){a()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,a=u(u({},s),e);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(o.a)(a,r);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(i.a)(a,r,c,n)}}}).call(this,r(18))},82:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return o}));var n=r(47),a=r(27);function o(e,r){var o,i=Object(n.a)(r);return function(){var r=t.document;if(void 0===o&&(o=!!r.querySelector("script[".concat(a.b,"]"))),!o){var n=r.createElement("script");n.setAttribute(a.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(e.trackingID,"&l=").concat(a.a),r.head.appendChild(n),i("js",new Date),i("config",e.trackingID,{send_page_view:e.isSiteKitScreen}),o=!0}}}}).call(this,r(18))},83:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return p}));var n=r(5),a=r.n(n),o=r(6),i=r.n(o),c=r(14),u=r.n(c),s=r(47),l=r(33);function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){i()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function p(e,r,n,o){var i=Object(s.a)(r);return function(){var r=u()(a.a.mark((function r(c,u,s,f){var p,v,g,b,h,y,m,O,w,j;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(b=e.activeModules,h=e.referenceSiteURL,y=e.trackingEnabled,m=e.trackingID,O=e.userIDHash,y){r.next=3;break}return r.abrupt("return");case 3:return n(),w=null!==(p=null===(v=t._googlesitekitUserData)||void 0===v||null===(g=v.user)||void 0===g?void 0:g.roles)&&void 0!==p?p:[],j={send_to:m,event_category:c,event_label:s,value:f,dimension1:h,dimension2:w.join(","),dimension3:O,dimension4:"1.49.0",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},r.abrupt("return",new Promise((function(t){var e,r,n=setTimeout((function(){o.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),t()}),1e3),a=function(){clearTimeout(n),t()};i("event",u,d(d({},j),{},{event_callback:a})),(null===(e=o._gaUserPrefs)||void 0===e||null===(r=e.ioo)||void 0===r?void 0:r.call(e))&&a()})));case 7:case"end":return r.stop()}}),r)})));return function(t,e,n,a){return r.apply(this,arguments)}}()}}).call(this,r(18))},9:function(t,e,r){"use strict";r.d(e,"v",(function(){return c.b})),r.d(e,"s",(function(){return u.a})),r.d(e,"w",(function(){return u.b})),r.d(e,"u",(function(){return p})),r.d(e,"c",(function(){return v.b})),r.d(e,"j",(function(){return v.c})),r.d(e,"q",(function(){return g.c})),r.d(e,"r",(function(){return g.d})),r.d(e,"n",(function(){return g.b})),r.d(e,"i",(function(){return g.a})),r.d(e,"o",(function(){return m})),r.d(e,"d",(function(){return O})),r.d(e,"f",(function(){return w.c})),r.d(e,"t",(function(){return w.i})),r.d(e,"g",(function(){return j.b})),r.d(e,"m",(function(){return j.c})),r.d(e,"b",(function(){return j.a})),r.d(e,"l",(function(){return S.b})),r.d(e,"h",(function(){return S.a})),r.d(e,"p",(function(){return S.d})),r.d(e,"k",(function(){return E})),r.d(e,"a",(function(){return k})),r.d(e,"x",(function(){return _})),r.d(e,"e",(function(){return D}));var n=r(110),a=r.n(n),o=r(108),i=r.n(o),c=r(30),u=r(60),s=r(28),l=r.n(s),f=r(73),d=r.n(f),p=function(t){return d()(JSON.stringify(function t(e){var r={};return Object.keys(e).sort().forEach((function(n){var a=e[n];a&&"object"===l()(a)&&!Array.isArray(a)&&(a=t(a)),r[n]=a})),r}(t)))};var v=r(77),g=(r(79),r(69));r(53);function b(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function h(t){return"<p>".concat(t.replace(/\n{2,}/g,"</p><p>"),"</p>")}function y(t){return t.replace(/\n/gi,"<br>")}function m(t){for(var e=t,r=0,n=[b,h,y];r<n.length;r++){e=(0,n[r])(e)}return e}var O=function(t){return t=parseFloat(t),isNaN(t)||0===t?[0,0,0,0]:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60),Math.floor(1e3*t)-1e3*Math.floor(t)]},w=r(56),j=r(80),S=r(49),E=function(t){switch(t){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},k=function(t,e){if("0"===t||0===t||isNaN(t))return null;var r=(e-t)/t;return isNaN(r)||!a()(r)?null:r},_=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},D=function(t){if(!t)return"";var e=t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/(\\)/g,"");return i()(e)}},93:function(t,e,r){"use strict";r.d(e,"a",(function(){return g})),r.d(e,"c",(function(){return h})),r.d(e,"b",(function(){return y}));var n=r(17),a=r.n(n),o=r(6),i=r.n(o),c=r(5),u=r.n(c),s=r(7),l=r.n(s),f=r(4),d=r.n(f),p=r(39),v=d.a.createRegistryControl,g=function(t){var e;l()(t,"storeName is required to create a snapshot store.");var r={},n={deleteSnapshot:u.a.mark((function t(){var e;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}}),t)})),restoreSnapshot:u.a.mark((function t(){var e,r,n,a,o,i,c=arguments;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=c.length>0&&void 0!==c[0]?c[0]:{},r=e.clearAfterRestore,n=void 0===r||r,t.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(a=t.sent,o=a.cacheHit,i=a.value,!o){t.next=13;break}return t.next=10,{payload:{snapshot:i},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!n){t.next=13;break}return t.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return t.abrupt("return",o);case 14:case"end":return t.stop()}}),t)})),createSnapshot:u.a.mark((function t(){var e;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}}),t)}))},o=(e={},i()(e,"DELETE_SNAPSHOT",(function(){return Object(p.a)("datastore::cache::".concat(t))})),i()(e,"CREATE_SNAPSHOT",v((function(e){return function(){return Object(p.d)("datastore::cache::".concat(t),e.stores[t].store.getState())}}))),i()(e,"RESTORE_SNAPSHOT",(function(){return Object(p.b)("datastore::cache::".concat(t),3600)})),e);return{initialState:r,actions:n,controls:o,reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,e=arguments.length>1?arguments[1]:void 0,n=e.type,o=e.payload;switch(n){case"SET_STATE_FROM_SNAPSHOT":var i=o.snapshot,c=(i.error,a()(i,["error"]));return c;default:return t}}}},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Object.values(t.stores).filter((function(t){return Object.keys(t.getActions()).includes("restoreSnapshot")}))},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().createSnapshot()})))},y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().restoreSnapshot()})))}}},[[1052,1,0]]]);
1
+ (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[13],{1:function(t,e){t.exports=googlesitekit.i18n},1052:function(t,e,r){"use strict";r.r(e);var n=r(4),a=r.n(n),o=r(50),i=r(93),c=r(6),u=r.n(c),s=r(5),l=r.n(s),f=r(7),d=r.n(f),p=r(52),v=r.n(p),g=r(58);function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){u()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var y={resetInViewHook:l.a.mark((function t(){var e,r;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.a.commonActions.getRegistry();case 2:return e=t.sent,r=e.select(g.a).getValue("useInViewResetCount"),t.next=6,y.setValue("useInViewResetCount",r+1);case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}}),t)})),setValues:function(t){return d()(v()(t),"values must be an object."),{payload:{values:t},type:"SET_VALUES"}},setValue:function(t,e){return d()(t,"key is required."),{payload:{key:t,value:e},type:"SET_VALUE"}}},m={initialState:{useInViewResetCount:0},actions:y,controls:{},reducer:function(t,e){var r=e.type,n=e.payload;switch(r){case"SET_VALUES":var a=n.values;return h(h({},t),a);case"SET_VALUE":var o=n.key,i=n.value;return h(h({},t),{},u()({},o,i));default:return t}},resolvers:{},selectors:{getValue:function(t,e){return t[e]},getInViewResetHook:function(t){return t.useInViewResetCount}}},O=a.a.combineStores(a.a.commonStore,m,Object(i.a)(g.a),Object(o.b)());O.initialState,O.actions,O.controls,O.reducer,O.resolvers,O.selectors;a.a.registerStore(g.a,O)},27:function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return a}));var n="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},30:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return g})),r.d(e,"b",(function(){return v}));var n=r(81),a=t._googlesitekitBaseData||{},o=a.activeModules,i=void 0===o?[]:o,c=a.isSiteKitScreen,u=a.trackingEnabled,s={activeModules:i,trackingEnabled:u,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},l=Object(n.a)(s),f=l.enableTracking,d=l.disableTracking,p=(l.isTrackingEnabled,l.initializeSnippet),v=l.trackEvent;function g(t){t?f():d()}c&&u&&p()}).call(this,r(18))},33:function(t,e,r){"use strict";(function(t){var n,a;r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return i}));var o=new Set((null===(n=t)||void 0===n||null===(a=n._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return e instanceof Set&&e.has(t)}}).call(this,r(18))},37:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(t){return t instanceof Date&&!isNaN(t)}},38:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(37),a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="string"==typeof t;if(!e)return!1;var r=t.split("-");return 3===r.length&&Object(n.a)(new Date(t))}},39:function(t,e,r){"use strict";(function(t){r.d(e,"b",(function(){return b})),r.d(e,"d",(function(){return h})),r.d(e,"a",(function(){return y})),r.d(e,"c",(function(){return m}));var n=r(5),a=r.n(n),o=r(14),i=r.n(o);r(23);function c(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}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 o,i=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){c=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw o}}}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var s,l="googlesitekit_".concat("1.49.1","_"),f=["sessionStorage","localStorage"],d=[].concat(f),p=function(){var e=i()(a.a.mark((function e(r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t[r]){e.next=3;break}return e.abrupt("return",!1);case 3:return e.prev=3,o="__storage_test__",n.setItem(o,o),n.removeItem(o),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",e.t0 instanceof DOMException&&(22===e.t0.code||1014===e.t0.code||"QuotaExceededError"===e.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.t0.name)&&0!==n.length);case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}();function v(){return g.apply(this,arguments)}function g(){return(g=i()(a.a.mark((function e(){var r,n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===s){e.next=2;break}return e.abrupt("return",s);case 2:r=c(d),e.prev=3,r.s();case 5:if((n=r.n()).done){e.next=15;break}if(o=n.value,!s){e.next=9;break}return e.abrupt("continue",13);case 9:return e.next=11,p(o);case 11:if(!e.sent){e.next=13;break}s=t[o];case 13:e.next=5;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(3),r.e(e.t0);case 20:return e.prev=20,r.f(),e.finish(20);case 23:return void 0===s&&(s=null),e.abrupt("return",s);case 25:case"end":return e.stop()}}),e,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var t=i()(a.a.mark((function t(e){var r,n,o,i,c,u,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:if(!(r=t.sent)){t.next=10;break}if(!(n=r.getItem("".concat(l).concat(e)))){t.next=10;break}if(o=JSON.parse(n),i=o.timestamp,c=o.ttl,u=o.value,s=o.isError,!i||c&&!(Math.round(Date.now()/1e3)-i<c)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),h=function(){var e=i()(a.a.mark((function e(r,n){var o,i,c,u,s,f,d,p,g=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=g.length>2&&void 0!==g[2]?g[2]:{},i=o.ttl,c=void 0===i?3600:i,u=o.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=o.isError,d=void 0!==f&&f,e.next=3,v();case 3:if(!(p=e.sent)){e.next=14;break}return e.prev=5,p.setItem("".concat(l).concat(r),JSON.stringify({timestamp:s,ttl:c,value:n,isError:d})),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(5),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e,null,[[5,10]])})));return function(t,r){return e.apply(this,arguments)}}(),y=function(){var e=i()(a.a.mark((function e(r){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:if(!(n=e.sent)){e.next=13;break}return e.prev=4,n.removeItem("".concat(l).concat(r)),e.abrupt("return",!0);case 9:return e.prev=9,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[4,9]])})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=i()(a.a.mark((function e(){var r,n,o,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:if(!(r=e.sent)){e.next=14;break}for(e.prev=4,n=[],o=0;o<r.length;o++)0===(i=r.key(o)).indexOf(l)&&n.push(i.substring(l.length));return e.abrupt("return",n);case 10:return e.prev=10,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",[]);case 14:return e.abrupt("return",[]);case 15:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(){return e.apply(this,arguments)}}()}).call(this,r(18))},4:function(t,e){t.exports=googlesitekit.data},47:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(27);function a(t){return function(){t[n.a]=t[n.a]||[],t[n.a].push(arguments)}}},49:function(t,e,r){"use strict";r.d(e,"b",(function(){return a})),r.d(e,"a",(function(){return o})),r.d(e,"d",(function(){return i})),r.d(e,"c",(function(){return c})),r.d(e,"e",(function(){return u}));var n=r(105);function a(t){try{return new URL(t).pathname}catch(t){}return null}function o(t,e){try{return new URL(e,t).href}catch(t){}return("string"==typeof t?t:"")+("string"==typeof e?e:"")}function i(t){return"string"!=typeof t?t:t.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(t){return/^#\w[A-Za-z0-9-_]*$/.test(t)}function u(t,e){if(!Object(n.a)(t))return t;if(t.length<=e)return t;var r=new URL(t),a=t.replace(r.origin,"");if(a.length<e)return a;var o=a.length-Math.floor(e)+1;return"…"+a.substr(o)}},50:function(t,e,r){"use strict";r.d(e,"a",(function(){return g})),r.d(e,"b",(function(){return b}));var n=r(6),a=r.n(n),o=r(28),i=r.n(o),c=r(7),u=r.n(c),s=r(73),l=r.n(s),f=r(9);function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){a()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function v(t,e){if(e&&Array.isArray(e)){var r=e.map((function(t){return"object"===i()(t)?Object(f.u)(t):t}));return"".concat(t,"::").concat(l()(JSON.stringify(r)))}return t}var g={receiveError:function(t,e,r){return u()(t,"error is required."),e&&u()(r&&Array.isArray(r),"args is required (and must be an array) when baseName is specified."),{type:"RECEIVE_ERROR",payload:{error:t,baseName:e,args:r}}},clearError:function(t,e){return t&&u()(e&&Array.isArray(e),"args is required (and must be an array) when baseName is specified."),{type:"CLEAR_ERROR",payload:{baseName:t,args:e}}},clearErrors:function(t){return{type:"CLEAR_ERRORS",payload:{baseName:t}}}};function b(){var t={getErrorForSelector:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"selectorName is required."),t.getError(e,r,n)},getErrorForAction:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"actionName is required."),t.getError(e,r,n)},getError:function(t,e,r){var n=t.error,a=t.errors;return e||r?(u()(e,"baseName is required."),a[v(e,r)]):n},getErrors:function(t){var e=new Set(Object.values(t.errors));return void 0!==t.error&&e.add(t.error),Array.from(e)},hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},error:void 0},actions:g,controls:{},reducer:function(t,e){var r=e.type,n=e.payload;switch(r){case"RECEIVE_ERROR":var o=n.baseName,i=n.args,c=n.error;return p(p({},t),{},o?{errors:p(p({},t.errors||{}),{},a()({},v(o,i),c))}:{error:c});case"CLEAR_ERROR":var u=n.baseName,s=n.args,l=p({},t);if(u){var f=v(u,s);l.errors=p({},t.errors||{}),delete l.errors[f]}else l.error=void 0;return l;case"CLEAR_ERRORS":var d=n.baseName,g=p({},t);if(d)for(var b in g.errors=p({},t.errors||{}),g.errors)(b===d||b.startsWith("".concat(d,"::")))&&delete g.errors[b];else g.errors={},g.error=void 0;return g;default:return t}},resolvers:{},selectors:t}}},53:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(2),a=function(t){return function(e){return function FilteredComponent(r){return Object(n.createElement)(n.Fragment,{},"",Object(n.createElement)(e,r),t)}}}},56:function(t,e,r){"use strict";r.d(e,"a",(function(){return a})),r.d(e,"b",(function(){return n})),r.d(e,"e",(function(){return u})),r.d(e,"f",(function(){return p})),r.d(e,"g",(function(){return v})),r.d(e,"h",(function(){return f.a})),r.d(e,"d",(function(){return g})),r.d(e,"c",(function(){return h})),r.d(e,"i",(function(){return d}));var n="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',o=r(7),i=r.n(o),c=r(37),u=function(t){var e=new Date(t);i()(Object(c.a)(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var r="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),r.length<2?"0".concat(r):r,n.length<2?"0".concat(n):n].join("-")},s=r(12),l=r.n(s),f=r(38),d=function(t){i()(Object(f.a)(t),n);var e=t.split("-"),r=l()(e,3),a=r[0],o=r[1],c=r[2];return new Date(a,o-1,c)},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,r=d(t);return r.setDate(r.getDate()-e),u(r)},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.split("-");return 3===e.length&&"last"===e[0]&&!Number.isNaN(e[1])&&!Number.isNaN(parseFloat(e[1]))&&"days"===e[2]};function g(t){var e=t.match(/last-(\d+)-days/);if(e&&e[1])return parseInt(e[1],10);throw new Error("Unrecognized date range slug.")}var b=r(1);function h(){var t=function(t){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._n)("Last %s day","Last %s days",t,"google-site-kit"),t)};return{"last-7-days":{slug:"last-7-days",label:t(7),days:7},"last-14-days":{slug:"last-14-days",label:t(14),days:14},"last-28-days":{slug:"last-28-days",label:t(28),days:28},"last-90-days":{slug:"last-90-days",label:t(90),days:90}}}},58:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n="core/ui"},59:function(t,e,r){"use strict";(function(t){var n=r(0),a=r.n(n),o=r(10),i=r.n(o);function ChangeArrow(e){var r=e.direction,n=e.invertColor,a=e.width,o=e.height;return t.createElement("svg",{className:i()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),width:a,height:o,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},e.a=ChangeArrow}).call(this,r(3))},60:function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return c}));var n=r(28),a=r.n(n),o=r(66),i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:o.a.sanitize(t,e)}};function c(t){var e,r="object"===a()(t)?t.toString():t;return null==r||null===(e=r.replace)||void 0===e?void 0:e.call(r,/\/+$/,"")}},66:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return a}));var n=r(111),a=r.n(n)()(t)}).call(this,r(18))},69:function(t,e,r){"use strict";(function(t){r.d(e,"c",(function(){return w})),r.d(e,"d",(function(){return S})),r.d(e,"b",(function(){return E})),r.d(e,"a",(function(){return k}));var n=r(12),a=r.n(n),o=r(28),i=r.n(o),c=r(6),u=r.n(c),s=r(17),l=r.n(s),f=r(26),d=r(64),p=r.n(d),v=r(1);function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach((function(e){u()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=y(t,e),n=r.formatUnit,a=r.formatDecimal;try{return n()}catch(t){return a()}},y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=parseInt(t,10),Number.isNaN(t)&&(t=0);var r=Math.floor(t/60/60),n=Math.floor(t/60%60),a=Math.floor(t%60);return{hours:r,minutes:n,seconds:a,formatUnit:function(){var o=e.unitDisplay,i=b(b({unitDisplay:void 0===o?"short":o},l()(e,["unitDisplay"])),{},{style:"unit"});return 0===t?S(a,b(b({},i),{},{unit:"second"})):Object(v.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
13
  Object(v.__)("%sK","google-site-kit"),S(m(t),t%10==0?{}:e)):S(t,{signDisplay:"never",maximumFractionDigits:1})},w=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object(f.isFinite)(t)?t:Number(t),Object(f.isFinite)(t)||(console.warn("Invalid number",t,i()(t)),t=0);var r={};if("%"===e)r={style:"percent",maximumFractionDigits:2};else{if("s"===e)return h(t,{unitDisplay:"narrow"});e&&"string"==typeof e?r={style:"currency",currency:e}:Object(f.isPlainObject)(e)&&(r=b({},e))}var n=r,a=n.style,o=void 0===a?"metric":a;return"metric"===o?O(t):"duration"===o?h(t,e):S(t,r)},j=p()(console.warn),S=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.locale,n=void 0===r?k():r,o=l()(e,["locale"]);try{return new Intl.NumberFormat(n,o).format(t)}catch(e){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(o)," ).format( ").concat(i()(t)," )"),e.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(o);f<d.length;f++){var p=a()(d[f],2),v=p[0],g=p[1];c[v]&&g===c[v]||(u.includes(v)||(s[v]=g))}try{return new Intl.NumberFormat(n,s).format(t)}catch(e){return new Intl.NumberFormat(n).format(t)}},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.locale,n=void 0===r?k():r,a=e.style,o=void 0===a?"long":a,i=e.type,c=void 0===i?"conjunction":i;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:o,type:c});return u.format(t)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(v.__)(", ","google-site-kit");return t.join(s)},k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,r=Object(f.get)(e,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return e.navigator.language}}).call(this,r(18))},77:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return s})),r.d(e,"c",(function(){return f}));var n=r(12),a=r.n(n),o=r(1);function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}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 o,i=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){u=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw o}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=null,r=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&a)return!1;if(e=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),r=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===e&&null===r)return!1;var i=document.createElement("span");i.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(t));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=t;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(o.sprintf)(
15
  /* translators: %d is the number of notifications */
16
+ Object(o._n)("%d notification","%d notifications",t,"google-site-kit"),t),i.appendChild(c),i.appendChild(u),e&&null===n&&e.appendChild(i),r&&null===a&&r.appendChild(i),i},s=function(){t.localStorage&&t.localStorage.clear(),t.sessionStorage&&t.sessionStorage.clear()},l=function(t){for(var e=location.search.substr(1).split("&"),r={},n=0;n<e.length;n++)r[e[n].split("=")[0]]=decodeURIComponent(e[n].split("=")[1]);return t?r.hasOwnProperty(t)?decodeURIComponent(r[t].replace(/\+/g," ")):"":r},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,r=new URL(e.href);if(t)return r.searchParams&&r.searchParams.get?r.searchParams.get(t):l(t);var n,o={},c=i(r.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=a()(n.value,2),s=u[0],f=u[1];o[s]=f}}catch(t){c.e(t)}finally{c.f()}return o}}).call(this,r(18))},79:function(t,e,r){"use strict";(function(t){r(44),r(45)}).call(this,r(18))},80:function(t,e,r){"use strict";(function(t){r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return i})),r.d(e,"a",(function(){return c}));var n=r(185),a=r(59),o=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(e)))return"";var o=r.invertColor,i=void 0!==o&&o;return Object(n.a)(t.createElement(a.a,{direction:e>0?"up":"down",invertColor:i}))},i=function(t){var e,r,n,a,o,i,c,u,s,l,f,d,p,v,g;if(void 0!==t)return 1===(null==t||null===(e=t[0])||void 0===e||null===(r=e.data)||void 0===r||null===(n=r.rows)||void 0===n?void 0:n.length)||(null==t||null===(a=t[0])||void 0===a||null===(o=a.data)||void 0===o||null===(i=o.rows)||void 0===i||null===(c=i[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==t||null===(f=t[0])||void 0===f||null===(d=f.data)||void 0===d||null===(p=d.totals)||void 0===p||null===(v=p[0])||void 0===v||null===(g=v.values)||void 0===g?void 0:g[0])},c=function(t,e){return t>0&&e>0?t/e-1:t>0?1:e>0?-1:0}}).call(this,r(3))},81:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return l}));var n=r(6),a=r.n(n),o=r(82),i=r(83);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){a()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,a=u(u({},s),e);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(o.a)(a,r);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(i.a)(a,r,c,n)}}}).call(this,r(18))},82:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return o}));var n=r(47),a=r(27);function o(e,r){var o,i=Object(n.a)(r);return function(){var r=t.document;if(void 0===o&&(o=!!r.querySelector("script[".concat(a.b,"]"))),!o){var n=r.createElement("script");n.setAttribute(a.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(e.trackingID,"&l=").concat(a.a),r.head.appendChild(n),i("js",new Date),i("config",e.trackingID,{send_page_view:e.isSiteKitScreen}),o=!0}}}}).call(this,r(18))},83:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return p}));var n=r(5),a=r.n(n),o=r(6),i=r.n(o),c=r(14),u=r.n(c),s=r(47),l=r(33);function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){i()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function p(e,r,n,o){var i=Object(s.a)(r);return function(){var r=u()(a.a.mark((function r(c,u,s,f){var p,v,g,b,h,y,m,O,w,j;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(b=e.activeModules,h=e.referenceSiteURL,y=e.trackingEnabled,m=e.trackingID,O=e.userIDHash,y){r.next=3;break}return r.abrupt("return");case 3:return n(),w=null!==(p=null===(v=t._googlesitekitUserData)||void 0===v||null===(g=v.user)||void 0===g?void 0:g.roles)&&void 0!==p?p:[],j={send_to:m,event_category:c,event_label:s,value:f,dimension1:h,dimension2:w.join(","),dimension3:O,dimension4:"1.49.1",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},r.abrupt("return",new Promise((function(t){var e,r,n=setTimeout((function(){o.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),t()}),1e3),a=function(){clearTimeout(n),t()};i("event",u,d(d({},j),{},{event_callback:a})),(null===(e=o._gaUserPrefs)||void 0===e||null===(r=e.ioo)||void 0===r?void 0:r.call(e))&&a()})));case 7:case"end":return r.stop()}}),r)})));return function(t,e,n,a){return r.apply(this,arguments)}}()}}).call(this,r(18))},9:function(t,e,r){"use strict";r.d(e,"v",(function(){return c.b})),r.d(e,"s",(function(){return u.a})),r.d(e,"w",(function(){return u.b})),r.d(e,"u",(function(){return p})),r.d(e,"c",(function(){return v.b})),r.d(e,"j",(function(){return v.c})),r.d(e,"q",(function(){return g.c})),r.d(e,"r",(function(){return g.d})),r.d(e,"n",(function(){return g.b})),r.d(e,"i",(function(){return g.a})),r.d(e,"o",(function(){return m})),r.d(e,"d",(function(){return O})),r.d(e,"f",(function(){return w.c})),r.d(e,"t",(function(){return w.i})),r.d(e,"g",(function(){return j.b})),r.d(e,"m",(function(){return j.c})),r.d(e,"b",(function(){return j.a})),r.d(e,"l",(function(){return S.b})),r.d(e,"h",(function(){return S.a})),r.d(e,"p",(function(){return S.d})),r.d(e,"k",(function(){return E})),r.d(e,"a",(function(){return k})),r.d(e,"x",(function(){return _})),r.d(e,"e",(function(){return D}));var n=r(110),a=r.n(n),o=r(108),i=r.n(o),c=r(30),u=r(60),s=r(28),l=r.n(s),f=r(73),d=r.n(f),p=function(t){return d()(JSON.stringify(function t(e){var r={};return Object.keys(e).sort().forEach((function(n){var a=e[n];a&&"object"===l()(a)&&!Array.isArray(a)&&(a=t(a)),r[n]=a})),r}(t)))};var v=r(77),g=(r(79),r(69));r(53);function b(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function h(t){return"<p>".concat(t.replace(/\n{2,}/g,"</p><p>"),"</p>")}function y(t){return t.replace(/\n/gi,"<br>")}function m(t){for(var e=t,r=0,n=[b,h,y];r<n.length;r++){e=(0,n[r])(e)}return e}var O=function(t){return t=parseFloat(t),isNaN(t)||0===t?[0,0,0,0]:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60),Math.floor(1e3*t)-1e3*Math.floor(t)]},w=r(56),j=r(80),S=r(49),E=function(t){switch(t){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},k=function(t,e){if("0"===t||0===t||isNaN(t))return null;var r=(e-t)/t;return isNaN(r)||!a()(r)?null:r},_=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},D=function(t){if(!t)return"";var e=t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/(\\)/g,"");return i()(e)}},93:function(t,e,r){"use strict";r.d(e,"a",(function(){return g})),r.d(e,"c",(function(){return h})),r.d(e,"b",(function(){return y}));var n=r(17),a=r.n(n),o=r(6),i=r.n(o),c=r(5),u=r.n(c),s=r(7),l=r.n(s),f=r(4),d=r.n(f),p=r(39),v=d.a.createRegistryControl,g=function(t){var e;l()(t,"storeName is required to create a snapshot store.");var r={},n={deleteSnapshot:u.a.mark((function t(){var e;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}}),t)})),restoreSnapshot:u.a.mark((function t(){var e,r,n,a,o,i,c=arguments;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=c.length>0&&void 0!==c[0]?c[0]:{},r=e.clearAfterRestore,n=void 0===r||r,t.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(a=t.sent,o=a.cacheHit,i=a.value,!o){t.next=13;break}return t.next=10,{payload:{snapshot:i},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!n){t.next=13;break}return t.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return t.abrupt("return",o);case 14:case"end":return t.stop()}}),t)})),createSnapshot:u.a.mark((function t(){var e;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}}),t)}))},o=(e={},i()(e,"DELETE_SNAPSHOT",(function(){return Object(p.a)("datastore::cache::".concat(t))})),i()(e,"CREATE_SNAPSHOT",v((function(e){return function(){return Object(p.d)("datastore::cache::".concat(t),e.stores[t].store.getState())}}))),i()(e,"RESTORE_SNAPSHOT",(function(){return Object(p.b)("datastore::cache::".concat(t),3600)})),e);return{initialState:r,actions:n,controls:o,reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,e=arguments.length>1?arguments[1]:void 0,n=e.type,o=e.payload;switch(n){case"SET_STATE_FROM_SNAPSHOT":var i=o.snapshot,c=(i.error,a()(i,["error"]));return c;default:return t}}}},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Object.values(t.stores).filter((function(t){return Object.keys(t.getActions()).includes("restoreSnapshot")}))},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().createSnapshot()})))},y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().restoreSnapshot()})))}}},[[1052,1,0]]]);
dist/assets/js/{googlesitekit-datastore-user-33b28c0fe4d7995f8620.js → googlesitekit-datastore-user-421c5b5f8a670b4c727a.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[14],{1:function(e,t){e.exports=googlesitekit.i18n},1042:function(e,t,r){"use strict";r.r(t);var n=r(4),i=r.n(n),a=r(50),o=r(5),c=r.n(o),u=r(6),s=r.n(u),l=r(34),f=r.n(l),d=r(13),p=r(43);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=i.a.createRegistrySelector;function y(e){return b((function(t){return function(){return(t(d.a).getAuthentication()||{})[e]}}))}var m=Object(p.a)({baseName:"getAuthentication",controlCallback:function(){return f.a.get("core","user","authentication",void 0,{useCache:!1})},reducerCallback:function(e,t){return v(v({},e),{},{authentication:t})}}),h={authentication:void 0,authError:null},O={setAuthError:function(e){return{payload:{error:e},type:"SET_AUTH_ERROR"}},clearAuthError:function(){return{payload:{},type:"CLEAR_AUTH_ERROR"}}},S={getAuthentication:c.a.mark((function e(){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:if(t=e.sent,(0,t.select)(d.a).getAuthentication()){e.next=7;break}return e.next=7,m.actions.fetchGetAuthentication();case 7:case"end":return e.stop()}}),e)}))},E={getAuthentication:function(e){return e.authentication},hasScope:b((function(e){return function(t,r){var n=e(d.a).getGrantedScopes(t);if(void 0!==n)return n.includes(r)}})),isAuthenticated:y("authenticated"),getGrantedScopes:y("grantedScopes"),getRequiredScopes:y("requiredScopes"),getUnsatisfiedScopes:y("unsatisfiedScopes"),needsReauthentication:y("needsReauthentication"),getDisconnectedReason:y("disconnectedReason"),getConnectedProxyURL:y("connectedProxyURL"),getPreviousConnectedProxyURL:y("previousConnectedProxyURL"),getAuthError:function(e){return e.authError}},_=i.a.combineStores(m,{initialState:h,actions:O,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_AUTH_ERROR":return v(v({},e),{},{authError:n.error});case"CLEAR_AUTH_ERROR":return v(v({},e),{},{authError:null});default:return e}},resolvers:S,selectors:E}),w=(_.initialState,_.actions,_.controls,_.reducer,_.resolvers,_.selectors,_),j=r(7),I=r.n(j),k=r(56);function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var x={dateRange:"last-28-days",referenceDate:Object(k.e)(new Date)};var R={getDateRange:function(e){return e.dateRange},getDateRangeDates:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.compare,n=void 0!==r&&r,i=t.offsetDays,a=void 0===i?0:i,o=t.referenceDate,c=void 0===o?e.referenceDate:o,u=R.getDateRange(e),s=Object(k.f)(c,a),l=u.match("-(.*)-"),f=Number(l?l[1]:28),d=Object(k.f)(s,f-1),p={startDate:d,endDate:s};if(n){var g=Object(k.f)(d,1),v=Object(k.f)(g,f-1);p.compareStartDate=v,p.compareEndDate=g}return p},getDateRangeNumberOfDays:function(e){var t=R.getDateRange(e).match(/-(\d+)-/);return parseInt(t?t[1]:28,10)},getReferenceDate:function(e){return e.referenceDate}},A={initialState:x,actions:{setDateRange:function(e){return I()(e,"Date range slug is required."),I()(Object(k.g)(e),k.a),{type:"SET_DATE_RANGE",payload:{slug:e}}},setReferenceDate:function(e){return I()(e,"Date string is required."),I()(Object(k.h)(e),k.b),{type:"SET_REFERENCE_DATE",payload:{dateString:e}}}},controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_DATE_RANGE":return D(D({},e),{},{dateRange:n.slug});case"SET_REFERENCE_DATE":return D(D({},e),{},{referenceDate:n.dateString});default:return e}},resolvers:{},selectors:R};function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var N=i.a.createRegistrySelector,U=Object(p.a)({baseName:"disconnect",controlCallback:function(){return f.a.set("core","user","disconnect")},reducerCallback:function(e,t){return C(C({},e),{},{disconnected:t})}}),L={disconnected:void 0},F={disconnect:c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,U.actions.fetchDisconnect();case 2:case"end":return e.stop()}}),e)}))},V={isDoingDisconnect:N((function(e){return function(){return e(d.a).isFetchingDisconnect()}}))},q=i.a.combineStores(U,{initialState:L,actions:F,selectors:V}),M=(q.initialState,q.actions,q.controls,q.reducer,q.resolvers,q.selectors,q),G=r(70);function H(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function B(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?H(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):H(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var K=i.a.createRegistrySelector,$=i.a.commonActions.getRegistry;function Y(e,t){return B(B({},e),{},{dismissedItems:Array.isArray(t)?t:[]})}var W,J,z=Object(p.a)({baseName:"getDismissedItems",controlCallback:function(){return f.a.get("core","user","dismissed-items",{},{useCache:!1})},reducerCallback:Y}),Q=Object(p.a)({baseName:"dismissItem",controlCallback:function(e){var t=e.slug,r=e.expiresInSeconds;return f.a.set("core","user","dismiss-item",{slug:t,expiration:r})},reducerCallback:Y,argsToParams:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{slug:e,expiresInSeconds:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug,r=e.expiresInSeconds;I()(t,"slug is required."),I()(Number.isInteger(r),"expiresInSeconds must be an integer.")}}),Z={dismissedItems:void 0},X={dismissItem:Object(G.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.expiresInSeconds,n=void 0===r?0:r;I()(e,"A tour slug is required to dismiss a tour."),I()(Number.isInteger(n),"expiresInSeconds must be an integer.")}),c.a.mark((function e(t){var r,n,i,a=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>1&&void 0!==a[1]?a[1]:{},n=r.expiresInSeconds,i=void 0===n?0:n,e.next=4,Q.actions.fetchDismissItem(t,i);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))},ee={getDismissedItems:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$();case 2:if(t=e.sent,r=t.select,void 0!==r(d.a).getDismissedItems()){e.next=8;break}return e.next=8,z.actions.fetchGetDismissedItems();case 8:case"end":return e.stop()}}),e)}))},te={getDismissedItems:function(e){return e.dismissedItems},isItemDismissed:K((function(e){return function(t,r){var n;return null===(n=e(d.a).getDismissedItems())||void 0===n?void 0:n.includes(r)}})),isDismissingItem:K((function(e){return function(t,r){return e(d.a).isFetchingDismissItem(r)}}))},re=i.a.combineStores({initialState:Z,actions:X,resolvers:ee,selectors:te},Q,z),ne={actions:re.actions,controls:re.controls,initialState:re.initialState,reducer:re.reducer,resolvers:re.resolvers,selectors:re.selectors},ie=r(14),ae=r.n(ie),oe=r(700),ce=r.n(oe),ue=r(1),se=r(16),le=r(58),fe=r(20),de=r(11),pe={slug:"helpVisibility",contexts:[se.g,se.k],version:"1.29.0",gaEventCategory:function(e){return"".concat(e,"_headerbar_helpmenu")},steps:[{target:".googlesitekit-help-menu",title:Object(ue.__)("Need help?","google-site-kit"),content:Object(ue.__)("Access the Site Kit docs or ask a question in our support forum from here.","google-site-kit"),placement:"bottom-start"}]},ge=r(701),ve=r(31),be={slug:"ideaHubPostsTable",contexts:[se.l],version:"1.43.0",gaEventCategory:ve.n,checkRequirements:(W=ae()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(document.querySelector(".googlesitekit-idea-hub__post")){e.next=2;break}return e.abrupt("return",!1);case 2:return e.next=4,t.__experimentalResolveSelect(fe.a).getModules();case 4:return e.abrupt("return",t.select(fe.a).isModuleConnected("idea-hub"));case 5:case"end":return e.stop()}}),e)}))),function(e){return W.apply(this,arguments)}),steps:[{target:".googlesitekit-idea-hub__post",title:Object(ue.__)("Get started writing about your saved ideas","google-site-kit"),content:Object(ue.__)("Drafts you created from Idea Hub within Site Kit appear here for easy access.","google-site-kit")}]},ye=[{slug:"allTrafficWidget",contexts:[se.g],version:"1.25.0",gaEventCategory:"".concat(se.g,"_all-traffic-widget"),checkRequirements:function(){var e=ae()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.__experimentalResolveSelect(fe.a).getModules();case 2:if(t.select(fe.a).isModuleConnected("analytics")){e.next=4;break}return e.abrupt("return",!1);case 4:return e.next=6,new Promise((function(e){setTimeout((function r(){t.select(le.a).getValue(de.q)?e():setTimeout(r,250)}),250)}));case 6:return e.abrupt("return",!0);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),steps:[{target:".googlesitekit-widget--analyticsAllTraffic__totals",title:Object(ue.__)("It’s now easier to see your site’s traffic at a glance","google-site-kit"),content:Object(ue.__)("Check the trend graph to see how your traffic changed over time","google-site-kit"),placement:"top"},{target:".googlesitekit-widget--analyticsAllTraffic__dimensions",title:Object(ue.__)("See where your visitors come from","google-site-kit"),content:Object(ue.__)("Click on the chart slices to see how each segment has changed over time","google-site-kit"),placement:"top"},{target:".googlesitekit-header__date-range-selector-menu",title:Object(ue.__)("Check how your traffic changed since you last looked","google-site-kit"),content:Object(ue.__)("Select a time frame to see the comparison with the previous time period","google-site-kit")}]},pe,ge.a,be],me=r(39);function he(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return Oe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Oe(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw a}}}}function Oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var _e,we=i.a.createRegistrySelector,je=i.a.createRegistryControl,Ie=i.a.commonActions.getRegistry,ke=Object(p.a)({baseName:"getDismissedTours",controlCallback:function(){return f.a.get("core","user","dismissed-tours",{},{useCache:!1})},reducerCallback:function(e,t){return Ee(Ee({},e),{},{dismissedTourSlugs:t})}}),Te=Object(p.a)({baseName:"dismissTour",controlCallback:function(e){var t=e.slug;return f.a.set("core","user","dismiss-tour",{slug:t})},reducerCallback:function(e,t){return Ee(Ee({},e),{},{dismissedTourSlugs:t})},argsToParams:function(e){return{slug:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug;I()(t,"slug is required.")}}),De={lastDismissedAt:void 0,dismissedTourSlugs:void 0,tours:ye,viewTours:{}},xe={dismissTour:Object(G.f)((function(e){I()(e,"A tour slug is required to dismiss a tour.")}),c.a.mark((function e(t){var r,n,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ie();case 2:if(r=e.sent,!(n=r.select)(d.a).isFetchingDismissTour(t)){e.next=7;break}return i=n(d.a).getDismissedFeatureTourSlugs(),e.abrupt("return",{response:i,error:void 0});case 7:return e.next=9,{type:"DISMISS_TOUR",payload:{slug:t}};case 9:return e.next=11,Ne.setLastDismissedAt(Date.now());case 11:return e.next=13,Te.actions.fetchDismissTour(t);case 13:return e.abrupt("return",e.sent);case 14:case"end":return e.stop()}}),e)}))),receiveFeatureToursForView:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.viewContext;return I()(Array.isArray(e),"viewTours must be an array."),I()(r,"viewContext is required."),{payload:{viewTours:e,viewContext:r},type:"RECEIVE_READY_TOURS"}},receiveAllFeatureTours:function(e){return I()(Array.isArray(e),"tours must be an array."),{payload:{tours:e},type:"RECEIVE_TOURS"}},receiveLastDismissedAt:function(e){return I()(void 0!==e,"A timestamp is required."),{type:"RECEIVE_LAST_DISMISSED_AT",payload:{timestamp:e}}},setLastDismissedAt:Object(G.f)((function(e){I()(e,"A timestamp is required.")}),c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"CACHE_LAST_DISMISSED_AT",payload:{timestamp:t}};case 2:return e.next=4,{type:"RECEIVE_LAST_DISMISSED_AT",payload:{timestamp:t}};case 4:case"end":return e.stop()}}),e)})))},Re=(J={},s()(J,"CHECK_TOUR_REQUIREMENTS",je((function(e){return function(){var t=ae()(c.a.mark((function t(r){var n,i,a,o;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=r.payload,i=n.tour,a=n.viewContext,i.contexts.includes(a)){t.next=4;break}return t.abrupt("return",!1);case 4:if(o=e.select(d.a).getInitialSiteKitVersion()){t.next=9;break}return t.abrupt("return",!1);case 9:if(!ce.a.compare(o,i.version,">=")){t.next=11;break}return t.abrupt("return",!1);case 11:return t.next=13,e.__experimentalResolveSelect(d.a).getDismissedFeatureTourSlugs();case 13:if(!e.select(d.a).isTourDismissed(i.slug)){t.next=15;break}return t.abrupt("return",!1);case 15:if(!i.checkRequirements){t.next=19;break}return t.next=18,i.checkRequirements(e);case 18:return t.abrupt("return",!!t.sent);case 19:return t.abrupt("return",!0);case 20:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),s()(J,"CACHE_LAST_DISMISSED_AT",(_e=ae()(c.a.mark((function e(t){var r,n;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n=r.timestamp,e.next=4,Object(me.d)("feature_tour_last_dismissed_at",n,{ttl:7200});case 4:case"end":return e.stop()}}),e)}))),function(e){return _e.apply(this,arguments)})),J),Ae={getDismissedFeatureTourSlugs:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ie();case 2:if(t=e.sent,r=t.select,void 0!==r(d.a).getDismissedFeatureTourSlugs()){e.next=8;break}return e.next=8,ke.actions.fetchGetDismissedTours();case 8:case"end":return e.stop()}}),e)})),getFeatureToursForView:c.a.mark((function e(t){var r,n,i,a,o,u;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ie();case 2:r=e.sent,n=r.select(d.a).getAllFeatureTours(),i=[],a=he(n),e.prev=6,a.s();case 8:if((o=a.n()).done){e.next=16;break}return u=o.value,e.next=12,{payload:{tour:u,viewContext:t},type:"CHECK_TOUR_REQUIREMENTS"};case 12:e.sent&&i.push(u);case 14:e.next=8;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(6),a.e(e.t0);case 21:return e.prev=21,a.f(),e.finish(21);case 24:return e.next=26,Ne.receiveFeatureToursForView(i,{viewContext:t});case 26:case"end":return e.stop()}}),e,null,[[6,18,21,24]])})),getLastDismissedAt:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.await(Object(me.b)("feature_tour_last_dismissed_at"));case 2:return t=e.sent,r=t.value,e.next=6,Ne.receiveLastDismissedAt(r||null);case 6:case"end":return e.stop()}}),e)}))},Pe={getDismissedFeatureTourSlugs:function(e){return e.dismissedTourSlugs},getFeatureToursForView:function(e,t){return e.viewTours[t]},getAllFeatureTours:function(e){return e.tours},isTourDismissed:we((function(e){return function(t,r){var n=e(d.a).getDismissedFeatureTourSlugs();if(void 0!==n)return n.includes(r)}})),getLastDismissedAt:function(e){return e.lastDismissedAt},areFeatureToursOnCooldown:we((function(e){return function(){var t=e(d.a).getLastDismissedAt();if(void 0!==t){if(null===t)return!1;var r=t+72e5;return Date.now()<r}}}))},Ce=i.a.combineStores({initialState:De,actions:xe,controls:Re,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"DISMISS_TOUR":var i=n.slug,a=e.dismissedTourSlugs,o=void 0===a?[]:a;return o.includes(i)?e:Ee(Ee({},e),{},{dismissedTourSlugs:o.concat(i)});case"RECEIVE_READY_TOURS":var c=n.viewContext,u=n.viewTours;return Ee(Ee({},e),{},{viewTours:Ee(Ee({},e.viewTours),{},s()({},c,u))});case"RECEIVE_TOURS":return Ee(Ee({},e),{},{tours:n.tours});case"RECEIVE_LAST_DISMISSED_AT":return Ee(Ee({},e),{},{lastDismissedAt:n.timestamp});default:return e}},resolvers:Ae,selectors:Pe},Te,ke),Ne=Ce.actions,Ue=Ce.controls,Le=Ce.initialState,Fe=Ce.reducer,Ve=Ce.resolvers,qe=Ce.selectors,Me={actions:Ne,controls:Ue,initialState:Le,reducer:Fe,resolvers:Ve,selectors:qe},Ge=r(341),He=Object(Ge.a)("core","user","notifications",{server:!1}),Be=r(705),Ke=r(52),$e=r.n(Ke),Ye=r(389);function We(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?We(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):We(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ze=i.a.createRegistrySelector,Qe=Object(p.a)({baseName:"triggerSurvey",controlCallback:function(e){var t=e.triggerID;return f.a.set("core","user","survey-trigger",{triggerID:t})},argsToParams:function(e){return{triggerID:e}},reducerCallback:function(e,t){var r=t.survey_payload,n=t.session;return et.getCurrentSurvey(e)?e:Je(Je({},e),{},{currentSurvey:r,currentSurveySession:n})},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.triggerID;I()("string"==typeof t&&t.length,"triggerID is required and must be a string")}}),Ze=Object(p.a)({baseName:"sendSurveyEvent",controlCallback:function(e){var t=e.event,r=e.session;return f.a.set("core","user","survey-event",{event:t,session:r})},argsToParams:function(e,t){return{event:e,session:t}}}),Xe={triggerSurvey:Object(G.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.ttl,n=void 0===r?0:r;I()("string"==typeof e&&e.length,"triggerID is required and must be a string"),I()($e()(t),"options must be an object"),I()("number"==typeof n,"options.ttl must be a number")}),c.a.mark((function e(t){var r,n,a,o,u,s,l,f,p,g=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=g.length>1&&void 0!==g[1]?g[1]:{},n=r.ttl,a=void 0===n?0:n,e.next=4,i.a.commonActions.getRegistry();case 4:if(o=e.sent,!(0,o.select)(d.a).getCurrentSurvey()){e.next=8;break}return e.abrupt("return",{});case 8:return u=Object(Ye.a)("core","user","survey-trigger",{triggerID:t}),e.next=11,i.a.commonActions.await(Object(me.b)(u));case 11:if(s=e.sent,!1!==s.cacheHit){e.next=22;break}return e.next=16,Qe.actions.fetchTriggerSurvey(t);case 16:if(l=e.sent,f=l.response,!(p=l.error)){e.next=21;break}return e.abrupt("return",{response:f,error:p});case 21:a>0&&setTimeout(ae()(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(me.d)(u,{},{ttl:a});case 2:case"end":return e.stop()}}),e)}))),3e4);case 22:return e.abrupt("return",{response:{},error:!1});case 23:case"end":return e.stop()}}),e)}))),sendSurveyEvent:Object(G.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};I()("string"==typeof e&&e.length,"eventID is required and must be a string"),I()($e()(t),"eventData must be an object")}),c.a.mark((function e(t){var r,n,a,o,u,l,f,p,g=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=g.length>1&&void 0!==g[1]?g[1]:{},n=s()({},t,r),e.next=4,i.a.commonActions.getRegistry();case 4:if(a=e.sent,o=a.select,!(u=o(d.a).getCurrentSurveySession())){e.next=14;break}return e.next=10,Ze.actions.fetchSendSurveyEvent(n,u);case 10:return l=e.sent,f=l.response,p=l.error,e.abrupt("return",{response:f,error:p});case 14:case"end":return e.stop()}}),e)})))},et={getCurrentSurvey:function(e){return e.currentSurvey},getCurrentSurveySession:function(e){return e.currentSurveySession},getCurrentSurveyCompletions:ze((function(e){return function(){var t=e(d.a).getCurrentSurvey();return(null==t?void 0:t.completion)||null}})),getCurrentSurveyQuestions:ze((function(e){return function(){var t=e(d.a).getCurrentSurvey();return(null==t?void 0:t.question)||null}}))},tt=i.a.combineStores(Qe,Ze,{initialState:{currentSurvey:null,currentSurveySession:null},actions:Xe,selectors:et}),rt=(tt.initialState,tt.actions,tt.selectors,tt);function nt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function it(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var at,ot=a.a.receiveError,ct=a.a.clearError,ut=function(e,t){return it(it({},e),{},{tracking:t})},st=Object(p.a)({baseName:"getTracking",controlCallback:function(){return f.a.get("core","user","tracking")},reducerCallback:ut}),lt=Object(p.a)({baseName:"setTracking",controlCallback:function(e){return f.a.set("core","user","tracking",{enabled:!!e})},reducerCallback:ut,argsToParams:function(e){return e}}),ft={tracking:void 0,isSavingTrackingEnabled:!1},dt={setTrackingEnabled:c.a.mark((function e(t){var r,n,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ct("setTrackingEnabled",[t]);case 2:return e.next=4,{type:"SET_TRACKING_ENABLED_SAVING_ACTION",payload:{isSaving:!0}};case 4:return e.next=6,lt.actions.fetchSetTracking(t);case 6:if(r=e.sent,n=r.response,!(i=r.error)){e.next=12;break}return e.next=12,ot(i,"setTrackingEnabled",[t]);case 12:return e.next=14,{type:"SET_TRACKING_ENABLED_SAVING_ACTION",payload:{isSaving:!1}};case 14:return e.abrupt("return",{response:n,error:i});case 15:case"end":return e.stop()}}),e)}))},pt={isTrackingEnabled:c.a.mark((function e(){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:if(t=e.sent,void 0!==(0,t.select)(d.a).isTrackingEnabled()){e.next=7;break}return e.next=7,st.actions.fetchGetTracking();case 7:case"end":return e.stop()}}),e)}))},gt=i.a.combineStores(st,lt,{initialState:ft,actions:dt,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_TRACKING_ENABLED_SAVING_ACTION":return it(it({},e),{},{isSavingTrackingEnabled:n.isSaving});default:return e}},resolvers:pt,selectors:{isSavingTrackingEnabled:function(e){return!!(null==e?void 0:e.isSavingTrackingEnabled)},isTrackingEnabled:function(e){var t=e.tracking;return null==t?void 0:t.enabled}}}),vt=(gt.initialState,gt.actions,gt.controls,gt.reducer,gt.resolvers,gt.selectors,gt),bt=r(706);function yt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function mt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ht=i.a.commonActions,Ot=i.a.createRegistryControl,St=i.a.createRegistrySelector,Et=a.a.receiveError,_t=a.a.clearError;function wt(e,t){return mt(mt({},e),{},{inputSettings:t})}var jt,It=Object(p.a)({baseName:"getUserInputSettings",controlCallback:(jt=ae()(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",f.a.get("core","user","user-input-settings",void 0,{useCache:!1}));case 1:case"end":return e.stop()}}),e)}))),function(){return jt.apply(this,arguments)}),reducerCallback:wt}),kt=Object(p.a)({baseName:"saveUserInputSettings",controlCallback:function(e){return f.a.set("core","user","user-input-settings",{settings:e})},reducerCallback:wt,argsToParams:function(e){return e},validateParams:function(e){I()($e()(e),"valid settings are required.")}}),Tt={inputSettings:void 0,isSavingInputSettings:!1},Dt={setUserInputSettingsFromCache:c.a.mark((function e(){var t,r,n,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"GET_CACHED_USER_INPUT_SETTINGS",payload:{}};case 2:if(!(t=e.sent).cacheHit){e.next=12;break}r=0,n=Object.keys(t.value);case 5:if(!(r<n.length)){e.next=12;break}return i=n[r],e.next=9,Dt.setUserInputSetting(i,t.value[i].values);case 9:r++,e.next=5;break;case 12:return e.abrupt("return",t.cacheHit?t.value:{});case 13:case"end":return e.stop()}}),e)})),setUserInputSetting:c.a.mark((function e(t,r){var n,a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:if(n=e.sent,a=r.map((function(e){return e.trim()})),"completed"===n.select(d.a).getUserInputState()){e.next=7;break}return e.next=7,{type:"SET_CACHED_USER_INPUT_SETTING",payload:{settingID:t,values:a}};case 7:return e.abrupt("return",{type:"SET_USER_INPUT_SETTING",payload:{settingID:t,values:a}});case 8:case"end":return e.stop()}}),e)})),saveUserInputSettings:c.a.mark((function e(){var t,r,n,a,o,u,l,f;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,_t("saveUserInputSettings",[]);case 5:return r=function(e){return e.trim()},n=function(e){return e.length>0},a=t.select(d.a).getUserInputSettings(),o=Object.keys(a).reduce((function(e,t){var i;return mt(mt({},e),{},s()({},t,((null===(i=a[t])||void 0===i?void 0:i.values)||[]).map(r).filter(n)))}),{}),e.next=11,{type:"SET_USER_INPUT_SETTINGS_SAVING_FLAG",payload:{isSaving:!0}};case 11:return e.next=13,kt.actions.fetchSaveUserInputSettings(o);case 13:if(u=e.sent,l=u.response,!(f=u.error)){e.next=19;break}return e.next=19,Et(f,"saveUserInputSettings",[]);case 19:return e.next=21,{type:"DELETE_CACHED_USER_INPUT_SETTINGS",payload:{}};case 21:return e.next=23,{type:"SET_USER_INPUT_SETTINGS_SAVING_FLAG",payload:{isSaving:!1}};case 23:return e.abrupt("return",{response:l,error:f});case 24:case"end":return e.stop()}}),e)}))},xt=(at={},s()(at,"DELETE_CACHED_USER_INPUT_SETTINGS",(function(){return Object(me.a)("userInputSettings")})),s()(at,"GET_CACHED_USER_INPUT_SETTINGS",(function(){return Object(me.b)("userInputSettings")})),s()(at,"SET_CACHED_USER_INPUT_SETTING",Ot((function(e){return function(){var t=ae()(c.a.mark((function t(r){var n,i,a,o;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.payload,i=n.settingID,a=n.values,(o=e.select(d.a).getUserInputSettings()||{})[i]={values:a},t.abrupt("return",Object(me.d)("userInputSettings",o));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),at),Rt={getUserInputSettings:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ht.getRegistry();case 2:if(t=e.sent,(r=t.select)(d.a).getUserInputSettings()){e.next=7;break}return e.next=7,It.actions.fetchGetUserInputSettings();case 7:if("completed"===r(d.a).getUserInputState()){e.next=10;break}return e.next=10,Dt.setUserInputSettingsFromCache();case 10:case"end":return e.stop()}}),e)}))},At={isSavingUserInputSettings:function(e){return!!(null==e?void 0:e.isSavingInputSettings)},getUserInputSettings:function(e){return e.inputSettings},getUserInputSetting:St((function(e){return function(t,r){var n,i=null===(n=(e(d.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.values;return Array.isArray(i)?i:[]}})),getUserInputSettingScope:St((function(e){return function(t,r){var n;return null===(n=(e(d.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.scope}})),getUserInputSettingAuthor:St((function(e){return function(t,r){var n;return null===(n=(e(d.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.author}}))},Pt=i.a.combineStores(It,kt,{initialState:Tt,actions:Dt,controls:xt,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_USER_INPUT_SETTING":return mt(mt({},e),{},{inputSettings:mt(mt({},e.inputSettings),{},s()({},n.settingID,mt(mt({},(e.inputSettings||{})[n.settingID]||{}),{},{values:n.values})))});case"SET_USER_INPUT_SETTINGS_SAVING_FLAG":return mt(mt({},e),{},{isSavingInputSettings:n.isSaving});default:return e}},resolvers:Rt,selectors:At}),Ct=(Pt.initialState,Pt.actions,Pt.controls,Pt.reducer,Pt.resolvers,Pt.selectors,Pt),Nt=i.a.combineStores(i.a.commonStore,Object(a.b)(),w,A,M,ne,Me,He,Be.a,rt,vt,bt.a,Ct);Nt.initialState,Nt.actions,Nt.controls,Nt.reducer,Nt.resolvers,Nt.selectors;i.a.registerStore(d.a,Nt)},11:function(e,t,r){"use strict";r.d(t,"f",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"h",(function(){return a})),r.d(t,"g",(function(){return o})),r.d(t,"d",(function(){return c})),r.d(t,"e",(function(){return u})),r.d(t,"k",(function(){return s})),r.d(t,"c",(function(){return l})),r.d(t,"b",(function(){return f})),r.d(t,"s",(function(){return d})),r.d(t,"r",(function(){return p})),r.d(t,"t",(function(){return g})),r.d(t,"p",(function(){return v})),r.d(t,"q",(function(){return b})),r.d(t,"n",(function(){return y})),r.d(t,"o",(function(){return m})),r.d(t,"l",(function(){return h})),r.d(t,"m",(function(){return O})),r.d(t,"j",(function(){return S})),r.d(t,"i",(function(){return E}));var n="modules/analytics",i="account_create",a="property_create",o="profile_create",c="analyticsAccountCreate",u="analyticsSetup",s="https://www.googleapis.com/auth/analytics.provision",l="https://www.googleapis.com/auth/analytics.edit",f=1,d="dashboardAllTrafficWidgetDimensionName",p="dashboardAllTrafficWidgetDimensionColor",g="dashboardAllTrafficWidgetDimensionValue",v="dashboardAllTrafficWidgetActiveRowIndex",b="dashboardAllTrafficWidgetLoaded",y="legacy",m="ua",h="ga4",O="ga4-transitional",S="ua",E="ga4"},13:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"e",(function(){return o})),r.d(t,"c",(function(){return c}));var n="core/user",i="connected_url_mismatch",a="googlesitekit_setup",o="googlesitekit_view_dashboard",c="googlesitekit_manage_options"},16:function(e,t,r){"use strict";r.d(t,"g",(function(){return n})),r.d(t,"k",(function(){return i})),r.d(t,"l",(function(){return a})),r.d(t,"n",(function(){return o})),r.d(t,"e",(function(){return c})),r.d(t,"h",(function(){return u})),r.d(t,"f",(function(){return s})),r.d(t,"m",(function(){return l})),r.d(t,"i",(function(){return f})),r.d(t,"o",(function(){return d})),r.d(t,"j",(function(){return p})),r.d(t,"d",(function(){return g})),r.d(t,"a",(function(){return v})),r.d(t,"c",(function(){return b})),r.d(t,"b",(function(){return y}));var n="dashboard",i="pageDashboard",a="postsList",o="userInput",c="activation",u="splash",s="adminBar",l="settings",f="module",d="wpDashboard",p="moduleSetup",g="traffic",v="content",b="speed",y="monetization"},20:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n="core/modules",i="insufficient_module_dependencies"},217:function(e,t,r){"use strict";(function(e){var n=r(48),i=r.n(n),a=r(218),o=e._googlesitekitAPIFetchData||{},c=o.nonce,u=o.nonceEndpoint,s=o.preloadedData,l=o.rootURL;i.a.nonceEndpoint=u,i.a.nonceMiddleware=i.a.createNonceMiddleware(c),i.a.rootURLMiddleware=i.a.createRootURLMiddleware(l),i.a.preloadingMiddleware=Object(a.a)(s),i.a.use(i.a.nonceMiddleware),i.a.use(i.a.mediaUploadMiddleware),i.a.use(i.a.rootURLMiddleware),i.a.use(i.a.preloadingMiddleware),t.default=i.a}).call(this,r(18))},218:function(e,t,r){"use strict";var n=r(211);t.a=function(e){var t=Object.keys(e).reduce((function(t,r){return t[Object(n.getStablePath)(r)]=e[r],t}),{}),r=!1;return function(e,i){if(r)return i(e);setTimeout((function(){r=!0}),1e3);var a=e.parse,o=void 0===a||a,c=e.path;if("string"==typeof e.path){var u,s=(null===(u=e.method)||void 0===u?void 0:u.toUpperCase())||"GET",l=Object(n.getStablePath)(c);if(o&&"GET"===s&&t[l]){var f=Promise.resolve(t[l].body);return delete t[l],f}if("OPTIONS"===s&&t[s]&&t[s][l]){var d=Promise.resolve(t[s][l]);return delete t[s][l],d}}return i(e)}}},27:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},30:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return g}));var n=r(81),i=e._googlesitekitBaseData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,u=i.trackingEnabled,s={activeModules:o,trackingEnabled:u,trackingID:i.trackingID,referenceSiteURL:i.referenceSiteURL,userIDHash:i.userIDHash,isSiteKitScreen:c},l=Object(n.a)(s),f=l.enableTracking,d=l.disableTracking,p=(l.isTrackingEnabled,l.initializeSnippet),g=l.trackEvent;function v(e){e?f():d()}c&&u&&p()}).call(this,r(18))},31:function(e,t,r){"use strict";r.d(t,"u",(function(){return i})),r.d(t,"i",(function(){return a})),r.d(t,"m",(function(){return o})),r.d(t,"k",(function(){return c})),r.d(t,"l",(function(){return u})),r.d(t,"j",(function(){return s})),r.d(t,"q",(function(){return l})),r.d(t,"a",(function(){return f})),r.d(t,"c",(function(){return d})),r.d(t,"d",(function(){return p})),r.d(t,"b",(function(){return g})),r.d(t,"e",(function(){return v})),r.d(t,"g",(function(){return b})),r.d(t,"f",(function(){return y})),r.d(t,"h",(function(){return m})),r.d(t,"o",(function(){return h})),r.d(t,"p",(function(){return O})),r.d(t,"n",(function(){return S})),r.d(t,"s",(function(){return E})),r.d(t,"t",(function(){return _})),r.d(t,"r",(function(){return w}));var n=r(16),i="modules/idea-hub",a="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",u="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",l=5,f="IDEA_HUB_ACTIVITY_CREATING_DRAFT",d="IDEA_HUB_ACTIVITY_DRAFT_CREATED",p="IDEA_HUB_ACTIVITY_IS_DELETING",g="IDEA_HUB_ACTIVITY_DELETED",v="IDEA_HUB_ACTIVITY_IS_PINNING",b="IDEA_HUB_ACTIVITY_PINNED",y="IDEA_HUB_ACTIVITY_IS_UNPINNING",m="IDEA_HUB_ACTIVITY_UNPINNED",h="".concat(n.g,"_idea-hub-widget"),O="".concat(n.o,"_idea-hub-saved-ideas-notification"),S="".concat(n.l,"_idea-hub"),E="new-ideas",_="saved-ideas",w="draft-ideas"},33:function(e,t,r){"use strict";(function(e){var n,i;r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return o}));var a=new Set((null===(n=e)||void 0===n||null===(i=n._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,r(18))},34:function(e,t){e.exports=googlesitekit.api},341:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return b}));var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(34),l=r.n(s),f=r(4),d=r.n(f),p=r(43);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=function(t,r,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=a.client,s=void 0===c||c,f=a.server,g=void 0===f||f,b=a.storeName,y=void 0===b?void 0:b;u()(t,"type is required."),u()(r,"identifier is required."),u()(n,"datapoint is required.");var m=y||"".concat(t,"/").concat(r),h={serverNotifications:g?void 0:{},clientNotifications:s?void 0:{}},O=Object(p.a)({baseName:"getNotifications",controlCallback:function(){return l.a.get(t,r,n)},reducerCallback:function(e,t){return v(v({},e),{},{serverNotifications:t.reduce((function(e,t){return v(v({},e),{},o()({},t.id,t))}),{})})}}),S={addNotification:function(e){return u()(e,"notification is required."),{payload:{notification:e},type:"ADD_NOTIFICATION"}},removeNotification:function(e){return u()(e,"id is required."),{payload:{id:e},type:"REMOVE_NOTIFICATION"}}},E={},_=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,r=arguments.length>1?arguments[1]:void 0,n=r.type,i=r.payload;switch(n){case"ADD_NOTIFICATION":var a=i.notification;return v(v({},t),{},{clientNotifications:v(v({},t.clientNotifications||{}),{},o()({},a.id,a))});case"REMOVE_NOTIFICATION":var c=i.id;if(void 0===t.clientNotifications||void 0===t.clientNotifications[c])return void 0!==t.serverNotifications&&void 0!==t.serverNotifications[c]&&e.console.warn('Cannot remove server-side notification with ID "'.concat(c,'"; this may be changed in a future release.')),t;var u=v({},t.clientNotifications);return delete u[c],v(v({},t),{},{clientNotifications:u});default:return t}},w={getNotifications:i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O.actions.fetchGetNotifications();case 2:case"end":return e.stop()}}),e)}))};g||delete w.getNotifications;var j={getNotifications:function(e){var t=e.serverNotifications,r=e.clientNotifications;return void 0===t&&void 0===r?t:Object.values(v(v({},t||{}),r||{}))}},I=d.a.combineStores(O,{initialState:h,actions:S,controls:E,reducer:_,resolvers:w,selectors:j});return v(v({},I),{},{STORE_NAME:m})}}).call(this,r(18))},37:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(e){return e instanceof Date&&!isNaN(e)}},38:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(37),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var r=e.split("-");return 3===r.length&&Object(n.a)(new Date(e))}},389:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return y}));var n=r(5),i=r.n(n),a=r(14),o=r.n(a),c=r(7),u=r.n(c),s=r(217),l=r(280),f=r(39),d=r(9),p=r(91),g=r(431),v=r(13),b=!0,y=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=[e,t,r].filter((function(e){return!!e&&e.length}));return 3===i.length&&n&&n.constructor===Object&&Object.keys(n).length&&i.push(Object(d.u)(n)),i.join("::")},m=function(t){var r,n,i,a,o=null===(r=e.googlesitekit)||void 0===r||null===(n=r.data)||void 0===n||null===(i=n.dispatch)||void 0===i?void 0:i.call(n,v.a);o&&(t.code===p.a?o.setPermissionScopeError(t):(null===(a=t.data)||void 0===a?void 0:a.reconnectURL)&&o.setAuthError(t))},h=function(){var t=o()(i.a.mark((function t(r,n,a){var o,c,d,p,v,b,h,O,S,_,w,j,I,k,T,D,x,R=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=R.length>3&&void 0!==R[3]?R[3]:{},c=o.bodyParams,d=o.cacheTTL,p=void 0===d?3600:d,v=o.method,b=void 0===v?"GET":v,h=o.queryParams,O=o.useCache,S=void 0===O?void 0:O,_=o.signal,u()(r,"`type` argument for requests is required."),u()(n,"`identifier` argument for requests is required."),u()(a,"`datapoint` argument for requests is required."),w="GET"===b&&(void 0!==S?S:E()),j=y(r,n,a,h),!w){t.next=18;break}return t.next=9,Object(f.b)(j);case 9:if(I=t.sent,k=I.cacheHit,T=I.value,!I.isError){t.next=16;break}throw m(T),T;case 16:if(!k){t.next=18;break}return t.abrupt("return",T);case 18:return t.prev=18,t.next=21,Object(s.default)({data:c,method:b,signal:_,path:Object(l.a)("/google-site-kit/v1/".concat(r,"/").concat(n,"/data/").concat(a),h)});case 21:if(D=t.sent,!w){t.next=25;break}return t.next=25,Object(f.d)(j,D,{ttl:p});case 25:return t.abrupt("return",D);case 28:if(t.prev=28,t.t0=t.catch(18),!(null===t.t0||void 0===t.t0||null===(x=t.t0.data)||void 0===x?void 0:x.cacheTTL)){t.next=33;break}return t.next=33,Object(f.d)(j,t.t0,{ttl:t.t0.data.cacheTTL,isError:!0});case 33:throw Object(g.a)({method:b,datapoint:a,type:r,identifier:n,error:t.t0}),m(t.t0),e.console.error("Google Site Kit API Error","method:".concat(b),"datapoint:".concat(a),"type:".concat(r),"identifier:".concat(n),'error:"'.concat(t.t0.message,'"')),t.t0;case 37:case"end":return t.stop()}}),t,null,[[18,28]])})));return function(e,r,n){return t.apply(this,arguments)}}(),O=function(){var e=o()(i.a.mark((function e(t,r,n,a){var o,c,u,s,l,f,d=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.cacheTTL,u=void 0===c?3600:c,s=o.useCache,l=void 0===s?void 0:s,f=o.signal,e.abrupt("return",h(t,r,n,{cacheTTL:u,queryParams:a,useCache:l,signal:f}));case 2:case"end":return e.stop()}}),e)})));return function(t,r,n,i){return e.apply(this,arguments)}}(),S=function(){var e=o()(i.a.mark((function e(t,r,n,a){var o,c,u,s,l,f,d=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.method,u=void 0===c?"POST":c,s=o.queryParams,l=void 0===s?{}:s,e.next=3,h(t,r,n,{bodyParams:{data:a},method:u,queryParams:l,useCache:!1});case 3:return f=e.sent,e.next=6,_(t,r,n);case 6:return e.abrupt("return",f);case 7:case"end":return e.stop()}}),e)})));return function(t,r,n,i){return e.apply(this,arguments)}}(),E=function(){return b},_=function(){var e=o()(i.a.mark((function e(t,r,n){var a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=y(t,r,n),e.next=3,Object(f.c)();case 3:e.sent.forEach((function(e){0===e.indexOf(a)&&Object(f.a)(e)}));case 5:case"end":return e.stop()}}),e)})));return function(t,r,n){return e.apply(this,arguments)}}(),w={invalidateCache:_,get:O,set:S,setUsingCache:function(e){return b=!!e},usingCache:E};t.b=w}).call(this,r(18))},39:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return b})),r.d(t,"d",(function(){return y})),r.d(t,"a",(function(){return m})),r.d(t,"c",(function(){return h}));var n=r(5),i=r.n(n),a=r(14),o=r.n(a);r(23);function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw a}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s,l="googlesitekit_".concat("1.49.0","_"),f=["sessionStorage","localStorage"],d=[].concat(f),p=function(){var t=o()(i.a.mark((function t(r){var n,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e[r]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,a="__storage_test__",n.setItem(a,a),n.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!==n.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function g(){return v.apply(this,arguments)}function v(){return(v=o()(i.a.mark((function t(){var r,n,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:r=c(d),t.prev=3,r.s();case 5:if((n=r.n()).done){t.next=15;break}if(a=n.value,!s){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}s=e[a];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),r.e(t.t0);case 20:return t.prev=20,r.f(),t.finish(20);case 23:return void 0===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var e=o()(i.a.mark((function e(t){var r,n,a,o,c,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g();case 2:if(!(r=e.sent)){e.next=10;break}if(!(n=r.getItem("".concat(l).concat(t)))){e.next=10;break}if(a=JSON.parse(n),o=a.timestamp,c=a.ttl,u=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:u,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)}}(),y=function(){var t=o()(i.a.mark((function t(r,n){var a,o,c,u,s,f,d,p,v=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=v.length>2&&void 0!==v[2]?v[2]:{},o=a.ttl,c=void 0===o?3600:o,u=a.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=a.isError,d=void 0!==f&&f,t.next=3,g();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(l).concat(r),JSON.stringify({timestamp:s,ttl:c,value:n,isError:d})),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,r){return t.apply(this,arguments)}}(),m=function(){var t=o()(i.a.mark((function t(r){var n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(n=t.sent)){t.next=13;break}return t.prev=4,n.removeItem("".concat(l).concat(r)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),h=function(){var t=o()(i.a.mark((function t(){var r,n,a,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(r=t.sent)){t.next=14;break}for(t.prev=4,n=[],a=0;a<r.length;a++)0===(o=r.key(a)).indexOf(l)&&n.push(o.substring(l.length));return t.abrupt("return",n);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)}}()}).call(this,r(18))},4:function(e,t){e.exports=googlesitekit.data},43:function(e,t,r){"use strict";r.d(t,"a",(function(){return S}));var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(52),l=r.n(s),f=r(50),d=r(71),p=r(9);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=function(e){return e},y=function(){return{}},m=function(){},h=f.a.clearError,O=f.a.receiveError,S=function(e){var t,r,n=i.a.mark(N),a=e.baseName,c=e.controlCallback,s=e.reducerCallback,f=void 0===s?b:s,g=e.argsToParams,S=void 0===g?y:g,E=e.validateParams,_=void 0===E?m:E;u()(a,"baseName is required."),u()("function"==typeof c,"controlCallback is required and must be a function."),u()("function"==typeof f,"reducerCallback must be a function."),u()("function"==typeof S,"argsToParams must be a function."),u()("function"==typeof _,"validateParams must be a function.");try{_(S()),r=!1}catch(e){r=!0}var w=Object(d.b)(a),j=Object(d.a)(a),I="FETCH_".concat(j),k="START_".concat(I),T="FINISH_".concat(I),D="CATCH_".concat(I),x="RECEIVE_".concat(j),R="fetch".concat(w),A="receive".concat(w),P="isFetching".concat(w),C=o()({},P,{});function N(e,t){var r,o;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,{payload:{params:e},type:k};case 2:return n.next=4,h(a,t);case 4:return n.prev=4,n.next=7,{payload:{params:e},type:I};case 7:return r=n.sent,n.next=10,U[A](r,e);case 10:return n.next=12,{payload:{params:e},type:T};case 12:n.next=23;break;case 14:return n.prev=14,n.t0=n.catch(4),o=n.t0,n.next=19,O(o,a,t);case 19:return n.next=21,O(o);case 21:return n.next=23,{payload:{params:e},type:D};case 23:return n.abrupt("return",{response:r,error:o});case 24:case"end":return n.stop()}}),n,null,[[4,14]])}var U=(t={},o()(t,R,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=S.apply(void 0,t);return _(n),N(n,t)})),o()(t,A,(function(e,t){return u()(void 0!==e,"response is required."),r?(u()(l()(t),"params is required."),_(t)):t={},{payload:{response:e,params:t},type:x}})),t),L=o()({},I,(function(e){var t=e.payload;return c(t.params)})),F=o()({},P,(function(e){if(void 0===e[P])return!1;var t;try{for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];t=S.apply(void 0,n),_(t)}catch(e){return!1}return!!e[P][Object(p.u)(t)]}));return{initialState:C,actions:U,controls:L,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case k:var i=n.params;return v(v({},e),{},o()({},P,v(v({},e[P]),{},o()({},Object(p.u)(i),!0))));case x:var a=n.response,c=n.params;return f(e,a,c);case T:var u=n.params;return v(v({},e),{},o()({},P,v(v({},e[P]),{},o()({},Object(p.u)(u),!1))));case D:var s=n.params;return v(v({},e),{},o()({},P,v(v({},e[P]),{},o()({},Object(p.u)(s),!1))));default:return e}},resolvers:{},selectors:F}}},431:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(5),i=r.n(n),a=r(14),o=r.n(a),c=r(9),u=["fetch_error"];function s(e){return l.apply(this,arguments)}function l(){return(l=o()(i.a.mark((function e(t){var r,n,a,o,s,l,f,d;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.method,o=t.type,s=t.identifier,l=t.datapoint,(f=t.error)&&!u.includes(null==f?void 0:f.code)){e.next=3;break}return e.abrupt("return");case 3:return d="code: ".concat(f.code),(null===(r=f.data)||void 0===r?void 0:r.reason)&&(d+=", reason: ".concat(f.data.reason)),e.next=7,Object(c.v)("api_error","".concat(a,":").concat(o,"/").concat(s,"/data/").concat(l),"".concat(f.message," (").concat(d,")"),(null===(n=f.data)||void 0===n?void 0:n.status)||f.code);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},47:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(27);function i(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},49:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return a})),r.d(t,"d",(function(){return o})),r.d(t,"c",(function(){return c})),r.d(t,"e",(function(){return u}));var n=r(105);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){return/^#\w[A-Za-z0-9-_]*$/.test(e)}function u(e,t){if(!Object(n.a)(e))return e;if(e.length<=t)return e;var r=new URL(e),i=e.replace(r.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},50:function(e,t,r){"use strict";r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return b}));var n=r(6),i=r.n(n),a=r(28),o=r.n(a),c=r(7),u=r.n(c),s=r(73),l=r.n(s),f=r(9);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t){if(t&&Array.isArray(t)){var r=t.map((function(e){return"object"===o()(e)?Object(f.u)(e):e}));return"".concat(e,"::").concat(l()(JSON.stringify(r)))}return e}var v={receiveError:function(e,t,r){return u()(e,"error is required."),t&&u()(r&&Array.isArray(r),"args is required (and must be an array) when baseName is specified."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:r}}},clearError:function(e,t){return e&&u()(t&&Array.isArray(t),"args is required (and must be an array) when baseName is specified."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function b(){var e={getErrorForSelector:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"selectorName is required."),e.getError(t,r,n)},getErrorForAction:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"actionName is required."),e.getError(t,r,n)},getError:function(e,t,r){var n=e.error,i=e.errors;return t||r?(u()(t,"baseName is required."),i[g(t,r)]):n},getErrors:function(e){var t=new Set(Object.values(e.errors));return void 0!==e.error&&t.add(e.error),Array.from(t)},hasErrors:function(t){return e.getErrors(t).length>0}};return{initialState:{errors:{},error:void 0},actions:v,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_ERROR":var a=n.baseName,o=n.args,c=n.error;return p(p({},e),{},a?{errors:p(p({},e.errors||{}),{},i()({},g(a,o),c))}:{error:c});case"CLEAR_ERROR":var u=n.baseName,s=n.args,l=p({},e);if(u){var f=g(u,s);l.errors=p({},e.errors||{}),delete l.errors[f]}else l.error=void 0;return l;case"CLEAR_ERRORS":var d=n.baseName,v=p({},e);if(d)for(var b in v.errors=p({},e.errors||{}),v.errors)(b===d||b.startsWith("".concat(d,"::")))&&delete v.errors[b];else v.errors={},v.error=void 0;return v;default:return e}},resolvers:{},selectors:e}}},53:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(2),i=function(e){return function(t){return function FilteredComponent(r){return Object(n.createElement)(n.Fragment,{},"",Object(n.createElement)(t,r),e)}}}},56:function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return n})),r.d(t,"e",(function(){return u})),r.d(t,"f",(function(){return p})),r.d(t,"g",(function(){return g})),r.d(t,"h",(function(){return f.a})),r.d(t,"d",(function(){return v})),r.d(t,"c",(function(){return y})),r.d(t,"i",(function(){return d}));var n="Invalid dateString parameter, it must be a string.",i='Invalid date range, it must be a string with the format "last-x-days".',a=r(7),o=r.n(a),c=r(37),u=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var r="".concat(t.getMonth()+1),n="".concat(t.getDate());return[t.getFullYear(),r.length<2?"0".concat(r):r,n.length<2?"0".concat(n):n].join("-")},s=r(12),l=r.n(s),f=r(38),d=function(e){o()(Object(f.a)(e),n);var t=e.split("-"),r=l()(t,3),i=r[0],a=r[1],c=r[2];return new Date(i,a-1,c)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r=d(e);return r.setDate(r.getDate()-t),u(r)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function v(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var b=r(1);function y(){var e=function(e){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._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}}}},58:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/ui"},59:function(e,t,r){"use strict";(function(e){var n=r(0),i=r.n(n),a=r(10),o=r.n(a);function ChangeArrow(t){var r=t.direction,n=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),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,r(3))},60:function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return c}));var n=r(28),i=r.n(n),a=r(66),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,r="object"===i()(e)?e.toString():e;return null==r||null===(t=r.replace)||void 0===t?void 0:t.call(r,/\/+$/,"")}},66:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return i}));var n=r(111),i=r.n(n)()(e)}).call(this,r(18))},69:function(e,t,r){"use strict";(function(e){r.d(t,"c",(function(){return S})),r.d(t,"d",(function(){return _})),r.d(t,"b",(function(){return w})),r.d(t,"a",(function(){return j}));var n=r(12),i=r.n(n),a=r(28),o=r.n(a),c=r(6),u=r.n(c),s=r(17),l=r.n(s),f=r(26),d=r(64),p=r.n(d),g=r(1);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=m(e,t),n=r.formatUnit,i=r.formatDecimal;try{return n()}catch(e){return i()}},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var r=Math.floor(e/60/60),n=Math.floor(e/60%60),i=Math.floor(e%60);return{hours:r,minutes:n,seconds:i,formatUnit:function(){var a=t.unitDisplay,o=b(b({unitDisplay:void 0===a?"short":a},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?_(i,b(b({},o),{},{unit:"second"})):Object(g.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
@@ -13,4 +13,4 @@ Object(g.__)("%sK","google-site-kit"),_(h(e))):1e3<=e?Object(g.sprintf)(// trans
13
  Object(g.__)("%sK","google-site-kit"),_(h(e),e%10==0?{}:t)):_(e,{signDisplay:"never",maximumFractionDigits:1})},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(f.isFinite)(e)?e:Number(e),Object(f.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var r={};if("%"===t)r={style:"percent",maximumFractionDigits:2};else{if("s"===t)return y(e,{unitDisplay:"narrow"});t&&"string"==typeof t?r={style:"currency",currency:t}:Object(f.isPlainObject)(t)&&(r=b({},t))}var n=r,i=n.style,a=void 0===i?"metric":i;return"metric"===a?O(e):"duration"===a?y(e,t):_(e,r)},E=p()(console.warn),_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?j():r,a=l()(t,["locale"]);try{return new Intl.NumberFormat(n,a).format(e)}catch(t){E("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(a);f<d.length;f++){var p=i()(d[f],2),g=p[0],v=p[1];c[g]&&v===c[g]||(u.includes(g)||(s[g]=v))}try{return new Intl.NumberFormat(n,s).format(e)}catch(t){return new Intl.NumberFormat(n).format(e)}},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?j():r,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:a,type:c});return u.format(e)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(g.__)(", ","google-site-kit");return e.join(s)},j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=Object(f.get)(t,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,r(18))},70:function(e,t,r){"use strict";r.d(t,"a",(function(){return k})),r.d(t,"b",(function(){return T})),r.d(t,"c",(function(){return D})),r.d(t,"d",(function(){return R})),r.d(t,"e",(function(){return A})),r.d(t,"g",(function(){return C})),r.d(t,"f",(function(){return N}));var n,i=r(5),a=r.n(i),o=r(23),c=r.n(o),u=r(6),s=r.n(u),l=r(7),f=r.n(l),d=r(198),p=r.n(d),g=r(64),v=r.n(g),b=r(97);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.reduce((function(e,t){return m(m({},e),t)}),{}),i=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),a=x(i);return f()(0===a.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(a.join(", "),". Check your data stores for duplicates.")),n},O=h,S=h,E=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=[].concat(t);return"function"!=typeof i[0]&&(n=i.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.reduce((function(e,r){return r(e,t)}),e)}},_=h,w=h,j=h,I=function(e){return e},k=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=j.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:n,controls:S.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:O.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:E.apply(void 0,[n].concat(c()(t.map((function(e){return e.reducer||I}))))),resolvers:_.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:w.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},T={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},D=(n={},s()(n,"GET_REGISTRY",Object(b.d)((function(e){return function(){return e}}))),s()(n,"AWAIT",(function(e){return e.payload.value})),n),x=function(e){for(var t=[],r={},n=0;n<e.length;n++){var i=e[n];r[i]=r[i]>=1?r[i]+1:1,r[i]>1&&t.push(i)}return t},R={actions:T,controls:D,reducer:I},A=function(e){return function(t){return P(e(t))}},P=v()((function(e){return p()(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return f()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function C(e){return{safeSelector:Object(b.e)((function(t){return function(r){try{for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return e.apply(void 0,[t,r].concat(i)),!0}catch(e){return!1}}})),dangerousSelector:Object(b.e)((function(t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];e.apply(void 0,[t,r].concat(i))}}))}}function N(e,t){return f()("function"==typeof e,"a validator function is required."),f()("function"==typeof t,"an action creator function is required."),f()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},701:function(e,t,r){"use strict";(function(e){var n,i=r(5),a=r.n(i),o=r(14),c=r.n(o),u=r(29),s=r(1),l=r(16),f=r(20),d=r(31),p={slug:"ideaHubModule",contexts:[l.g],version:"1.43.0",checkRequirements:(n=c()(a.a.mark((function e(t){var r,n,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.__experimentalResolveSelect(f.a).getModules();case 2:if(r=t.select(f.a).isModuleActive("idea-hub"),n=t.select(f.a).isModuleConnected("idea-hub"),r&&n){e.next=6;break}return e.abrupt("return",!1);case 6:return e.next=8,t.__experimentalResolveSelect(d.u).getNewIdeas();case 8:return i=e.sent,e.abrupt("return",!!i.length);case 10:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)}),steps:[{target:".googlesitekit-widget--ideaHubIdeas",title:Object(s.__)("Get inspiration for new topics to write about!","google-site-kit"),content:Object(s.__)("These ideas are based on unanswered searches related to the content of your site. They are organized by topics and will refresh every 2-3 days.","google-site-kit")},{target:".googlesitekit-idea-hub__actions--create",title:Object(s.__)("Start a draft","google-site-kit"),content:Object(s.__)("Found an interesting idea you want to write about? Create a draft! You can always get back to it later on the Posts page.","google-site-kit")},{target:".googlesitekit-idea-hub__idea--single",title:Object(s.__)("Save for later or dismiss","google-site-kit"),content:Object(s.__)('If you’re not ready to create a draft about an idea just yet, add it to your "Saved" list and revisit later. If you don’t like an idea, you can dismiss it from your list.',"google-site-kit"),placement:"top"}],gaEventCategory:d.o,callback:function(t){var r=t.type,n=t.index;if([u.b.STEP_BEFORE,u.b.STEP_AFTER].includes(r)&&2===n){var i="googlesitekit-idea-hub__actions--unhide",a=e.document.querySelector(".googlesitekit-idea-hub__actions--pin"),o=e.document.querySelector(".googlesitekit-idea-hub__actions--delete");a&&o&&(r===u.b.STEP_BEFORE&&(a.classList.add(i),o.classList.add(i)),r===u.b.STEP_AFTER&&(a.classList.remove(i),o.classList.remove(i)))}}};t.a=p}).call(this,r(18))},705:function(e,t,r){"use strict";(function(e){var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(4),l=r.n(s),f=r(13);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var g=l.a.createRegistrySelector,v={permissionError:null,capabilities:void 0},b={clearPermissionScopeError:function(){return{payload:{},type:"CLEAR_PERMISSION_SCOPE_ERROR"}},setPermissionScopeError:function(e){return u()(e,"permissionError is required."),{payload:{permissionError:e},type:"SET_PERMISSION_SCOPE_ERROR"}},receiveCapabilities:function(e){return{type:"RECEIVE_CAPABILITIES",payload:{capabilities:e}}}},y={getCapabilities:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l.a.commonActions.getRegistry();case 2:if(!t.sent.select(f.a).getCapabilities()){t.next=5;break}return t.abrupt("return");case 5:return(null===(r=e._googlesitekitUserData)||void 0===r?void 0:r.permissions)||e.console.error("Could not load core/user permissions."),t.next=8,b.receiveCapabilities(null===(n=e._googlesitekitUserData)||void 0===n?void 0:n.permissions);case 8:case"end":return t.stop()}}),t)}))},m={getPermissionScopeError:function(e){return e.permissionError},getCapabilities:function(e){return e.capabilities},hasCapability:g((function(e){return function(t,r){var n=e(f.a).getCapabilities();if(n)return!!n[r]}}))};t.a={initialState:v,actions:b,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"CLEAR_PERMISSION_SCOPE_ERROR":return p(p({},e),{},{permissionError:null});case"SET_PERMISSION_SCOPE_ERROR":var i=n.permissionError;return p(p({},e),{},{permissionError:i});case"RECEIVE_CAPABILITIES":var a=n.capabilities;return p(p({},e),{},{capabilities:a});default:return e}},resolvers:y,selectors:m}}).call(this,r(18))},706:function(e,t,r){"use strict";(function(e){var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(280),l=r(4),f=r.n(l),d=r(13);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=f.a.createRegistrySelector,b={connectURL:void 0,initialVersion:void 0,user:void 0,verified:void 0},y={receiveConnectURL:function(e){return u()(e,"connectURL is required."),{payload:{connectURL:e},type:"RECEIVE_CONNECT_URL"}},receiveUserInfo:function(e){return u()(e,"userInfo is required."),{payload:{user:e},type:"RECEIVE_USER_INFO"}},receiveInitialSiteKitVersion:function(e){return u()(e,"initialVersion is required."),{payload:{initialVersion:e},type:"RECEIVE_USER_INITIAL_SITE_KIT_VERSION"}},receiveUserIsVerified:function(e){return u()(void 0!==e,"userIsVerified is required."),{payload:{verified:e},type:"RECEIVE_USER_IS_VERIFIED"}},receiveUserInputState:function(e){return u()(e,"userInputState is required."),{payload:{userInputState:e},type:"RECEIVE_USER_INPUT_STATE"}}},m={getConnectURL:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,!(0,r.select)(d.a).getConnectURL()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.connectURL,t.next=12,y.receiveConnectURL(n);case 12:case"end":return t.stop()}}),t)})),getUser:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(d.a).getUser()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.user,t.next=12,y.receiveUserInfo(n);case 12:case"end":return t.stop()}}),t)})),getInitialSiteKitVersion:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(d.a).getInitialSiteKitVersion()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:if(!(n=e._googlesitekitUserData.initialVersion)){t.next=13;break}return t.next=13,y.receiveInitialSiteKitVersion(n);case 13:case"end":return t.stop()}}),t)})),isVerified:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(d.a).isVerified()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.verified,t.next=12,y.receiveUserIsVerified(n);case 12:case"end":return t.stop()}}),t)})),getUserInputState:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,!(0,r.select)(d.a).getUserInputState()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.userInputState,t.next=12,y.receiveUserInputState(n);case 12:case"end":return t.stop()}}),t)}))},h={getUser:function(e){return e.user},getConnectURL:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.additionalScopes,n=void 0===r?[]:r,i=t.redirectURL,a=void 0===i?void 0:i,o=e.connectURL,c={redirect:a};if(void 0!==o){if(null==n?void 0:n.length){var u=n.map((function(e){return e.replace(/^http(s)?:/,"gttp$1:")}));return Object(s.a)(o,g(g({},c),{},{additional_scopes:u}))}return Object(s.a)(o,c)}},getID:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.id:t}})),getName:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.name:t}})),getEmail:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.email:t}})),getPicture:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.picture:t}})),getInitialSiteKitVersion:function(e){return e.initialVersion},isVerified:function(e){return e.verified},getUserInputState:function(e){return e.userInputState}};t.a={initialState:b,actions:y,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_CONNECT_URL":var i=n.connectURL;return g(g({},e),{},{connectURL:i});case"RECEIVE_USER_INFO":var a=n.user;return g(g({},e),{},{user:a});case"RECEIVE_USER_INITIAL_SITE_KIT_VERSION":var o=n.initialVersion;return g(g({},e),{},{initialVersion:o});case"RECEIVE_USER_IS_VERIFIED":var c=n.verified;return g(g({},e),{},{verified:c});case"RECEIVE_USER_INPUT_STATE":var u=n.userInputState;return g(g({},e),{},{userInputState:u});default:return e}},resolvers:m,selectors:h}}).call(this,r(18))},71:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return a}));var n=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("")}},77:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return f}));var n=r(12),i=r.n(n),a=r(1);function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(u)throw a}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,r=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),i=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&i)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),r=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===r)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(a.sprintf)(
15
  /* translators: %d is the number of notifications */
16
- Object(a._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(u),t&&null===n&&t.appendChild(o),r&&null===i&&r.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},l=function(e){for(var t=location.search.substr(1).split("&"),r={},n=0;n<t.length;n++)r[t[n].split("=")[0]]=decodeURIComponent(t[n].split("=")[1]);return e?r.hasOwnProperty(e)?decodeURIComponent(r[e].replace(/\+/g," ")):"":r},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,r=new URL(t.href);if(e)return r.searchParams&&r.searchParams.get?r.searchParams.get(e):l(e);var n,a={},c=o(r.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=i()(n.value,2),s=u[0],f=u[1];a[s]=f}}catch(e){c.e(e)}finally{c.f()}return a}}).call(this,r(18))},79:function(e,t,r){"use strict";(function(e){r(44),r(45)}).call(this,r(18))},80:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return c}));var n=r(185),i=r(59),a=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=r.invertColor,o=void 0!==a&&a;return Object(n.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,r,n,i,a,o,c,u,s,l,f,d,p,g,v;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(r=t.data)||void 0===r||null===(n=r.rows)||void 0===n?void 0:n.length)||(null==e||null===(i=e[0])||void 0===i||null===(a=i.data)||void 0===a||null===(o=a.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==e||null===(f=e[0])||void 0===f||null===(d=f.data)||void 0===d||null===(p=d.totals)||void 0===p||null===(g=p[0])||void 0===g||null===(v=g.values)||void 0===v?void 0:v[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,r(3))},81:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return l}));var n=r(6),i=r.n(n),a=r(82),o=r(83);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=u(u({},s),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(i,r);return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:Object(o.a)(i,r,c,n)}}}).call(this,r(18))},82:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return a}));var n=r(47),i=r(27);function a(t,r){var a,o=Object(n.a)(r);return function(){var r=e.document;if(void 0===a&&(a=!!r.querySelector("script[".concat(i.b,"]"))),!a){var n=r.createElement("script");n.setAttribute(i.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),r.head.appendChild(n),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),a=!0}}}}).call(this,r(18))},83:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return p}));var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(14),u=r.n(c),s=r(47),l=r(33);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(t,r,n,a){var o=Object(s.a)(r);return function(){var r=u()(i.a.mark((function r(c,u,s,f){var p,g,v,b,y,m,h,O,S,E;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(b=t.activeModules,y=t.referenceSiteURL,m=t.trackingEnabled,h=t.trackingID,O=t.userIDHash,m){r.next=3;break}return r.abrupt("return");case 3:return n(),S=null!==(p=null===(g=e._googlesitekitUserData)||void 0===g||null===(v=g.user)||void 0===v?void 0:v.roles)&&void 0!==p?p:[],E={send_to:h,event_category:c,event_label:s,value:f,dimension1:y,dimension2:S.join(","),dimension3:O,dimension4:"1.49.0",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},r.abrupt("return",new Promise((function(e){var t,r,n=setTimeout((function(){a.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),i=function(){clearTimeout(n),e()};o("event",u,d(d({},E),{},{event_callback:i})),(null===(t=a._gaUserPrefs)||void 0===t||null===(r=t.ioo)||void 0===r?void 0:r.call(t))&&i()})));case 7:case"end":return r.stop()}}),r)})));return function(e,t,n,i){return r.apply(this,arguments)}}()}}).call(this,r(18))},9:function(e,t,r){"use strict";r.d(t,"v",(function(){return c.b})),r.d(t,"s",(function(){return u.a})),r.d(t,"w",(function(){return u.b})),r.d(t,"u",(function(){return p})),r.d(t,"c",(function(){return g.b})),r.d(t,"j",(function(){return g.c})),r.d(t,"q",(function(){return v.c})),r.d(t,"r",(function(){return v.d})),r.d(t,"n",(function(){return v.b})),r.d(t,"i",(function(){return v.a})),r.d(t,"o",(function(){return h})),r.d(t,"d",(function(){return O})),r.d(t,"f",(function(){return S.c})),r.d(t,"t",(function(){return S.i})),r.d(t,"g",(function(){return E.b})),r.d(t,"m",(function(){return E.c})),r.d(t,"b",(function(){return E.a})),r.d(t,"l",(function(){return _.b})),r.d(t,"h",(function(){return _.a})),r.d(t,"p",(function(){return _.d})),r.d(t,"k",(function(){return w})),r.d(t,"a",(function(){return j})),r.d(t,"x",(function(){return I})),r.d(t,"e",(function(){return k}));var n=r(110),i=r.n(n),a=r(108),o=r.n(a),c=r(30),u=r(60),s=r(28),l=r.n(s),f=r(73),d=r.n(f),p=function(e){return d()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var i=t[n];i&&"object"===l()(i)&&!Array.isArray(i)&&(i=e(i)),r[n]=i})),r}(e)))};var g=r(77),v=(r(79),r(69));r(53);function b(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function y(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function h(e){for(var t=e,r=0,n=[b,y,m];r<n.length;r++){t=(0,n[r])(t)}return t}var O=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)]},S=r(56),E=r(80),_=r(49),w=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},j=function(e,t){if("0"===e||0===e||isNaN(e))return null;var r=(t-e)/e;return isNaN(r)||!i()(r)?null:r},I=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 o()(t)}},91:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"b",(function(){return a}));r(52);var n="missing_required_scopes";function i(e){return(null==e?void 0:e.code)===n}function a(e){var t;return"insufficientPermissions"===(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}}},[[1042,1,0]]]);
1
+ (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[14],{1:function(e,t){e.exports=googlesitekit.i18n},1042:function(e,t,r){"use strict";r.r(t);var n=r(4),i=r.n(n),a=r(50),o=r(5),c=r.n(o),u=r(6),s=r.n(u),l=r(34),f=r.n(l),d=r(13),p=r(43);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=i.a.createRegistrySelector;function y(e){return b((function(t){return function(){return(t(d.a).getAuthentication()||{})[e]}}))}var m=Object(p.a)({baseName:"getAuthentication",controlCallback:function(){return f.a.get("core","user","authentication",void 0,{useCache:!1})},reducerCallback:function(e,t){return v(v({},e),{},{authentication:t})}}),h={authentication:void 0,authError:null},O={setAuthError:function(e){return{payload:{error:e},type:"SET_AUTH_ERROR"}},clearAuthError:function(){return{payload:{},type:"CLEAR_AUTH_ERROR"}}},S={getAuthentication:c.a.mark((function e(){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:if(t=e.sent,(0,t.select)(d.a).getAuthentication()){e.next=7;break}return e.next=7,m.actions.fetchGetAuthentication();case 7:case"end":return e.stop()}}),e)}))},E={getAuthentication:function(e){return e.authentication},hasScope:b((function(e){return function(t,r){var n=e(d.a).getGrantedScopes(t);if(void 0!==n)return n.includes(r)}})),isAuthenticated:y("authenticated"),getGrantedScopes:y("grantedScopes"),getRequiredScopes:y("requiredScopes"),getUnsatisfiedScopes:y("unsatisfiedScopes"),needsReauthentication:y("needsReauthentication"),getDisconnectedReason:y("disconnectedReason"),getConnectedProxyURL:y("connectedProxyURL"),getPreviousConnectedProxyURL:y("previousConnectedProxyURL"),getAuthError:function(e){return e.authError}},_=i.a.combineStores(m,{initialState:h,actions:O,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_AUTH_ERROR":return v(v({},e),{},{authError:n.error});case"CLEAR_AUTH_ERROR":return v(v({},e),{},{authError:null});default:return e}},resolvers:S,selectors:E}),w=(_.initialState,_.actions,_.controls,_.reducer,_.resolvers,_.selectors,_),j=r(7),I=r.n(j),k=r(56);function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var x={dateRange:"last-28-days",referenceDate:Object(k.e)(new Date)};var R={getDateRange:function(e){return e.dateRange},getDateRangeDates:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.compare,n=void 0!==r&&r,i=t.offsetDays,a=void 0===i?0:i,o=t.referenceDate,c=void 0===o?e.referenceDate:o,u=R.getDateRange(e),s=Object(k.f)(c,a),l=u.match("-(.*)-"),f=Number(l?l[1]:28),d=Object(k.f)(s,f-1),p={startDate:d,endDate:s};if(n){var g=Object(k.f)(d,1),v=Object(k.f)(g,f-1);p.compareStartDate=v,p.compareEndDate=g}return p},getDateRangeNumberOfDays:function(e){var t=R.getDateRange(e).match(/-(\d+)-/);return parseInt(t?t[1]:28,10)},getReferenceDate:function(e){return e.referenceDate}},A={initialState:x,actions:{setDateRange:function(e){return I()(e,"Date range slug is required."),I()(Object(k.g)(e),k.a),{type:"SET_DATE_RANGE",payload:{slug:e}}},setReferenceDate:function(e){return I()(e,"Date string is required."),I()(Object(k.h)(e),k.b),{type:"SET_REFERENCE_DATE",payload:{dateString:e}}}},controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_DATE_RANGE":return D(D({},e),{},{dateRange:n.slug});case"SET_REFERENCE_DATE":return D(D({},e),{},{referenceDate:n.dateString});default:return e}},resolvers:{},selectors:R};function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var N=i.a.createRegistrySelector,U=Object(p.a)({baseName:"disconnect",controlCallback:function(){return f.a.set("core","user","disconnect")},reducerCallback:function(e,t){return C(C({},e),{},{disconnected:t})}}),L={disconnected:void 0},F={disconnect:c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,U.actions.fetchDisconnect();case 2:case"end":return e.stop()}}),e)}))},V={isDoingDisconnect:N((function(e){return function(){return e(d.a).isFetchingDisconnect()}}))},q=i.a.combineStores(U,{initialState:L,actions:F,selectors:V}),M=(q.initialState,q.actions,q.controls,q.reducer,q.resolvers,q.selectors,q),G=r(70);function H(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function B(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?H(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):H(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var K=i.a.createRegistrySelector,$=i.a.commonActions.getRegistry;function Y(e,t){return B(B({},e),{},{dismissedItems:Array.isArray(t)?t:[]})}var W,J,z=Object(p.a)({baseName:"getDismissedItems",controlCallback:function(){return f.a.get("core","user","dismissed-items",{},{useCache:!1})},reducerCallback:Y}),Q=Object(p.a)({baseName:"dismissItem",controlCallback:function(e){var t=e.slug,r=e.expiresInSeconds;return f.a.set("core","user","dismiss-item",{slug:t,expiration:r})},reducerCallback:Y,argsToParams:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{slug:e,expiresInSeconds:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug,r=e.expiresInSeconds;I()(t,"slug is required."),I()(Number.isInteger(r),"expiresInSeconds must be an integer.")}}),Z={dismissedItems:void 0},X={dismissItem:Object(G.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.expiresInSeconds,n=void 0===r?0:r;I()(e,"A tour slug is required to dismiss a tour."),I()(Number.isInteger(n),"expiresInSeconds must be an integer.")}),c.a.mark((function e(t){var r,n,i,a=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>1&&void 0!==a[1]?a[1]:{},n=r.expiresInSeconds,i=void 0===n?0:n,e.next=4,Q.actions.fetchDismissItem(t,i);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))},ee={getDismissedItems:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$();case 2:if(t=e.sent,r=t.select,void 0!==r(d.a).getDismissedItems()){e.next=8;break}return e.next=8,z.actions.fetchGetDismissedItems();case 8:case"end":return e.stop()}}),e)}))},te={getDismissedItems:function(e){return e.dismissedItems},isItemDismissed:K((function(e){return function(t,r){var n;return null===(n=e(d.a).getDismissedItems())||void 0===n?void 0:n.includes(r)}})),isDismissingItem:K((function(e){return function(t,r){return e(d.a).isFetchingDismissItem(r)}}))},re=i.a.combineStores({initialState:Z,actions:X,resolvers:ee,selectors:te},Q,z),ne={actions:re.actions,controls:re.controls,initialState:re.initialState,reducer:re.reducer,resolvers:re.resolvers,selectors:re.selectors},ie=r(14),ae=r.n(ie),oe=r(700),ce=r.n(oe),ue=r(1),se=r(16),le=r(58),fe=r(20),de=r(11),pe={slug:"helpVisibility",contexts:[se.g,se.k],version:"1.29.0",gaEventCategory:function(e){return"".concat(e,"_headerbar_helpmenu")},steps:[{target:".googlesitekit-help-menu",title:Object(ue.__)("Need help?","google-site-kit"),content:Object(ue.__)("Access the Site Kit docs or ask a question in our support forum from here.","google-site-kit"),placement:"bottom-start"}]},ge=r(701),ve=r(31),be={slug:"ideaHubPostsTable",contexts:[se.l],version:"1.43.0",gaEventCategory:ve.n,checkRequirements:(W=ae()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(document.querySelector(".googlesitekit-idea-hub__post")){e.next=2;break}return e.abrupt("return",!1);case 2:return e.next=4,t.__experimentalResolveSelect(fe.a).getModules();case 4:return e.abrupt("return",t.select(fe.a).isModuleConnected("idea-hub"));case 5:case"end":return e.stop()}}),e)}))),function(e){return W.apply(this,arguments)}),steps:[{target:".googlesitekit-idea-hub__post",title:Object(ue.__)("Get started writing about your saved ideas","google-site-kit"),content:Object(ue.__)("Drafts you created from Idea Hub within Site Kit appear here for easy access.","google-site-kit")}]},ye=[{slug:"allTrafficWidget",contexts:[se.g],version:"1.25.0",gaEventCategory:"".concat(se.g,"_all-traffic-widget"),checkRequirements:function(){var e=ae()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.__experimentalResolveSelect(fe.a).getModules();case 2:if(t.select(fe.a).isModuleConnected("analytics")){e.next=4;break}return e.abrupt("return",!1);case 4:return e.next=6,new Promise((function(e){setTimeout((function r(){t.select(le.a).getValue(de.q)?e():setTimeout(r,250)}),250)}));case 6:return e.abrupt("return",!0);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),steps:[{target:".googlesitekit-widget--analyticsAllTraffic__totals",title:Object(ue.__)("It’s now easier to see your site’s traffic at a glance","google-site-kit"),content:Object(ue.__)("Check the trend graph to see how your traffic changed over time","google-site-kit"),placement:"top"},{target:".googlesitekit-widget--analyticsAllTraffic__dimensions",title:Object(ue.__)("See where your visitors come from","google-site-kit"),content:Object(ue.__)("Click on the chart slices to see how each segment has changed over time","google-site-kit"),placement:"top"},{target:".googlesitekit-header__date-range-selector-menu",title:Object(ue.__)("Check how your traffic changed since you last looked","google-site-kit"),content:Object(ue.__)("Select a time frame to see the comparison with the previous time period","google-site-kit")}]},pe,ge.a,be],me=r(39);function he(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return Oe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Oe(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw a}}}}function Oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var _e,we=i.a.createRegistrySelector,je=i.a.createRegistryControl,Ie=i.a.commonActions.getRegistry,ke=Object(p.a)({baseName:"getDismissedTours",controlCallback:function(){return f.a.get("core","user","dismissed-tours",{},{useCache:!1})},reducerCallback:function(e,t){return Ee(Ee({},e),{},{dismissedTourSlugs:t})}}),Te=Object(p.a)({baseName:"dismissTour",controlCallback:function(e){var t=e.slug;return f.a.set("core","user","dismiss-tour",{slug:t})},reducerCallback:function(e,t){return Ee(Ee({},e),{},{dismissedTourSlugs:t})},argsToParams:function(e){return{slug:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug;I()(t,"slug is required.")}}),De={lastDismissedAt:void 0,dismissedTourSlugs:void 0,tours:ye,viewTours:{}},xe={dismissTour:Object(G.f)((function(e){I()(e,"A tour slug is required to dismiss a tour.")}),c.a.mark((function e(t){var r,n,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ie();case 2:if(r=e.sent,!(n=r.select)(d.a).isFetchingDismissTour(t)){e.next=7;break}return i=n(d.a).getDismissedFeatureTourSlugs(),e.abrupt("return",{response:i,error:void 0});case 7:return e.next=9,{type:"DISMISS_TOUR",payload:{slug:t}};case 9:return e.next=11,Ne.setLastDismissedAt(Date.now());case 11:return e.next=13,Te.actions.fetchDismissTour(t);case 13:return e.abrupt("return",e.sent);case 14:case"end":return e.stop()}}),e)}))),receiveFeatureToursForView:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.viewContext;return I()(Array.isArray(e),"viewTours must be an array."),I()(r,"viewContext is required."),{payload:{viewTours:e,viewContext:r},type:"RECEIVE_READY_TOURS"}},receiveAllFeatureTours:function(e){return I()(Array.isArray(e),"tours must be an array."),{payload:{tours:e},type:"RECEIVE_TOURS"}},receiveLastDismissedAt:function(e){return I()(void 0!==e,"A timestamp is required."),{type:"RECEIVE_LAST_DISMISSED_AT",payload:{timestamp:e}}},setLastDismissedAt:Object(G.f)((function(e){I()(e,"A timestamp is required.")}),c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"CACHE_LAST_DISMISSED_AT",payload:{timestamp:t}};case 2:return e.next=4,{type:"RECEIVE_LAST_DISMISSED_AT",payload:{timestamp:t}};case 4:case"end":return e.stop()}}),e)})))},Re=(J={},s()(J,"CHECK_TOUR_REQUIREMENTS",je((function(e){return function(){var t=ae()(c.a.mark((function t(r){var n,i,a,o;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=r.payload,i=n.tour,a=n.viewContext,i.contexts.includes(a)){t.next=4;break}return t.abrupt("return",!1);case 4:if(o=e.select(d.a).getInitialSiteKitVersion()){t.next=9;break}return t.abrupt("return",!1);case 9:if(!ce.a.compare(o,i.version,">=")){t.next=11;break}return t.abrupt("return",!1);case 11:return t.next=13,e.__experimentalResolveSelect(d.a).getDismissedFeatureTourSlugs();case 13:if(!e.select(d.a).isTourDismissed(i.slug)){t.next=15;break}return t.abrupt("return",!1);case 15:if(!i.checkRequirements){t.next=19;break}return t.next=18,i.checkRequirements(e);case 18:return t.abrupt("return",!!t.sent);case 19:return t.abrupt("return",!0);case 20:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),s()(J,"CACHE_LAST_DISMISSED_AT",(_e=ae()(c.a.mark((function e(t){var r,n;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n=r.timestamp,e.next=4,Object(me.d)("feature_tour_last_dismissed_at",n,{ttl:7200});case 4:case"end":return e.stop()}}),e)}))),function(e){return _e.apply(this,arguments)})),J),Ae={getDismissedFeatureTourSlugs:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ie();case 2:if(t=e.sent,r=t.select,void 0!==r(d.a).getDismissedFeatureTourSlugs()){e.next=8;break}return e.next=8,ke.actions.fetchGetDismissedTours();case 8:case"end":return e.stop()}}),e)})),getFeatureToursForView:c.a.mark((function e(t){var r,n,i,a,o,u;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ie();case 2:r=e.sent,n=r.select(d.a).getAllFeatureTours(),i=[],a=he(n),e.prev=6,a.s();case 8:if((o=a.n()).done){e.next=16;break}return u=o.value,e.next=12,{payload:{tour:u,viewContext:t},type:"CHECK_TOUR_REQUIREMENTS"};case 12:e.sent&&i.push(u);case 14:e.next=8;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(6),a.e(e.t0);case 21:return e.prev=21,a.f(),e.finish(21);case 24:return e.next=26,Ne.receiveFeatureToursForView(i,{viewContext:t});case 26:case"end":return e.stop()}}),e,null,[[6,18,21,24]])})),getLastDismissedAt:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.await(Object(me.b)("feature_tour_last_dismissed_at"));case 2:return t=e.sent,r=t.value,e.next=6,Ne.receiveLastDismissedAt(r||null);case 6:case"end":return e.stop()}}),e)}))},Pe={getDismissedFeatureTourSlugs:function(e){return e.dismissedTourSlugs},getFeatureToursForView:function(e,t){return e.viewTours[t]},getAllFeatureTours:function(e){return e.tours},isTourDismissed:we((function(e){return function(t,r){var n=e(d.a).getDismissedFeatureTourSlugs();if(void 0!==n)return n.includes(r)}})),getLastDismissedAt:function(e){return e.lastDismissedAt},areFeatureToursOnCooldown:we((function(e){return function(){var t=e(d.a).getLastDismissedAt();if(void 0!==t){if(null===t)return!1;var r=t+72e5;return Date.now()<r}}}))},Ce=i.a.combineStores({initialState:De,actions:xe,controls:Re,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"DISMISS_TOUR":var i=n.slug,a=e.dismissedTourSlugs,o=void 0===a?[]:a;return o.includes(i)?e:Ee(Ee({},e),{},{dismissedTourSlugs:o.concat(i)});case"RECEIVE_READY_TOURS":var c=n.viewContext,u=n.viewTours;return Ee(Ee({},e),{},{viewTours:Ee(Ee({},e.viewTours),{},s()({},c,u))});case"RECEIVE_TOURS":return Ee(Ee({},e),{},{tours:n.tours});case"RECEIVE_LAST_DISMISSED_AT":return Ee(Ee({},e),{},{lastDismissedAt:n.timestamp});default:return e}},resolvers:Ae,selectors:Pe},Te,ke),Ne=Ce.actions,Ue=Ce.controls,Le=Ce.initialState,Fe=Ce.reducer,Ve=Ce.resolvers,qe=Ce.selectors,Me={actions:Ne,controls:Ue,initialState:Le,reducer:Fe,resolvers:Ve,selectors:qe},Ge=r(341),He=Object(Ge.a)("core","user","notifications",{server:!1}),Be=r(705),Ke=r(52),$e=r.n(Ke),Ye=r(389);function We(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?We(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):We(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ze=i.a.createRegistrySelector,Qe=Object(p.a)({baseName:"triggerSurvey",controlCallback:function(e){var t=e.triggerID;return f.a.set("core","user","survey-trigger",{triggerID:t})},argsToParams:function(e){return{triggerID:e}},reducerCallback:function(e,t){var r=t.survey_payload,n=t.session;return et.getCurrentSurvey(e)?e:Je(Je({},e),{},{currentSurvey:r,currentSurveySession:n})},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.triggerID;I()("string"==typeof t&&t.length,"triggerID is required and must be a string")}}),Ze=Object(p.a)({baseName:"sendSurveyEvent",controlCallback:function(e){var t=e.event,r=e.session;return f.a.set("core","user","survey-event",{event:t,session:r})},argsToParams:function(e,t){return{event:e,session:t}}}),Xe={triggerSurvey:Object(G.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.ttl,n=void 0===r?0:r;I()("string"==typeof e&&e.length,"triggerID is required and must be a string"),I()($e()(t),"options must be an object"),I()("number"==typeof n,"options.ttl must be a number")}),c.a.mark((function e(t){var r,n,a,o,u,s,l,f,p,g=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=g.length>1&&void 0!==g[1]?g[1]:{},n=r.ttl,a=void 0===n?0:n,e.next=4,i.a.commonActions.getRegistry();case 4:if(o=e.sent,!(0,o.select)(d.a).getCurrentSurvey()){e.next=8;break}return e.abrupt("return",{});case 8:return u=Object(Ye.a)("core","user","survey-trigger",{triggerID:t}),e.next=11,i.a.commonActions.await(Object(me.b)(u));case 11:if(s=e.sent,!1!==s.cacheHit){e.next=22;break}return e.next=16,Qe.actions.fetchTriggerSurvey(t);case 16:if(l=e.sent,f=l.response,!(p=l.error)){e.next=21;break}return e.abrupt("return",{response:f,error:p});case 21:a>0&&setTimeout(ae()(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(me.d)(u,{},{ttl:a});case 2:case"end":return e.stop()}}),e)}))),3e4);case 22:return e.abrupt("return",{response:{},error:!1});case 23:case"end":return e.stop()}}),e)}))),sendSurveyEvent:Object(G.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};I()("string"==typeof e&&e.length,"eventID is required and must be a string"),I()($e()(t),"eventData must be an object")}),c.a.mark((function e(t){var r,n,a,o,u,l,f,p,g=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=g.length>1&&void 0!==g[1]?g[1]:{},n=s()({},t,r),e.next=4,i.a.commonActions.getRegistry();case 4:if(a=e.sent,o=a.select,!(u=o(d.a).getCurrentSurveySession())){e.next=14;break}return e.next=10,Ze.actions.fetchSendSurveyEvent(n,u);case 10:return l=e.sent,f=l.response,p=l.error,e.abrupt("return",{response:f,error:p});case 14:case"end":return e.stop()}}),e)})))},et={getCurrentSurvey:function(e){return e.currentSurvey},getCurrentSurveySession:function(e){return e.currentSurveySession},getCurrentSurveyCompletions:ze((function(e){return function(){var t=e(d.a).getCurrentSurvey();return(null==t?void 0:t.completion)||null}})),getCurrentSurveyQuestions:ze((function(e){return function(){var t=e(d.a).getCurrentSurvey();return(null==t?void 0:t.question)||null}}))},tt=i.a.combineStores(Qe,Ze,{initialState:{currentSurvey:null,currentSurveySession:null},actions:Xe,selectors:et}),rt=(tt.initialState,tt.actions,tt.selectors,tt);function nt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function it(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var at,ot=a.a.receiveError,ct=a.a.clearError,ut=function(e,t){return it(it({},e),{},{tracking:t})},st=Object(p.a)({baseName:"getTracking",controlCallback:function(){return f.a.get("core","user","tracking")},reducerCallback:ut}),lt=Object(p.a)({baseName:"setTracking",controlCallback:function(e){return f.a.set("core","user","tracking",{enabled:!!e})},reducerCallback:ut,argsToParams:function(e){return e}}),ft={tracking:void 0,isSavingTrackingEnabled:!1},dt={setTrackingEnabled:c.a.mark((function e(t){var r,n,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ct("setTrackingEnabled",[t]);case 2:return e.next=4,{type:"SET_TRACKING_ENABLED_SAVING_ACTION",payload:{isSaving:!0}};case 4:return e.next=6,lt.actions.fetchSetTracking(t);case 6:if(r=e.sent,n=r.response,!(i=r.error)){e.next=12;break}return e.next=12,ot(i,"setTrackingEnabled",[t]);case 12:return e.next=14,{type:"SET_TRACKING_ENABLED_SAVING_ACTION",payload:{isSaving:!1}};case 14:return e.abrupt("return",{response:n,error:i});case 15:case"end":return e.stop()}}),e)}))},pt={isTrackingEnabled:c.a.mark((function e(){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:if(t=e.sent,void 0!==(0,t.select)(d.a).isTrackingEnabled()){e.next=7;break}return e.next=7,st.actions.fetchGetTracking();case 7:case"end":return e.stop()}}),e)}))},gt=i.a.combineStores(st,lt,{initialState:ft,actions:dt,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_TRACKING_ENABLED_SAVING_ACTION":return it(it({},e),{},{isSavingTrackingEnabled:n.isSaving});default:return e}},resolvers:pt,selectors:{isSavingTrackingEnabled:function(e){return!!(null==e?void 0:e.isSavingTrackingEnabled)},isTrackingEnabled:function(e){var t=e.tracking;return null==t?void 0:t.enabled}}}),vt=(gt.initialState,gt.actions,gt.controls,gt.reducer,gt.resolvers,gt.selectors,gt),bt=r(706);function yt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function mt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ht=i.a.commonActions,Ot=i.a.createRegistryControl,St=i.a.createRegistrySelector,Et=a.a.receiveError,_t=a.a.clearError;function wt(e,t){return mt(mt({},e),{},{inputSettings:t})}var jt,It=Object(p.a)({baseName:"getUserInputSettings",controlCallback:(jt=ae()(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",f.a.get("core","user","user-input-settings",void 0,{useCache:!1}));case 1:case"end":return e.stop()}}),e)}))),function(){return jt.apply(this,arguments)}),reducerCallback:wt}),kt=Object(p.a)({baseName:"saveUserInputSettings",controlCallback:function(e){return f.a.set("core","user","user-input-settings",{settings:e})},reducerCallback:wt,argsToParams:function(e){return e},validateParams:function(e){I()($e()(e),"valid settings are required.")}}),Tt={inputSettings:void 0,isSavingInputSettings:!1},Dt={setUserInputSettingsFromCache:c.a.mark((function e(){var t,r,n,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"GET_CACHED_USER_INPUT_SETTINGS",payload:{}};case 2:if(!(t=e.sent).cacheHit){e.next=12;break}r=0,n=Object.keys(t.value);case 5:if(!(r<n.length)){e.next=12;break}return i=n[r],e.next=9,Dt.setUserInputSetting(i,t.value[i].values);case 9:r++,e.next=5;break;case 12:return e.abrupt("return",t.cacheHit?t.value:{});case 13:case"end":return e.stop()}}),e)})),setUserInputSetting:c.a.mark((function e(t,r){var n,a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:if(n=e.sent,a=r.map((function(e){return e.trim()})),"completed"===n.select(d.a).getUserInputState()){e.next=7;break}return e.next=7,{type:"SET_CACHED_USER_INPUT_SETTING",payload:{settingID:t,values:a}};case 7:return e.abrupt("return",{type:"SET_USER_INPUT_SETTING",payload:{settingID:t,values:a}});case 8:case"end":return e.stop()}}),e)})),saveUserInputSettings:c.a.mark((function e(){var t,r,n,a,o,u,l,f;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,_t("saveUserInputSettings",[]);case 5:return r=function(e){return e.trim()},n=function(e){return e.length>0},a=t.select(d.a).getUserInputSettings(),o=Object.keys(a).reduce((function(e,t){var i;return mt(mt({},e),{},s()({},t,((null===(i=a[t])||void 0===i?void 0:i.values)||[]).map(r).filter(n)))}),{}),e.next=11,{type:"SET_USER_INPUT_SETTINGS_SAVING_FLAG",payload:{isSaving:!0}};case 11:return e.next=13,kt.actions.fetchSaveUserInputSettings(o);case 13:if(u=e.sent,l=u.response,!(f=u.error)){e.next=19;break}return e.next=19,Et(f,"saveUserInputSettings",[]);case 19:return e.next=21,{type:"DELETE_CACHED_USER_INPUT_SETTINGS",payload:{}};case 21:return e.next=23,{type:"SET_USER_INPUT_SETTINGS_SAVING_FLAG",payload:{isSaving:!1}};case 23:return e.abrupt("return",{response:l,error:f});case 24:case"end":return e.stop()}}),e)}))},xt=(at={},s()(at,"DELETE_CACHED_USER_INPUT_SETTINGS",(function(){return Object(me.a)("userInputSettings")})),s()(at,"GET_CACHED_USER_INPUT_SETTINGS",(function(){return Object(me.b)("userInputSettings")})),s()(at,"SET_CACHED_USER_INPUT_SETTING",Ot((function(e){return function(){var t=ae()(c.a.mark((function t(r){var n,i,a,o;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.payload,i=n.settingID,a=n.values,(o=e.select(d.a).getUserInputSettings()||{})[i]={values:a},t.abrupt("return",Object(me.d)("userInputSettings",o));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),at),Rt={getUserInputSettings:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ht.getRegistry();case 2:if(t=e.sent,(r=t.select)(d.a).getUserInputSettings()){e.next=7;break}return e.next=7,It.actions.fetchGetUserInputSettings();case 7:if("completed"===r(d.a).getUserInputState()){e.next=10;break}return e.next=10,Dt.setUserInputSettingsFromCache();case 10:case"end":return e.stop()}}),e)}))},At={isSavingUserInputSettings:function(e){return!!(null==e?void 0:e.isSavingInputSettings)},getUserInputSettings:function(e){return e.inputSettings},getUserInputSetting:St((function(e){return function(t,r){var n,i=null===(n=(e(d.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.values;return Array.isArray(i)?i:[]}})),getUserInputSettingScope:St((function(e){return function(t,r){var n;return null===(n=(e(d.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.scope}})),getUserInputSettingAuthor:St((function(e){return function(t,r){var n;return null===(n=(e(d.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.author}}))},Pt=i.a.combineStores(It,kt,{initialState:Tt,actions:Dt,controls:xt,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_USER_INPUT_SETTING":return mt(mt({},e),{},{inputSettings:mt(mt({},e.inputSettings),{},s()({},n.settingID,mt(mt({},(e.inputSettings||{})[n.settingID]||{}),{},{values:n.values})))});case"SET_USER_INPUT_SETTINGS_SAVING_FLAG":return mt(mt({},e),{},{isSavingInputSettings:n.isSaving});default:return e}},resolvers:Rt,selectors:At}),Ct=(Pt.initialState,Pt.actions,Pt.controls,Pt.reducer,Pt.resolvers,Pt.selectors,Pt),Nt=i.a.combineStores(i.a.commonStore,Object(a.b)(),w,A,M,ne,Me,He,Be.a,rt,vt,bt.a,Ct);Nt.initialState,Nt.actions,Nt.controls,Nt.reducer,Nt.resolvers,Nt.selectors;i.a.registerStore(d.a,Nt)},11:function(e,t,r){"use strict";r.d(t,"f",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"h",(function(){return a})),r.d(t,"g",(function(){return o})),r.d(t,"d",(function(){return c})),r.d(t,"e",(function(){return u})),r.d(t,"k",(function(){return s})),r.d(t,"c",(function(){return l})),r.d(t,"b",(function(){return f})),r.d(t,"s",(function(){return d})),r.d(t,"r",(function(){return p})),r.d(t,"t",(function(){return g})),r.d(t,"p",(function(){return v})),r.d(t,"q",(function(){return b})),r.d(t,"n",(function(){return y})),r.d(t,"o",(function(){return m})),r.d(t,"l",(function(){return h})),r.d(t,"m",(function(){return O})),r.d(t,"j",(function(){return S})),r.d(t,"i",(function(){return E}));var n="modules/analytics",i="account_create",a="property_create",o="profile_create",c="analyticsAccountCreate",u="analyticsSetup",s="https://www.googleapis.com/auth/analytics.provision",l="https://www.googleapis.com/auth/analytics.edit",f=1,d="dashboardAllTrafficWidgetDimensionName",p="dashboardAllTrafficWidgetDimensionColor",g="dashboardAllTrafficWidgetDimensionValue",v="dashboardAllTrafficWidgetActiveRowIndex",b="dashboardAllTrafficWidgetLoaded",y="legacy",m="ua",h="ga4",O="ga4-transitional",S="ua",E="ga4"},13:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"e",(function(){return o})),r.d(t,"c",(function(){return c}));var n="core/user",i="connected_url_mismatch",a="googlesitekit_setup",o="googlesitekit_view_dashboard",c="googlesitekit_manage_options"},16:function(e,t,r){"use strict";r.d(t,"g",(function(){return n})),r.d(t,"k",(function(){return i})),r.d(t,"l",(function(){return a})),r.d(t,"n",(function(){return o})),r.d(t,"e",(function(){return c})),r.d(t,"h",(function(){return u})),r.d(t,"f",(function(){return s})),r.d(t,"m",(function(){return l})),r.d(t,"i",(function(){return f})),r.d(t,"o",(function(){return d})),r.d(t,"j",(function(){return p})),r.d(t,"d",(function(){return g})),r.d(t,"a",(function(){return v})),r.d(t,"c",(function(){return b})),r.d(t,"b",(function(){return y}));var n="dashboard",i="pageDashboard",a="postsList",o="userInput",c="activation",u="splash",s="adminBar",l="settings",f="module",d="wpDashboard",p="moduleSetup",g="traffic",v="content",b="speed",y="monetization"},20:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n="core/modules",i="insufficient_module_dependencies"},217:function(e,t,r){"use strict";(function(e){var n=r(48),i=r.n(n),a=r(218),o=e._googlesitekitAPIFetchData||{},c=o.nonce,u=o.nonceEndpoint,s=o.preloadedData,l=o.rootURL;i.a.nonceEndpoint=u,i.a.nonceMiddleware=i.a.createNonceMiddleware(c),i.a.rootURLMiddleware=i.a.createRootURLMiddleware(l),i.a.preloadingMiddleware=Object(a.a)(s),i.a.use(i.a.nonceMiddleware),i.a.use(i.a.mediaUploadMiddleware),i.a.use(i.a.rootURLMiddleware),i.a.use(i.a.preloadingMiddleware),t.default=i.a}).call(this,r(18))},218:function(e,t,r){"use strict";var n=r(211);t.a=function(e){var t=Object.keys(e).reduce((function(t,r){return t[Object(n.getStablePath)(r)]=e[r],t}),{}),r=!1;return function(e,i){if(r)return i(e);setTimeout((function(){r=!0}),1e3);var a=e.parse,o=void 0===a||a,c=e.path;if("string"==typeof e.path){var u,s=(null===(u=e.method)||void 0===u?void 0:u.toUpperCase())||"GET",l=Object(n.getStablePath)(c);if(o&&"GET"===s&&t[l]){var f=Promise.resolve(t[l].body);return delete t[l],f}if("OPTIONS"===s&&t[s]&&t[s][l]){var d=Promise.resolve(t[s][l]);return delete t[s][l],d}}return i(e)}}},27:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},30:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return g}));var n=r(81),i=e._googlesitekitBaseData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,u=i.trackingEnabled,s={activeModules:o,trackingEnabled:u,trackingID:i.trackingID,referenceSiteURL:i.referenceSiteURL,userIDHash:i.userIDHash,isSiteKitScreen:c},l=Object(n.a)(s),f=l.enableTracking,d=l.disableTracking,p=(l.isTrackingEnabled,l.initializeSnippet),g=l.trackEvent;function v(e){e?f():d()}c&&u&&p()}).call(this,r(18))},31:function(e,t,r){"use strict";r.d(t,"u",(function(){return i})),r.d(t,"i",(function(){return a})),r.d(t,"m",(function(){return o})),r.d(t,"k",(function(){return c})),r.d(t,"l",(function(){return u})),r.d(t,"j",(function(){return s})),r.d(t,"q",(function(){return l})),r.d(t,"a",(function(){return f})),r.d(t,"c",(function(){return d})),r.d(t,"d",(function(){return p})),r.d(t,"b",(function(){return g})),r.d(t,"e",(function(){return v})),r.d(t,"g",(function(){return b})),r.d(t,"f",(function(){return y})),r.d(t,"h",(function(){return m})),r.d(t,"o",(function(){return h})),r.d(t,"p",(function(){return O})),r.d(t,"n",(function(){return S})),r.d(t,"s",(function(){return E})),r.d(t,"t",(function(){return _})),r.d(t,"r",(function(){return w}));var n=r(16),i="modules/idea-hub",a="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",u="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",l=5,f="IDEA_HUB_ACTIVITY_CREATING_DRAFT",d="IDEA_HUB_ACTIVITY_DRAFT_CREATED",p="IDEA_HUB_ACTIVITY_IS_DELETING",g="IDEA_HUB_ACTIVITY_DELETED",v="IDEA_HUB_ACTIVITY_IS_PINNING",b="IDEA_HUB_ACTIVITY_PINNED",y="IDEA_HUB_ACTIVITY_IS_UNPINNING",m="IDEA_HUB_ACTIVITY_UNPINNED",h="".concat(n.g,"_idea-hub-widget"),O="".concat(n.o,"_idea-hub-saved-ideas-notification"),S="".concat(n.l,"_idea-hub"),E="new-ideas",_="saved-ideas",w="draft-ideas"},33:function(e,t,r){"use strict";(function(e){var n,i;r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return o}));var a=new Set((null===(n=e)||void 0===n||null===(i=n._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,r(18))},34:function(e,t){e.exports=googlesitekit.api},341:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return b}));var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(34),l=r.n(s),f=r(4),d=r.n(f),p=r(43);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=function(t,r,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=a.client,s=void 0===c||c,f=a.server,g=void 0===f||f,b=a.storeName,y=void 0===b?void 0:b;u()(t,"type is required."),u()(r,"identifier is required."),u()(n,"datapoint is required.");var m=y||"".concat(t,"/").concat(r),h={serverNotifications:g?void 0:{},clientNotifications:s?void 0:{}},O=Object(p.a)({baseName:"getNotifications",controlCallback:function(){return l.a.get(t,r,n)},reducerCallback:function(e,t){return v(v({},e),{},{serverNotifications:t.reduce((function(e,t){return v(v({},e),{},o()({},t.id,t))}),{})})}}),S={addNotification:function(e){return u()(e,"notification is required."),{payload:{notification:e},type:"ADD_NOTIFICATION"}},removeNotification:function(e){return u()(e,"id is required."),{payload:{id:e},type:"REMOVE_NOTIFICATION"}}},E={},_=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,r=arguments.length>1?arguments[1]:void 0,n=r.type,i=r.payload;switch(n){case"ADD_NOTIFICATION":var a=i.notification;return v(v({},t),{},{clientNotifications:v(v({},t.clientNotifications||{}),{},o()({},a.id,a))});case"REMOVE_NOTIFICATION":var c=i.id;if(void 0===t.clientNotifications||void 0===t.clientNotifications[c])return void 0!==t.serverNotifications&&void 0!==t.serverNotifications[c]&&e.console.warn('Cannot remove server-side notification with ID "'.concat(c,'"; this may be changed in a future release.')),t;var u=v({},t.clientNotifications);return delete u[c],v(v({},t),{},{clientNotifications:u});default:return t}},w={getNotifications:i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O.actions.fetchGetNotifications();case 2:case"end":return e.stop()}}),e)}))};g||delete w.getNotifications;var j={getNotifications:function(e){var t=e.serverNotifications,r=e.clientNotifications;return void 0===t&&void 0===r?t:Object.values(v(v({},t||{}),r||{}))}},I=d.a.combineStores(O,{initialState:h,actions:S,controls:E,reducer:_,resolvers:w,selectors:j});return v(v({},I),{},{STORE_NAME:m})}}).call(this,r(18))},37:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(e){return e instanceof Date&&!isNaN(e)}},38:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(37),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var r=e.split("-");return 3===r.length&&Object(n.a)(new Date(e))}},389:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return y}));var n=r(5),i=r.n(n),a=r(14),o=r.n(a),c=r(7),u=r.n(c),s=r(217),l=r(280),f=r(39),d=r(9),p=r(91),g=r(431),v=r(13),b=!0,y=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=[e,t,r].filter((function(e){return!!e&&e.length}));return 3===i.length&&n&&n.constructor===Object&&Object.keys(n).length&&i.push(Object(d.u)(n)),i.join("::")},m=function(t){var r,n,i,a,o=null===(r=e.googlesitekit)||void 0===r||null===(n=r.data)||void 0===n||null===(i=n.dispatch)||void 0===i?void 0:i.call(n,v.a);o&&(t.code===p.a?o.setPermissionScopeError(t):(null===(a=t.data)||void 0===a?void 0:a.reconnectURL)&&o.setAuthError(t))},h=function(){var t=o()(i.a.mark((function t(r,n,a){var o,c,d,p,v,b,h,O,S,_,w,j,I,k,T,D,x,R=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=R.length>3&&void 0!==R[3]?R[3]:{},c=o.bodyParams,d=o.cacheTTL,p=void 0===d?3600:d,v=o.method,b=void 0===v?"GET":v,h=o.queryParams,O=o.useCache,S=void 0===O?void 0:O,_=o.signal,u()(r,"`type` argument for requests is required."),u()(n,"`identifier` argument for requests is required."),u()(a,"`datapoint` argument for requests is required."),w="GET"===b&&(void 0!==S?S:E()),j=y(r,n,a,h),!w){t.next=18;break}return t.next=9,Object(f.b)(j);case 9:if(I=t.sent,k=I.cacheHit,T=I.value,!I.isError){t.next=16;break}throw m(T),T;case 16:if(!k){t.next=18;break}return t.abrupt("return",T);case 18:return t.prev=18,t.next=21,Object(s.default)({data:c,method:b,signal:_,path:Object(l.a)("/google-site-kit/v1/".concat(r,"/").concat(n,"/data/").concat(a),h)});case 21:if(D=t.sent,!w){t.next=25;break}return t.next=25,Object(f.d)(j,D,{ttl:p});case 25:return t.abrupt("return",D);case 28:if(t.prev=28,t.t0=t.catch(18),!(null===t.t0||void 0===t.t0||null===(x=t.t0.data)||void 0===x?void 0:x.cacheTTL)){t.next=33;break}return t.next=33,Object(f.d)(j,t.t0,{ttl:t.t0.data.cacheTTL,isError:!0});case 33:throw Object(g.a)({method:b,datapoint:a,type:r,identifier:n,error:t.t0}),m(t.t0),e.console.error("Google Site Kit API Error","method:".concat(b),"datapoint:".concat(a),"type:".concat(r),"identifier:".concat(n),'error:"'.concat(t.t0.message,'"')),t.t0;case 37:case"end":return t.stop()}}),t,null,[[18,28]])})));return function(e,r,n){return t.apply(this,arguments)}}(),O=function(){var e=o()(i.a.mark((function e(t,r,n,a){var o,c,u,s,l,f,d=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.cacheTTL,u=void 0===c?3600:c,s=o.useCache,l=void 0===s?void 0:s,f=o.signal,e.abrupt("return",h(t,r,n,{cacheTTL:u,queryParams:a,useCache:l,signal:f}));case 2:case"end":return e.stop()}}),e)})));return function(t,r,n,i){return e.apply(this,arguments)}}(),S=function(){var e=o()(i.a.mark((function e(t,r,n,a){var o,c,u,s,l,f,d=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.method,u=void 0===c?"POST":c,s=o.queryParams,l=void 0===s?{}:s,e.next=3,h(t,r,n,{bodyParams:{data:a},method:u,queryParams:l,useCache:!1});case 3:return f=e.sent,e.next=6,_(t,r,n);case 6:return e.abrupt("return",f);case 7:case"end":return e.stop()}}),e)})));return function(t,r,n,i){return e.apply(this,arguments)}}(),E=function(){return b},_=function(){var e=o()(i.a.mark((function e(t,r,n){var a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=y(t,r,n),e.next=3,Object(f.c)();case 3:e.sent.forEach((function(e){0===e.indexOf(a)&&Object(f.a)(e)}));case 5:case"end":return e.stop()}}),e)})));return function(t,r,n){return e.apply(this,arguments)}}(),w={invalidateCache:_,get:O,set:S,setUsingCache:function(e){return b=!!e},usingCache:E};t.b=w}).call(this,r(18))},39:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return b})),r.d(t,"d",(function(){return y})),r.d(t,"a",(function(){return m})),r.d(t,"c",(function(){return h}));var n=r(5),i=r.n(n),a=r(14),o=r.n(a);r(23);function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw a}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s,l="googlesitekit_".concat("1.49.1","_"),f=["sessionStorage","localStorage"],d=[].concat(f),p=function(){var t=o()(i.a.mark((function t(r){var n,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e[r]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,a="__storage_test__",n.setItem(a,a),n.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!==n.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function g(){return v.apply(this,arguments)}function v(){return(v=o()(i.a.mark((function t(){var r,n,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:r=c(d),t.prev=3,r.s();case 5:if((n=r.n()).done){t.next=15;break}if(a=n.value,!s){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}s=e[a];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),r.e(t.t0);case 20:return t.prev=20,r.f(),t.finish(20);case 23:return void 0===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var e=o()(i.a.mark((function e(t){var r,n,a,o,c,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g();case 2:if(!(r=e.sent)){e.next=10;break}if(!(n=r.getItem("".concat(l).concat(t)))){e.next=10;break}if(a=JSON.parse(n),o=a.timestamp,c=a.ttl,u=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:u,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)}}(),y=function(){var t=o()(i.a.mark((function t(r,n){var a,o,c,u,s,f,d,p,v=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=v.length>2&&void 0!==v[2]?v[2]:{},o=a.ttl,c=void 0===o?3600:o,u=a.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=a.isError,d=void 0!==f&&f,t.next=3,g();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(l).concat(r),JSON.stringify({timestamp:s,ttl:c,value:n,isError:d})),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,r){return t.apply(this,arguments)}}(),m=function(){var t=o()(i.a.mark((function t(r){var n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(n=t.sent)){t.next=13;break}return t.prev=4,n.removeItem("".concat(l).concat(r)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),h=function(){var t=o()(i.a.mark((function t(){var r,n,a,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(r=t.sent)){t.next=14;break}for(t.prev=4,n=[],a=0;a<r.length;a++)0===(o=r.key(a)).indexOf(l)&&n.push(o.substring(l.length));return t.abrupt("return",n);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)}}()}).call(this,r(18))},4:function(e,t){e.exports=googlesitekit.data},43:function(e,t,r){"use strict";r.d(t,"a",(function(){return S}));var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(52),l=r.n(s),f=r(50),d=r(71),p=r(9);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=function(e){return e},y=function(){return{}},m=function(){},h=f.a.clearError,O=f.a.receiveError,S=function(e){var t,r,n=i.a.mark(N),a=e.baseName,c=e.controlCallback,s=e.reducerCallback,f=void 0===s?b:s,g=e.argsToParams,S=void 0===g?y:g,E=e.validateParams,_=void 0===E?m:E;u()(a,"baseName is required."),u()("function"==typeof c,"controlCallback is required and must be a function."),u()("function"==typeof f,"reducerCallback must be a function."),u()("function"==typeof S,"argsToParams must be a function."),u()("function"==typeof _,"validateParams must be a function.");try{_(S()),r=!1}catch(e){r=!0}var w=Object(d.b)(a),j=Object(d.a)(a),I="FETCH_".concat(j),k="START_".concat(I),T="FINISH_".concat(I),D="CATCH_".concat(I),x="RECEIVE_".concat(j),R="fetch".concat(w),A="receive".concat(w),P="isFetching".concat(w),C=o()({},P,{});function N(e,t){var r,o;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,{payload:{params:e},type:k};case 2:return n.next=4,h(a,t);case 4:return n.prev=4,n.next=7,{payload:{params:e},type:I};case 7:return r=n.sent,n.next=10,U[A](r,e);case 10:return n.next=12,{payload:{params:e},type:T};case 12:n.next=23;break;case 14:return n.prev=14,n.t0=n.catch(4),o=n.t0,n.next=19,O(o,a,t);case 19:return n.next=21,O(o);case 21:return n.next=23,{payload:{params:e},type:D};case 23:return n.abrupt("return",{response:r,error:o});case 24:case"end":return n.stop()}}),n,null,[[4,14]])}var U=(t={},o()(t,R,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=S.apply(void 0,t);return _(n),N(n,t)})),o()(t,A,(function(e,t){return u()(void 0!==e,"response is required."),r?(u()(l()(t),"params is required."),_(t)):t={},{payload:{response:e,params:t},type:x}})),t),L=o()({},I,(function(e){var t=e.payload;return c(t.params)})),F=o()({},P,(function(e){if(void 0===e[P])return!1;var t;try{for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];t=S.apply(void 0,n),_(t)}catch(e){return!1}return!!e[P][Object(p.u)(t)]}));return{initialState:C,actions:U,controls:L,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case k:var i=n.params;return v(v({},e),{},o()({},P,v(v({},e[P]),{},o()({},Object(p.u)(i),!0))));case x:var a=n.response,c=n.params;return f(e,a,c);case T:var u=n.params;return v(v({},e),{},o()({},P,v(v({},e[P]),{},o()({},Object(p.u)(u),!1))));case D:var s=n.params;return v(v({},e),{},o()({},P,v(v({},e[P]),{},o()({},Object(p.u)(s),!1))));default:return e}},resolvers:{},selectors:F}}},431:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(5),i=r.n(n),a=r(14),o=r.n(a),c=r(9),u=["fetch_error"];function s(e){return l.apply(this,arguments)}function l(){return(l=o()(i.a.mark((function e(t){var r,n,a,o,s,l,f,d;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.method,o=t.type,s=t.identifier,l=t.datapoint,(f=t.error)&&!u.includes(null==f?void 0:f.code)){e.next=3;break}return e.abrupt("return");case 3:return d="code: ".concat(f.code),(null===(r=f.data)||void 0===r?void 0:r.reason)&&(d+=", reason: ".concat(f.data.reason)),e.next=7,Object(c.v)("api_error","".concat(a,":").concat(o,"/").concat(s,"/data/").concat(l),"".concat(f.message," (").concat(d,")"),(null===(n=f.data)||void 0===n?void 0:n.status)||f.code);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},47:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(27);function i(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},49:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return a})),r.d(t,"d",(function(){return o})),r.d(t,"c",(function(){return c})),r.d(t,"e",(function(){return u}));var n=r(105);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){return/^#\w[A-Za-z0-9-_]*$/.test(e)}function u(e,t){if(!Object(n.a)(e))return e;if(e.length<=t)return e;var r=new URL(e),i=e.replace(r.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},50:function(e,t,r){"use strict";r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return b}));var n=r(6),i=r.n(n),a=r(28),o=r.n(a),c=r(7),u=r.n(c),s=r(73),l=r.n(s),f=r(9);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t){if(t&&Array.isArray(t)){var r=t.map((function(e){return"object"===o()(e)?Object(f.u)(e):e}));return"".concat(e,"::").concat(l()(JSON.stringify(r)))}return e}var v={receiveError:function(e,t,r){return u()(e,"error is required."),t&&u()(r&&Array.isArray(r),"args is required (and must be an array) when baseName is specified."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:r}}},clearError:function(e,t){return e&&u()(t&&Array.isArray(t),"args is required (and must be an array) when baseName is specified."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function b(){var e={getErrorForSelector:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"selectorName is required."),e.getError(t,r,n)},getErrorForAction:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"actionName is required."),e.getError(t,r,n)},getError:function(e,t,r){var n=e.error,i=e.errors;return t||r?(u()(t,"baseName is required."),i[g(t,r)]):n},getErrors:function(e){var t=new Set(Object.values(e.errors));return void 0!==e.error&&t.add(e.error),Array.from(t)},hasErrors:function(t){return e.getErrors(t).length>0}};return{initialState:{errors:{},error:void 0},actions:v,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_ERROR":var a=n.baseName,o=n.args,c=n.error;return p(p({},e),{},a?{errors:p(p({},e.errors||{}),{},i()({},g(a,o),c))}:{error:c});case"CLEAR_ERROR":var u=n.baseName,s=n.args,l=p({},e);if(u){var f=g(u,s);l.errors=p({},e.errors||{}),delete l.errors[f]}else l.error=void 0;return l;case"CLEAR_ERRORS":var d=n.baseName,v=p({},e);if(d)for(var b in v.errors=p({},e.errors||{}),v.errors)(b===d||b.startsWith("".concat(d,"::")))&&delete v.errors[b];else v.errors={},v.error=void 0;return v;default:return e}},resolvers:{},selectors:e}}},53:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(2),i=function(e){return function(t){return function FilteredComponent(r){return Object(n.createElement)(n.Fragment,{},"",Object(n.createElement)(t,r),e)}}}},56:function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return n})),r.d(t,"e",(function(){return u})),r.d(t,"f",(function(){return p})),r.d(t,"g",(function(){return g})),r.d(t,"h",(function(){return f.a})),r.d(t,"d",(function(){return v})),r.d(t,"c",(function(){return y})),r.d(t,"i",(function(){return d}));var n="Invalid dateString parameter, it must be a string.",i='Invalid date range, it must be a string with the format "last-x-days".',a=r(7),o=r.n(a),c=r(37),u=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var r="".concat(t.getMonth()+1),n="".concat(t.getDate());return[t.getFullYear(),r.length<2?"0".concat(r):r,n.length<2?"0".concat(n):n].join("-")},s=r(12),l=r.n(s),f=r(38),d=function(e){o()(Object(f.a)(e),n);var t=e.split("-"),r=l()(t,3),i=r[0],a=r[1],c=r[2];return new Date(i,a-1,c)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r=d(e);return r.setDate(r.getDate()-t),u(r)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function v(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var b=r(1);function y(){var e=function(e){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._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}}}},58:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/ui"},59:function(e,t,r){"use strict";(function(e){var n=r(0),i=r.n(n),a=r(10),o=r.n(a);function ChangeArrow(t){var r=t.direction,n=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),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,r(3))},60:function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return c}));var n=r(28),i=r.n(n),a=r(66),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,r="object"===i()(e)?e.toString():e;return null==r||null===(t=r.replace)||void 0===t?void 0:t.call(r,/\/+$/,"")}},66:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return i}));var n=r(111),i=r.n(n)()(e)}).call(this,r(18))},69:function(e,t,r){"use strict";(function(e){r.d(t,"c",(function(){return S})),r.d(t,"d",(function(){return _})),r.d(t,"b",(function(){return w})),r.d(t,"a",(function(){return j}));var n=r(12),i=r.n(n),a=r(28),o=r.n(a),c=r(6),u=r.n(c),s=r(17),l=r.n(s),f=r(26),d=r(64),p=r.n(d),g=r(1);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=m(e,t),n=r.formatUnit,i=r.formatDecimal;try{return n()}catch(e){return i()}},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var r=Math.floor(e/60/60),n=Math.floor(e/60%60),i=Math.floor(e%60);return{hours:r,minutes:n,seconds:i,formatUnit:function(){var a=t.unitDisplay,o=b(b({unitDisplay:void 0===a?"short":a},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?_(i,b(b({},o),{},{unit:"second"})):Object(g.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
13
  Object(g.__)("%sK","google-site-kit"),_(h(e),e%10==0?{}:t)):_(e,{signDisplay:"never",maximumFractionDigits:1})},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(f.isFinite)(e)?e:Number(e),Object(f.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var r={};if("%"===t)r={style:"percent",maximumFractionDigits:2};else{if("s"===t)return y(e,{unitDisplay:"narrow"});t&&"string"==typeof t?r={style:"currency",currency:t}:Object(f.isPlainObject)(t)&&(r=b({},t))}var n=r,i=n.style,a=void 0===i?"metric":i;return"metric"===a?O(e):"duration"===a?y(e,t):_(e,r)},E=p()(console.warn),_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?j():r,a=l()(t,["locale"]);try{return new Intl.NumberFormat(n,a).format(e)}catch(t){E("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(a);f<d.length;f++){var p=i()(d[f],2),g=p[0],v=p[1];c[g]&&v===c[g]||(u.includes(g)||(s[g]=v))}try{return new Intl.NumberFormat(n,s).format(e)}catch(t){return new Intl.NumberFormat(n).format(e)}},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?j():r,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:a,type:c});return u.format(e)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(g.__)(", ","google-site-kit");return e.join(s)},j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=Object(f.get)(t,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,r(18))},70:function(e,t,r){"use strict";r.d(t,"a",(function(){return k})),r.d(t,"b",(function(){return T})),r.d(t,"c",(function(){return D})),r.d(t,"d",(function(){return R})),r.d(t,"e",(function(){return A})),r.d(t,"g",(function(){return C})),r.d(t,"f",(function(){return N}));var n,i=r(5),a=r.n(i),o=r(23),c=r.n(o),u=r(6),s=r.n(u),l=r(7),f=r.n(l),d=r(198),p=r.n(d),g=r(64),v=r.n(g),b=r(97);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.reduce((function(e,t){return m(m({},e),t)}),{}),i=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),a=x(i);return f()(0===a.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(a.join(", "),". Check your data stores for duplicates.")),n},O=h,S=h,E=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=[].concat(t);return"function"!=typeof i[0]&&(n=i.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.reduce((function(e,r){return r(e,t)}),e)}},_=h,w=h,j=h,I=function(e){return e},k=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=j.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:n,controls:S.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:O.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:E.apply(void 0,[n].concat(c()(t.map((function(e){return e.reducer||I}))))),resolvers:_.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:w.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},T={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},D=(n={},s()(n,"GET_REGISTRY",Object(b.d)((function(e){return function(){return e}}))),s()(n,"AWAIT",(function(e){return e.payload.value})),n),x=function(e){for(var t=[],r={},n=0;n<e.length;n++){var i=e[n];r[i]=r[i]>=1?r[i]+1:1,r[i]>1&&t.push(i)}return t},R={actions:T,controls:D,reducer:I},A=function(e){return function(t){return P(e(t))}},P=v()((function(e){return p()(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return f()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function C(e){return{safeSelector:Object(b.e)((function(t){return function(r){try{for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return e.apply(void 0,[t,r].concat(i)),!0}catch(e){return!1}}})),dangerousSelector:Object(b.e)((function(t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];e.apply(void 0,[t,r].concat(i))}}))}}function N(e,t){return f()("function"==typeof e,"a validator function is required."),f()("function"==typeof t,"an action creator function is required."),f()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},701:function(e,t,r){"use strict";(function(e){var n,i=r(5),a=r.n(i),o=r(14),c=r.n(o),u=r(29),s=r(1),l=r(16),f=r(20),d=r(31),p={slug:"ideaHubModule",contexts:[l.g],version:"1.43.0",checkRequirements:(n=c()(a.a.mark((function e(t){var r,n,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.__experimentalResolveSelect(f.a).getModules();case 2:if(r=t.select(f.a).isModuleActive("idea-hub"),n=t.select(f.a).isModuleConnected("idea-hub"),r&&n){e.next=6;break}return e.abrupt("return",!1);case 6:return e.next=8,t.__experimentalResolveSelect(d.u).getNewIdeas();case 8:return i=e.sent,e.abrupt("return",!!i.length);case 10:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)}),steps:[{target:".googlesitekit-widget--ideaHubIdeas",title:Object(s.__)("Get inspiration for new topics to write about!","google-site-kit"),content:Object(s.__)("These ideas are based on unanswered searches related to the content of your site. They are organized by topics and will refresh every 2-3 days.","google-site-kit")},{target:".googlesitekit-idea-hub__actions--create",title:Object(s.__)("Start a draft","google-site-kit"),content:Object(s.__)("Found an interesting idea you want to write about? Create a draft! You can always get back to it later on the Posts page.","google-site-kit")},{target:".googlesitekit-idea-hub__idea--single",title:Object(s.__)("Save for later or dismiss","google-site-kit"),content:Object(s.__)('If you’re not ready to create a draft about an idea just yet, add it to your "Saved" list and revisit later. If you don’t like an idea, you can dismiss it from your list.',"google-site-kit"),placement:"top"}],gaEventCategory:d.o,callback:function(t){var r=t.type,n=t.index;if([u.b.STEP_BEFORE,u.b.STEP_AFTER].includes(r)&&2===n){var i="googlesitekit-idea-hub__actions--unhide",a=e.document.querySelector(".googlesitekit-idea-hub__actions--pin"),o=e.document.querySelector(".googlesitekit-idea-hub__actions--delete");a&&o&&(r===u.b.STEP_BEFORE&&(a.classList.add(i),o.classList.add(i)),r===u.b.STEP_AFTER&&(a.classList.remove(i),o.classList.remove(i)))}}};t.a=p}).call(this,r(18))},705:function(e,t,r){"use strict";(function(e){var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(4),l=r.n(s),f=r(13);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var g=l.a.createRegistrySelector,v={permissionError:null,capabilities:void 0},b={clearPermissionScopeError:function(){return{payload:{},type:"CLEAR_PERMISSION_SCOPE_ERROR"}},setPermissionScopeError:function(e){return u()(e,"permissionError is required."),{payload:{permissionError:e},type:"SET_PERMISSION_SCOPE_ERROR"}},receiveCapabilities:function(e){return{type:"RECEIVE_CAPABILITIES",payload:{capabilities:e}}}},y={getCapabilities:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l.a.commonActions.getRegistry();case 2:if(!t.sent.select(f.a).getCapabilities()){t.next=5;break}return t.abrupt("return");case 5:return(null===(r=e._googlesitekitUserData)||void 0===r?void 0:r.permissions)||e.console.error("Could not load core/user permissions."),t.next=8,b.receiveCapabilities(null===(n=e._googlesitekitUserData)||void 0===n?void 0:n.permissions);case 8:case"end":return t.stop()}}),t)}))},m={getPermissionScopeError:function(e){return e.permissionError},getCapabilities:function(e){return e.capabilities},hasCapability:g((function(e){return function(t,r){var n=e(f.a).getCapabilities();if(n)return!!n[r]}}))};t.a={initialState:v,actions:b,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"CLEAR_PERMISSION_SCOPE_ERROR":return p(p({},e),{},{permissionError:null});case"SET_PERMISSION_SCOPE_ERROR":var i=n.permissionError;return p(p({},e),{},{permissionError:i});case"RECEIVE_CAPABILITIES":var a=n.capabilities;return p(p({},e),{},{capabilities:a});default:return e}},resolvers:y,selectors:m}}).call(this,r(18))},706:function(e,t,r){"use strict";(function(e){var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(280),l=r(4),f=r.n(l),d=r(13);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=f.a.createRegistrySelector,b={connectURL:void 0,initialVersion:void 0,user:void 0,verified:void 0},y={receiveConnectURL:function(e){return u()(e,"connectURL is required."),{payload:{connectURL:e},type:"RECEIVE_CONNECT_URL"}},receiveUserInfo:function(e){return u()(e,"userInfo is required."),{payload:{user:e},type:"RECEIVE_USER_INFO"}},receiveInitialSiteKitVersion:function(e){return u()(e,"initialVersion is required."),{payload:{initialVersion:e},type:"RECEIVE_USER_INITIAL_SITE_KIT_VERSION"}},receiveUserIsVerified:function(e){return u()(void 0!==e,"userIsVerified is required."),{payload:{verified:e},type:"RECEIVE_USER_IS_VERIFIED"}},receiveUserInputState:function(e){return u()(e,"userInputState is required."),{payload:{userInputState:e},type:"RECEIVE_USER_INPUT_STATE"}}},m={getConnectURL:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,!(0,r.select)(d.a).getConnectURL()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.connectURL,t.next=12,y.receiveConnectURL(n);case 12:case"end":return t.stop()}}),t)})),getUser:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(d.a).getUser()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.user,t.next=12,y.receiveUserInfo(n);case 12:case"end":return t.stop()}}),t)})),getInitialSiteKitVersion:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(d.a).getInitialSiteKitVersion()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:if(!(n=e._googlesitekitUserData.initialVersion)){t.next=13;break}return t.next=13,y.receiveInitialSiteKitVersion(n);case 13:case"end":return t.stop()}}),t)})),isVerified:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(d.a).isVerified()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.verified,t.next=12,y.receiveUserIsVerified(n);case 12:case"end":return t.stop()}}),t)})),getUserInputState:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,!(0,r.select)(d.a).getUserInputState()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.userInputState,t.next=12,y.receiveUserInputState(n);case 12:case"end":return t.stop()}}),t)}))},h={getUser:function(e){return e.user},getConnectURL:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.additionalScopes,n=void 0===r?[]:r,i=t.redirectURL,a=void 0===i?void 0:i,o=e.connectURL,c={redirect:a};if(void 0!==o){if(null==n?void 0:n.length){var u=n.map((function(e){return e.replace(/^http(s)?:/,"gttp$1:")}));return Object(s.a)(o,g(g({},c),{},{additional_scopes:u}))}return Object(s.a)(o,c)}},getID:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.id:t}})),getName:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.name:t}})),getEmail:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.email:t}})),getPicture:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.picture:t}})),getInitialSiteKitVersion:function(e){return e.initialVersion},isVerified:function(e){return e.verified},getUserInputState:function(e){return e.userInputState}};t.a={initialState:b,actions:y,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_CONNECT_URL":var i=n.connectURL;return g(g({},e),{},{connectURL:i});case"RECEIVE_USER_INFO":var a=n.user;return g(g({},e),{},{user:a});case"RECEIVE_USER_INITIAL_SITE_KIT_VERSION":var o=n.initialVersion;return g(g({},e),{},{initialVersion:o});case"RECEIVE_USER_IS_VERIFIED":var c=n.verified;return g(g({},e),{},{verified:c});case"RECEIVE_USER_INPUT_STATE":var u=n.userInputState;return g(g({},e),{},{userInputState:u});default:return e}},resolvers:m,selectors:h}}).call(this,r(18))},71:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return a}));var n=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("")}},77:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return f}));var n=r(12),i=r.n(n),a=r(1);function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(u)throw a}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,r=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),i=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&i)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),r=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===r)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(a.sprintf)(
15
  /* translators: %d is the number of notifications */
16
+ Object(a._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(u),t&&null===n&&t.appendChild(o),r&&null===i&&r.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},l=function(e){for(var t=location.search.substr(1).split("&"),r={},n=0;n<t.length;n++)r[t[n].split("=")[0]]=decodeURIComponent(t[n].split("=")[1]);return e?r.hasOwnProperty(e)?decodeURIComponent(r[e].replace(/\+/g," ")):"":r},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,r=new URL(t.href);if(e)return r.searchParams&&r.searchParams.get?r.searchParams.get(e):l(e);var n,a={},c=o(r.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=i()(n.value,2),s=u[0],f=u[1];a[s]=f}}catch(e){c.e(e)}finally{c.f()}return a}}).call(this,r(18))},79:function(e,t,r){"use strict";(function(e){r(44),r(45)}).call(this,r(18))},80:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return c}));var n=r(185),i=r(59),a=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=r.invertColor,o=void 0!==a&&a;return Object(n.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,r,n,i,a,o,c,u,s,l,f,d,p,g,v;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(r=t.data)||void 0===r||null===(n=r.rows)||void 0===n?void 0:n.length)||(null==e||null===(i=e[0])||void 0===i||null===(a=i.data)||void 0===a||null===(o=a.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==e||null===(f=e[0])||void 0===f||null===(d=f.data)||void 0===d||null===(p=d.totals)||void 0===p||null===(g=p[0])||void 0===g||null===(v=g.values)||void 0===v?void 0:v[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,r(3))},81:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return l}));var n=r(6),i=r.n(n),a=r(82),o=r(83);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=u(u({},s),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(i,r);return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:Object(o.a)(i,r,c,n)}}}).call(this,r(18))},82:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return a}));var n=r(47),i=r(27);function a(t,r){var a,o=Object(n.a)(r);return function(){var r=e.document;if(void 0===a&&(a=!!r.querySelector("script[".concat(i.b,"]"))),!a){var n=r.createElement("script");n.setAttribute(i.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),r.head.appendChild(n),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),a=!0}}}}).call(this,r(18))},83:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return p}));var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(14),u=r.n(c),s=r(47),l=r(33);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(t,r,n,a){var o=Object(s.a)(r);return function(){var r=u()(i.a.mark((function r(c,u,s,f){var p,g,v,b,y,m,h,O,S,E;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(b=t.activeModules,y=t.referenceSiteURL,m=t.trackingEnabled,h=t.trackingID,O=t.userIDHash,m){r.next=3;break}return r.abrupt("return");case 3:return n(),S=null!==(p=null===(g=e._googlesitekitUserData)||void 0===g||null===(v=g.user)||void 0===v?void 0:v.roles)&&void 0!==p?p:[],E={send_to:h,event_category:c,event_label:s,value:f,dimension1:y,dimension2:S.join(","),dimension3:O,dimension4:"1.49.1",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},r.abrupt("return",new Promise((function(e){var t,r,n=setTimeout((function(){a.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),i=function(){clearTimeout(n),e()};o("event",u,d(d({},E),{},{event_callback:i})),(null===(t=a._gaUserPrefs)||void 0===t||null===(r=t.ioo)||void 0===r?void 0:r.call(t))&&i()})));case 7:case"end":return r.stop()}}),r)})));return function(e,t,n,i){return r.apply(this,arguments)}}()}}).call(this,r(18))},9:function(e,t,r){"use strict";r.d(t,"v",(function(){return c.b})),r.d(t,"s",(function(){return u.a})),r.d(t,"w",(function(){return u.b})),r.d(t,"u",(function(){return p})),r.d(t,"c",(function(){return g.b})),r.d(t,"j",(function(){return g.c})),r.d(t,"q",(function(){return v.c})),r.d(t,"r",(function(){return v.d})),r.d(t,"n",(function(){return v.b})),r.d(t,"i",(function(){return v.a})),r.d(t,"o",(function(){return h})),r.d(t,"d",(function(){return O})),r.d(t,"f",(function(){return S.c})),r.d(t,"t",(function(){return S.i})),r.d(t,"g",(function(){return E.b})),r.d(t,"m",(function(){return E.c})),r.d(t,"b",(function(){return E.a})),r.d(t,"l",(function(){return _.b})),r.d(t,"h",(function(){return _.a})),r.d(t,"p",(function(){return _.d})),r.d(t,"k",(function(){return w})),r.d(t,"a",(function(){return j})),r.d(t,"x",(function(){return I})),r.d(t,"e",(function(){return k}));var n=r(110),i=r.n(n),a=r(108),o=r.n(a),c=r(30),u=r(60),s=r(28),l=r.n(s),f=r(73),d=r.n(f),p=function(e){return d()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var i=t[n];i&&"object"===l()(i)&&!Array.isArray(i)&&(i=e(i)),r[n]=i})),r}(e)))};var g=r(77),v=(r(79),r(69));r(53);function b(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function y(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function h(e){for(var t=e,r=0,n=[b,y,m];r<n.length;r++){t=(0,n[r])(t)}return t}var O=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)]},S=r(56),E=r(80),_=r(49),w=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},j=function(e,t){if("0"===e||0===e||isNaN(e))return null;var r=(t-e)/e;return isNaN(r)||!i()(r)?null:r},I=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 o()(t)}},91:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"b",(function(){return a}));r(52);var n="missin