Site Kit by Google - Version 1.79.1

Version Description

Fixed

  • Fix an issue that could cause Site Kit's dashboard to crash when a theme/plugin loads the Google Web Font Loader JS on Site Kit screens. See #5572.
Download this release

Release Info

Developer aaemnnosttv
Plugin Icon 128x128 Site Kit by Google
Version 1.79.1
Comparing to
See all releases

Code changes from version 1.79.0 to 1.79.1

Files changed (13) hide show
  1. dist/assets/js/{googlesitekit-activation-0d61070cd99c407bef19.js → googlesitekit-activation-a0c873aaacd76b0abe6c.js} +1 -1
  2. dist/assets/js/{googlesitekit-adminbar-328f1174dca0cf1d9c8e.js → googlesitekit-adminbar-9428bac50e81dc0b61e6.js} +1 -1
  3. dist/assets/js/{googlesitekit-api-3c0f1112975e346e65dd.js → googlesitekit-api-40f37577ecc2be7ba82d.js} +1 -1
  4. dist/assets/js/{googlesitekit-dashboard-9229f1f49f9270462a3b.js → googlesitekit-dashboard-cf4c909f78324df65b4a.js} +2 -2
  5. dist/assets/js/{googlesitekit-dashboard-details-63dea0d1e8bcb9a7e10a.js → googlesitekit-dashboard-details-4931b47affad4714815f.js} +2 -2
  6. dist/assets/js/{googlesitekit-dashboard-splash-ef53fc5b69a6427652ec.js → googlesitekit-dashboard-splash-2da7538006dfebe792f7.js} +1 -1
  7. dist/assets/js/{googlesitekit-datastore-forms-5f45f7f8caf2ee0293a1.js → googlesitekit-datastore-forms-3f77fa0ab3f5f7df2b4d.js} +1 -1
  8. dist/assets/js/{googlesitekit-datastore-site-368118cce96c39c7ca3e.js → googlesitekit-datastore-site-20b37d3adea360c856b0.js} +1 -1
  9. dist/assets/js/{googlesitekit-datastore-ui-8d1b8ace3e8c81c78b6a.js → googlesitekit-datastore-ui-8ce49c6f38e50a4887d6.js} +1 -1
  10. dist/assets/js/{googlesitekit-datastore-user-5a051fd199b80942f75b.js → googlesitekit-datastore-user-100af4719a345c936c14.js} +2 -2
  11. dist/assets/js/{googlesitekit-idea-hub-post-list-20c70744c72fde65021d.js → googlesitekit-idea-hub-post-list-585ce45e340f2535a00e.js} +1 -1
  12. dist/assets/js/{googlesitekit-modules-adsense-f39025790f0d7ed403e2.js → googlesitekit-modules-adsense-785d1a2a5444d762f572.js} +1 -1
  13. dist/assets/js/{googlesitekit-modules-analytics-4-4a8f9ab6da96b64f8af4.js → googlesitekit-modules-analytics-4-048acbf4fdf6e10ecf44.js} +0 -1
dist/assets/js/{googlesitekit-activation-0d61070cd99c407bef19.js → googlesitekit-activation-a0c873aaacd76b0abe6c.js} RENAMED
@@ -6,7 +6,7 @@ Object(p.__)("Text input for option %s","google-site-kit"),r))),e.createElement(
6
  /* translators: %s: the number of answers. */
7
  Object(p.__)("Choose at least %s answers","google-site-kit"),u)),e.createElement(v.a,{onClick:function(){var e=Object.values(N).filter((function(e){return e.selected})).map((function(e){var t=e.answer_ordinal,n=e.answer_text;return n?{answer_ordinal:t,answer_text:n}:{answer_ordinal:t}}));i({answer:e})},disabled:P},k)))};E.propTypes={question:u.a.string.isRequired,choices:u.a.arrayOf(u.a.shape({answer_ordinal:u.a.oneOfType([u.a.string,u.a.number]),text:u.a.string,write_in:u.a.bool})).isRequired,answerQuestion:u.a.func.isRequired,dismissSurvey:u.a.func.isRequired,minChoices:u.a.number,maxChoices:u.a.number,submitButtonText:u.a.string.isRequired},t.a=E}).call(this,n(3))},195:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(13),o=n.n(i),c=n(0),l=n.n(c),s=n(2),u=n(18),d=n(64),f=n(196);function g(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function SurveyQuestionSingleSelect(t){var n=t.question,r=t.choices,a=t.answerQuestion,i=t.dismissSurvey,c=t.submitButtonText,l=Object(s.useState)(""),g=o()(l,2),p=g[0],v=g[1],b=Object(s.useState)(""),h=o()(b,2),y=h[0],O=h[1],k=r.map((function(e){return m(m({},e),{},{answer_ordinal:"".concat(e.answer_ordinal)})})),_=!!p&&k.filter((function(e){var t=e.answer_ordinal,n=e.write_in;return t===p&&n})).length>0,E=""===p||_&&""===y;return e.createElement("div",{className:"googlesitekit-single-select"},e.createElement(d.a,{title:n,dismissSurvey:i}),e.createElement("div",{className:"googlesitekit-survey__body"},k.map((function(t,n){return e.createElement(f.a,{key:n,value:p,setValue:v,writeIn:y,setWriteIn:O,choice:t})}))),e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(u.a,{onClick:function(){var e=_?{answer_text:y}:{};a({answer:m({answer_ordinal:Number(p)},e)})},disabled:E},c)))};p.propTypes={question:l.a.string.isRequired,choices:l.a.arrayOf(l.a.shape({answer_ordinal:l.a.oneOfType([l.a.string,l.a.number]),text:l.a.string,write_in:l.a.bool})).isRequired,answerQuestion:l.a.func.isRequired,dismissSurvey:l.a.func.isRequired},t.a=p}).call(this,n(3))},196:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(2),o=n(1),c=n(169),l=n(9),s=n(62),u=function SurveyQuestionSingleSelectChoice(t){var n=t.value,r=t.setValue,a=t.writeIn,u=t.setWriteIn,d=t.choice,f=d.answer_ordinal,g=d.text,m=d.write_in,p=n===f,v="googlesitekit-survey__multi-select-".concat(f,"-").concat(g);return e.createElement("div",{className:"googlesitekit-single-select__choice"},e.createElement(c.a,{id:g.replace(/ /g,"-"),value:f,checked:p,name:g,onClick:function(){return r(f)}},g),m&&e.createElement(i.Fragment,null,e.createElement(s.a,null,e.createElement("label",{htmlFor:v},Object(o.sprintf)(
8
  /* translators: %s: Option name */
9
- Object(o.__)("Text input for option %s","google-site-kit"),g))),e.createElement(l.q,null,e.createElement(l.g,{id:v,onChange:function(e){return u(e.target.value.slice(0,100))},value:a,disabled:!p}))))};u.propTypes={choice:a.a.shape({answer_ordinal:a.a.oneOfType([a.a.string,a.a.number]),text:a.a.string,write_in:a.a.bool}),value:a.a.string.isRequired,setValue:a.a.func.isRequired,writeIn:a.a.string.isRequired,setWriteIn:a.a.func.isRequired},t.a=u}).call(this,n(3))},197:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SurveyTerms}));var r=n(1),a=n(76),i=n(4),o=n.n(i),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(a.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,external:!0}),terms:e.createElement(l.a,{href:n,external:!0})}))}}).call(this,n(3))},20:function(e,t,n){"use strict";var r=n(2),a=n(67);t.a=function(){return Object(r.useContext)(a.b)}},22:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),u=n.n(s),d=n(122),f=n(1),g=n(2),m=Object(g.forwardRef)((function(t,n){var r,i=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,O=t.inverse,k=t.onClick,_=t.small,E=t.to,w=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","onClick","small","to"]),S=y||E||!k?E?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",j="BUTTON"===S||"BUTTON_DISABLED"===S?"button":"ROUTER_LINK"===S?d.b:"a",x=("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(j,a()({"aria-label":x,className:u()("googlesitekit-cta-link",m,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":O,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":_,"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:k,rel:"EXTERNAL_LINK"===S?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===S?"_blank":void 0,to:E},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,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:"",inverse:!1,small:!1},t.a=m}).call(this,n(3))},23:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"k",(function(){return a})),n.d(t,"i",(function(){return i})),n.d(t,"l",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"n",(function(){return f})),n.d(t,"p",(function(){return g})),n.d(t,"j",(function(){return m})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return h}));var r="dashboard",a="pageDashboard",i="dashboardViewOnly",o="pageDashboardViewOnly",c="postsList",l="userInput",s="activation",u="splash",d="adminBar",f="settings",g="wpDashboard",m="moduleSetup",p="traffic",v="content",b="speed",h="monetization"},251:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(104),i=n(252),o=n(62);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(a.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(i.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))},252: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:"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",a({viewBox:"0 0 80 21",fill:"none"},e),i)}},29: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"},32:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return h}));var r=n(86),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,f=a.isAuthenticated,g={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:f,pluginVersion:"1.79.0"},m=Object(r.a)(g),p=m.enableTracking,v=m.disableTracking,b=(m.isTrackingEnabled,m.initializeSnippet),h=m.trackEvent;function y(e){e?p():v()}c&&l&&b()}).call(this,n(21))},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(21))},34:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},4:function(e,t){e.exports=googlesitekit.data},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),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))}},43:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(129),a="xlarge",i="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},44:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return h})),n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return O}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=(n(24),n(10));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,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 u,d="googlesitekit_".concat("1.79.0","_"),f=["sessionStorage","localStorage"],g=[].concat(f),m=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 v.apply(this,arguments)}function v(){return(v=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===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(g),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,m(i);case 11:if(!t.sent){t.next=13;break}u=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===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=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(d).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)}}(),h=function(){var t=o()(a.a.mark((function t(n,r){var i,o,l,s,u,f,g,m,v=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},o=i.ttl,l=void 0===o?c.b:o,s=i.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,f=i.isError,g=void 0!==f&&f,t.next=3,p();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(d).concat(n),JSON.stringify({timestamp:u,ttl:l,value:r,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),y=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(d).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()(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(d)&&r.push(o.substring(d.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(21))},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(29);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},50: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(111);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)}},52:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(23),a=n(20);function i(){var e=Object(a.a)();return e===r.i||e===r.l}},56:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return q}));var a=n(17),i=n.n(a),o=n(6),c=n.n(o),l=n(5),s=n.n(l),u=n(14),d=n.n(u),f=n(13),g=n.n(f),m=n(0),p=n.n(m),v=n(8),b=n.n(v),h=n(241),y=n.n(h),O=n(98),k=n(2),_=n(104),E=n(9),w=n(132),S=n(50),j=n(63),x=n(112),N=n(18),C=n(168),T=n(151),R=n(22),D=n(128),P=n(145),A=n(44),L=n(43),I=n(114),q={EXTERNAL:"external",INTERNAL:"internal"};function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,l=t.badgeLabel,u=t.blockData,f=t.children,m=t.className,p=t.ctaLabel,v=t.ctaLink,h=t.ctaTarget,z=t.description,M=t.dismiss,B=t.dismissExpires,F=t.format,U=t.id,V=t.isDismissible,H=t.learnMoreDescription,K=t.learnMoreLabel,Q=t.learnMoreURL,G=t.learnMoreTarget,$=t.logo,W=t.module,X=t.moduleName,J=t.noBottomPadding,Y=t.onCTAClick,Z=t.onDismiss,ee=t.onLearnMoreClick,te=t.pageIndex,ne=t.showOnce,re=t.SmallImageSVG,ae=t.title,ie=t.type,oe=t.WinImageSVG,ce=t.rounded,le=void 0!==ce&&ce,se=Object(k.useState)(!1),ue=g()(se,2),de=ue[0],fe=ue[1],ge=Object(k.useState)(!1),me=g()(ge,2),pe=me[0],ve=me[1],be="notification::dismissed::".concat(U),he=function(){return Object(A.d)(be,new Date,{ttl:null})},ye=Object(L.e)();function Oe(){return(Oe=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!Z){e.next=5;break}return e.next=5,Z(t);case 5:ke();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ke(){fe(!0),setTimeout(d()(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,he();case 2:ve(!0),t=new Event("notificationDismissed"),document.dispatchEvent(t);case 5:case"end":return e.stop()}}),e)}))),350)}function _e(){return(_e=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),!Y){e.next=4;break}return e.next=4,Y(t);case 4:V&&ke();case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(O.a)(d()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(B>0)){e.next=3;break}return e.next=3,Se();case 3:if(!V){e.next=9;break}return e.next=6,Object(A.b)(be);case 6:t=e.sent,n=t.cacheHit,ve(n);case 9:if(!ne){e.next=12;break}return e.next=12,he();case 12:case"end":return e.stop()}}),e)}))));var Ee=Object(k.useCallback)((function(t){Object(S.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(w.a)(a,ye),behavior:"smooth"}))}),[a,ye]);function we(){return(we=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.persist(),null==ee||ee();case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Se(){return je.apply(this,arguments)}function je(){return(je=d()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(A.b)(be);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(B,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(A.a)(be);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(V&&(void 0===pe||pe))return null;var xe,Ne=de?"is-closed":"is-open",Ce="large"===F&&"win-stats-increase"===ie,Te=Object(I.d)(F),Re=Object(I.c)(F),De=Object(I.a)(F),Pe=Object(I.b)({format:F,inlineLayout:Ce,hasErrorOrWarning:"win-error"===ie||"win-warning"===ie,hasSmallImageSVG:!!re,hasWinImageSVG:!!oe});xe="win-warning"===ie?r.createElement(C.a,{width:34}):"win-error"===ie?r.createElement(T.a,{width:28}):"";var Ae=r.createElement(k.Fragment,null,u&&r.createElement(E.o,null,y()(u,(function(e,t){return r.createElement(E.a,{key:t,lgSize:Ce?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(x.a,e)))})))),Le=r.createElement(k.Fragment,null,ae&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},ae,l&&r.createElement(D.a,{label:l})),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(R.a,{href:a,onClick:Ee},o)),z&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(k.isValidElement)(z)?z:r.createElement("span",{dangerouslySetInnerHTML:Object(j.a)(z,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),K&&r.createElement(k.Fragment,null," ",r.createElement(R.a,{onClick:function(e){return we.apply(this,arguments)},href:Q,external:G===q.EXTERNAL},K),H),te&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},te))),f),Ie=W?r.createElement(P.a,{slug:W,size:19}):r.createElement(_.a,{height:"34",width:"32"}),qe=Ce?{size:12,smOrder:2,mdOrder:1}:{size:12},ze=v?R.a:N.a;return r.createElement("section",{id:U,className:b()(m,"googlesitekit-publisher-win",(n={},c()(n,"googlesitekit-publisher-win--".concat(F),F),c()(n,"googlesitekit-publisher-win--".concat(ie),ie),c()(n,"googlesitekit-publisher-win--".concat(Ne),Ne),c()(n,"googlesitekit-publisher-win--rounded",le),c()(n,"googlesitekit-publisher-win--no-bottom-padding",J),n))},r.createElement(E.e,{className:b()({"googlesitekit-padding-bottom-0":J})},r.createElement(E.o,null,$&&r.createElement(E.a,qe,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},Ie),X&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},X)),re&&r.createElement(E.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(re,null)),r.createElement(E.a,i()({},Pe,De,{className:"googlesitekit-publisher-win__content"}),Ce?r.createElement(E.o,null,r.createElement(E.a,{mdSize:8,lgSize:5},Le),r.createElement(E.a,{alignBottom:!0,mdSize:8,lgSize:7},Ae)):r.createElement(k.Fragment,null,Le,Ae),v&&r.createElement(N.a,{className:"googlesitekit-notification__cta",href:v,target:h,onClick:function(e){return _e.apply(this,arguments)}},p),V&&M&&r.createElement(ze,{onClick:function(e){return Oe.apply(this,arguments)}},M)),oe&&r.createElement(E.a,i()({},Te,Re,{alignBottom:"larger"===F&&J}),r.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(F)},r.createElement(oe,null))),("win-error"===ie||"win-warning"===ie)&&r.createElement(E.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},xe)))))}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,learnMoreTarget:p.a.oneOf(Object.values(q)),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,onLearnMoreClick:p.a.func,anchorLink:p.a.string,anchorLinkLabel:p.a.string,badgeLabel:p.a.string,noBottomPadding:p.a.bool,rounded:p.a.bool},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1,noBottomPadding:!1,learnMoreTarget:q.EXTERNAL},t.b=BannerNotification}).call(this,n(21),n(3))},58:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return v})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return m.a})),n.d(t,"f",(function(){return y})),n.d(t,"k",(function(){return p}));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=3600,o=86400,c=604800,l=n(7),s=n.n(l),u=n(35),d=function(e){var t=new Date(e);s()(Object(u.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("-")},f=n(13),g=n.n(f),m=n(41),p=function(e){s()(Object(m.a)(e),r);var t=e.split("-"),n=g()(t,3),a=n[0],i=n[1],o=n[2];return new Date(a,i-1,o)},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=p(e);return n.setDate(n.getDate()-t),d(n)},b=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]};var h=n(1);function y(){var e=function(e){return Object(h.sprintf)(
10
  /* translators: %s: number of days */
11
  Object(h._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}}}},61:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(8),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))},62:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),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))},63: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(73),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,/\/+$/,"")}},64:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(162),c=n(348),l=n(18),s=n(104),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))},65: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(0),o=n.n(i),c=n(8),l=n.n(c),s=n(1),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:l()("googlesitekit-gathering-data-notice",a()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(s.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(3))},67: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},72: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 w})),n.d(t,"a",(function(){return S}));var r=n(13),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(19),u=n.n(s),d=n(25),f=n(70),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,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(m.sprintf)(
12
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
6
  /* translators: %s: the number of answers. */
7
  Object(p.__)("Choose at least %s answers","google-site-kit"),u)),e.createElement(v.a,{onClick:function(){var e=Object.values(N).filter((function(e){return e.selected})).map((function(e){var t=e.answer_ordinal,n=e.answer_text;return n?{answer_ordinal:t,answer_text:n}:{answer_ordinal:t}}));i({answer:e})},disabled:P},k)))};E.propTypes={question:u.a.string.isRequired,choices:u.a.arrayOf(u.a.shape({answer_ordinal:u.a.oneOfType([u.a.string,u.a.number]),text:u.a.string,write_in:u.a.bool})).isRequired,answerQuestion:u.a.func.isRequired,dismissSurvey:u.a.func.isRequired,minChoices:u.a.number,maxChoices:u.a.number,submitButtonText:u.a.string.isRequired},t.a=E}).call(this,n(3))},195:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(13),o=n.n(i),c=n(0),l=n.n(c),s=n(2),u=n(18),d=n(64),f=n(196);function g(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function SurveyQuestionSingleSelect(t){var n=t.question,r=t.choices,a=t.answerQuestion,i=t.dismissSurvey,c=t.submitButtonText,l=Object(s.useState)(""),g=o()(l,2),p=g[0],v=g[1],b=Object(s.useState)(""),h=o()(b,2),y=h[0],O=h[1],k=r.map((function(e){return m(m({},e),{},{answer_ordinal:"".concat(e.answer_ordinal)})})),_=!!p&&k.filter((function(e){var t=e.answer_ordinal,n=e.write_in;return t===p&&n})).length>0,E=""===p||_&&""===y;return e.createElement("div",{className:"googlesitekit-single-select"},e.createElement(d.a,{title:n,dismissSurvey:i}),e.createElement("div",{className:"googlesitekit-survey__body"},k.map((function(t,n){return e.createElement(f.a,{key:n,value:p,setValue:v,writeIn:y,setWriteIn:O,choice:t})}))),e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(u.a,{onClick:function(){var e=_?{answer_text:y}:{};a({answer:m({answer_ordinal:Number(p)},e)})},disabled:E},c)))};p.propTypes={question:l.a.string.isRequired,choices:l.a.arrayOf(l.a.shape({answer_ordinal:l.a.oneOfType([l.a.string,l.a.number]),text:l.a.string,write_in:l.a.bool})).isRequired,answerQuestion:l.a.func.isRequired,dismissSurvey:l.a.func.isRequired},t.a=p}).call(this,n(3))},196:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(2),o=n(1),c=n(169),l=n(9),s=n(62),u=function SurveyQuestionSingleSelectChoice(t){var n=t.value,r=t.setValue,a=t.writeIn,u=t.setWriteIn,d=t.choice,f=d.answer_ordinal,g=d.text,m=d.write_in,p=n===f,v="googlesitekit-survey__multi-select-".concat(f,"-").concat(g);return e.createElement("div",{className:"googlesitekit-single-select__choice"},e.createElement(c.a,{id:g.replace(/ /g,"-"),value:f,checked:p,name:g,onClick:function(){return r(f)}},g),m&&e.createElement(i.Fragment,null,e.createElement(s.a,null,e.createElement("label",{htmlFor:v},Object(o.sprintf)(
8
  /* translators: %s: Option name */
9
+ Object(o.__)("Text input for option %s","google-site-kit"),g))),e.createElement(l.q,null,e.createElement(l.g,{id:v,onChange:function(e){return u(e.target.value.slice(0,100))},value:a,disabled:!p}))))};u.propTypes={choice:a.a.shape({answer_ordinal:a.a.oneOfType([a.a.string,a.a.number]),text:a.a.string,write_in:a.a.bool}),value:a.a.string.isRequired,setValue:a.a.func.isRequired,writeIn:a.a.string.isRequired,setWriteIn:a.a.func.isRequired},t.a=u}).call(this,n(3))},197:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SurveyTerms}));var r=n(1),a=n(76),i=n(4),o=n.n(i),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(a.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,external:!0}),terms:e.createElement(l.a,{href:n,external:!0})}))}}).call(this,n(3))},20:function(e,t,n){"use strict";var r=n(2),a=n(67);t.a=function(){return Object(r.useContext)(a.b)}},22:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),u=n.n(s),d=n(122),f=n(1),g=n(2),m=Object(g.forwardRef)((function(t,n){var r,i=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,O=t.inverse,k=t.onClick,_=t.small,E=t.to,w=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","onClick","small","to"]),S=y||E||!k?E?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",j="BUTTON"===S||"BUTTON_DISABLED"===S?"button":"ROUTER_LINK"===S?d.b:"a",x=("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(j,a()({"aria-label":x,className:u()("googlesitekit-cta-link",m,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":O,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":_,"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:k,rel:"EXTERNAL_LINK"===S?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===S?"_blank":void 0,to:E},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,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:"",inverse:!1,small:!1},t.a=m}).call(this,n(3))},23:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"k",(function(){return a})),n.d(t,"i",(function(){return i})),n.d(t,"l",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"n",(function(){return f})),n.d(t,"p",(function(){return g})),n.d(t,"j",(function(){return m})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return h}));var r="dashboard",a="pageDashboard",i="dashboardViewOnly",o="pageDashboardViewOnly",c="postsList",l="userInput",s="activation",u="splash",d="adminBar",f="settings",g="wpDashboard",m="moduleSetup",p="traffic",v="content",b="speed",h="monetization"},251:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(104),i=n(252),o=n(62);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(a.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(i.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))},252: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:"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",a({viewBox:"0 0 80 21",fill:"none"},e),i)}},29: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"},32:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return h}));var r=n(86),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,f=a.isAuthenticated,g={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:f,pluginVersion:"1.79.1"},m=Object(r.a)(g),p=m.enableTracking,v=m.disableTracking,b=(m.isTrackingEnabled,m.initializeSnippet),h=m.trackEvent;function y(e){e?p():v()}c&&l&&b()}).call(this,n(21))},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(21))},34:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},4:function(e,t){e.exports=googlesitekit.data},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),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))}},43:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(129),a="xlarge",i="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},44:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return h})),n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return O}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=(n(24),n(10));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,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 u,d="googlesitekit_".concat("1.79.1","_"),f=["sessionStorage","localStorage"],g=[].concat(f),m=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 v.apply(this,arguments)}function v(){return(v=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===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(g),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,m(i);case 11:if(!t.sent){t.next=13;break}u=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===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=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(d).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)}}(),h=function(){var t=o()(a.a.mark((function t(n,r){var i,o,l,s,u,f,g,m,v=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},o=i.ttl,l=void 0===o?c.b:o,s=i.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,f=i.isError,g=void 0!==f&&f,t.next=3,p();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(d).concat(n),JSON.stringify({timestamp:u,ttl:l,value:r,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),y=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(d).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()(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(d)&&r.push(o.substring(d.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(21))},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(29);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},50: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(111);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)}},52:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(23),a=n(20);function i(){var e=Object(a.a)();return e===r.i||e===r.l}},56:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return q}));var a=n(17),i=n.n(a),o=n(6),c=n.n(o),l=n(5),s=n.n(l),u=n(14),d=n.n(u),f=n(13),g=n.n(f),m=n(0),p=n.n(m),v=n(8),b=n.n(v),h=n(241),y=n.n(h),O=n(98),k=n(2),_=n(104),E=n(9),w=n(132),S=n(50),j=n(63),x=n(112),N=n(18),C=n(168),T=n(151),R=n(22),D=n(128),P=n(145),A=n(44),L=n(43),I=n(114),q={EXTERNAL:"external",INTERNAL:"internal"};function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,l=t.badgeLabel,u=t.blockData,f=t.children,m=t.className,p=t.ctaLabel,v=t.ctaLink,h=t.ctaTarget,z=t.description,M=t.dismiss,B=t.dismissExpires,F=t.format,U=t.id,V=t.isDismissible,H=t.learnMoreDescription,K=t.learnMoreLabel,Q=t.learnMoreURL,G=t.learnMoreTarget,$=t.logo,W=t.module,X=t.moduleName,J=t.noBottomPadding,Y=t.onCTAClick,Z=t.onDismiss,ee=t.onLearnMoreClick,te=t.pageIndex,ne=t.showOnce,re=t.SmallImageSVG,ae=t.title,ie=t.type,oe=t.WinImageSVG,ce=t.rounded,le=void 0!==ce&&ce,se=Object(k.useState)(!1),ue=g()(se,2),de=ue[0],fe=ue[1],ge=Object(k.useState)(!1),me=g()(ge,2),pe=me[0],ve=me[1],be="notification::dismissed::".concat(U),he=function(){return Object(A.d)(be,new Date,{ttl:null})},ye=Object(L.e)();function Oe(){return(Oe=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!Z){e.next=5;break}return e.next=5,Z(t);case 5:ke();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ke(){fe(!0),setTimeout(d()(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,he();case 2:ve(!0),t=new Event("notificationDismissed"),document.dispatchEvent(t);case 5:case"end":return e.stop()}}),e)}))),350)}function _e(){return(_e=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),!Y){e.next=4;break}return e.next=4,Y(t);case 4:V&&ke();case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(O.a)(d()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(B>0)){e.next=3;break}return e.next=3,Se();case 3:if(!V){e.next=9;break}return e.next=6,Object(A.b)(be);case 6:t=e.sent,n=t.cacheHit,ve(n);case 9:if(!ne){e.next=12;break}return e.next=12,he();case 12:case"end":return e.stop()}}),e)}))));var Ee=Object(k.useCallback)((function(t){Object(S.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(w.a)(a,ye),behavior:"smooth"}))}),[a,ye]);function we(){return(we=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.persist(),null==ee||ee();case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Se(){return je.apply(this,arguments)}function je(){return(je=d()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(A.b)(be);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(B,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(A.a)(be);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(V&&(void 0===pe||pe))return null;var xe,Ne=de?"is-closed":"is-open",Ce="large"===F&&"win-stats-increase"===ie,Te=Object(I.d)(F),Re=Object(I.c)(F),De=Object(I.a)(F),Pe=Object(I.b)({format:F,inlineLayout:Ce,hasErrorOrWarning:"win-error"===ie||"win-warning"===ie,hasSmallImageSVG:!!re,hasWinImageSVG:!!oe});xe="win-warning"===ie?r.createElement(C.a,{width:34}):"win-error"===ie?r.createElement(T.a,{width:28}):"";var Ae=r.createElement(k.Fragment,null,u&&r.createElement(E.o,null,y()(u,(function(e,t){return r.createElement(E.a,{key:t,lgSize:Ce?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(x.a,e)))})))),Le=r.createElement(k.Fragment,null,ae&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},ae,l&&r.createElement(D.a,{label:l})),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(R.a,{href:a,onClick:Ee},o)),z&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(k.isValidElement)(z)?z:r.createElement("span",{dangerouslySetInnerHTML:Object(j.a)(z,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),K&&r.createElement(k.Fragment,null," ",r.createElement(R.a,{onClick:function(e){return we.apply(this,arguments)},href:Q,external:G===q.EXTERNAL},K),H),te&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},te))),f),Ie=W?r.createElement(P.a,{slug:W,size:19}):r.createElement(_.a,{height:"34",width:"32"}),qe=Ce?{size:12,smOrder:2,mdOrder:1}:{size:12},ze=v?R.a:N.a;return r.createElement("section",{id:U,className:b()(m,"googlesitekit-publisher-win",(n={},c()(n,"googlesitekit-publisher-win--".concat(F),F),c()(n,"googlesitekit-publisher-win--".concat(ie),ie),c()(n,"googlesitekit-publisher-win--".concat(Ne),Ne),c()(n,"googlesitekit-publisher-win--rounded",le),c()(n,"googlesitekit-publisher-win--no-bottom-padding",J),n))},r.createElement(E.e,{className:b()({"googlesitekit-padding-bottom-0":J})},r.createElement(E.o,null,$&&r.createElement(E.a,qe,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},Ie),X&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},X)),re&&r.createElement(E.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(re,null)),r.createElement(E.a,i()({},Pe,De,{className:"googlesitekit-publisher-win__content"}),Ce?r.createElement(E.o,null,r.createElement(E.a,{mdSize:8,lgSize:5},Le),r.createElement(E.a,{alignBottom:!0,mdSize:8,lgSize:7},Ae)):r.createElement(k.Fragment,null,Le,Ae),v&&r.createElement(N.a,{className:"googlesitekit-notification__cta",href:v,target:h,onClick:function(e){return _e.apply(this,arguments)}},p),V&&M&&r.createElement(ze,{onClick:function(e){return Oe.apply(this,arguments)}},M)),oe&&r.createElement(E.a,i()({},Te,Re,{alignBottom:"larger"===F&&J}),r.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(F)},r.createElement(oe,null))),("win-error"===ie||"win-warning"===ie)&&r.createElement(E.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},xe)))))}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,learnMoreTarget:p.a.oneOf(Object.values(q)),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,onLearnMoreClick:p.a.func,anchorLink:p.a.string,anchorLinkLabel:p.a.string,badgeLabel:p.a.string,noBottomPadding:p.a.bool,rounded:p.a.bool},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1,noBottomPadding:!1,learnMoreTarget:q.EXTERNAL},t.b=BannerNotification}).call(this,n(21),n(3))},58:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return v})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return m.a})),n.d(t,"f",(function(){return y})),n.d(t,"k",(function(){return p}));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=3600,o=86400,c=604800,l=n(7),s=n.n(l),u=n(35),d=function(e){var t=new Date(e);s()(Object(u.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("-")},f=n(13),g=n.n(f),m=n(41),p=function(e){s()(Object(m.a)(e),r);var t=e.split("-"),n=g()(t,3),a=n[0],i=n[1],o=n[2];return new Date(a,i-1,o)},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=p(e);return n.setDate(n.getDate()-t),d(n)},b=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]};var h=n(1);function y(){var e=function(e){return Object(h.sprintf)(
10
  /* translators: %s: number of days */
11
  Object(h._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}}}},61:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(8),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))},62:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),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))},63: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(73),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,/\/+$/,"")}},64:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(162),c=n(348),l=n(18),s=n(104),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))},65: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(0),o=n.n(i),c=n(8),l=n.n(c),s=n(1),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:l()("googlesitekit-gathering-data-notice",a()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(s.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(3))},67: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},72: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 w})),n.d(t,"a",(function(){return S}));var r=n(13),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(19),u=n.n(s),d=n(25),f=n(70),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,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(m.sprintf)(
12
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
dist/assets/js/{googlesitekit-adminbar-328f1174dca0cf1d9c8e.js → googlesitekit-adminbar-9428bac50e81dc0b61e6.js} RENAMED
@@ -40,7 +40,7 @@ Object(u.__)("Data error in %s","google-site-kit"),null==i?void 0:i.name);var E=
40
  /* translators: 1: date for user stats, 2: previous date for user stats comparison */
41
  Object(f._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),Object(g.k)(v).toLocaleDateString(o,l),Object(g.k)(h).toLocaleDateString(o,l)),O=Object(c.d)(b,m),k=Object(c.e)(m,b),_=Object(c.j)(k),E=Object(f.sprintf)(
42
  /* translators: 1: selected stat label, 2: numeric value of selected stat, 3: up or down arrow , 4: different change in percentage, %%: percent symbol */
43
- Object(f._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s%%</em>","Stat information for chart tooltip","google-site-kit"),n,Math.abs(m).toFixed(2).replace(/(.00|0)$/,""),_,Object(c.t)(O));i.push([Object(g.k)(v),'<div class="'.concat(d()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":k>0,"googlesitekit-visualization-tooltip--down":k<0}),'">\n\t\t\t\t<p>').concat(y,"</p>\n\t\t\t\t<p>").concat(E,"</p>\n\t\t\t</div>"),m,b])})),i},m=n(7),v=n.n(m),b=n(41),h=function(e){var t=e.startDate,n=e.endDate;return v()(Object(b.a)(t),"A valid startDate is required."),v()(Object(b.a)(n),"A valid endDate is required."),{start_date:t.replace(/-/g,""),end_date:n.replace(/-/g,"")}};function y(e){return"string"==typeof e&&e.length>0}function O(e){var t=[[{type:"string",label:"Day"},{type:"number",label:"Clicks"},{type:"number",label:"Impressions"},{type:"number",label:"CTR"},{type:"number",label:"Position"}]],n=0,r=0,i=0,c=0,l=e.length;return a()(e,(function(e){var a=new Date(e.keys[0]);t.push([a.getMonth()+1+"/"+a.getUTCDate(),e.clicks,e.impressions,o()(e.ctr,3),o()(e.position,3)]),n+=e.clicks,r+=e.impressions,i+=e.ctr,c+=e.position})),{dataMap:t,totalClicks:n,totalImpressions:r,averageCTR:l>0?i/l:0,averagePosition:l>0?c/l:0}}var k=function(e,t){var n=Object(l.a)(e,{dateRangeLength:t}),r=n.compareRange,a=O(n.currentRange),i=O(r);return{dataMap:a.dataMap,totalClicks:a.totalClicks,totalImpressions:a.totalImpressions,averageCTR:a.averageCTR,averagePosition:a.averagePosition,totalClicksChange:Object(c.d)(i.totalClicks,a.totalClicks),totalImpressionsChange:Object(c.d)(i.totalImpressions,a.totalImpressions),averageCTRChange:Object(c.d)(i.averageCTR,a.averageCTR),averagePositionChange:Object(c.d)(i.averagePosition,a.averagePosition)}}},214: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(17),a=n.n(r),i=n(70),o=n.n(i),c=n(236),l=n(272),s=n(273),u=n(274),d=n(275),f=n(276),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(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),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.inverse,k=t.onClick,_=t.small,E=t.to,j=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","onClick","small","to"]),w=y||E||!k?E?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",S="BUTTON"===w||"BUTTON_DISABLED"===w?"button":"ROUTER_LINK"===w?d.b:"a",N=("EXTERNAL_LINK"===w&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===w&&(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(S,a()({"aria-label":N,className:u()("googlesitekit-cta-link",p,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":O,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":_,"googlesitekit-cta-link--caps":s,"googlesitekit-cta-link--danger":m,"googlesitekit-cta-link--disabled":v}),disabled:v,href:"LINK"===w||"EXTERNAL_LINK"===w?y:void 0,onClick:k,rel:"EXTERNAL_LINK"===w?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===w?"_blank":void 0,to:E},j),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,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:"",inverse:!1,small:!1},t.a=p}).call(this,n(3))},23:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"k",(function(){return a})),n.d(t,"i",(function(){return i})),n.d(t,"l",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"n",(function(){return f})),n.d(t,"p",(function(){return g})),n.d(t,"j",(function(){return p})),n.d(t,"d",(function(){return m})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return h}));var r="dashboard",a="pageDashboard",i="dashboardViewOnly",o="pageDashboardViewOnly",c="postsList",l="userInput",s="activation",u="splash",d="adminBar",f="settings",g="wpDashboard",p="moduleSetup",m="traffic",v="content",b="speed",h="monetization"},236:function(e,t,n){"use strict";(function(e){var r=n(8),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},{"googlesitekit-widget--with-header":c},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))},272: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(17),o=n.n(i),c=n(19),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(123),g=n(126);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))},273: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(19),o=n.n(i),c=n(0),l=n.n(c),s=n(208);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))},274: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(17),o=n.n(i),c=n(19),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(123),g=n(135);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))},275: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(17),o=n.n(i),c=n(19),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(123),g=n(134);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))},276: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(123),l=n(130);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))},29: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"},309:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PreviewGraph}));var r=n(0),a=n.n(r),i=n(378);function PreviewGraph(t){var n=t.title,r=t.GraphSVG,a=t.showIcons;return e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graph"},e.createElement("h3",{className:"googlesitekit-analytics-cta__preview-graph--title"},n),e.createElement("div",null,e.createElement(r,null)),a&&e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graph--icons"},e.createElement(i.a,{className:"googlesitekit-analytics-cta__preview-graph--up-arrow"}),e.createElement("span",{className:"googlesitekit-analytics-cta__preview-graph--bar"})))}PreviewGraph.propTypes={title:a.a.string.isRequired,GraphSVG:a.a.elementType.isRequired,showIcons:a.a.bool},PreviewGraph.defaultProps={showIcons:!0}}).call(this,n(3))},312:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(562),a=n.n(r);function i(e,t){return a()(e,t)||0}},32:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return h}));var r=n(86),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,f=a.isAuthenticated,g={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:f,pluginVersion:"1.79.0"},p=Object(r.a)(g),m=p.enableTracking,v=p.disableTracking,b=(p.isTrackingEnabled,p.initializeSnippet),h=p.trackEvent;function y(e){e?m():v()}c&&l&&b()}).call(this,n(21))},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(21))},34:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},377:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivateAnalyticsCTA}));var r=n(0),a=n.n(r),i=n(1),o=n(4),c=n.n(o),l=n(16),s=n(199),u=n(198),d=n(18),f=c.a.useSelect;function ActivateAnalyticsCTA(t){var n=t.children,r=Object(s.a)("analytics"),a=Object(u.a)("analytics"),o=f((function(e){return e(l.a).isModuleActive("analytics")})),c=o?a:r;return c?e.createElement("div",{className:"googlesitekit-analytics-cta"},e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graphs"},n),e.createElement("div",{className:"googlesitekit-analytics-cta__details"},e.createElement("p",{className:"googlesitekit-analytics-cta--description"},Object(i.__)("See how many people visit your site from Search and track how you’re achieving your goals.","google-site-kit")),e.createElement(d.a,{onClick:c},o?Object(i.__)("Complete setup","google-site-kit"):Object(i.__)("Set up Google Analytics","google-site-kit")))):null}ActivateAnalyticsCTA.propTypes={children:a.a.node.isRequired}}).call(this,n(3))},378: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 3.01l.443.387 1.755-1.534v3.344h.628V1.863L4.578 3.4l.446-.39L2.512.811 0 3.009z",fill:"currentColor"});t.a=function SvgArrowUp(e){return r.createElement("svg",a({viewBox:"0 0 6 6",fill:"none"},e),i)}},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},4:function(e,t){e.exports=googlesitekit.data},40: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"},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),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))}},43:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(129),a="xlarge",i="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},44:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return h})),n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return O}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=(n(24),n(10));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,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 u,d="googlesitekit_".concat("1.79.0","_"),f=["sessionStorage","localStorage"],g=[].concat(f),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 m(){return v.apply(this,arguments)}function v(){return(v=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===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(g),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){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}u=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===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=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,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(d).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)}}(),h=function(){var t=o()(a.a.mark((function t(n,r){var i,o,l,s,u,f,g,p,v=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},o=i.ttl,l=void 0===o?c.b:o,s=i.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,f=i.isError,g=void 0!==f&&f,t.next=3,m();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(d).concat(n),JSON.stringify({timestamp:u,ttl:l,value:r,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),y=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,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(d).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()(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,m();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(d)&&r.push(o.substring(d.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(21))},448: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:"M1 24.053l5-4.825 4 2.193 5.333-2.193 7.334 6.579 6-1.754 3-4.825 4.666 6.579 3.334-1.754L47.333 28 55 19.228l4.333 2.193 5.334-3.509 2 1.316h6L81.333 3 84 9.579l2.333-1.754L89 13.088l12-5.263",stroke:"#CCC",strokeWidth:2});t.a=function SvgCtaGraphVisitors(e){return r.createElement("svg",a({viewBox:"0 0 102 30",fill:"none"},e),i)}},450: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:"M86.66 6.101a22.375 22.375 0 016.226-1.09l.215 7.871a14.544 14.544 0 00-4.046.709L86.66 6.1z",fill:"#DEDEDE"}),o=r.createElement("path",{d:"M75.423 14.275a22.544 22.544 0 0110.57-7.945l2.628 7.41a14.655 14.655 0 00-6.871 5.164l-6.327-4.63z",fill:"#C6C6C6"}),c=r.createElement("path",{d:"M75.317 40.725a22.482 22.482 0 01-4.226-12.872 22.637 22.637 0 013.925-13l6.47 4.426a14.714 14.714 0 00-2.552 8.45c.035 3.01.995 5.932 2.747 8.367l-6.364 4.63z",fill:"#F1F1F1"}),l=r.createElement("path",{d:"M106.601 45.702a22.401 22.401 0 01-16.346 4.074 22.282 22.282 0 01-14.517-8.485l6.217-4.827a14.483 14.483 0 009.436 5.515 14.562 14.562 0 0010.625-2.648l4.585 6.371z",fill:"#959595"}),s=r.createElement("path",{d:"M93.59 5c4.673 0 9.223 1.466 13.013 4.194a22.369 22.369 0 018.129 11.018 22.624 22.624 0 01-7.567 25.067l-4.783-6.223a14.703 14.703 0 004.919-16.293 14.538 14.538 0 00-5.284-7.162 14.477 14.477 0 00-8.458-2.726L93.59 5z",fill:"#C7C7C7"}),u=r.createElement("circle",{cx:83.5,cy:56.899,r:1.5,fill:"#959595"}),d=r.createElement("circle",{cx:90.5,cy:56.899,r:1.5,fill:"#C7C7C7"}),f=r.createElement("circle",{cx:97.5,cy:56.899,r:1.5,fill:"#DEDEDE"}),g=r.createElement("circle",{cx:104.5,cy:56.899,r:1.5,fill:"#F1F1F1"}),p=r.createElement("path",{stroke:"#ECE9F1",strokeWidth:.937,strokeLinecap:"round",d:"M.468 58.531h55.064"}),m=r.createElement("path",{stroke:"#ECE9F1",strokeWidth:.468,strokeLinecap:"round",d:"M.234 44.765h55.532M.234 30.765h55.532M.234 16.766h55.532"}),v=r.createElement("path",{opacity:.08,d:"M25.531 47.668c-4.138-1.288-5.95-4.746-9.87-5.24-4.053-.51-7.2 12.53-15.661 13.777V59h56V35.07c-2.25-.486-4.367-17.89-9.25-16.601-4.882 1.288-8.475 20.892-12.365 14.578-3.89-6.313-4.716 15.91-8.854 14.622z",fill:"url(#cta-graph-traffic_svg__paint0_linear_435_1677)"}),b=r.createElement("path",{d:"M2.766 1.116L.883 6.3h-.77L2.281.612h.496l-.011.504zM4.344 6.3L2.457 1.116 2.445.612h.496L5.117 6.3h-.773zm-.098-2.106v.618H1.051v-.618h3.195zM6.555.3v6h-.727v-6h.727zM8.5.3v6h-.727v-6H8.5zm5.73 5.023v-3.25h.727V6.3h-.691l-.036-.977zm.137-.89l.301-.008c0 .281-.03.541-.09.781a1.678 1.678 0 01-.281.617c-.13.175-.3.311-.512.41a1.845 1.845 0 01-.77.145c-.205 0-.394-.03-.566-.09a1.132 1.132 0 01-.437-.277 1.262 1.262 0 01-.285-.489 2.355 2.355 0 01-.098-.722V2.073h.723v2.735c0 .19.02.347.062.472.044.123.103.22.176.293.075.07.159.12.25.149.094.028.19.043.289.043.307 0 .55-.059.73-.176.18-.12.309-.28.387-.48.08-.204.121-.429.121-.676zm4.152.746c0-.104-.023-.2-.07-.29-.044-.09-.137-.173-.277-.245-.138-.076-.346-.141-.625-.196a4.95 4.95 0 01-.637-.176 1.931 1.931 0 01-.48-.246c-.13-.096-.23-.21-.301-.34a.948.948 0 01-.106-.457c0-.166.037-.324.11-.472.075-.149.18-.28.316-.395.138-.114.304-.204.496-.27.193-.064.408-.097.645-.097.338 0 .627.06.867.18s.423.28.55.48c.128.198.192.418.192.66h-.722a.62.62 0 00-.106-.34.779.779 0 00-.3-.277.971.971 0 00-.481-.11c-.2 0-.363.032-.488.095a.627.627 0 00-.27.23.58.58 0 00-.043.508c.029.06.078.116.148.168.07.05.17.096.297.14.128.045.29.089.489.133.346.078.631.172.855.282.224.109.39.243.5.402.11.159.164.351.164.578a1.126 1.126 0 01-.45.906 1.65 1.65 0 01-.515.258c-.198.06-.42.09-.668.09-.372 0-.687-.066-.945-.2a1.462 1.462 0 01-.586-.515c-.133-.21-.2-.434-.2-.668h.727c.01.198.068.356.172.473a.877.877 0 00.383.246c.151.047.3.07.45.07.197 0 .363-.026.495-.078a.69.69 0 00.31-.215.498.498 0 00.105-.312zm3.426 1.199a2.08 2.08 0 01-.8-.149 1.817 1.817 0 01-.614-.425c-.169-.183-.3-.399-.39-.649a2.38 2.38 0 01-.137-.82v-.164c0-.344.05-.65.152-.918.102-.27.24-.5.414-.688.175-.187.373-.329.594-.425.221-.097.45-.145.688-.145.302 0 .562.052.78.156.222.105.403.25.544.438.14.185.245.404.312.656.068.25.102.524.102.82v.325h-3.156V3.8h2.433v-.055c-.01-.187-.05-.37-.117-.547a.983.983 0 00-.313-.437c-.143-.115-.338-.172-.585-.172a.984.984 0 00-.809.41c-.099.135-.176.3-.23.496-.055.195-.082.42-.082.676v.164c0 .2.027.39.081.566.058.175.14.328.247.461.109.133.24.237.394.313.156.075.334.113.531.113.256 0 .472-.052.649-.156.177-.104.332-.244.465-.418l.437.348c-.091.138-.207.269-.348.394-.14.125-.313.227-.519.305a2.012 2.012 0 01-.723.117zm3.211-3.64V6.3h-.722V2.073h.703l.02.664zm1.32-.688l-.003.672a1.827 1.827 0 00-.352-.031c-.167 0-.314.025-.441.078a.914.914 0 00-.325.218 1.052 1.052 0 00-.21.336c-.05.128-.082.268-.098.422l-.203.117c0-.255.024-.494.074-.718.052-.224.131-.422.238-.594.107-.175.242-.31.407-.406a1.142 1.142 0 01.914-.094zm3.13 3.129a.61.61 0 00-.07-.29c-.045-.09-.138-.173-.278-.245-.138-.076-.346-.141-.625-.196a4.95 4.95 0 01-.637-.176 1.931 1.931 0 01-.48-.246c-.13-.096-.23-.21-.301-.34a.948.948 0 01-.106-.457c0-.166.037-.324.11-.472.075-.149.18-.28.316-.395.138-.114.303-.204.496-.27.193-.064.408-.097.645-.097.338 0 .627.06.867.18s.423.28.55.48c.128.198.192.418.192.66h-.723a.62.62 0 00-.105-.34.778.778 0 00-.3-.277.97.97 0 00-.481-.11c-.2 0-.363.032-.488.095a.627.627 0 00-.27.23.58.58 0 00-.043.508c.029.06.078.116.148.168.07.05.17.096.297.14.128.045.29.089.489.133.346.078.631.172.855.282.224.109.39.243.5.402.11.159.164.351.164.578a1.126 1.126 0 01-.45.906 1.65 1.65 0 01-.515.258c-.198.06-.42.09-.668.09-.372 0-.687-.066-.945-.2a1.462 1.462 0 01-.586-.515c-.133-.21-.2-.434-.2-.668h.727c.01.198.068.356.172.473a.876.876 0 00.383.246c.151.047.3.07.45.07.197 0 .363-.026.495-.078a.69.69 0 00.309-.215.498.498 0 00.105-.312z",fill:"#B8B8B8"}),h=r.createElement("defs",null,r.createElement("linearGradient",{id:"cta-graph-traffic_svg__paint0_linear_435_1677",x1:19.094,y1:18.399,x2:19.094,y2:66.554,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#4F4F4F"}),r.createElement("stop",{offset:1,stopColor:"#4F4F4F",stopOpacity:0})));t.a=function SvgCtaGraphTraffic(e){return r.createElement("svg",a({viewBox:"0 0 116 59",fill:"none"},e),i,o,c,l,s,u,d,f,g,p,m,v,b,h)}},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(29);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},50: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(111);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)}},52:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(23),a=n(20);function i(){var e=Object(a.a)();return e===r.i||e===r.l}},56:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return q}));var a=n(17),i=n.n(a),o=n(6),c=n.n(o),l=n(5),s=n.n(l),u=n(14),d=n.n(u),f=n(13),g=n.n(f),p=n(0),m=n.n(p),v=n(8),b=n.n(v),h=n(241),y=n.n(h),O=n(98),k=n(2),_=n(104),E=n(9),j=n(132),w=n(50),S=n(63),N=n(112),C=n(18),R=n(168),D=n(151),x=n(22),T=n(128),P=n(145),A=n(44),L=n(43),M=n(114),q={EXTERNAL:"external",INTERNAL:"internal"};function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,l=t.badgeLabel,u=t.blockData,f=t.children,p=t.className,m=t.ctaLabel,v=t.ctaLink,h=t.ctaTarget,z=t.description,I=t.dismiss,B=t.dismissExpires,F=t.format,U=t.id,W=t.isDismissible,H=t.learnMoreDescription,V=t.learnMoreLabel,G=t.learnMoreURL,K=t.learnMoreTarget,Q=t.logo,$=t.module,Z=t.moduleName,X=t.noBottomPadding,Y=t.onCTAClick,J=t.onDismiss,ee=t.onLearnMoreClick,te=t.pageIndex,ne=t.showOnce,re=t.SmallImageSVG,ae=t.title,ie=t.type,oe=t.WinImageSVG,ce=t.rounded,le=void 0!==ce&&ce,se=Object(k.useState)(!1),ue=g()(se,2),de=ue[0],fe=ue[1],ge=Object(k.useState)(!1),pe=g()(ge,2),me=pe[0],ve=pe[1],be="notification::dismissed::".concat(U),he=function(){return Object(A.d)(be,new Date,{ttl:null})},ye=Object(L.e)();function Oe(){return(Oe=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!J){e.next=5;break}return e.next=5,J(t);case 5:ke();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ke(){fe(!0),setTimeout(d()(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,he();case 2:ve(!0),t=new Event("notificationDismissed"),document.dispatchEvent(t);case 5:case"end":return e.stop()}}),e)}))),350)}function _e(){return(_e=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),!Y){e.next=4;break}return e.next=4,Y(t);case 4:W&&ke();case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(O.a)(d()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(B>0)){e.next=3;break}return e.next=3,we();case 3:if(!W){e.next=9;break}return e.next=6,Object(A.b)(be);case 6:t=e.sent,n=t.cacheHit,ve(n);case 9:if(!ne){e.next=12;break}return e.next=12,he();case 12:case"end":return e.stop()}}),e)}))));var Ee=Object(k.useCallback)((function(t){Object(w.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(j.a)(a,ye),behavior:"smooth"}))}),[a,ye]);function je(){return(je=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.persist(),null==ee||ee();case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function we(){return Se.apply(this,arguments)}function Se(){return(Se=d()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(A.b)(be);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(B,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(A.a)(be);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(W&&(void 0===me||me))return null;var Ne,Ce=de?"is-closed":"is-open",Re="large"===F&&"win-stats-increase"===ie,De=Object(M.d)(F),xe=Object(M.c)(F),Te=Object(M.a)(F),Pe=Object(M.b)({format:F,inlineLayout:Re,hasErrorOrWarning:"win-error"===ie||"win-warning"===ie,hasSmallImageSVG:!!re,hasWinImageSVG:!!oe});Ne="win-warning"===ie?r.createElement(R.a,{width:34}):"win-error"===ie?r.createElement(D.a,{width:28}):"";var Ae=r.createElement(k.Fragment,null,u&&r.createElement(E.o,null,y()(u,(function(e,t){return r.createElement(E.a,{key:t,lgSize:Re?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(N.a,e)))})))),Le=r.createElement(k.Fragment,null,ae&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},ae,l&&r.createElement(T.a,{label:l})),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(x.a,{href:a,onClick:Ee},o)),z&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(k.isValidElement)(z)?z:r.createElement("span",{dangerouslySetInnerHTML:Object(S.a)(z,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),V&&r.createElement(k.Fragment,null," ",r.createElement(x.a,{onClick:function(e){return je.apply(this,arguments)},href:G,external:K===q.EXTERNAL},V),H),te&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},te))),f),Me=$?r.createElement(P.a,{slug:$,size:19}):r.createElement(_.a,{height:"34",width:"32"}),qe=Re?{size:12,smOrder:2,mdOrder:1}:{size:12},ze=v?x.a:C.a;return r.createElement("section",{id:U,className:b()(p,"googlesitekit-publisher-win",(n={},c()(n,"googlesitekit-publisher-win--".concat(F),F),c()(n,"googlesitekit-publisher-win--".concat(ie),ie),c()(n,"googlesitekit-publisher-win--".concat(Ce),Ce),c()(n,"googlesitekit-publisher-win--rounded",le),c()(n,"googlesitekit-publisher-win--no-bottom-padding",X),n))},r.createElement(E.e,{className:b()({"googlesitekit-padding-bottom-0":X})},r.createElement(E.o,null,Q&&r.createElement(E.a,qe,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},Me),Z&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},Z)),re&&r.createElement(E.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(re,null)),r.createElement(E.a,i()({},Pe,Te,{className:"googlesitekit-publisher-win__content"}),Re?r.createElement(E.o,null,r.createElement(E.a,{mdSize:8,lgSize:5},Le),r.createElement(E.a,{alignBottom:!0,mdSize:8,lgSize:7},Ae)):r.createElement(k.Fragment,null,Le,Ae),v&&r.createElement(C.a,{className:"googlesitekit-notification__cta",href:v,target:h,onClick:function(e){return _e.apply(this,arguments)}},m),W&&I&&r.createElement(ze,{onClick:function(e){return Oe.apply(this,arguments)}},I)),oe&&r.createElement(E.a,i()({},De,xe,{alignBottom:"larger"===F&&X}),r.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(F)},r.createElement(oe,null))),("win-error"===ie||"win-warning"===ie)&&r.createElement(E.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},Ne)))))}BannerNotification.propTypes={id:m.a.string.isRequired,className:m.a.string,title:m.a.string.isRequired,description:m.a.node,learnMoreURL:m.a.string,learnMoreDescription:m.a.string,learnMoreLabel:m.a.string,learnMoreTarget:m.a.oneOf(Object.values(q)),blockData:m.a.array,WinImageSVG:m.a.elementType,SmallImageSVG:m.a.elementType,format:m.a.string,ctaLink:m.a.string,ctaLabel:m.a.string,type:m.a.string,dismiss:m.a.string,isDismissible:m.a.bool,logo:m.a.bool,module:m.a.string,moduleName:m.a.string,pageIndex:m.a.string,dismissExpires:m.a.number,showOnce:m.a.bool,onCTAClick:m.a.func,onDismiss:m.a.func,onLearnMoreClick:m.a.func,anchorLink:m.a.string,anchorLinkLabel:m.a.string,badgeLabel:m.a.string,noBottomPadding:m.a.bool,rounded:m.a.bool},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1,noBottomPadding:!1,learnMoreTarget:q.EXTERNAL},t.b=BannerNotification}).call(this,n(21),n(3))},58:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return v})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return p.a})),n.d(t,"f",(function(){return y})),n.d(t,"k",(function(){return m}));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=3600,o=86400,c=604800,l=n(7),s=n.n(l),u=n(35),d=function(e){var t=new Date(e);s()(Object(u.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("-")},f=n(13),g=n.n(f),p=n(41),m=function(e){s()(Object(p.a)(e),r);var t=e.split("-"),n=g()(t,3),a=n[0],i=n[1],o=n[2];return new Date(a,i-1,o)},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=m(e);return n.setDate(n.getDate()-t),d(n)},b=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]};var h=n(1);function y(){var e=function(e){return Object(h.sprintf)(
44
  /* translators: %s: number of days */
45
  Object(h._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}}}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),a=n(106),i=n(33),o=function(e){var t=Object(r.useContext)(a.a);return Object(i.b)(e,t)}},61:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(8),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))},62:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),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))},63: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(73),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,/\/+$/,"")}},64:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(162),c=n(348),l=n(18),s=n(104),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))},65: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(0),o=n.n(i),c=n(8),l=n.n(c),s=n(1),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:l()("googlesitekit-gathering-data-notice",a()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(s.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(3))},66:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return l}));n(54);var r="missing_required_scopes",a="insufficientPermissions",i="forbidden";function o(e){return(null==e?void 0:e.code)===r}function c(e){var t;return[a,i].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function l(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}},67: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},68: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},72: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(13),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(19),u=n.n(s),d=n(25),f=n(70),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)(
46
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
40
  /* translators: 1: date for user stats, 2: previous date for user stats comparison */
41
  Object(f._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),Object(g.k)(v).toLocaleDateString(o,l),Object(g.k)(h).toLocaleDateString(o,l)),O=Object(c.d)(b,m),k=Object(c.e)(m,b),_=Object(c.j)(k),E=Object(f.sprintf)(
42
  /* translators: 1: selected stat label, 2: numeric value of selected stat, 3: up or down arrow , 4: different change in percentage, %%: percent symbol */
43
+ Object(f._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s%%</em>","Stat information for chart tooltip","google-site-kit"),n,Math.abs(m).toFixed(2).replace(/(.00|0)$/,""),_,Object(c.t)(O));i.push([Object(g.k)(v),'<div class="'.concat(d()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":k>0,"googlesitekit-visualization-tooltip--down":k<0}),'">\n\t\t\t\t<p>').concat(y,"</p>\n\t\t\t\t<p>").concat(E,"</p>\n\t\t\t</div>"),m,b])})),i},m=n(7),v=n.n(m),b=n(41),h=function(e){var t=e.startDate,n=e.endDate;return v()(Object(b.a)(t),"A valid startDate is required."),v()(Object(b.a)(n),"A valid endDate is required."),{start_date:t.replace(/-/g,""),end_date:n.replace(/-/g,"")}};function y(e){return"string"==typeof e&&e.length>0}function O(e){var t=[[{type:"string",label:"Day"},{type:"number",label:"Clicks"},{type:"number",label:"Impressions"},{type:"number",label:"CTR"},{type:"number",label:"Position"}]],n=0,r=0,i=0,c=0,l=e.length;return a()(e,(function(e){var a=new Date(e.keys[0]);t.push([a.getMonth()+1+"/"+a.getUTCDate(),e.clicks,e.impressions,o()(e.ctr,3),o()(e.position,3)]),n+=e.clicks,r+=e.impressions,i+=e.ctr,c+=e.position})),{dataMap:t,totalClicks:n,totalImpressions:r,averageCTR:l>0?i/l:0,averagePosition:l>0?c/l:0}}var k=function(e,t){var n=Object(l.a)(e,{dateRangeLength:t}),r=n.compareRange,a=O(n.currentRange),i=O(r);return{dataMap:a.dataMap,totalClicks:a.totalClicks,totalImpressions:a.totalImpressions,averageCTR:a.averageCTR,averagePosition:a.averagePosition,totalClicksChange:Object(c.d)(i.totalClicks,a.totalClicks),totalImpressionsChange:Object(c.d)(i.totalImpressions,a.totalImpressions),averageCTRChange:Object(c.d)(i.averageCTR,a.averageCTR),averagePositionChange:Object(c.d)(i.averagePosition,a.averagePosition)}}},214: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(17),a=n.n(r),i=n(70),o=n.n(i),c=n(236),l=n(272),s=n(273),u=n(274),d=n(275),f=n(276),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(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),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.inverse,k=t.onClick,_=t.small,E=t.to,j=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","onClick","small","to"]),w=y||E||!k?E?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",S="BUTTON"===w||"BUTTON_DISABLED"===w?"button":"ROUTER_LINK"===w?d.b:"a",N=("EXTERNAL_LINK"===w&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===w&&(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(S,a()({"aria-label":N,className:u()("googlesitekit-cta-link",p,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":O,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":_,"googlesitekit-cta-link--caps":s,"googlesitekit-cta-link--danger":m,"googlesitekit-cta-link--disabled":v}),disabled:v,href:"LINK"===w||"EXTERNAL_LINK"===w?y:void 0,onClick:k,rel:"EXTERNAL_LINK"===w?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===w?"_blank":void 0,to:E},j),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,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:"",inverse:!1,small:!1},t.a=p}).call(this,n(3))},23:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"k",(function(){return a})),n.d(t,"i",(function(){return i})),n.d(t,"l",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"n",(function(){return f})),n.d(t,"p",(function(){return g})),n.d(t,"j",(function(){return p})),n.d(t,"d",(function(){return m})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return h}));var r="dashboard",a="pageDashboard",i="dashboardViewOnly",o="pageDashboardViewOnly",c="postsList",l="userInput",s="activation",u="splash",d="adminBar",f="settings",g="wpDashboard",p="moduleSetup",m="traffic",v="content",b="speed",h="monetization"},236:function(e,t,n){"use strict";(function(e){var r=n(8),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},{"googlesitekit-widget--with-header":c},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))},272: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(17),o=n.n(i),c=n(19),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(123),g=n(126);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))},273: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(19),o=n.n(i),c=n(0),l=n.n(c),s=n(208);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))},274: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(17),o=n.n(i),c=n(19),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(123),g=n(135);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))},275: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(17),o=n.n(i),c=n(19),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(123),g=n(134);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))},276: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(123),l=n(130);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))},29: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"},309:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PreviewGraph}));var r=n(0),a=n.n(r),i=n(378);function PreviewGraph(t){var n=t.title,r=t.GraphSVG,a=t.showIcons;return e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graph"},e.createElement("h3",{className:"googlesitekit-analytics-cta__preview-graph--title"},n),e.createElement("div",null,e.createElement(r,null)),a&&e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graph--icons"},e.createElement(i.a,{className:"googlesitekit-analytics-cta__preview-graph--up-arrow"}),e.createElement("span",{className:"googlesitekit-analytics-cta__preview-graph--bar"})))}PreviewGraph.propTypes={title:a.a.string.isRequired,GraphSVG:a.a.elementType.isRequired,showIcons:a.a.bool},PreviewGraph.defaultProps={showIcons:!0}}).call(this,n(3))},312:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(562),a=n.n(r);function i(e,t){return a()(e,t)||0}},32:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return h}));var r=n(86),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,f=a.isAuthenticated,g={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:f,pluginVersion:"1.79.1"},p=Object(r.a)(g),m=p.enableTracking,v=p.disableTracking,b=(p.isTrackingEnabled,p.initializeSnippet),h=p.trackEvent;function y(e){e?m():v()}c&&l&&b()}).call(this,n(21))},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(21))},34:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},377:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivateAnalyticsCTA}));var r=n(0),a=n.n(r),i=n(1),o=n(4),c=n.n(o),l=n(16),s=n(199),u=n(198),d=n(18),f=c.a.useSelect;function ActivateAnalyticsCTA(t){var n=t.children,r=Object(s.a)("analytics"),a=Object(u.a)("analytics"),o=f((function(e){return e(l.a).isModuleActive("analytics")})),c=o?a:r;return c?e.createElement("div",{className:"googlesitekit-analytics-cta"},e.createElement("div",{className:"googlesitekit-analytics-cta__preview-graphs"},n),e.createElement("div",{className:"googlesitekit-analytics-cta__details"},e.createElement("p",{className:"googlesitekit-analytics-cta--description"},Object(i.__)("See how many people visit your site from Search and track how you’re achieving your goals.","google-site-kit")),e.createElement(d.a,{onClick:c},o?Object(i.__)("Complete setup","google-site-kit"):Object(i.__)("Set up Google Analytics","google-site-kit")))):null}ActivateAnalyticsCTA.propTypes={children:a.a.node.isRequired}}).call(this,n(3))},378: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 3.01l.443.387 1.755-1.534v3.344h.628V1.863L4.578 3.4l.446-.39L2.512.811 0 3.009z",fill:"currentColor"});t.a=function SvgArrowUp(e){return r.createElement("svg",a({viewBox:"0 0 6 6",fill:"none"},e),i)}},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},4:function(e,t){e.exports=googlesitekit.data},40: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"},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),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))}},43:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(129),a="xlarge",i="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},44:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return h})),n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return O}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=(n(24),n(10));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,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 u,d="googlesitekit_".concat("1.79.1","_"),f=["sessionStorage","localStorage"],g=[].concat(f),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 m(){return v.apply(this,arguments)}function v(){return(v=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===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(g),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){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}u=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===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=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,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(d).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)}}(),h=function(){var t=o()(a.a.mark((function t(n,r){var i,o,l,s,u,f,g,p,v=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},o=i.ttl,l=void 0===o?c.b:o,s=i.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,f=i.isError,g=void 0!==f&&f,t.next=3,m();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(d).concat(n),JSON.stringify({timestamp:u,ttl:l,value:r,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),y=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,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(d).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()(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,m();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(d)&&r.push(o.substring(d.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(21))},448: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:"M1 24.053l5-4.825 4 2.193 5.333-2.193 7.334 6.579 6-1.754 3-4.825 4.666 6.579 3.334-1.754L47.333 28 55 19.228l4.333 2.193 5.334-3.509 2 1.316h6L81.333 3 84 9.579l2.333-1.754L89 13.088l12-5.263",stroke:"#CCC",strokeWidth:2});t.a=function SvgCtaGraphVisitors(e){return r.createElement("svg",a({viewBox:"0 0 102 30",fill:"none"},e),i)}},450: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:"M86.66 6.101a22.375 22.375 0 016.226-1.09l.215 7.871a14.544 14.544 0 00-4.046.709L86.66 6.1z",fill:"#DEDEDE"}),o=r.createElement("path",{d:"M75.423 14.275a22.544 22.544 0 0110.57-7.945l2.628 7.41a14.655 14.655 0 00-6.871 5.164l-6.327-4.63z",fill:"#C6C6C6"}),c=r.createElement("path",{d:"M75.317 40.725a22.482 22.482 0 01-4.226-12.872 22.637 22.637 0 013.925-13l6.47 4.426a14.714 14.714 0 00-2.552 8.45c.035 3.01.995 5.932 2.747 8.367l-6.364 4.63z",fill:"#F1F1F1"}),l=r.createElement("path",{d:"M106.601 45.702a22.401 22.401 0 01-16.346 4.074 22.282 22.282 0 01-14.517-8.485l6.217-4.827a14.483 14.483 0 009.436 5.515 14.562 14.562 0 0010.625-2.648l4.585 6.371z",fill:"#959595"}),s=r.createElement("path",{d:"M93.59 5c4.673 0 9.223 1.466 13.013 4.194a22.369 22.369 0 018.129 11.018 22.624 22.624 0 01-7.567 25.067l-4.783-6.223a14.703 14.703 0 004.919-16.293 14.538 14.538 0 00-5.284-7.162 14.477 14.477 0 00-8.458-2.726L93.59 5z",fill:"#C7C7C7"}),u=r.createElement("circle",{cx:83.5,cy:56.899,r:1.5,fill:"#959595"}),d=r.createElement("circle",{cx:90.5,cy:56.899,r:1.5,fill:"#C7C7C7"}),f=r.createElement("circle",{cx:97.5,cy:56.899,r:1.5,fill:"#DEDEDE"}),g=r.createElement("circle",{cx:104.5,cy:56.899,r:1.5,fill:"#F1F1F1"}),p=r.createElement("path",{stroke:"#ECE9F1",strokeWidth:.937,strokeLinecap:"round",d:"M.468 58.531h55.064"}),m=r.createElement("path",{stroke:"#ECE9F1",strokeWidth:.468,strokeLinecap:"round",d:"M.234 44.765h55.532M.234 30.765h55.532M.234 16.766h55.532"}),v=r.createElement("path",{opacity:.08,d:"M25.531 47.668c-4.138-1.288-5.95-4.746-9.87-5.24-4.053-.51-7.2 12.53-15.661 13.777V59h56V35.07c-2.25-.486-4.367-17.89-9.25-16.601-4.882 1.288-8.475 20.892-12.365 14.578-3.89-6.313-4.716 15.91-8.854 14.622z",fill:"url(#cta-graph-traffic_svg__paint0_linear_435_1677)"}),b=r.createElement("path",{d:"M2.766 1.116L.883 6.3h-.77L2.281.612h.496l-.011.504zM4.344 6.3L2.457 1.116 2.445.612h.496L5.117 6.3h-.773zm-.098-2.106v.618H1.051v-.618h3.195zM6.555.3v6h-.727v-6h.727zM8.5.3v6h-.727v-6H8.5zm5.73 5.023v-3.25h.727V6.3h-.691l-.036-.977zm.137-.89l.301-.008c0 .281-.03.541-.09.781a1.678 1.678 0 01-.281.617c-.13.175-.3.311-.512.41a1.845 1.845 0 01-.77.145c-.205 0-.394-.03-.566-.09a1.132 1.132 0 01-.437-.277 1.262 1.262 0 01-.285-.489 2.355 2.355 0 01-.098-.722V2.073h.723v2.735c0 .19.02.347.062.472.044.123.103.22.176.293.075.07.159.12.25.149.094.028.19.043.289.043.307 0 .55-.059.73-.176.18-.12.309-.28.387-.48.08-.204.121-.429.121-.676zm4.152.746c0-.104-.023-.2-.07-.29-.044-.09-.137-.173-.277-.245-.138-.076-.346-.141-.625-.196a4.95 4.95 0 01-.637-.176 1.931 1.931 0 01-.48-.246c-.13-.096-.23-.21-.301-.34a.948.948 0 01-.106-.457c0-.166.037-.324.11-.472.075-.149.18-.28.316-.395.138-.114.304-.204.496-.27.193-.064.408-.097.645-.097.338 0 .627.06.867.18s.423.28.55.48c.128.198.192.418.192.66h-.722a.62.62 0 00-.106-.34.779.779 0 00-.3-.277.971.971 0 00-.481-.11c-.2 0-.363.032-.488.095a.627.627 0 00-.27.23.58.58 0 00-.043.508c.029.06.078.116.148.168.07.05.17.096.297.14.128.045.29.089.489.133.346.078.631.172.855.282.224.109.39.243.5.402.11.159.164.351.164.578a1.126 1.126 0 01-.45.906 1.65 1.65 0 01-.515.258c-.198.06-.42.09-.668.09-.372 0-.687-.066-.945-.2a1.462 1.462 0 01-.586-.515c-.133-.21-.2-.434-.2-.668h.727c.01.198.068.356.172.473a.877.877 0 00.383.246c.151.047.3.07.45.07.197 0 .363-.026.495-.078a.69.69 0 00.31-.215.498.498 0 00.105-.312zm3.426 1.199a2.08 2.08 0 01-.8-.149 1.817 1.817 0 01-.614-.425c-.169-.183-.3-.399-.39-.649a2.38 2.38 0 01-.137-.82v-.164c0-.344.05-.65.152-.918.102-.27.24-.5.414-.688.175-.187.373-.329.594-.425.221-.097.45-.145.688-.145.302 0 .562.052.78.156.222.105.403.25.544.438.14.185.245.404.312.656.068.25.102.524.102.82v.325h-3.156V3.8h2.433v-.055c-.01-.187-.05-.37-.117-.547a.983.983 0 00-.313-.437c-.143-.115-.338-.172-.585-.172a.984.984 0 00-.809.41c-.099.135-.176.3-.23.496-.055.195-.082.42-.082.676v.164c0 .2.027.39.081.566.058.175.14.328.247.461.109.133.24.237.394.313.156.075.334.113.531.113.256 0 .472-.052.649-.156.177-.104.332-.244.465-.418l.437.348c-.091.138-.207.269-.348.394-.14.125-.313.227-.519.305a2.012 2.012 0 01-.723.117zm3.211-3.64V6.3h-.722V2.073h.703l.02.664zm1.32-.688l-.003.672a1.827 1.827 0 00-.352-.031c-.167 0-.314.025-.441.078a.914.914 0 00-.325.218 1.052 1.052 0 00-.21.336c-.05.128-.082.268-.098.422l-.203.117c0-.255.024-.494.074-.718.052-.224.131-.422.238-.594.107-.175.242-.31.407-.406a1.142 1.142 0 01.914-.094zm3.13 3.129a.61.61 0 00-.07-.29c-.045-.09-.138-.173-.278-.245-.138-.076-.346-.141-.625-.196a4.95 4.95 0 01-.637-.176 1.931 1.931 0 01-.48-.246c-.13-.096-.23-.21-.301-.34a.948.948 0 01-.106-.457c0-.166.037-.324.11-.472.075-.149.18-.28.316-.395.138-.114.303-.204.496-.27.193-.064.408-.097.645-.097.338 0 .627.06.867.18s.423.28.55.48c.128.198.192.418.192.66h-.723a.62.62 0 00-.105-.34.778.778 0 00-.3-.277.97.97 0 00-.481-.11c-.2 0-.363.032-.488.095a.627.627 0 00-.27.23.58.58 0 00-.043.508c.029.06.078.116.148.168.07.05.17.096.297.14.128.045.29.089.489.133.346.078.631.172.855.282.224.109.39.243.5.402.11.159.164.351.164.578a1.126 1.126 0 01-.45.906 1.65 1.65 0 01-.515.258c-.198.06-.42.09-.668.09-.372 0-.687-.066-.945-.2a1.462 1.462 0 01-.586-.515c-.133-.21-.2-.434-.2-.668h.727c.01.198.068.356.172.473a.876.876 0 00.383.246c.151.047.3.07.45.07.197 0 .363-.026.495-.078a.69.69 0 00.309-.215.498.498 0 00.105-.312z",fill:"#B8B8B8"}),h=r.createElement("defs",null,r.createElement("linearGradient",{id:"cta-graph-traffic_svg__paint0_linear_435_1677",x1:19.094,y1:18.399,x2:19.094,y2:66.554,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#4F4F4F"}),r.createElement("stop",{offset:1,stopColor:"#4F4F4F",stopOpacity:0})));t.a=function SvgCtaGraphTraffic(e){return r.createElement("svg",a({viewBox:"0 0 116 59",fill:"none"},e),i,o,c,l,s,u,d,f,g,p,m,v,b,h)}},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(29);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},50: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(111);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)}},52:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(23),a=n(20);function i(){var e=Object(a.a)();return e===r.i||e===r.l}},56:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return q}));var a=n(17),i=n.n(a),o=n(6),c=n.n(o),l=n(5),s=n.n(l),u=n(14),d=n.n(u),f=n(13),g=n.n(f),p=n(0),m=n.n(p),v=n(8),b=n.n(v),h=n(241),y=n.n(h),O=n(98),k=n(2),_=n(104),E=n(9),j=n(132),w=n(50),S=n(63),N=n(112),C=n(18),R=n(168),D=n(151),x=n(22),T=n(128),P=n(145),A=n(44),L=n(43),M=n(114),q={EXTERNAL:"external",INTERNAL:"internal"};function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,l=t.badgeLabel,u=t.blockData,f=t.children,p=t.className,m=t.ctaLabel,v=t.ctaLink,h=t.ctaTarget,z=t.description,I=t.dismiss,B=t.dismissExpires,F=t.format,U=t.id,W=t.isDismissible,H=t.learnMoreDescription,V=t.learnMoreLabel,G=t.learnMoreURL,K=t.learnMoreTarget,Q=t.logo,$=t.module,Z=t.moduleName,X=t.noBottomPadding,Y=t.onCTAClick,J=t.onDismiss,ee=t.onLearnMoreClick,te=t.pageIndex,ne=t.showOnce,re=t.SmallImageSVG,ae=t.title,ie=t.type,oe=t.WinImageSVG,ce=t.rounded,le=void 0!==ce&&ce,se=Object(k.useState)(!1),ue=g()(se,2),de=ue[0],fe=ue[1],ge=Object(k.useState)(!1),pe=g()(ge,2),me=pe[0],ve=pe[1],be="notification::dismissed::".concat(U),he=function(){return Object(A.d)(be,new Date,{ttl:null})},ye=Object(L.e)();function Oe(){return(Oe=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!J){e.next=5;break}return e.next=5,J(t);case 5:ke();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ke(){fe(!0),setTimeout(d()(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,he();case 2:ve(!0),t=new Event("notificationDismissed"),document.dispatchEvent(t);case 5:case"end":return e.stop()}}),e)}))),350)}function _e(){return(_e=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),!Y){e.next=4;break}return e.next=4,Y(t);case 4:W&&ke();case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(O.a)(d()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(B>0)){e.next=3;break}return e.next=3,we();case 3:if(!W){e.next=9;break}return e.next=6,Object(A.b)(be);case 6:t=e.sent,n=t.cacheHit,ve(n);case 9:if(!ne){e.next=12;break}return e.next=12,he();case 12:case"end":return e.stop()}}),e)}))));var Ee=Object(k.useCallback)((function(t){Object(w.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(j.a)(a,ye),behavior:"smooth"}))}),[a,ye]);function je(){return(je=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.persist(),null==ee||ee();case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function we(){return Se.apply(this,arguments)}function Se(){return(Se=d()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(A.b)(be);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(B,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(A.a)(be);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(W&&(void 0===me||me))return null;var Ne,Ce=de?"is-closed":"is-open",Re="large"===F&&"win-stats-increase"===ie,De=Object(M.d)(F),xe=Object(M.c)(F),Te=Object(M.a)(F),Pe=Object(M.b)({format:F,inlineLayout:Re,hasErrorOrWarning:"win-error"===ie||"win-warning"===ie,hasSmallImageSVG:!!re,hasWinImageSVG:!!oe});Ne="win-warning"===ie?r.createElement(R.a,{width:34}):"win-error"===ie?r.createElement(D.a,{width:28}):"";var Ae=r.createElement(k.Fragment,null,u&&r.createElement(E.o,null,y()(u,(function(e,t){return r.createElement(E.a,{key:t,lgSize:Re?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(N.a,e)))})))),Le=r.createElement(k.Fragment,null,ae&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},ae,l&&r.createElement(T.a,{label:l})),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(x.a,{href:a,onClick:Ee},o)),z&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(k.isValidElement)(z)?z:r.createElement("span",{dangerouslySetInnerHTML:Object(S.a)(z,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),V&&r.createElement(k.Fragment,null," ",r.createElement(x.a,{onClick:function(e){return je.apply(this,arguments)},href:G,external:K===q.EXTERNAL},V),H),te&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},te))),f),Me=$?r.createElement(P.a,{slug:$,size:19}):r.createElement(_.a,{height:"34",width:"32"}),qe=Re?{size:12,smOrder:2,mdOrder:1}:{size:12},ze=v?x.a:C.a;return r.createElement("section",{id:U,className:b()(p,"googlesitekit-publisher-win",(n={},c()(n,"googlesitekit-publisher-win--".concat(F),F),c()(n,"googlesitekit-publisher-win--".concat(ie),ie),c()(n,"googlesitekit-publisher-win--".concat(Ce),Ce),c()(n,"googlesitekit-publisher-win--rounded",le),c()(n,"googlesitekit-publisher-win--no-bottom-padding",X),n))},r.createElement(E.e,{className:b()({"googlesitekit-padding-bottom-0":X})},r.createElement(E.o,null,Q&&r.createElement(E.a,qe,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},Me),Z&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},Z)),re&&r.createElement(E.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(re,null)),r.createElement(E.a,i()({},Pe,Te,{className:"googlesitekit-publisher-win__content"}),Re?r.createElement(E.o,null,r.createElement(E.a,{mdSize:8,lgSize:5},Le),r.createElement(E.a,{alignBottom:!0,mdSize:8,lgSize:7},Ae)):r.createElement(k.Fragment,null,Le,Ae),v&&r.createElement(C.a,{className:"googlesitekit-notification__cta",href:v,target:h,onClick:function(e){return _e.apply(this,arguments)}},m),W&&I&&r.createElement(ze,{onClick:function(e){return Oe.apply(this,arguments)}},I)),oe&&r.createElement(E.a,i()({},De,xe,{alignBottom:"larger"===F&&X}),r.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(F)},r.createElement(oe,null))),("win-error"===ie||"win-warning"===ie)&&r.createElement(E.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},Ne)))))}BannerNotification.propTypes={id:m.a.string.isRequired,className:m.a.string,title:m.a.string.isRequired,description:m.a.node,learnMoreURL:m.a.string,learnMoreDescription:m.a.string,learnMoreLabel:m.a.string,learnMoreTarget:m.a.oneOf(Object.values(q)),blockData:m.a.array,WinImageSVG:m.a.elementType,SmallImageSVG:m.a.elementType,format:m.a.string,ctaLink:m.a.string,ctaLabel:m.a.string,type:m.a.string,dismiss:m.a.string,isDismissible:m.a.bool,logo:m.a.bool,module:m.a.string,moduleName:m.a.string,pageIndex:m.a.string,dismissExpires:m.a.number,showOnce:m.a.bool,onCTAClick:m.a.func,onDismiss:m.a.func,onLearnMoreClick:m.a.func,anchorLink:m.a.string,anchorLinkLabel:m.a.string,badgeLabel:m.a.string,noBottomPadding:m.a.bool,rounded:m.a.bool},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1,noBottomPadding:!1,learnMoreTarget:q.EXTERNAL},t.b=BannerNotification}).call(this,n(21),n(3))},58:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return v})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return p.a})),n.d(t,"f",(function(){return y})),n.d(t,"k",(function(){return m}));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=3600,o=86400,c=604800,l=n(7),s=n.n(l),u=n(35),d=function(e){var t=new Date(e);s()(Object(u.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("-")},f=n(13),g=n.n(f),p=n(41),m=function(e){s()(Object(p.a)(e),r);var t=e.split("-"),n=g()(t,3),a=n[0],i=n[1],o=n[2];return new Date(a,i-1,o)},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=m(e);return n.setDate(n.getDate()-t),d(n)},b=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]};var h=n(1);function y(){var e=function(e){return Object(h.sprintf)(
44
  /* translators: %s: number of days */
45
  Object(h._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}}}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),a=n(106),i=n(33),o=function(e){var t=Object(r.useContext)(a.a);return Object(i.b)(e,t)}},61:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(8),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))},62:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),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))},63: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(73),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,/\/+$/,"")}},64:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(162),c=n(348),l=n(18),s=n(104),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))},65: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(0),o=n.n(i),c=n(8),l=n.n(c),s=n(1),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:l()("googlesitekit-gathering-data-notice",a()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(s.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(3))},66:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return l}));n(54);var r="missing_required_scopes",a="insufficientPermissions",i="forbidden";function o(e){return(null==e?void 0:e.code)===r}function c(e){var t;return[a,i].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function l(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}},67: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},68: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},72: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(13),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(19),u=n.n(s),d=n(25),f=n(70),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)(
46
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
dist/assets/js/{googlesitekit-api-3c0f1112975e346e65dd.js → googlesitekit-api-40f37577ecc2be7ba82d.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[4],{1:function(t,e){t.exports=googlesitekit.i18n},10:function(t,e,n){"use strict";n.d(e,"y",(function(){return u.b})),n.d(e,"v",(function(){return c.a})),n.d(e,"z",(function(){return c.b})),n.d(e,"x",(function(){return v})),n.d(e,"f",(function(){return p.a})),n.d(e,"m",(function(){return p.b})),n.d(e,"t",(function(){return g.c})),n.d(e,"u",(function(){return g.d})),n.d(e,"q",(function(){return g.b})),n.d(e,"l",(function(){return g.a})),n.d(e,"r",(function(){return y})),n.d(e,"g",(function(){return w})),n.d(e,"b",(function(){return O.b})),n.d(e,"a",(function(){return O.a})),n.d(e,"c",(function(){return O.e})),n.d(e,"i",(function(){return O.f})),n.d(e,"w",(function(){return O.k})),n.d(e,"j",(function(){return k.b})),n.d(e,"p",(function(){return k.c})),n.d(e,"e",(function(){return k.a})),n.d(e,"o",(function(){return j.b})),n.d(e,"k",(function(){return j.a})),n.d(e,"s",(function(){return j.d})),n.d(e,"n",(function(){return _})),n.d(e,"d",(function(){return x})),n.d(e,"A",(function(){return S})),n.d(e,"h",(function(){return D}));var r=n(120),a=n.n(r),i=n(115),o=n.n(i),u=n(32),c=n(63),s=n(28),l=n.n(s),f=n(77),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(78),g=(n(84),n(72));function h(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function b(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=[h,b,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(58),k=n(85),j=n(50),_=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)}},12:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"h",(function(){return o})),n.d(e,"i",(function(){return u})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return s})),n.d(e,"e",(function(){return l})),n.d(e,"d",(function(){return f}));var r="core/user",a="connected_url_mismatch",i="googlesitekit_authenticate",o="googlesitekit_setup",u="googlesitekit_view_dashboard",c="googlesitekit_manage_options",s="googlesitekit_read_shared_module_data",l="googlesitekit_manage_module_sharing_options",f="googlesitekit_delegate_module_sharing_management"},249:function(t,e,n){"use strict";(function(t){var r=n(55),a=n.n(r),i=n(250),o=t._googlesitekitAPIFetchData||{},u=o.nonce,c=o.nonceEndpoint,s=o.preloadedData,l=o.rootURL;a.a.nonceEndpoint=c,a.a.nonceMiddleware=a.a.createNonceMiddleware(u),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(21))},250:function(t,e,n){"use strict";var r=n(227);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,u=t.path;if("string"==typeof t.path){var c,s=(null===(c=t.method)||void 0===c?void 0:c.toUpperCase())||"GET",l=Object(r.getStablePath)(u);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)}}},29: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"},32:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return m}));var r=n(86),a=t._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,u=a.isSiteKitScreen,c=a.trackingEnabled,s=a.trackingID,l=a.referenceSiteURL,f=a.userIDHash,d=a.isAuthenticated,v={activeModules:o,trackingEnabled:c,trackingID:s,referenceSiteURL:l,userIDHash:f,isSiteKitScreen:u,userRoles:a.userRoles,isAuthenticated:d,pluginVersion:"1.79.0"},p=Object(r.a)(v),g=p.enableTracking,h=p.disableTracking,b=(p.isTrackingEnabled,p.initializeSnippet),m=p.trackEvent;function y(t){t?g():h()}u&&c&&b()}).call(this,n(21))},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(21))},35:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return t instanceof Date&&!isNaN(t)}},41:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(35),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))}},44:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return b})),n.d(e,"d",(function(){return m})),n.d(e,"a",(function(){return y})),n.d(e,"c",(function(){return w}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),u=(n(24),n(10));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 s(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 s(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 s(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 l,f="googlesitekit_".concat("1.79.0","_"),d=["sessionStorage","localStorage"],v=[].concat(d),p=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 g(){return h.apply(this,arguments)}function h(){return(h=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===l){e.next=2;break}return e.abrupt("return",l);case 2:n=c(v),e.prev=3,n.s();case 5:if((r=n.n()).done){e.next=15;break}if(i=r.value,!l){e.next=9;break}return e.abrupt("continue",13);case 9:return e.next=11,p(i);case 11:if(!e.sent){e.next=13;break}l=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===l&&(l=null),e.abrupt("return",l);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,u,c,s;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=10;break}if(!(r=n.getItem("".concat(f).concat(e)))){t.next=10;break}if(i=JSON.parse(r),o=i.timestamp,u=i.ttl,c=i.value,s=i.isError,!o||u&&!(Math.round(Date.now()/1e3)-o<u)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:c,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)}}(),m=function(){var e=o()(a.a.mark((function e(n,r){var i,o,c,s,l,d,v,p,h=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},o=i.ttl,c=void 0===o?u.b:o,s=i.timestamp,l=void 0===s?Math.round(Date.now()/1e3):s,d=i.isError,v=void 0!==d&&d,e.next=3,g();case 3:if(!(p=e.sent)){e.next=14;break}return e.prev=5,p.setItem("".concat(f).concat(n),JSON.stringify({timestamp:l,ttl:c,value:r,isError:v})),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)}}(),y=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,g();case 2:if(!(r=e.sent)){e.next=13;break}return e.prev=4,r.removeItem("".concat(f).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)}}(),w=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,g();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(f)&&r.push(o.substring(f.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(21))},48:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(29);function a(t){return function(){t[r.a]=t[r.a]||[],t[r.a].push(arguments)}}},50: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 u})),n.d(e,"e",(function(){return c}));var r=n(111);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 u(t){return/^#\w[A-Za-z0-9-_]*$/.test(t)}function c(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)}},58:function(t,e,n){"use strict";n.d(e,"d",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"e",(function(){return u})),n.d(e,"g",(function(){return f})),n.d(e,"h",(function(){return h})),n.d(e,"i",(function(){return b})),n.d(e,"j",(function(){return p.a})),n.d(e,"f",(function(){return y})),n.d(e,"k",(function(){return g}));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=3600,o=86400,u=604800,c=n(7),s=n.n(c),l=n(35),f=function(t){var e=new Date(t);s()(Object(l.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("-")},d=n(13),v=n.n(d),p=n(41),g=function(t){s()(Object(p.a)(t),r);var e=t.split("-"),n=v()(e,3),a=n[0],i=n[1],o=n[2];return new Date(a,i-1,o)},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=g(t);return n.setDate(n.getDate()-e),f(n)},b=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]};var m=n(1);function y(){var t=function(t){return Object(m.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(m._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}}}},600:function(t,e,n){"use strict";(function(t){var r=n(5),a=n.n(r),i=n(14),o=n.n(i),u=n(7),c=n.n(u),s=n(249),l=n(268),f=n(44),d=n(10),v=n(66),p=n(712),g=n(12),h=!0,b=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.x)(r)),a.join("::")},m=function(e){var n,r,a,i=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);i&&(Object(v.d)(e)?i.setPermissionScopeError(e):Object(v.b)(e)&&i.setAuthError(e))},y=function(){var e=o()(a.a.mark((function e(n,r,i){var o,u,v,g,h,y,w,O,j,_,x,S,D,E,P,I,L,N=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=N.length>3&&void 0!==N[3]?N[3]:{},u=o.bodyParams,v=o.cacheTTL,g=void 0===v?d.b:v,h=o.method,y=void 0===h?"GET":h,w=o.queryParams,O=o.useCache,j=void 0===O?void 0:O,_=o.signal,c()(n,"`type` argument for requests is required."),c()(r,"`identifier` argument for requests is required."),c()(i,"`datapoint` argument for requests is required."),x="GET"===y&&(void 0!==j?j:k()),S=b(n,r,i,w),!x){e.next=18;break}return e.next=9,Object(f.b)(S);case 9:if(D=e.sent,E=D.cacheHit,P=D.value,!D.isError){e.next=16;break}throw m(P),P;case 16:if(!E){e.next=18;break}return e.abrupt("return",P);case 18:return e.prev=18,e.next=21,Object(s.default)({data:u,method:y,signal:_,path:Object(l.a)("/google-site-kit/v1/".concat(n,"/").concat(r,"/data/").concat(i),w)});case 21:if(I=e.sent,!x){e.next=25;break}return e.next=25,Object(f.d)(S,I,{ttl:g});case 25:return e.abrupt("return",I);case 28:if(e.prev=28,e.t0=e.catch(18),!(null==_?void 0:_.aborted)){e.next=32;break}throw e.t0;case 32:if(!(null===e.t0||void 0===e.t0||null===(L=e.t0.data)||void 0===L?void 0:L.cacheTTL)){e.next=35;break}return e.next=35,Object(f.d)(S,e.t0,{ttl:e.t0.data.cacheTTL,isError:!0});case 35:throw Object(p.a)({method:y,datapoint:i,type:n,identifier:r,error:e.t0}),m(e.t0),t.console.error("Google Site Kit API Error","method:".concat(y),"datapoint:".concat(i),"type:".concat(n),"identifier:".concat(r),'error:"'.concat(e.t0.message,'"')),e.t0;case 39: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,u,c,s,l,f,v=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=v.length>4&&void 0!==v[4]?v[4]:{},u=o.cacheTTL,c=void 0===u?d.b:u,s=o.useCache,l=void 0===s?void 0:s,f=o.signal,t.abrupt("return",y(e,n,r,{cacheTTL:c,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,u,c,s,l,f,d,v=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=v.length>4&&void 0!==v[4]?v[4]:{},u=o.method,c=void 0===u?"POST":u,s=o.queryParams,l=void 0===s?{}:s,f=o.signal,t.next=3,y(e,n,r,{bodyParams:{data:i},method:c,queryParams:l,useCache:!1,signal:f});case 3:return d=t.sent,t.next=6,j(e,n,r);case 6:return t.abrupt("return",d);case 7:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}(),k=function(){return h},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=b(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 h=!!t},usingCache:k};e.a=_}).call(this,n(21))},61:function(t,e,n){"use strict";(function(t){var r=n(0),a=n.n(r),i=n(8),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))},63:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return u}));var r=n(28),a=n.n(r),i=n(73),o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(t,e)}};function u(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";n.d(e,"a",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"b",(function(){return c}));n(54);var r="missing_required_scopes",a="insufficientPermissions",i="forbidden";function o(t){return(null==t?void 0:t.code)===r}function u(t){var e;return[a,i].includes(null==t||null===(e=t.data)||void 0===e?void 0:e.reason)}function c(t){var e;return!!(null==t||null===(e=t.data)||void 0===e?void 0:e.reconnectURL)}},712: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),u=n(10),c=["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)&&!c.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(u.y)("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)}},72: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(13),a=n.n(r),i=n(28),o=n.n(i),u=n(6),c=n.n(u),s=n(19),l=n.n(s),f=n(25),d=n(70),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 h(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){c()(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 b=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=h(h({unitDisplay:void 0===i?"short":i},l()(e,["unitDisplay"])),{},{style:"unit"});return 0===t?j(a,h(h({},o),{},{unit:"second"})):Object(p.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
1
+ (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[4],{1:function(t,e){t.exports=googlesitekit.i18n},10:function(t,e,n){"use strict";n.d(e,"y",(function(){return u.b})),n.d(e,"v",(function(){return c.a})),n.d(e,"z",(function(){return c.b})),n.d(e,"x",(function(){return v})),n.d(e,"f",(function(){return p.a})),n.d(e,"m",(function(){return p.b})),n.d(e,"t",(function(){return g.c})),n.d(e,"u",(function(){return g.d})),n.d(e,"q",(function(){return g.b})),n.d(e,"l",(function(){return g.a})),n.d(e,"r",(function(){return y})),n.d(e,"g",(function(){return w})),n.d(e,"b",(function(){return O.b})),n.d(e,"a",(function(){return O.a})),n.d(e,"c",(function(){return O.e})),n.d(e,"i",(function(){return O.f})),n.d(e,"w",(function(){return O.k})),n.d(e,"j",(function(){return k.b})),n.d(e,"p",(function(){return k.c})),n.d(e,"e",(function(){return k.a})),n.d(e,"o",(function(){return j.b})),n.d(e,"k",(function(){return j.a})),n.d(e,"s",(function(){return j.d})),n.d(e,"n",(function(){return _})),n.d(e,"d",(function(){return x})),n.d(e,"A",(function(){return S})),n.d(e,"h",(function(){return D}));var r=n(120),a=n.n(r),i=n(115),o=n.n(i),u=n(32),c=n(63),s=n(28),l=n.n(s),f=n(77),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(78),g=(n(84),n(72));function h(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function b(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=[h,b,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(58),k=n(85),j=n(50),_=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)}},12:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"h",(function(){return o})),n.d(e,"i",(function(){return u})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return s})),n.d(e,"e",(function(){return l})),n.d(e,"d",(function(){return f}));var r="core/user",a="connected_url_mismatch",i="googlesitekit_authenticate",o="googlesitekit_setup",u="googlesitekit_view_dashboard",c="googlesitekit_manage_options",s="googlesitekit_read_shared_module_data",l="googlesitekit_manage_module_sharing_options",f="googlesitekit_delegate_module_sharing_management"},249:function(t,e,n){"use strict";(function(t){var r=n(55),a=n.n(r),i=n(250),o=t._googlesitekitAPIFetchData||{},u=o.nonce,c=o.nonceEndpoint,s=o.preloadedData,l=o.rootURL;a.a.nonceEndpoint=c,a.a.nonceMiddleware=a.a.createNonceMiddleware(u),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(21))},250:function(t,e,n){"use strict";var r=n(227);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,u=t.path;if("string"==typeof t.path){var c,s=(null===(c=t.method)||void 0===c?void 0:c.toUpperCase())||"GET",l=Object(r.getStablePath)(u);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)}}},29: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"},32:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return m}));var r=n(86),a=t._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,u=a.isSiteKitScreen,c=a.trackingEnabled,s=a.trackingID,l=a.referenceSiteURL,f=a.userIDHash,d=a.isAuthenticated,v={activeModules:o,trackingEnabled:c,trackingID:s,referenceSiteURL:l,userIDHash:f,isSiteKitScreen:u,userRoles:a.userRoles,isAuthenticated:d,pluginVersion:"1.79.1"},p=Object(r.a)(v),g=p.enableTracking,h=p.disableTracking,b=(p.isTrackingEnabled,p.initializeSnippet),m=p.trackEvent;function y(t){t?g():h()}u&&c&&b()}).call(this,n(21))},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(21))},35:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return t instanceof Date&&!isNaN(t)}},41:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(35),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))}},44:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return b})),n.d(e,"d",(function(){return m})),n.d(e,"a",(function(){return y})),n.d(e,"c",(function(){return w}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),u=(n(24),n(10));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 s(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 s(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 s(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 l,f="googlesitekit_".concat("1.79.1","_"),d=["sessionStorage","localStorage"],v=[].concat(d),p=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 g(){return h.apply(this,arguments)}function h(){return(h=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===l){e.next=2;break}return e.abrupt("return",l);case 2:n=c(v),e.prev=3,n.s();case 5:if((r=n.n()).done){e.next=15;break}if(i=r.value,!l){e.next=9;break}return e.abrupt("continue",13);case 9:return e.next=11,p(i);case 11:if(!e.sent){e.next=13;break}l=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===l&&(l=null),e.abrupt("return",l);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,u,c,s;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=10;break}if(!(r=n.getItem("".concat(f).concat(e)))){t.next=10;break}if(i=JSON.parse(r),o=i.timestamp,u=i.ttl,c=i.value,s=i.isError,!o||u&&!(Math.round(Date.now()/1e3)-o<u)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:c,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)}}(),m=function(){var e=o()(a.a.mark((function e(n,r){var i,o,c,s,l,d,v,p,h=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},o=i.ttl,c=void 0===o?u.b:o,s=i.timestamp,l=void 0===s?Math.round(Date.now()/1e3):s,d=i.isError,v=void 0!==d&&d,e.next=3,g();case 3:if(!(p=e.sent)){e.next=14;break}return e.prev=5,p.setItem("".concat(f).concat(n),JSON.stringify({timestamp:l,ttl:c,value:r,isError:v})),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)}}(),y=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,g();case 2:if(!(r=e.sent)){e.next=13;break}return e.prev=4,r.removeItem("".concat(f).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)}}(),w=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,g();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(f)&&r.push(o.substring(f.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(21))},48:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(29);function a(t){return function(){t[r.a]=t[r.a]||[],t[r.a].push(arguments)}}},50: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 u})),n.d(e,"e",(function(){return c}));var r=n(111);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 u(t){return/^#\w[A-Za-z0-9-_]*$/.test(t)}function c(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)}},58:function(t,e,n){"use strict";n.d(e,"d",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"e",(function(){return u})),n.d(e,"g",(function(){return f})),n.d(e,"h",(function(){return h})),n.d(e,"i",(function(){return b})),n.d(e,"j",(function(){return p.a})),n.d(e,"f",(function(){return y})),n.d(e,"k",(function(){return g}));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=3600,o=86400,u=604800,c=n(7),s=n.n(c),l=n(35),f=function(t){var e=new Date(t);s()(Object(l.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("-")},d=n(13),v=n.n(d),p=n(41),g=function(t){s()(Object(p.a)(t),r);var e=t.split("-"),n=v()(e,3),a=n[0],i=n[1],o=n[2];return new Date(a,i-1,o)},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=g(t);return n.setDate(n.getDate()-e),f(n)},b=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]};var m=n(1);function y(){var t=function(t){return Object(m.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(m._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}}}},600:function(t,e,n){"use strict";(function(t){var r=n(5),a=n.n(r),i=n(14),o=n.n(i),u=n(7),c=n.n(u),s=n(249),l=n(268),f=n(44),d=n(10),v=n(66),p=n(712),g=n(12),h=!0,b=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.x)(r)),a.join("::")},m=function(e){var n,r,a,i=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);i&&(Object(v.d)(e)?i.setPermissionScopeError(e):Object(v.b)(e)&&i.setAuthError(e))},y=function(){var e=o()(a.a.mark((function e(n,r,i){var o,u,v,g,h,y,w,O,j,_,x,S,D,E,P,I,L,N=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=N.length>3&&void 0!==N[3]?N[3]:{},u=o.bodyParams,v=o.cacheTTL,g=void 0===v?d.b:v,h=o.method,y=void 0===h?"GET":h,w=o.queryParams,O=o.useCache,j=void 0===O?void 0:O,_=o.signal,c()(n,"`type` argument for requests is required."),c()(r,"`identifier` argument for requests is required."),c()(i,"`datapoint` argument for requests is required."),x="GET"===y&&(void 0!==j?j:k()),S=b(n,r,i,w),!x){e.next=18;break}return e.next=9,Object(f.b)(S);case 9:if(D=e.sent,E=D.cacheHit,P=D.value,!D.isError){e.next=16;break}throw m(P),P;case 16:if(!E){e.next=18;break}return e.abrupt("return",P);case 18:return e.prev=18,e.next=21,Object(s.default)({data:u,method:y,signal:_,path:Object(l.a)("/google-site-kit/v1/".concat(n,"/").concat(r,"/data/").concat(i),w)});case 21:if(I=e.sent,!x){e.next=25;break}return e.next=25,Object(f.d)(S,I,{ttl:g});case 25:return e.abrupt("return",I);case 28:if(e.prev=28,e.t0=e.catch(18),!(null==_?void 0:_.aborted)){e.next=32;break}throw e.t0;case 32:if(!(null===e.t0||void 0===e.t0||null===(L=e.t0.data)||void 0===L?void 0:L.cacheTTL)){e.next=35;break}return e.next=35,Object(f.d)(S,e.t0,{ttl:e.t0.data.cacheTTL,isError:!0});case 35:throw Object(p.a)({method:y,datapoint:i,type:n,identifier:r,error:e.t0}),m(e.t0),t.console.error("Google Site Kit API Error","method:".concat(y),"datapoint:".concat(i),"type:".concat(n),"identifier:".concat(r),'error:"'.concat(e.t0.message,'"')),e.t0;case 39: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,u,c,s,l,f,v=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=v.length>4&&void 0!==v[4]?v[4]:{},u=o.cacheTTL,c=void 0===u?d.b:u,s=o.useCache,l=void 0===s?void 0:s,f=o.signal,t.abrupt("return",y(e,n,r,{cacheTTL:c,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,u,c,s,l,f,d,v=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=v.length>4&&void 0!==v[4]?v[4]:{},u=o.method,c=void 0===u?"POST":u,s=o.queryParams,l=void 0===s?{}:s,f=o.signal,t.next=3,y(e,n,r,{bodyParams:{data:i},method:c,queryParams:l,useCache:!1,signal:f});case 3:return d=t.sent,t.next=6,j(e,n,r);case 6:return t.abrupt("return",d);case 7:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}(),k=function(){return h},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=b(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 h=!!t},usingCache:k};e.a=_}).call(this,n(21))},61:function(t,e,n){"use strict";(function(t){var r=n(0),a=n.n(r),i=n(8),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))},63:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return u}));var r=n(28),a=n.n(r),i=n(73),o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(t,e)}};function u(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";n.d(e,"a",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"b",(function(){return c}));n(54);var r="missing_required_scopes",a="insufficientPermissions",i="forbidden";function o(t){return(null==t?void 0:t.code)===r}function u(t){var e;return[a,i].includes(null==t||null===(e=t.data)||void 0===e?void 0:e.reason)}function c(t){var e;return!!(null==t||null===(e=t.data)||void 0===e?void 0:e.reconnectURL)}},712: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),u=n(10),c=["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)&&!c.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(u.y)("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)}},72: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(13),a=n.n(r),i=n(28),o=n.n(i),u=n(6),c=n.n(u),s=n(19),l=n.n(s),f=n(25),d=n(70),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 h(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){c()(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 b=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=h(h({unitDisplay:void 0===i?"short":i},l()(e,["unitDisplay"])),{},{style:"unit"});return 0===t?j(a,h(h({},o),{},{unit:"second"})):Object(p.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
dist/assets/js/{googlesitekit-dashboard-9229f1f49f9270462a3b.js → googlesitekit-dashboard-cf4c909f78324df65b4a.js} RENAMED
@@ -46,13 +46,13 @@ Object(l.__)("%s data was previously shared with other users on the site by anot
46
  /* translators: %s: module name. */
47
  Object(l.__)("%s data was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),k[E[0]].name),T=e.createElement(c.Fragment,null,e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(l.__)("By recovering the module, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),e.createElement(g.a,{onClick:S,disabled:b},Object(l.__)("Recover","google-site-kit")),e.createElement(h.a,{isSaving:b}))):(C=Object(l.__)("The data for the following modules was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),T=e.createElement(c.Fragment,null,E.map((function(t){return e.createElement("div",{key:t},e.createElement(f.a,{checked:r[t],name:"module-recovery-alert-checkbox",id:"module-recovery-alert-checkbox-".concat(t),onChange:function(){return w(t)},value:t,disabled:b},k[t].name))})),e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(l.__)("By recovering the selected modules, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),e.createElement(g.a,{onClick:S,disabled:b||!Object.values(r).some((function(e){return e}))},Object(l.__)("Recover","google-site-kit")),e.createElement(h.a,{isSaving:b}))),e.createElement(m.b,{id:"module-recovery-alert",title:Object(l.__)("Dashboard data for some services has been interrupted","google-site-kit"),description:C,learnMoreURL:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",learnMoreLabel:Object(l.__)("Learn more","google-site-kit")},T)}}).call(this,n(3))},286:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(4),a=n.n(r),i=n(12),o=n(52),c=n(287),l=a.a.useSelect;function DashboardNavigation(){var t=Object(o.a)();return void 0===l((function(e){return t?e(i.a).getViewableModules():null}))?null:e.createElement(c.a,null)}}).call(this,n(3))},287:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var a=n(24),i=n.n(a),o=n(13),c=n.n(o),l=n(98),s=n(141),u=n(8),d=n.n(u),g=n(219),f=n.n(g),m=n(2),p=n(1),h=n(4),b=n.n(h),v=n(288),O=n(289),_=n(290),y=n(291),k=n(23),E=n(12),j=n(40),w=n(34),S=n(92),N=n(91),C=n(43),T=n(132),D=n(10),A=n(20),M=n(52);function x(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 R(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 R(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 R(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=b.a.useSelect,P=b.a.useDispatch;function Navigation(){var t,n=Object(N.c)(),a=Object(m.useRef)(),o=Object(C.e)(),u=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),g=Object(m.useState)(u),h=c()(g,2),b=h[0],R=h[1],I=Object(m.useState)(u||void 0),z=c()(I,2),B=z[0],F=z[1],q=Object(m.useState)(!1),H=c()(q,2),W=H[0],U=H[1],V=Object(A.a)(),G=Object(M.a)(),K=P(w.b).setValue,X=L((function(e){return G?e(E.a).getViewableModules():null})),Y={modules:X||void 0},Q=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_TRAFFIC:S.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,Y)})),Z=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_CONTENT:S.CONTEXT_ENTITY_DASHBOARD_CONTENT,Y)})),$=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_SPEED:S.CONTEXT_ENTITY_DASHBOARD_SPEED,Y)})),J=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_MONETIZATION:S.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,Y)})),ee=Object(m.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.history.replaceState({},"","#".concat(a)),F(a),Object(D.y)("".concat(V,"_navigation"),"tab_select",a),e.scrollTo({top:a!==k.d?Object(T.a)("#".concat(a),o):0,behavior:"smooth"}),setTimeout((function(){K(w.a,a)}),50)}),[o,V,K]);return Object(l.a)((function(){var t=G?Q?k.d:Z?k.a:$?k.c:J?k.b:"":k.d;if(!u)return R(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=u;(function(e){return!(!Q||e!==k.d)||(!(!Z||e!==k.a)||(!(!$||e!==k.c)||!(!J||e!==k.b)))})(n)||(n=t),K(w.a,n),R(n),setTimeout((function(){e.scrollTo({top:n!==t?Object(T.a)("#".concat(n),o):0,behavior:"smooth"})}),50)})),Object(m.useEffect)((function(){var t=function(e){K(w.a,void 0),R(e),F(void 0)},n=f()((function(n){var r,o,c,l,s=e.scrollY,u=null===(r=document.querySelector(".googlesitekit-entity-header"))||void 0===r||null===(o=r.getBoundingClientRect())||void 0===o?void 0:o.bottom,d=null==a||null===(c=a.current)||void 0===c?void 0:c.getBoundingClientRect(),g=d.bottom,f=d.top,m=[].concat(i()(Q?[k.d]:[]),i()(Z?[k.a]:[]),i()($?[k.c]:[]),i()(J?[k.b]:[])),p=k.d;if(0===s)U(!1);else{var h,b=null===(h=document.querySelector(".googlesitekit-header"))||void 0===h?void 0:h.getBoundingClientRect().bottom;U(f===b)}var v,O=x(m);try{for(O.s();!(v=O.n()).done;){var _=v.value,y=document.getElementById(_);if(y){var E=y.getBoundingClientRect().top-20-(u||g||0);E<0&&(void 0===l||l<E)&&(l=E,p=_)}}}catch(e){O.e(e)}finally{O.f()}if(B)B===p&&t(p);else{var j=e.location.hash;p!==(null==j?void 0:j.substring(1))&&(n&&Object(D.y)("".concat(V,"_navigation"),"tab_scroll",p),e.history.replaceState({},"","#".concat(p)),t(p))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[B,Q,Z,$,J,V,K]),r.createElement("nav",{className:d()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":W}),ref:a},Q&&r.createElement(s.Chip,{id:k.d,label:Object(p.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"16"}),onClick:ee,selected:b===k.d,"data-context-id":k.d}),Z&&r.createElement(s.Chip,{id:k.a,label:Object(p.__)("Content","google-site-kit"),leadingIcon:r.createElement(O.a,{width:"18",height:"18"}),onClick:ee,selected:b===k.a,"data-context-id":k.a}),$&&r.createElement(s.Chip,{id:k.c,label:Object(p.__)("Speed","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"20",height:"16"}),onClick:ee,selected:b===k.c,"data-context-id":k.c}),J&&r.createElement(s.Chip,{id:k.b,label:Object(p.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(y.a,{width:"18",height:"16"}),onClick:ee,selected:b===k.b,"data-context-id":k.b}))}}).call(this,n(21),n(3))},288: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)}},289: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)}},29: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"},290: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)}},291: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)}},292:function(e,t,n){"use strict";(function(e,r){var a=n(13),i=n.n(a),o=n(219),c=n.n(o),l=n(1),s=n(2),u=n(4),d=n.n(u),g=n(18),f=n(15),m=n(293),p=n(39),h=n(22),b=n(50),v=n(10),O=n(91),_=n(20),y=d.a.useSelect,k=d.a.useDispatch;t.a=function EntityHeader(){var t=Object(_.a)(),n=Object(O.c)(),a=y((function(e){return e(f.c).getCurrentEntityTitle()})),o=y((function(e){return e(f.c).getCurrentEntityURL()})),u=Object(s.useRef)(),d=Object(s.useState)(o),E=i()(d,2),j=E[0],w=E[1];Object(s.useEffect)((function(){var t=function(){if(u.current){var t=u.current.clientWidth-40,n=e.getComputedStyle(u.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);w(Object(b.e)(o,r))}},n=c()(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[o,u,w]);var S=k(p.a).navigateTo,N=y((function(e){return e(f.c).getAdminURL("googlesitekit-dashboard")})),C=Object(s.useCallback)((function(){Object(v.y)("".concat(t,"_navigation"),"return_to_dashboard"),S(N)}),[N,S,t]);return O.a!==n||null===o||null===a?null:r.createElement("div",{className:"googlesitekit-entity-header"},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(g.a,{icon:r.createElement(m.a,{width:24,height:24}),"aria-label":Object(l.__)("Back to dashboard","google-site-kit"),onClick:C,text:!0},Object(l.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:u,className:"googlesitekit-entity-header__details"},r.createElement("p",null,a),r.createElement(h.a,{href:o,"aria-label":o,external:!0},j)))}}).call(this,n(21),n(3))},293: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)}},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var r=n(13),a=n.n(r),i=n(254),o=n(8),c=n.n(o),l=n(2),s=n(1),u=n(57),d=n(20),g=n(131),f=n(10),m=n(295),p=n(18),h=n(143),b=n(296),v=n(297),O=n(299),_=n(4),y=n.n(_),k=n(12),E=y.a.useSelect;function ViewOnlyMenu(){var t=Object(l.useState)(!1),n=a()(t,2),r=n[0],o=n[1],_=Object(l.useRef)(),y=Object(d.a)();Object(i.a)(_,(function(){return o(!1)})),Object(g.a)([u.d,u.f],_,(function(){return o(!1)}));var j=Object(l.useCallback)((function(){r||Object(f.y)("".concat(y,"_headerbar"),"open_viewonly"),o(!r)}),[r,y]),w=E((function(e){return e(k.a).hasCapability(k.c)}));return e.createElement("div",{ref:_,className:c()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":w})},e.createElement(p.a,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:j,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(m.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":r,"aria-controls":"view-only-menu","aria-label":Object(s.__)("View only","google-site-kit"),tooltip:!0},Object(s.__)("View only","google-site-kit")),e.createElement(h.a,{menuOpen:r,nonInteractive:!0,onSelected:j,id:"view-only-menu"},e.createElement(b.a,null),e.createElement(v.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(O.a,null)))}}).call(this,n(3))},295: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:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return r.createElement("svg",a({viewBox:"0 0 16 10",fill:"none"},e),i)}},296:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(2),l=n(76),s=n(1),u=n(4),d=n.n(u),g=n(39),f=n(15),m=n(12),p=n(10),h=n(18),b=n(22),v=n(20),O=d.a.useDispatch,_=d.a.useSelect;function Description(){var t=Object(v.a)(),n=_((function(e){return e(m.a).hasCapability(m.c)})),r=_((function(e){return e(f.c).getProxySetupURL()})),i=O(g.a).navigateTo,u=Object(c.useCallback)(function(){var e=o()(a.a.mark((function e(n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Object(p.y)("".concat(t,"_headerbar_viewonly"),"start_user_setup",r?"proxy":"custom-oauth");case 3:i(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,i,t]),d=Object(c.useCallback)((function(){Object(p.y)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),y=n?Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(b.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",external:!0,onClick:d,"aria-label":Object(s.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,y),n&&e.createElement(h.a,{onClick:u},Object(s.__)("Sign in with Google","google-site-kit")))}}).call(this,n(3))},297:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var r=n(1),a=n(4),i=n.n(a),o=n(12),c=n(298),l=i.a.useSelect;function SharedServices(){var t=l((function(e){return e(o.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(r.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(c.a,{key:t,module:t})}))))}}).call(this,n(3))},298:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var r=n(0),a=n.n(r),i=n(76),o=n(1),c=n(4),l=n.n(c),s=n(16),u=n(12),d=l.a.useSelect;function Service(t){var n=t.module,r=d((function(e){return e(u.a).hasCapability(u.c)})),a=d((function(e){return e(s.a).getModule(n)})),c=a.name,l=a.owner,g=d((function(e){return e(s.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(g,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},c),r&&(null==l?void 0:l.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(i.a)(Object(o.sprintf)(
48
  /* translators: %s: module owner Google Account email address */
49
- Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),l.login),{strong:e.createElement("strong",null)})))}Service.propTypes={module:a.a.string.isRequired}}).call(this,n(3))},299:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(76),a=n(1),i=n(211),o=n(20);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(a.__)("Thanks for using Site Kit!<br />Help us make it even better.","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(i.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly")}))}}).call(this,n(3))},300: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)}},31:function(e,t){e.exports=googlesitekit.api},32:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return v}));var r=n(86),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,g=a.isAuthenticated,f={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:g,pluginVersion:"1.79.0"},m=Object(r.a)(f),p=m.enableTracking,h=m.disableTracking,b=(m.isTrackingEnabled,m.initializeSnippet),v=m.trackEvent;function O(e){e?p():h()}c&&l&&b()}).call(this,n(21))},324: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("ellipse",{cx:175.51,cy:381.74,rx:104,ry:8.26,fill:"#F1F3F4"}),o=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"}),c=r.createElement("path",{d:"M201.85 238.9l61.65 74a20 20 0 011 24.29l-30 42.81h32.13",stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:9.27}),l=r.createElement("path",{stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:9.27,d:"M214.03 222.14L114.03 380h-29.6"}),s=r.createElement("path",{stroke:"#185ABC",strokeLinejoin:"round",strokeWidth:9.27,d:"M201.85 238.9l46.71 56.1M214.03 222.14L167.87 295"}),u=r.createElement("path",{d:"M129.21 229.83l-11.7-42.66A50 50 0 01136 133.78L191 93a10 10 0 004-8V61.71M270.79 229.83l11.7-42.66A50 50 0 00264 133.78L209.05 93a10 10 0 01-4.05-8V61.71",stroke:"#4285F4",strokeLinejoin:"round",strokeWidth:9.27}),d=r.createElement("path",{d:"M199.87 289.41a81.45 81.45 0 0081.58-81.32l-162.9-.26a81.45 81.45 0 0081.32 81.58z",fill:"#1A73E8"}),g=r.createElement("path",{d:"M172.86 256.89c13.38 16.47 37.19 21.05 54.28 0",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6.66});t.a=function SvgZeroStateBlue(e){return r.createElement("svg",a({viewBox:"0 0 400 400",fill:"none"},e),i,o,c,l,s,u,d,g)}},326:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(33),i=(e._googlesitekitUserData||{}).hasMultipleAdmins,o=[{target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--view",title:Object(r.__)("Manage view access for other roles","google-site-kit"),content:Object(r.__)("Grant access to the view-only dashboard for each service for the specific roles you want. Users will see the Site Kit dashboard with only the services that have been shared with them without needing to sign-in with Google.","google-site-kit"),placement:"auto"}];i&&o.push({target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--manage",title:Object(r.__)("Share management with other admins","google-site-kit"),content:Object(r.__)("By default only the user who connects a service can control who it is shared with. This setting optionally lets these users allow any other admin signed in with Google to manage the roles a service is shared with.","google-site-kit"),placement:"auto"}),t.a={slug:"dashboardSharingSettings",gaEventCategory:function(e){return"".concat(e,"_dashboard-sharing")},checkRequirements:function(){return Object(a.b)("dashboardSharing")},steps:o}}).call(this,n(21))},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(21))},330:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(8),o=n.n(i),c=n(4),l=n.n(c),s=n(455),u=n(12),d=n(40),g=n(9),f=n(52),m=l.a.useSelect,p=function WidgetContextRenderer(t){var n=t.id,r=t.slug,a=t.className,i=t.Header,c=t.Footer,l=Object(f.a)(),p=m((function(e){return l?e(u.a).getViewableModules():null})),h=m((function(e){return r?e(d.a).getWidgetAreas(r):null})),b=m((function(e){return!!r&&e(d.a).isWidgetContextActive(r,{modules:p||void 0})}));return void 0===p?null:e.createElement("div",{id:n,className:o()("googlesitekit-widget-context",{"googlesitekit-hidden":!b},a)},i&&b&&e.createElement(g.e,null,e.createElement(g.o,null,e.createElement(g.a,{size:12},e.createElement(i,null)))),h&&h.map((function(t){return e.createElement(s.a,{key:t.slug,slug:t.slug,contextID:n})})),c&&b&&e.createElement(g.e,null,e.createElement(g.o,null,e.createElement(g.a,{size:12},e.createElement(c,null)))))};p.propTypes={id:a.a.string,slug:a.a.string,className:a.a.string,Header:a.a.elementType,Footer:a.a.elementType},t.a=p}).call(this,n(3))},335:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return DashboardSharingSettingsButton}));var r=n(478),a=n(1),i=n(162),o=n(613),c=n(2),l=n(76),s=n(4),u=n.n(s),d=n(22),g=n(18),f=n(95),m=n(253),p=n(363),h=n(20),b=n(365),v=n(10),O=n(34),_=n(15),y=n(16),k=n(43),E=n(9),j=n(136),w=n(12),S=n(326),N=u.a.useSelect,C=u.a.useDispatch,T="dashboardSharingDialogOpen";function DashboardSharingSettingsButton(){var t=Object(h.a)(),n=Object(k.e)(),s=Object(r.a)().y,u=C(O.b).setValue,D=N((function(e){return!!e(O.b).getValue(T)})),A=N((function(e){return e(_.c).hasMultipleAdmins()})),M=N((function(e){return e(y.a).haveSharingSettingsChanged()})),x=N((function(e){return e(O.b).getValue(j.a)})),R=Object(c.useCallback)((function(){Object(v.y)("".concat(t,"_headerbar"),"open_sharing",A?"advanced":"simple"),u(T,!0)}),[u,t,A]),L=Object(c.useCallback)((function(){u(T,!1),u(j.a,void 0)}),[u]),P=C(y.a).rollbackSharingSettings;Object(c.useEffect)((function(){!D&&M&&P()}),[D,M,P]);var I=Object(c.useRef)(),z=C(w.a).triggerOnDemandTour;Object(c.useEffect)((function(){D&&!I.current&&(I.current=!0,z(S.a))}),[D,z]);var B={};return n===k.b&&(B.top="".concat(s<46?46-s:0,"px"),B.height="calc(100% - 46px + ".concat(s<46?s:46,"px)")),e.createElement(c.Fragment,null,e.createElement(g.a,{"aria-label":Object(a.__)("Open sharing settings","google-site-kit"),className:"googlesitekit-sharing-settings__button googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon",onClick:R,icon:e.createElement(m.a,{width:20,height:20})}),e.createElement(f.a,null,e.createElement(E.b,{open:D,onClose:L,className:"googlesitekit-dialog googlesitekit-sharing-settings-dialog",style:B,escapeKeyAction:void 0===x?"close":""},e.createElement("div",{className:"googlesitekit-dialog__back-wrapper","aria-hidden":n!==k.b},e.createElement(g.a,{"aria-label":Object(a.__)("Back","google-site-kit"),className:"googlesitekit-dialog__back",onClick:L},e.createElement(i.a,{icon:o.a}))),e.createElement(E.c,{className:"googlesitekit-dialog__content"},e.createElement("div",{className:"googlesitekit-dialog__header"},e.createElement("div",{className:"googlesitekit-dialog__header-icon","aria-hidden":n===k.b},e.createElement("span",null,e.createElement(m.a,{width:20,height:20}))),e.createElement("div",{className:"googlesitekit-dialog__header-titles"},e.createElement("h2",{className:"googlesitekit-dialog__title"},Object(a.__)("Dashboard sharing & permissions","google-site-kit")),e.createElement("p",{className:"googlesitekit-dialog__subtitle"},Object(l.a)(Object(a.__)("Share a view-only version of your Site Kit dashboard with other WordPress roles. <a>Learn more</a>","google-site-kit"),{a:e.createElement(d.a,{"aria-label":Object(a.__)("Learn more about dashboard sharing","google-site-kit"),href:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",external:!0})})))),e.createElement("div",{className:"googlesitekit-dialog__main"},e.createElement(b.a,null))),e.createElement(E.d,{className:"googlesitekit-dialog__footer"},e.createElement(p.a,{closeDialog:L})))))}}).call(this,n(3))},34:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},363:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(13),l=n.n(c),s=n(0),u=n.n(s),d=n(1),g=n(2),f=n(4),m=n.n(f),p=n(22),h=n(18),b=n(364),v=n(16),O=n(34),_=n(81),y=n(136),k=n(90),E=n(10),j=n(20),w=m.a.useSelect,S=m.a.useDispatch;function Footer(t){var n=t.closeDialog,r=Object(j.a)(),i=Object(g.useState)(null),c=l()(i,2),s=c[0],u=c[1],f=w((function(e){return e(v.a).canSubmitSharingChanges()})),m=w((function(e){return e(v.a).isDoingSubmitSharingChanges()})),N=S(v.a).saveSharingSettings,C=S(O.b).setValue,T=Object(g.useCallback)(o()(a.a.mark((function e(){var t,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u(null),e.next=3,N();case 3:if(t=e.sent,!(i=t.error)){e.next=8;break}return u(i.message),e.abrupt("return");case 8:Object(E.y)("".concat(r,"_sharing"),"settings_confirm"),C(y.a,void 0),n();case 11:case"end":return e.stop()}}),e)}))),[r,N,C,n]),D=Object(g.useCallback)((function(){Object(E.y)("".concat(r,"_sharing"),"settings_cancel"),n()}),[n,r]);return e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer"},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-notice"},s&&e.createElement(k.a,{message:s}),!s&&e.createElement(b.a,null)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions"},e.createElement(p.a,{onClick:D},Object(d.__)("Cancel","google-site-kit")),e.createElement(h.a,{onClick:T,disabled:m||!f},Object(d.__)("Apply","google-site-kit"),m&&e.createElement(_.a,{isSaving:m}))))}Footer.propTypes={closeDialog:u.a.func.isRequired}}).call(this,n(3))},364:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notice}));var r=n(1),a=n(76),i=n(4),o=n.n(i),c=n(16),l=o.a.useSelect;function Notice(){var t=l((function(e){return e(c.a).canSubmitSharingChanges()})),n=l((function(e){return e(c.a).haveSharingSettingsExpanded("management")})),i=l((function(e){return e(c.a).haveSharingSettingsExpanded("sharedRoles")}));return e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__notice"},n&&t&&Object(a.a)(Object(r.__)("By clicking <strong>Apply</strong>, you will give other authenticated admins of your site permission to manage view-only access to Site Kit Dashboard data from the chosen Google service.","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),!n&&t&&i&&Object(a.a)(Object(r.__)("By clicking <strong>Apply</strong>, you’re granting the selected roles view-only access to data from the Google services you’ve connected via your account.","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}))}}).call(this,n(3))},365:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardSharingSettings}));var a=n(8),i=n.n(a),o=n(1),c=n(4),l=n.n(c),s=n(366),u=n(16),d=n(15),g=n(12);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 m(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 m(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 m(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 p=l.a.useSelect;function DashboardSharingSettings(){var t=p((function(e){return e(d.c).hasMultipleAdmins()})),n=p((function(t){var n=t(u.a).getModules();if(void 0!==n){var r,a=t(g.a).getID(),i=[],o=[],c=[],l=f(Object.values(n).filter((function(e){return e.shareable})));try{for(l.s();!(r=l.n()).done;){var s;(null===(s=(e=r.value).owner)||void 0===s?void 0:s.id)===a?i.push(e):t(g.a).hasCapability(g.e,e.slug)?o.push(e):c.push(e)}}catch(e){l.e(e)}finally{l.f()}return[].concat(i,o,c)}}));return void 0===n?null:r.createElement("div",{className:i()("googlesitekit-dashboard-sharing-settings",{"googlesitekit-dashboard-sharing-settings--has-multiple-admins":t})},r.createElement("header",{className:"googlesitekit-dashboard-sharing-settings__header googlesitekit-dashboard-sharing-settings__row"},r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},Object(o.__)("Product","google-site-kit")),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},Object(o.__)("Who can view","google-site-kit")),t&&r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},Object(o.__)("Who can manage view access","google-site-kit"))),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__main"},n.map((function(e){var t=e.slug,n=e.name,a=e.owner;return r.createElement(s.a,{key:t,moduleSlug:t,moduleName:n,ownerUsername:null==a?void 0:a.login})}))))}}).call(this,n(483)(e),n(3))},366:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Module}));var r=n(13),a=n.n(r),i=n(0),o=n.n(i),c=n(8),l=n.n(c),s=n(210),u=n(1),d=n(162),g=n(435),f=n(2),m=n(76),p=n(4),h=n.n(p),b=n(145),v=n(367),O=n(9),_=n(20),y=n(16),k=n(15),E=n(34),j=n(136),w=n(10),S=n(12),N=h.a.useSelect,C=h.a.useDispatch,T=[{value:"owner",label:Object(u.__)("Only me","google-site-kit")},{value:"all_admins",label:Object(u.__)("Any admin signed in with Google","google-site-kit")}];function Module(t){var n=t.moduleSlug,r=t.moduleName,i=t.ownerUsername,o=Object(_.a)(),c=Object(f.useRef)(),p=Object(f.useState)(void 0),h=a()(p,2),D=h[0],A=h[1],M=N((function(e){return e(k.c).hasMultipleAdmins()})),x=N((function(e){var t;return null!==(t=e(y.a).getSharingManagement(n))&&void 0!==t?t:"owner"})),R=N((function(e){return e(S.a).hasCapability(S.d,n)})),L=N((function(e){return e(S.a).hasCapability(S.e,n)})),P=N((function(e){return e(y.a).getSharedOwnershipModules()})),I=N((function(e){return e(E.b).getValue(j.a)})),z=N((function(e){return e(y.a).isDoingSubmitSharingChanges()})),B=C(y.a).setSharingManagement,F=P&&Object.keys(P).includes(n);Object(f.useEffect)((function(){A(F?"all_admins":x)}),[x,F]);var q=Object(f.useCallback)((function(e){var t=e.target.value;A(t),B(n,t),Object(w.y)("".concat(o,"_sharing"),"change_management_".concat(t),n)}),[B,A,n,o]),H=n===I,W=!H&&void 0!==I||z;return e.createElement("div",{className:l()("googlesitekit-dashboard-sharing-settings__module","googlesitekit-dashboard-sharing-settings__row",{"googlesitekit-dashboard-sharing-settings__row--editing":H,"googlesitekit-dashboard-sharing-settings__row--disabled":W}),ref:c},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},e.createElement(b.a,{slug:n,size:48}),e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__module-name"},r)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},L&&e.createElement(v.a,{moduleSlug:n,isLocked:W,ref:c}),!L&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(u.__)("Contact managing user to manage view access","google-site-kit"))),M&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},F&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},e.createElement("span",null,Object(u.__)("Any admin signed in with Google","google-site-kit")),e.createElement(s.a,{title:Object(u.__)("This service requires general access to Google APIs rather than access to a specific user-owned property/entity, so view access is manageable by any admin signed in with Google.","google-site-kit"),classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(d.a,{icon:g.a,size:18})))),!F&&R&&e.createElement(O.p,{className:"googlesitekit-dashboard-sharing-settings__select",value:D,options:T,onChange:q,onClick:q,outlined:!0}),!F&&!R&&i&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(m.a)(Object(u.sprintf)(
50
  /* translators: %s: user who manages the module. */
51
  Object(u.__)("<span>Managed by</span> <strong>%s</strong>","google-site-kit"),i),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),e.createElement(s.a,{title:L?Object(u.sprintf)(
52
  /* translators: %s: name of the user who manages the module. */
53
  Object(u.__)("%s has connected this and given managing permissions to all admins. You can change who can view this on the dashboard.","google-site-kit"),i):Object(u.sprintf)(
54
  /* translators: %s: name of the user who manages the module. */
55
- Object(u.__)("Contact %s to change who can manage view access for this module.","google-site-kit"),i),classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(d.a,{icon:g.a,size:18}))))))}Module.propTypes={moduleSlug:o.a.string.isRequired,moduleName:o.a.string.isRequired,ownerUsername:o.a.string}}).call(this,n(3))},367:function(e,t,n){"use strict";(function(e){var r=n(24),a=n.n(r),i=n(13),o=n.n(i),c=n(0),l=n.n(c),s=n(8),u=n.n(s),d=n(141),g=n(127),f=n.n(g),m=n(1),p=n(57),h=n(2),b=n(4),v=n.n(b),O=n(18),_=n(22),y=n(253),k=n(142),E=n(20),j=n(131),w=n(10),S=n(16),N=n(34),C=n(136),T=v.a.useSelect,D=v.a.useDispatch,A=Object(m.__)("All","google-site-kit"),M=Object(h.forwardRef)((function(t,n){var r=t.moduleSlug,i=t.isLocked,c=void 0!==i&&i,l=Object(E.a)(),s=Object(h.useRef)(),g=Object(h.useState)([]),b=o()(g,2),v=b[0],M=b[1],x=D(S.a).setSharedRoles,R=D(N.b).setValue,L=T((function(e){return e(S.a).getShareableRoles()})),P=T((function(e){return e(S.a).getSharedRoles(r)})),I=T((function(e){return e(N.b).getValue(C.a)}))===r;Object(j.a)([p.d],n,(function(){I&&(R(C.a,void 0),s.current.focus())}));var z=Object(h.useCallback)((function(){I?(M(a()(P||[]).sort()),R(C.a,void 0)):(f()(a()(P||[]).sort(),v)||Object(w.y)("".concat(l,"_sharing"),"change_shared_roles",r),R(C.a,r))}),[I,P,v,l,r,R]),B=Object(h.useCallback)((function(e){var t,n=e.type,i=e.target,o=e.keyCode;if("keyup"!==n||o===p.c){var c,l=i.closest(".mdc-chip"),s=null==l||null===(t=l.dataset)||void 0===t?void 0:t.chipId;if(s)c="all"===s?(null==P?void 0:P.length)===(null==L?void 0:L.length)?[]:L.map((function(e){return e.id})):null===P?[s]:P.includes(s)?P.filter((function(e){return e!==s})):[].concat(a()(P),[s]),x(r,c)}}),[r,x,P,L]);return L?e.createElement("div",{className:u()("googlesitekit-user-role-select",{"googlesitekit-user-role-select--open":I})},e.createElement(O.a,{"aria-label":I?Object(m.__)("Close","google-site-kit"):Object(m.__)("Edit roles","google-site-kit"),className:"googlesitekit-user-role-select__button",onClick:z,icon:I?e.createElement(k.a,{width:18,height:18}):e.createElement(y.a,{width:23,height:23}),tabIndex:c?-1:void 0,ref:s}),!I&&(null==P?void 0:P.length)>0&&e.createElement("span",{className:"googlesitekit-user-role-select__current-roles"},(null==L?void 0:L.reduce((function(e,t){return P.includes(t.id)&&e.push(t.displayName),e}),[])).join(", ")),!I&&(!P||0===(null==P?void 0:P.length))&&e.createElement("span",{className:"googlesitekit-user-role-select__add-roles"},e.createElement(_.a,{onClick:function(){s.current.focus(),z()},tabIndex:c?-1:void 0},Object(m.__)("Add roles","google-site-kit"))),I&&e.createElement("div",{className:"googlesitekit-user-role-select__chipset"},e.createElement(d.Chip,{chipCheckmark:e.createElement(d.ChipCheckmark,null),"data-chip-id":"all",id:"all",label:A,onClick:B,onKeyUp:B,selected:(null==P?void 0:P.length)===(null==L?void 0:L.length),className:"googlesitekit-user-role-select__chip googlesitekit-user-role-select__chip--all"}),L.map((function(t,n){var r=t.id,a=t.displayName;return e.createElement(d.Chip,{chipCheckmark:e.createElement(d.ChipCheckmark,null),"data-chip-id":r,id:r,key:n,label:a,onClick:B,onKeyUp:B,selected:null==P?void 0:P.includes(r),className:"googlesitekit-user-role-select__chip"})})))):null}));M.propTypes={moduleSlug:l.a.string.isRequired,isLocked:l.a.bool},t.a=M}).call(this,n(3))},368:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(13),l=n.n(c),s=n(0),u=n.n(s),d=n(173),g=n(2),f=n(1),m=n(57),p=n(31),h=n.n(p),b=n(4),v=n.n(b),O=n(369),_=n(15),y=v.a.useSelect,k=function(){};function PostSearcherAutoSuggest(t){var n=t.id,r=t.match,i=t.setMatch,c=t.isLoading,s=t.showDropdown,u=void 0===s||s,p=t.setIsLoading,b=void 0===p?k:p,v=t.setIsActive,E=void 0===v?k:v,j=t.autoFocus,w=t.setCanSubmit,S=void 0===w?k:w,N=t.onClose,C=void 0===N?k:N,T=t.placeholder,D=void 0===T?"":T,A=Object(g.useRef)(),M=Object(g.useState)(""),x=l()(M,2),R=x[0],L=x[1],P=null==r?void 0:r.title,I=Object(O.a)(R,R===P?0:200),z=Object(g.useState)([]),B=l()(z,2),F=B[0],q=B[1],H=Object(f.__)("No results found","google-site-kit"),W=y((function(e){return e(_.c).getCurrentEntityTitle()})),U=Object(g.useRef)(null),V=Object(g.useCallback)((function(){E(!0)}),[E]),G=Object(g.useCallback)((function(e){var t,n,r;(null===(t=e.relatedTarget)||void 0===t?void 0:t.classList.contains("autocomplete__option--result"))||(E(!1),L(null!==(n=null!==(r=U.current)&&void 0!==r?r:W)&&void 0!==n?n:""))}),[W,E]),K=Object(g.useCallback)((function(e){if(Array.isArray(F)&&e!==H){var t=F.find((function(t){return t.title.toLowerCase()===e.toLowerCase()}));t?(U.current=t.title,S(!0),i(t),L(t.title)):U.current=null}else U.current=null,S(!1)}),[F,S,i,H,L]),X=Object(g.useCallback)((function(e){S(!1),L(e.target.value)}),[S]);Object(g.useEffect)((function(){if(""!==I&&I!==W&&(null==I?void 0:I.toLowerCase())!==(null==P?void 0:P.toLowerCase())){var e="undefined"==typeof AbortController?void 0:new AbortController;return(t=o()(a.a.mark((function t(){var n,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return b(!0),n=h.a.get("core","search","entity-search",{query:encodeURIComponent(I)},{useCache:!1,signal:null==e?void 0:e.signal}),A.current=n,t.prev=3,t.next=6,n;case 6:r=t.sent,q(r),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(3),q(null);case 13:return t.prev=13,n===A.current&&b(!1),t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[3,10,13,16]])}))),function(){return t.apply(this,arguments)})(),function(){return null==e?void 0:e.abort()}}var t}),[I,b,W,P]),Object(g.useEffect)((function(){R||q([])}),[R]),Object(g.useEffect)((function(){W&&L(W)}),[W]);var Y=Object(g.useRef)(),Q=Object(g.useCallback)((function(e){var t=Y.current;switch(e.keyCode){case m.e:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=0,t.selectionEnd=0);break;case m.b:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=t.value.length,t.selectionEnd=t.value.length)}switch(e.keyCode){case m.d:return C();case m.c:return K(R)}}),[C,K,R]);return e.createElement(d.a,{className:"autocomplete__wrapper",onSelect:K},e.createElement(d.b,{ref:Y,id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onBlur:G,onChange:X,onFocus:V,placeholder:D,onKeyDown:Q,value:R,autoFocus:j}),!c&&u&&I!==W&&""!==I&&0===(null==F?void 0:F.length)&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(d.d,{value:H,className:"autocomplete__option autocomplete__option--no-results"}))),u&&""!==I&&I!==W&&(null==F?void 0:F.length)>0&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},F.map((function(t){var n=t.id,r=t.title;return e.createElement(d.d,{key:n,value:r,className:"autocomplete__option autocomplete__option--result"})})))))}PostSearcherAutoSuggest.propTypes={id:u.a.string,match:u.a.object,setCanSubmit:u.a.func,setMatch:u.a.func,isLoading:u.a.bool,setIsLoading:u.a.func,onKeyDown:u.a.func,autoFocus:u.a.bool,placeholder:u.a.string}}).call(this,n(3))},369:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(13),a=n.n(r),i=n(2);function o(e,t){var n=Object(i.useState)(e),r=a()(n,2),o=r[0],c=r[1];return Object(i.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),o}},37:function(e,t,n){"use strict";n.d(t,"t",(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 l})),n.d(t,"j",(function(){return s})),n.d(t,"p",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return g})),n.d(t,"d",(function(){return f})),n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return p})),n.d(t,"g",(function(){return h})),n.d(t,"f",(function(){return b})),n.d(t,"h",(function(){return v})),n.d(t,"o",(function(){return O})),n.d(t,"n",(function(){return _})),n.d(t,"r",(function(){return y})),n.d(t,"s",(function(){return k})),n.d(t,"q",(function(){return E}));var r=n(23),a="modules/idea-hub",i="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",g="IDEA_HUB_ACTIVITY_DRAFT_CREATED",f="IDEA_HUB_ACTIVITY_IS_DELETING",m="IDEA_HUB_ACTIVITY_DELETED",p="IDEA_HUB_ACTIVITY_IS_PINNING",h="IDEA_HUB_ACTIVITY_PINNED",b="IDEA_HUB_ACTIVITY_IS_UNPINNING",v="IDEA_HUB_ACTIVITY_UNPINNED",O="".concat(r.p,"_idea-hub-saved-ideas-notification"),_="".concat(r.m,"_idea-hub"),y="new-ideas",k="saved-ideas",E="draft-ideas"},376: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:"M128.91 163c-12.56 3.66-25.8 10.57-31.82 22.81-6.35 12.93-1.46 28.49 10.19 36.65M271.09 163c12.56 3.66 25.8 10.57 31.82 22.81 6.35 12.93 1.46 28.49-10.19 36.65",stroke:"#EE675C",strokeLinejoin:"round",strokeWidth:9.27}),o=r.createElement("ellipse",{cx:200,cy:381.74,rx:79.51,ry:8.26,fill:"#F1F3F4"}),c=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"}),l=r.createElement("path",{d:"M216.76 201.8s-64.53 36.51-77.35 71.84c-4.72 13 3.53 27.36 17.27 29 11.31 1.39 28.4-3.14 53.06-24.33v31.36",stroke:"#C5221F",strokeLinejoin:"round",strokeWidth:9.27}),s=r.createElement("path",{d:"M216.76 201.8s-35.21 19.92-58.76 44.56",stroke:"#B31412",strokeLinejoin:"round",strokeWidth:9.27}),u=r.createElement("path",{stroke:"#C5221F",strokeLinejoin:"round",strokeWidth:9.27,d:"M218.98 201.47V380h29.52"}),d=r.createElement("path",{stroke:"#B31412",strokeLinejoin:"round",strokeWidth:9.27,d:"M218.98 201.47v47.5"}),g=r.createElement("circle",{cx:200,cy:162.34,r:81.45,fill:"#D93025"}),f=r.createElement("path",{d:"M206.36 156.18c-18.33 10.42-42 6.07-50.25-19.59M164.26 137.72c-5.22-2.69-9-2.82-16.17-.91",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6.62}),m=r.createElement("path",{d:"M107.28 222.48c28.36 19.87 76.07-7.28 88.72-35.17M292.72 222.48c-28.36 19.87-76.07-7.28-88.72-35.17",stroke:"#EE675C",strokeLinejoin:"round",strokeWidth:9.27});t.a=function SvgZeroStateRed(e){return r.createElement("svg",a({viewBox:"0 0 400 400",fill:"none"},e),i,o,c,l,s,u,d,g,f,m)}},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},4:function(e,t){e.exports=googlesitekit.data},40: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"},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),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))}},427:function(e,t,n){"use strict";n.d(t,"a",(function(){return ScrollEffect}));var r=n(467);function ScrollEffect(){return Object(r.a)(),null}},43:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(129),a="xlarge",i="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},44:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return v})),n.d(t,"a",(function(){return O})),n.d(t,"c",(function(){return _}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=(n(24),n(10));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,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 u,d="googlesitekit_".concat("1.79.0","_"),g=["sessionStorage","localStorage"],f=[].concat(g),m=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 h.apply(this,arguments)}function h(){return(h=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===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,m(i);case 11:if(!t.sent){t.next=13;break}u=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===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=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(d).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)}}(),v=function(){var t=o()(a.a.mark((function t(n,r){var i,o,l,s,u,g,f,m,h=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},o=i.ttl,l=void 0===o?c.b:o,s=i.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,g=i.isError,f=void 0!==g&&g,t.next=3,p();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(d).concat(n),JSON.stringify({timestamp:u,ttl:l,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)}}(),O=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(d).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)}}(),_=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(d)&&r.push(o.substring(d.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(21))},447:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IdeaHubPromptSVG}));var r=n(2),a=n(96),i=Object(r.lazy)((function(){return n.e(34).then(n.bind(null,884))}));function IdeaHubPromptSVG(t){return e.createElement(r.Suspense,{fallback:e.createElement(a.a,{width:"100%",height:"39.77%"})},e.createElement(i,t))}}).call(this,n(3))},45:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ProgressBar}));var r=n(0),a=n.n(r),i=n(8),o=n.n(i);function ProgressBar(t){var n=t.className,r=t.small,a=t.compress,i=t.indeterminate,c=t.height,l=t.progress,s=void 0!==c?Math.round(c/2):void 0,u=l?"scaleX(".concat(l,")"):void 0;return e.createElement("div",{role:"progressbar",style:{marginTop:s,marginBottom:s},className:o()("mdc-linear-progress",n,{"mdc-linear-progress--indeterminate":i,"mdc-linear-progress--small":r,"mdc-linear-progress--compress":a})},e.createElement("div",{className:"mdc-linear-progress__buffering-dots"}),e.createElement("div",{className:"mdc-linear-progress__buffer"}),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__primary-bar",style:{transform:u}},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__secondary-bar"},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})))}ProgressBar.propTypes={className:a.a.string,small:a.a.bool,compress:a.a.bool,indeterminate:a.a.bool,progress:a.a.number,height:a.a.number},ProgressBar.defaultProps={className:"",small:!1,compress:!1,indeterminate:!0,progress:0}}).call(this,n(3))},453:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputSettings}));var r=n(0),a=n.n(r),i=n(148),o=n(1),c=n(4),l=n.n(c),s=n(56),u=n(10),d=n(12),g=n(15),f=n(454),m=l.a.useSelect;function UserInputSettings(t){var n=t.onCTAClick,r=t.onDismiss,a=t.isDismissible,c=t.rounded,l=void 0!==c&&c,p=Object(i.a)(UserInputSettings),h=m((function(e){return e(g.c).getAdminURL("googlesitekit-user-input")}));return"completed"===m((function(e){return e(d.a).getUserInputState()}))?null:e.createElement(s.b,{id:"user-input-settings-notification-".concat(p),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.n)("hour"),ctaLink:h,ctaLabel:Object(o.__)("Let’s go","google-site-kit"),onCTAClick:n,dismiss:Object(o.__)("Remind me later","google-site-kit"),WinImageSVG:f.a,isDismissible:a,onDismiss:r,rounded:l})}UserInputSettings.propTypes={onCTAClick:a.a.func,onDismiss:a.a.func,isDismissible:a.a.bool,rounded:a.a.bool}}).call(this,n(3))},454: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:"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"}),g=r.createElement("circle",{cx:336.18,cy:24.68,r:5.32,fill:"#FFF"}),f=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}),h=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"}),v=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}),O=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"}),y=r.createElement("path",{fill:"#DADCE0",d:"M328.59 164.62l25.17 22.94-34.15-3.03 8.98-19.91z"}),k=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",a({viewBox:"0 0 570 336",fill:"none"},e),i,o,c,l,s,u,d,g,f,m,p,h,b,v,O,_,y,k,E,j,w,S)}},455:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(13),a=n.n(r),i=n(6),o=n.n(i),c=n(0),l=n.n(c),s=n(8),u=n.n(s),d=n(391),g=n(2),f=n(4),m=n.n(f),p=n(244),h=n(132),b=n(40),v=n(34),O=n(9),_=n(43),y=n(156),k=n(456),E=n(458),j=n(52),w=n(12),S=m.a.useSelect;function N(e){var t,n=(t={},o()(t,_.d,48),o()(t,_.a,48),o()(t,_.c,32),o()(t,_.b,32),t)[e],r=Math.abs(Object(h.b)(e)+n);return"-".concat(r,"px -").concat(n,"px -").concat(n,"px -").concat(n,"px")}function WidgetAreaRenderer(t){var n=t.slug,r=t.contextID,i=Object(j.a)(),c=S((function(e){return i?e(w.a).getViewableModules():null})),l=Object(_.e)(),s=Object(g.useRef)(),f=Object(d.a)(s,{rootMargin:N(l),threshold:0}),m=S((function(e){return e(b.a).getWidgetArea(n)})),h=S((function(e){return e(b.a).getWidgets(n,{modules:c||void 0})})),C=S((function(e){return e(b.a).getWidgetStates()})),T=S((function(e){return e(b.a).isWidgetAreaActive(n,{modules:c||void 0})})),D=S((function(e){return e(v.b).getValue(v.a)})),A=Object(g.useState)({key:"WidgetAreaRenderer-".concat(n),value:D?D===r:!!(null==f?void 0:f.intersectionRatio)}),M=a()(A,2),x=M[0],R=M[1];if(Object(g.useEffect)((function(){R({key:"WidgetAreaRenderer-".concat(n),value:D?D===r:!!(null==f?void 0:f.intersectionRatio)})}),[f,n,D,r]),void 0===c)return null;var L,P=Object(p.d)(h,C),I=P.columnWidths,z=P.rowIndexes,B=Object(p.b)(h,C,{columnWidths:I,rowIndexes:z}),F=B.gridColumnWidths,q=B.overrideComponents,H=h.map((function(t,n){return e.createElement(E.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:F[n]},e.createElement(k.a,{OverrideComponent:q[n]?function(){var t=q[n],r=t.Component,a=t.metadata;return e.createElement(r,a)}:void 0,slug:t.slug}))})),W=m.Icon,U=m.title,V=m.style,G=m.subtitle;return T?e.createElement(y.a,{value:x},e.createElement(O.e,{className:u()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(n),"googlesitekit-widget-area--".concat(V)),ref:s},e.createElement(O.o,null,e.createElement(O.a,{className:"googlesitekit-widget-area-header",size:12},W&&e.createElement(W,{width:33,height:33}),U&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},U),G&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},G))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(O.o,null,V===b.b.BOXES&&H,V===b.b.COMPOSITE&&e.createElement(O.a,{size:12},e.createElement(O.e,null,e.createElement(O.o,null,H))))))):e.createElement(O.e,{className:u()(p.a,"googlesitekit-widget-area",(L={},o()(L,"googlesitekit-widget-area--".concat(n),!!n),o()(L,"googlesitekit-widget-area--".concat(V),!!V),L)),ref:s},H)}WidgetAreaRenderer.propTypes={slug:l.a.string.isRequired,contextID:l.a.string}}).call(this,n(3))},456:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(422),o=n.n(i),c=n(2),l=n(4),s=n.n(l),u=n(40),d=n(16),g=n(236),f=n(457),m=n(244),p=n(116),h=n(52),b=n(60),v=s.a.useSelect,O=function WidgetRenderer(t){var n=t.slug,r=t.OverrideComponent,a=Object(b.a)("dashboardSharing"),i=v((function(e){return e(u.a).getWidget(n)})),l=Object(m.c)(n),s=l.Widget,O=l.WidgetNull,_=v((function(e){return a&&e(d.a).getRecoverableModules()})),y=Object(h.a)(),k=Object(c.useMemo)((function(){return i&&_&&o()(i.modules,Object.keys(_))}),[_,i]);if(!i)return e.createElement(O,null);var E=i.Component,j=i.wrapWidget,w=e.createElement(E,l);return y&&(null==k?void 0:k.length)&&(w=e.createElement(f.a,{widgetSlug:n,moduleSlugs:k})),r?w=e.createElement(c.Fragment,null,e.createElement(g.a,{widgetSlug:"overridden"},e.createElement(r,null)),e.createElement("div",{className:p.a},w)):j&&(w=e.createElement(s,null,w)),w};O.propTypes={slug:a.a.string.isRequired,OverrideComponent:a.a.elementType},t.a=O}).call(this,n(3))},457:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(24),l=n.n(c),s=n(19),u=n.n(s),d=n(0),g=n.n(d),f=n(2),m=n(123),p=n(170);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,r=t.moduleSlugs,a=u()(t,["widgetSlug","moduleSlugs"]),i=Object(f.useMemo)((function(){return{moduleSlug:l()(r).sort().join(","),moduleSlugs:r}}),[r]);return Object(m.a)(n,p.a,i),e.createElement(p.a,o()({moduleSlugs:r},a))}WidgetRecoverableModules.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:g.a.string.isRequired},p.a.propTypes)}).call(this,n(3))},458:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(116),o=n(9),c=function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:i.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:a.a.number.isRequired,children:a.a.element.isRequired},t.a=c}).call(this,n(3))},459:function(e,t,n){"use strict";(function(e){var r=n(13),a=n.n(r),i=n(98),o=n(402),c=n(148),l=n(2),s=n(1),u=n(4),d=n.n(u),g=n(18),f=n(45),m=n(62),p=n(460),h=n(461),b=n(368),v=n(15),O=n(39),_=n(10),y=n(91),k=n(20),E=d.a.useSelect,j=d.a.useDispatch;t.a=function EntitySearchInput(){var t=Object(c.a)(EntitySearchInput,"EntitySearchInput"),n=Object(l.useState)(!1),r=a()(n,2),u=r[0],d=r[1],w=Object(l.useState)(!1),S=a()(w,2),N=S[0],C=S[1],T=Object(l.useState)(!1),D=a()(T,2),A=D[0],M=D[1],x=Object(k.a)(),R=Object(y.c)(),L=Object(l.useRef)(),P=Object(l.useCallback)((function(){Object(_.y)("".concat(x,"_headerbar"),"open_urlsearch"),d(!0)}),[x]),I=Object(l.useCallback)((function(){Object(_.y)("".concat(x,"_headerbar"),"close_urlsearch"),d(!1)}),[x]),z=Object(l.useState)({}),B=a()(z,2),F=B[0],q=B[1],H=E((function(e){return(null==F?void 0:F.url)?e(v.c).getAdminURL("googlesitekit-dashboard",{permaLink:F.url}):null})),W=j(O.a).navigateTo;return Object(l.useEffect)((function(){H&&Object(_.y)("".concat(x,"_headerbar_urlsearch"),"open_urldetails").finally((function(){W(H)}))}),[H,W,x]),Object(i.a)((function(){R===y.a&&d(!0)})),Object(o.a)((function(){var e;u||(null==L||null===(e=L.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:F,setIsActive:M,setMatch:q,placeholder:Object(s.__)("Enter title or URL…","google-site-kit"),isLoading:N,setIsLoading:C,showDropdown:A,onClose:I,autoFocus:!0}),N&&A&&e.createElement(f.a,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(g.a,{onClick:I,trailingIcon:e.createElement(h.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(g.a,{className:"googlesitekit-border-radius-round--phone googlesitekit-button-icon--phone",onClick:P,text:!0,ref:L,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))},460: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:"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",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},461: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:"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",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},462:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(13),a=n.n(r),i=n(254),o=n(8),c=n.n(o),l=n(2),s=n(57),u=n(1),d=n(4),g=n.n(d),f=n(463),m=n(12),p=n(131),h=n(58),b=n(143),v=n(18),O=n(10),_=n(34),y=n(20),k=g.a.useSelect,E=g.a.useDispatch;function DateRangeSelector(){var t,n=Object(h.f)(),r=k((function(e){return e(m.a).getDateRange()})),o=E(m.a).setDateRange,d=E(_.b).resetInViewHook,g=Object(l.useState)(!1),j=a()(g,2),w=j[0],S=j[1],N=Object(l.useRef)(),C=Object(y.a)();Object(i.a)(N,(function(){return S(!1)})),Object(p.a)([s.d,s.f],N,(function(){return S(!1)}));var T=Object(l.useCallback)((function(){S(!w)}),[w]),D=Object(l.useCallback)((function(e){var t=Object.values(n)[e].slug;r!==t&&Object(O.y)("".concat(C,"_headerbar"),"change_daterange",t),d(),o(t),S(!1)}),[n,r,d,o,C]),A=null===(t=n[r])||void 0===t?void 0:t.label,M=Object.values(n).map((function(e){return e.label}));return e.createElement("div",{ref:N,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(v.a,{className:c()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu","googlesitekit-border-radius-round--phone","googlesitekit-button-icon--phone"),text:!0,onClick:T,icon:e.createElement(f.a,{width:"20",height:"20"}),"aria-haspopup":"menu","aria-expanded":w,"aria-controls":"date-range-selector-menu",title:Object(u.__)("Date range","google-site-kit"),tooltip:!0},A),e.createElement(b.a,{menuOpen:w,menuItems:M,onSelected:D,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(3))},463: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:"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",a({viewBox:"0 0 18 20"},e),i)}},464:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ZeroDataStateNotifications}));var r=n(1),a=n(4),i=n.n(a),o=n(12),c=n(16),l=n(52),s=n(11),u=n(68),d=n(465),g=n(466),f=i.a.useSelect,m=i.a.useInViewSelect;function ZeroDataStateNotifications(){var t,n=Object(l.a)(),a=f((function(e){return e(c.a).isModuleConnected("analytics")})),i=f((function(e){return!n||e(o.a).canViewSharedModule("analytics")})),p=m((function(e){return!(!a||!i)&&e(s.f).isGatheringData()})),h=m((function(e){return e(u.b).isGatheringData()})),b=m((function(e){return!(!a||!i)&&e(s.f).hasZeroData()})),v=m((function(e){return e(u.b).hasZeroData()}));return void 0===p||void 0===h||void 0===b||void 0===v?null:p||h||b||v?(p&&h?t=Object(r.__)("Search Console and Analytics are gathering data","google-site-kit"):p?t=Object(r.__)("Analytics is gathering data","google-site-kit"):h&&(t=Object(r.__)("Search Console is gathering data","google-site-kit")),p||h?e.createElement(d.a,{title:t}):e.createElement(g.a,null)):null}}).call(this,n(3))},465:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GatheringDataNotification}));var r=n(0),a=n.n(r),i=n(98),o=n(1),c=n(2),l=n(56),s=n(376),u=n(10),d=n(20);function GatheringDataNotification(t){var n=t.title,r=Object(d.a)(),a="".concat(r,"_gathering-data-notification"),g=Object(c.useCallback)((function(){Object(u.y)(a,"dismiss_notification")}),[a]);return Object(i.a)((function(){Object(u.y)(a,"view_notification")})),e.createElement(l.b,{id:"gathering-data-notification",title:n,description:Object(o.__)("It can take up to 48 hours before stats show up for your site. While you’re waiting, connect more services to get more stats.","google-site-kit"),format:"small",dismiss:Object(o.__)("OK, Got it!","google-site-kit"),dismissExpires:Object(u.n)("day"),SmallImageSVG:s.a,onDismiss:g,isDismissible:!0})}GatheringDataNotification.propTypes={title:a.a.string}}).call(this,n(3))},466:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ZeroDataNotification}));var r=n(98),a=n(1),i=n(2),o=n(56),c=n(324),l=n(10),s=n(20);function ZeroDataNotification(){var t=Object(s.a)(),n="".concat(t,"_zero-data-notification"),u=Object(i.useCallback)((function(){Object(l.y)(n,"dismiss_notification")}),[n]),d=Object(i.useCallback)((function(){Object(l.y)(n,"click_learn_more_link")}),[n]);return Object(r.a)((function(){Object(l.y)(n,"view_notification")})),e.createElement(o.b,{id:"zero-data-notification",title:Object(a.__)("Not enough traffic yet to display stats","google-site-kit"),description:Object(a.__)("Site Kit will start showing stats on the dashboard as soon as enough people have visited your site. Keep working on your site to attract more visitors.","google-site-kit"),format:"small",learnMoreLabel:Object(a.__)("Learn more","google-site-kit"),learnMoreURL:"https://sitekit.withgoogle.com/documentation/using-site-kit/using-the-site-kit-dashboard/#not-enough-traffic",dismiss:Object(a.__)("Remind me later","google-site-kit"),dismissExpires:Object(l.n)("day"),SmallImageSVG:c.a,onDismiss:u,onLearnMoreClick:d,isDismissible:!0})}}).call(this,n(3))},467:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(13),a=n.n(r),i=n(478),o=n(2),c=function(){var t=Object(i.a)().y,n=Object(o.useState)(!1),r=a()(n,2),c=r[0],l=r[1],s="googlesitekit-plugin--has-scrolled";return Object(o.useEffect)((function(){c?e.document.body.classList.add(s):e.document.body.classList.remove(s)}),[c]),t>0&&!c?l(!0):0===t&&c&&l(!1),c}}).call(this,n(21))},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(29);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},50: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(111);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)}},52:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(23),a=n(20);function i(){var e=Object(a.a)();return e===r.i||e===r.l}},56:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return I}));var a=n(17),i=n.n(a),o=n(6),c=n.n(o),l=n(5),s=n.n(l),u=n(14),d=n.n(u),g=n(13),f=n.n(g),m=n(0),p=n.n(m),h=n(8),b=n.n(h),v=n(241),O=n.n(v),_=n(98),y=n(2),k=n(104),E=n(9),j=n(132),w=n(50),S=n(63),N=n(112),C=n(18),T=n(168),D=n(151),A=n(22),M=n(128),x=n(145),R=n(44),L=n(43),P=n(114),I={EXTERNAL:"external",INTERNAL:"internal"};function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,l=t.badgeLabel,u=t.blockData,g=t.children,m=t.className,p=t.ctaLabel,h=t.ctaLink,v=t.ctaTarget,z=t.description,B=t.dismiss,F=t.dismissExpires,q=t.format,H=t.id,W=t.isDismissible,U=t.learnMoreDescription,V=t.learnMoreLabel,G=t.learnMoreURL,K=t.learnMoreTarget,X=t.logo,Y=t.module,Q=t.moduleName,Z=t.noBottomPadding,$=t.onCTAClick,J=t.onDismiss,ee=t.onLearnMoreClick,te=t.pageIndex,ne=t.showOnce,re=t.SmallImageSVG,ae=t.title,ie=t.type,oe=t.WinImageSVG,ce=t.rounded,le=void 0!==ce&&ce,se=Object(y.useState)(!1),ue=f()(se,2),de=ue[0],ge=ue[1],fe=Object(y.useState)(!1),me=f()(fe,2),pe=me[0],he=me[1],be="notification::dismissed::".concat(H),ve=function(){return Object(R.d)(be,new Date,{ttl:null})},Oe=Object(L.e)();function _e(){return(_e=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!J){e.next=5;break}return e.next=5,J(t);case 5:ye();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ye(){ge(!0),setTimeout(d()(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,ve();case 2:he(!0),t=new Event("notificationDismissed"),document.dispatchEvent(t);case 5:case"end":return e.stop()}}),e)}))),350)}function ke(){return(ke=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),!$){e.next=4;break}return e.next=4,$(t);case 4:W&&ye();case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(_.a)(d()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(F>0)){e.next=3;break}return e.next=3,we();case 3:if(!W){e.next=9;break}return e.next=6,Object(R.b)(be);case 6:t=e.sent,n=t.cacheHit,he(n);case 9:if(!ne){e.next=12;break}return e.next=12,ve();case 12:case"end":return e.stop()}}),e)}))));var Ee=Object(y.useCallback)((function(t){Object(w.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(j.a)(a,Oe),behavior:"smooth"}))}),[a,Oe]);function je(){return(je=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.persist(),null==ee||ee();case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function we(){return Se.apply(this,arguments)}function Se(){return(Se=d()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(R.b)(be);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(F,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(R.a)(be);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(W&&(void 0===pe||pe))return null;var Ne,Ce=de?"is-closed":"is-open",Te="large"===q&&"win-stats-increase"===ie,De=Object(P.d)(q),Ae=Object(P.c)(q),Me=Object(P.a)(q),xe=Object(P.b)({format:q,inlineLayout:Te,hasErrorOrWarning:"win-error"===ie||"win-warning"===ie,hasSmallImageSVG:!!re,hasWinImageSVG:!!oe});Ne="win-warning"===ie?r.createElement(T.a,{width:34}):"win-error"===ie?r.createElement(D.a,{width:28}):"";var Re=r.createElement(y.Fragment,null,u&&r.createElement(E.o,null,O()(u,(function(e,t){return r.createElement(E.a,{key:t,lgSize:Te?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(N.a,e)))})))),Le=r.createElement(y.Fragment,null,ae&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},ae,l&&r.createElement(M.a,{label:l})),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(A.a,{href:a,onClick:Ee},o)),z&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(y.isValidElement)(z)?z:r.createElement("span",{dangerouslySetInnerHTML:Object(S.a)(z,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),V&&r.createElement(y.Fragment,null," ",r.createElement(A.a,{onClick:function(e){return je.apply(this,arguments)},href:G,external:K===I.EXTERNAL},V),U),te&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},te))),g),Pe=Y?r.createElement(x.a,{slug:Y,size:19}):r.createElement(k.a,{height:"34",width:"32"}),Ie=Te?{size:12,smOrder:2,mdOrder:1}:{size:12},ze=h?A.a:C.a;return r.createElement("section",{id:H,className:b()(m,"googlesitekit-publisher-win",(n={},c()(n,"googlesitekit-publisher-win--".concat(q),q),c()(n,"googlesitekit-publisher-win--".concat(ie),ie),c()(n,"googlesitekit-publisher-win--".concat(Ce),Ce),c()(n,"googlesitekit-publisher-win--rounded",le),c()(n,"googlesitekit-publisher-win--no-bottom-padding",Z),n))},r.createElement(E.e,{className:b()({"googlesitekit-padding-bottom-0":Z})},r.createElement(E.o,null,X&&r.createElement(E.a,Ie,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},Pe),Q&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},Q)),re&&r.createElement(E.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(re,null)),r.createElement(E.a,i()({},xe,Me,{className:"googlesitekit-publisher-win__content"}),Te?r.createElement(E.o,null,r.createElement(E.a,{mdSize:8,lgSize:5},Le),r.createElement(E.a,{alignBottom:!0,mdSize:8,lgSize:7},Re)):r.createElement(y.Fragment,null,Le,Re),h&&r.createElement(C.a,{className:"googlesitekit-notification__cta",href:h,target:v,onClick:function(e){return ke.apply(this,arguments)}},p),W&&B&&r.createElement(ze,{onClick:function(e){return _e.apply(this,arguments)}},B)),oe&&r.createElement(E.a,i()({},De,Ae,{alignBottom:"larger"===q&&Z}),r.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(q)},r.createElement(oe,null))),("win-error"===ie||"win-warning"===ie)&&r.createElement(E.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},Ne)))))}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,learnMoreTarget:p.a.oneOf(Object.values(I)),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,onLearnMoreClick:p.a.func,anchorLink:p.a.string,anchorLinkLabel:p.a.string,badgeLabel:p.a.string,noBottomPadding:p.a.bool,rounded:p.a.bool},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1,noBottomPadding:!1,learnMoreTarget:I.EXTERNAL},t.b=BannerNotification}).call(this,n(21),n(3))},58:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return m.a})),n.d(t,"f",(function(){return O})),n.d(t,"k",(function(){return p}));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=3600,o=86400,c=604800,l=n(7),s=n.n(l),u=n(35),d=function(e){var t=new Date(e);s()(Object(u.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("-")},g=n(13),f=n.n(g),m=n(41),p=function(e){s()(Object(m.a)(e),r);var t=e.split("-"),n=f()(t,3),a=n[0],i=n[1],o=n[2];return new Date(a,i-1,o)},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=p(e);return n.setDate(n.getDate()-t),d(n)},b=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]};var v=n(1);function O(){var e=function(e){return Object(v.sprintf)(
56
  /* translators: %s: number of days */
57
  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}}}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),a=n(106),i=n(33),o=function(e){var t=Object(r.useContext)(a.a);return Object(i.b)(e,t)}},61:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(8),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))},62:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),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))},63: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(73),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,/\/+$/,"")}},64:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(162),c=n(348),l=n(18),s=n(104),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))},65: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(0),o=n.n(i),c=n(8),l=n.n(c),s=n(1),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:l()("googlesitekit-gathering-data-notice",a()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(s.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(3))},66:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return l}));n(54);var r="missing_required_scopes",a="insufficientPermissions",i="forbidden";function o(e){return(null==e?void 0:e.code)===r}function c(e){var t;return[a,i].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function l(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}},67: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},68: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},72:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return j})),n.d(t,"a",(function(){return w}));var r=n(13),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(19),u=n.n(s),d=n(25),g=n(70),f=n.n(g),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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=v(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},v=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=h(h({unitDisplay:void 0===i?"short":i},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?E(a,h(h({},o),{},{unit:"second"})):Object(m.sprintf)(
58
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
46
  /* translators: %s: module name. */
47
  Object(l.__)("%s data was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),k[E[0]].name),T=e.createElement(c.Fragment,null,e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(l.__)("By recovering the module, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),e.createElement(g.a,{onClick:S,disabled:b},Object(l.__)("Recover","google-site-kit")),e.createElement(h.a,{isSaving:b}))):(C=Object(l.__)("The data for the following modules was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),T=e.createElement(c.Fragment,null,E.map((function(t){return e.createElement("div",{key:t},e.createElement(f.a,{checked:r[t],name:"module-recovery-alert-checkbox",id:"module-recovery-alert-checkbox-".concat(t),onChange:function(){return w(t)},value:t,disabled:b},k[t].name))})),e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(l.__)("By recovering the selected modules, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),e.createElement(g.a,{onClick:S,disabled:b||!Object.values(r).some((function(e){return e}))},Object(l.__)("Recover","google-site-kit")),e.createElement(h.a,{isSaving:b}))),e.createElement(m.b,{id:"module-recovery-alert",title:Object(l.__)("Dashboard data for some services has been interrupted","google-site-kit"),description:C,learnMoreURL:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",learnMoreLabel:Object(l.__)("Learn more","google-site-kit")},T)}}).call(this,n(3))},286:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(4),a=n.n(r),i=n(12),o=n(52),c=n(287),l=a.a.useSelect;function DashboardNavigation(){var t=Object(o.a)();return void 0===l((function(e){return t?e(i.a).getViewableModules():null}))?null:e.createElement(c.a,null)}}).call(this,n(3))},287:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var a=n(24),i=n.n(a),o=n(13),c=n.n(o),l=n(98),s=n(141),u=n(8),d=n.n(u),g=n(219),f=n.n(g),m=n(2),p=n(1),h=n(4),b=n.n(h),v=n(288),O=n(289),_=n(290),y=n(291),k=n(23),E=n(12),j=n(40),w=n(34),S=n(92),N=n(91),C=n(43),T=n(132),D=n(10),A=n(20),M=n(52);function x(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 R(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 R(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 R(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=b.a.useSelect,P=b.a.useDispatch;function Navigation(){var t,n=Object(N.c)(),a=Object(m.useRef)(),o=Object(C.e)(),u=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),g=Object(m.useState)(u),h=c()(g,2),b=h[0],R=h[1],I=Object(m.useState)(u||void 0),z=c()(I,2),B=z[0],F=z[1],q=Object(m.useState)(!1),H=c()(q,2),W=H[0],U=H[1],V=Object(A.a)(),G=Object(M.a)(),K=P(w.b).setValue,X=L((function(e){return G?e(E.a).getViewableModules():null})),Y={modules:X||void 0},Q=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_TRAFFIC:S.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,Y)})),Z=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_CONTENT:S.CONTEXT_ENTITY_DASHBOARD_CONTENT,Y)})),$=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_SPEED:S.CONTEXT_ENTITY_DASHBOARD_SPEED,Y)})),J=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_MONETIZATION:S.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,Y)})),ee=Object(m.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.history.replaceState({},"","#".concat(a)),F(a),Object(D.y)("".concat(V,"_navigation"),"tab_select",a),e.scrollTo({top:a!==k.d?Object(T.a)("#".concat(a),o):0,behavior:"smooth"}),setTimeout((function(){K(w.a,a)}),50)}),[o,V,K]);return Object(l.a)((function(){var t=G?Q?k.d:Z?k.a:$?k.c:J?k.b:"":k.d;if(!u)return R(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=u;(function(e){return!(!Q||e!==k.d)||(!(!Z||e!==k.a)||(!(!$||e!==k.c)||!(!J||e!==k.b)))})(n)||(n=t),K(w.a,n),R(n),setTimeout((function(){e.scrollTo({top:n!==t?Object(T.a)("#".concat(n),o):0,behavior:"smooth"})}),50)})),Object(m.useEffect)((function(){var t=function(e){K(w.a,void 0),R(e),F(void 0)},n=f()((function(n){var r,o,c,l,s=e.scrollY,u=null===(r=document.querySelector(".googlesitekit-entity-header"))||void 0===r||null===(o=r.getBoundingClientRect())||void 0===o?void 0:o.bottom,d=null==a||null===(c=a.current)||void 0===c?void 0:c.getBoundingClientRect(),g=d.bottom,f=d.top,m=[].concat(i()(Q?[k.d]:[]),i()(Z?[k.a]:[]),i()($?[k.c]:[]),i()(J?[k.b]:[])),p=k.d;if(0===s)U(!1);else{var h,b=null===(h=document.querySelector(".googlesitekit-header"))||void 0===h?void 0:h.getBoundingClientRect().bottom;U(f===b)}var v,O=x(m);try{for(O.s();!(v=O.n()).done;){var _=v.value,y=document.getElementById(_);if(y){var E=y.getBoundingClientRect().top-20-(u||g||0);E<0&&(void 0===l||l<E)&&(l=E,p=_)}}}catch(e){O.e(e)}finally{O.f()}if(B)B===p&&t(p);else{var j=e.location.hash;p!==(null==j?void 0:j.substring(1))&&(n&&Object(D.y)("".concat(V,"_navigation"),"tab_scroll",p),e.history.replaceState({},"","#".concat(p)),t(p))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[B,Q,Z,$,J,V,K]),r.createElement("nav",{className:d()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":W}),ref:a},Q&&r.createElement(s.Chip,{id:k.d,label:Object(p.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"16"}),onClick:ee,selected:b===k.d,"data-context-id":k.d}),Z&&r.createElement(s.Chip,{id:k.a,label:Object(p.__)("Content","google-site-kit"),leadingIcon:r.createElement(O.a,{width:"18",height:"18"}),onClick:ee,selected:b===k.a,"data-context-id":k.a}),$&&r.createElement(s.Chip,{id:k.c,label:Object(p.__)("Speed","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"20",height:"16"}),onClick:ee,selected:b===k.c,"data-context-id":k.c}),J&&r.createElement(s.Chip,{id:k.b,label:Object(p.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(y.a,{width:"18",height:"16"}),onClick:ee,selected:b===k.b,"data-context-id":k.b}))}}).call(this,n(21),n(3))},288: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)}},289: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)}},29: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"},290: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)}},291: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)}},292:function(e,t,n){"use strict";(function(e,r){var a=n(13),i=n.n(a),o=n(219),c=n.n(o),l=n(1),s=n(2),u=n(4),d=n.n(u),g=n(18),f=n(15),m=n(293),p=n(39),h=n(22),b=n(50),v=n(10),O=n(91),_=n(20),y=d.a.useSelect,k=d.a.useDispatch;t.a=function EntityHeader(){var t=Object(_.a)(),n=Object(O.c)(),a=y((function(e){return e(f.c).getCurrentEntityTitle()})),o=y((function(e){return e(f.c).getCurrentEntityURL()})),u=Object(s.useRef)(),d=Object(s.useState)(o),E=i()(d,2),j=E[0],w=E[1];Object(s.useEffect)((function(){var t=function(){if(u.current){var t=u.current.clientWidth-40,n=e.getComputedStyle(u.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);w(Object(b.e)(o,r))}},n=c()(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[o,u,w]);var S=k(p.a).navigateTo,N=y((function(e){return e(f.c).getAdminURL("googlesitekit-dashboard")})),C=Object(s.useCallback)((function(){Object(v.y)("".concat(t,"_navigation"),"return_to_dashboard"),S(N)}),[N,S,t]);return O.a!==n||null===o||null===a?null:r.createElement("div",{className:"googlesitekit-entity-header"},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(g.a,{icon:r.createElement(m.a,{width:24,height:24}),"aria-label":Object(l.__)("Back to dashboard","google-site-kit"),onClick:C,text:!0},Object(l.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:u,className:"googlesitekit-entity-header__details"},r.createElement("p",null,a),r.createElement(h.a,{href:o,"aria-label":o,external:!0},j)))}}).call(this,n(21),n(3))},293: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)}},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var r=n(13),a=n.n(r),i=n(254),o=n(8),c=n.n(o),l=n(2),s=n(1),u=n(57),d=n(20),g=n(131),f=n(10),m=n(295),p=n(18),h=n(143),b=n(296),v=n(297),O=n(299),_=n(4),y=n.n(_),k=n(12),E=y.a.useSelect;function ViewOnlyMenu(){var t=Object(l.useState)(!1),n=a()(t,2),r=n[0],o=n[1],_=Object(l.useRef)(),y=Object(d.a)();Object(i.a)(_,(function(){return o(!1)})),Object(g.a)([u.d,u.f],_,(function(){return o(!1)}));var j=Object(l.useCallback)((function(){r||Object(f.y)("".concat(y,"_headerbar"),"open_viewonly"),o(!r)}),[r,y]),w=E((function(e){return e(k.a).hasCapability(k.c)}));return e.createElement("div",{ref:_,className:c()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":w})},e.createElement(p.a,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:j,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(m.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":r,"aria-controls":"view-only-menu","aria-label":Object(s.__)("View only","google-site-kit"),tooltip:!0},Object(s.__)("View only","google-site-kit")),e.createElement(h.a,{menuOpen:r,nonInteractive:!0,onSelected:j,id:"view-only-menu"},e.createElement(b.a,null),e.createElement(v.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(O.a,null)))}}).call(this,n(3))},295: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:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return r.createElement("svg",a({viewBox:"0 0 16 10",fill:"none"},e),i)}},296:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(2),l=n(76),s=n(1),u=n(4),d=n.n(u),g=n(39),f=n(15),m=n(12),p=n(10),h=n(18),b=n(22),v=n(20),O=d.a.useDispatch,_=d.a.useSelect;function Description(){var t=Object(v.a)(),n=_((function(e){return e(m.a).hasCapability(m.c)})),r=_((function(e){return e(f.c).getProxySetupURL()})),i=O(g.a).navigateTo,u=Object(c.useCallback)(function(){var e=o()(a.a.mark((function e(n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Object(p.y)("".concat(t,"_headerbar_viewonly"),"start_user_setup",r?"proxy":"custom-oauth");case 3:i(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,i,t]),d=Object(c.useCallback)((function(){Object(p.y)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),y=n?Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(b.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",external:!0,onClick:d,"aria-label":Object(s.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,y),n&&e.createElement(h.a,{onClick:u},Object(s.__)("Sign in with Google","google-site-kit")))}}).call(this,n(3))},297:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var r=n(1),a=n(4),i=n.n(a),o=n(12),c=n(298),l=i.a.useSelect;function SharedServices(){var t=l((function(e){return e(o.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(r.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(c.a,{key:t,module:t})}))))}}).call(this,n(3))},298:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var r=n(0),a=n.n(r),i=n(76),o=n(1),c=n(4),l=n.n(c),s=n(16),u=n(12),d=l.a.useSelect;function Service(t){var n=t.module,r=d((function(e){return e(u.a).hasCapability(u.c)})),a=d((function(e){return e(s.a).getModule(n)})),c=a.name,l=a.owner,g=d((function(e){return e(s.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(g,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},c),r&&(null==l?void 0:l.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(i.a)(Object(o.sprintf)(
48
  /* translators: %s: module owner Google Account email address */
49
+ Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),l.login),{strong:e.createElement("strong",null)})))}Service.propTypes={module:a.a.string.isRequired}}).call(this,n(3))},299:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(76),a=n(1),i=n(211),o=n(20);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(a.__)("Thanks for using Site Kit!<br />Help us make it even better.","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(i.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly")}))}}).call(this,n(3))},300: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)}},31:function(e,t){e.exports=googlesitekit.api},32:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return v}));var r=n(86),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,g=a.isAuthenticated,f={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:g,pluginVersion:"1.79.1"},m=Object(r.a)(f),p=m.enableTracking,h=m.disableTracking,b=(m.isTrackingEnabled,m.initializeSnippet),v=m.trackEvent;function O(e){e?p():h()}c&&l&&b()}).call(this,n(21))},324: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("ellipse",{cx:175.51,cy:381.74,rx:104,ry:8.26,fill:"#F1F3F4"}),o=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"}),c=r.createElement("path",{d:"M201.85 238.9l61.65 74a20 20 0 011 24.29l-30 42.81h32.13",stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:9.27}),l=r.createElement("path",{stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:9.27,d:"M214.03 222.14L114.03 380h-29.6"}),s=r.createElement("path",{stroke:"#185ABC",strokeLinejoin:"round",strokeWidth:9.27,d:"M201.85 238.9l46.71 56.1M214.03 222.14L167.87 295"}),u=r.createElement("path",{d:"M129.21 229.83l-11.7-42.66A50 50 0 01136 133.78L191 93a10 10 0 004-8V61.71M270.79 229.83l11.7-42.66A50 50 0 00264 133.78L209.05 93a10 10 0 01-4.05-8V61.71",stroke:"#4285F4",strokeLinejoin:"round",strokeWidth:9.27}),d=r.createElement("path",{d:"M199.87 289.41a81.45 81.45 0 0081.58-81.32l-162.9-.26a81.45 81.45 0 0081.32 81.58z",fill:"#1A73E8"}),g=r.createElement("path",{d:"M172.86 256.89c13.38 16.47 37.19 21.05 54.28 0",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6.66});t.a=function SvgZeroStateBlue(e){return r.createElement("svg",a({viewBox:"0 0 400 400",fill:"none"},e),i,o,c,l,s,u,d,g)}},326:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(33),i=(e._googlesitekitUserData||{}).hasMultipleAdmins,o=[{target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--view",title:Object(r.__)("Manage view access for other roles","google-site-kit"),content:Object(r.__)("Grant access to the view-only dashboard for each service for the specific roles you want. Users will see the Site Kit dashboard with only the services that have been shared with them without needing to sign-in with Google.","google-site-kit"),placement:"auto"}];i&&o.push({target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--manage",title:Object(r.__)("Share management with other admins","google-site-kit"),content:Object(r.__)("By default only the user who connects a service can control who it is shared with. This setting optionally lets these users allow any other admin signed in with Google to manage the roles a service is shared with.","google-site-kit"),placement:"auto"}),t.a={slug:"dashboardSharingSettings",gaEventCategory:function(e){return"".concat(e,"_dashboard-sharing")},checkRequirements:function(){return Object(a.b)("dashboardSharing")},steps:o}}).call(this,n(21))},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(21))},330:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(8),o=n.n(i),c=n(4),l=n.n(c),s=n(455),u=n(12),d=n(40),g=n(9),f=n(52),m=l.a.useSelect,p=function WidgetContextRenderer(t){var n=t.id,r=t.slug,a=t.className,i=t.Header,c=t.Footer,l=Object(f.a)(),p=m((function(e){return l?e(u.a).getViewableModules():null})),h=m((function(e){return r?e(d.a).getWidgetAreas(r):null})),b=m((function(e){return!!r&&e(d.a).isWidgetContextActive(r,{modules:p||void 0})}));return void 0===p?null:e.createElement("div",{id:n,className:o()("googlesitekit-widget-context",{"googlesitekit-hidden":!b},a)},i&&b&&e.createElement(g.e,null,e.createElement(g.o,null,e.createElement(g.a,{size:12},e.createElement(i,null)))),h&&h.map((function(t){return e.createElement(s.a,{key:t.slug,slug:t.slug,contextID:n})})),c&&b&&e.createElement(g.e,null,e.createElement(g.o,null,e.createElement(g.a,{size:12},e.createElement(c,null)))))};p.propTypes={id:a.a.string,slug:a.a.string,className:a.a.string,Header:a.a.elementType,Footer:a.a.elementType},t.a=p}).call(this,n(3))},335:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return DashboardSharingSettingsButton}));var r=n(478),a=n(1),i=n(162),o=n(613),c=n(2),l=n(76),s=n(4),u=n.n(s),d=n(22),g=n(18),f=n(95),m=n(253),p=n(363),h=n(20),b=n(365),v=n(10),O=n(34),_=n(15),y=n(16),k=n(43),E=n(9),j=n(136),w=n(12),S=n(326),N=u.a.useSelect,C=u.a.useDispatch,T="dashboardSharingDialogOpen";function DashboardSharingSettingsButton(){var t=Object(h.a)(),n=Object(k.e)(),s=Object(r.a)().y,u=C(O.b).setValue,D=N((function(e){return!!e(O.b).getValue(T)})),A=N((function(e){return e(_.c).hasMultipleAdmins()})),M=N((function(e){return e(y.a).haveSharingSettingsChanged()})),x=N((function(e){return e(O.b).getValue(j.a)})),R=Object(c.useCallback)((function(){Object(v.y)("".concat(t,"_headerbar"),"open_sharing",A?"advanced":"simple"),u(T,!0)}),[u,t,A]),L=Object(c.useCallback)((function(){u(T,!1),u(j.a,void 0)}),[u]),P=C(y.a).rollbackSharingSettings;Object(c.useEffect)((function(){!D&&M&&P()}),[D,M,P]);var I=Object(c.useRef)(),z=C(w.a).triggerOnDemandTour;Object(c.useEffect)((function(){D&&!I.current&&(I.current=!0,z(S.a))}),[D,z]);var B={};return n===k.b&&(B.top="".concat(s<46?46-s:0,"px"),B.height="calc(100% - 46px + ".concat(s<46?s:46,"px)")),e.createElement(c.Fragment,null,e.createElement(g.a,{"aria-label":Object(a.__)("Open sharing settings","google-site-kit"),className:"googlesitekit-sharing-settings__button googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon",onClick:R,icon:e.createElement(m.a,{width:20,height:20})}),e.createElement(f.a,null,e.createElement(E.b,{open:D,onClose:L,className:"googlesitekit-dialog googlesitekit-sharing-settings-dialog",style:B,escapeKeyAction:void 0===x?"close":""},e.createElement("div",{className:"googlesitekit-dialog__back-wrapper","aria-hidden":n!==k.b},e.createElement(g.a,{"aria-label":Object(a.__)("Back","google-site-kit"),className:"googlesitekit-dialog__back",onClick:L},e.createElement(i.a,{icon:o.a}))),e.createElement(E.c,{className:"googlesitekit-dialog__content"},e.createElement("div",{className:"googlesitekit-dialog__header"},e.createElement("div",{className:"googlesitekit-dialog__header-icon","aria-hidden":n===k.b},e.createElement("span",null,e.createElement(m.a,{width:20,height:20}))),e.createElement("div",{className:"googlesitekit-dialog__header-titles"},e.createElement("h2",{className:"googlesitekit-dialog__title"},Object(a.__)("Dashboard sharing & permissions","google-site-kit")),e.createElement("p",{className:"googlesitekit-dialog__subtitle"},Object(l.a)(Object(a.__)("Share a view-only version of your Site Kit dashboard with other WordPress roles. <a>Learn more</a>","google-site-kit"),{a:e.createElement(d.a,{"aria-label":Object(a.__)("Learn more about dashboard sharing","google-site-kit"),href:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",external:!0})})))),e.createElement("div",{className:"googlesitekit-dialog__main"},e.createElement(b.a,null))),e.createElement(E.d,{className:"googlesitekit-dialog__footer"},e.createElement(p.a,{closeDialog:L})))))}}).call(this,n(3))},34:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},363:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(13),l=n.n(c),s=n(0),u=n.n(s),d=n(1),g=n(2),f=n(4),m=n.n(f),p=n(22),h=n(18),b=n(364),v=n(16),O=n(34),_=n(81),y=n(136),k=n(90),E=n(10),j=n(20),w=m.a.useSelect,S=m.a.useDispatch;function Footer(t){var n=t.closeDialog,r=Object(j.a)(),i=Object(g.useState)(null),c=l()(i,2),s=c[0],u=c[1],f=w((function(e){return e(v.a).canSubmitSharingChanges()})),m=w((function(e){return e(v.a).isDoingSubmitSharingChanges()})),N=S(v.a).saveSharingSettings,C=S(O.b).setValue,T=Object(g.useCallback)(o()(a.a.mark((function e(){var t,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u(null),e.next=3,N();case 3:if(t=e.sent,!(i=t.error)){e.next=8;break}return u(i.message),e.abrupt("return");case 8:Object(E.y)("".concat(r,"_sharing"),"settings_confirm"),C(y.a,void 0),n();case 11:case"end":return e.stop()}}),e)}))),[r,N,C,n]),D=Object(g.useCallback)((function(){Object(E.y)("".concat(r,"_sharing"),"settings_cancel"),n()}),[n,r]);return e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer"},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-notice"},s&&e.createElement(k.a,{message:s}),!s&&e.createElement(b.a,null)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions"},e.createElement(p.a,{onClick:D},Object(d.__)("Cancel","google-site-kit")),e.createElement(h.a,{onClick:T,disabled:m||!f},Object(d.__)("Apply","google-site-kit"),m&&e.createElement(_.a,{isSaving:m}))))}Footer.propTypes={closeDialog:u.a.func.isRequired}}).call(this,n(3))},364:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notice}));var r=n(1),a=n(76),i=n(4),o=n.n(i),c=n(16),l=o.a.useSelect;function Notice(){var t=l((function(e){return e(c.a).canSubmitSharingChanges()})),n=l((function(e){return e(c.a).haveSharingSettingsExpanded("management")})),i=l((function(e){return e(c.a).haveSharingSettingsExpanded("sharedRoles")}));return e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__notice"},n&&t&&Object(a.a)(Object(r.__)("By clicking <strong>Apply</strong>, you will give other authenticated admins of your site permission to manage view-only access to Site Kit Dashboard data from the chosen Google service.","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),!n&&t&&i&&Object(a.a)(Object(r.__)("By clicking <strong>Apply</strong>, you’re granting the selected roles view-only access to data from the Google services you’ve connected via your account.","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}))}}).call(this,n(3))},365:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardSharingSettings}));var a=n(8),i=n.n(a),o=n(1),c=n(4),l=n.n(c),s=n(366),u=n(16),d=n(15),g=n(12);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 m(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 m(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 m(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 p=l.a.useSelect;function DashboardSharingSettings(){var t=p((function(e){return e(d.c).hasMultipleAdmins()})),n=p((function(t){var n=t(u.a).getModules();if(void 0!==n){var r,a=t(g.a).getID(),i=[],o=[],c=[],l=f(Object.values(n).filter((function(e){return e.shareable})));try{for(l.s();!(r=l.n()).done;){var s;(null===(s=(e=r.value).owner)||void 0===s?void 0:s.id)===a?i.push(e):t(g.a).hasCapability(g.e,e.slug)?o.push(e):c.push(e)}}catch(e){l.e(e)}finally{l.f()}return[].concat(i,o,c)}}));return void 0===n?null:r.createElement("div",{className:i()("googlesitekit-dashboard-sharing-settings",{"googlesitekit-dashboard-sharing-settings--has-multiple-admins":t})},r.createElement("header",{className:"googlesitekit-dashboard-sharing-settings__header googlesitekit-dashboard-sharing-settings__row"},r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},Object(o.__)("Product","google-site-kit")),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},Object(o.__)("Who can view","google-site-kit")),t&&r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},Object(o.__)("Who can manage view access","google-site-kit"))),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__main"},n.map((function(e){var t=e.slug,n=e.name,a=e.owner;return r.createElement(s.a,{key:t,moduleSlug:t,moduleName:n,ownerUsername:null==a?void 0:a.login})}))))}}).call(this,n(483)(e),n(3))},366:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Module}));var r=n(13),a=n.n(r),i=n(0),o=n.n(i),c=n(8),l=n.n(c),s=n(210),u=n(1),d=n(162),g=n(435),f=n(2),m=n(76),p=n(4),h=n.n(p),b=n(145),v=n(367),O=n(9),_=n(20),y=n(16),k=n(15),E=n(34),j=n(136),w=n(10),S=n(12),N=h.a.useSelect,C=h.a.useDispatch,T=[{value:"owner",label:Object(u.__)("Only me","google-site-kit")},{value:"all_admins",label:Object(u.__)("Any admin signed in with Google","google-site-kit")}];function Module(t){var n=t.moduleSlug,r=t.moduleName,i=t.ownerUsername,o=Object(_.a)(),c=Object(f.useRef)(),p=Object(f.useState)(void 0),h=a()(p,2),D=h[0],A=h[1],M=N((function(e){return e(k.c).hasMultipleAdmins()})),x=N((function(e){var t;return null!==(t=e(y.a).getSharingManagement(n))&&void 0!==t?t:"owner"})),R=N((function(e){return e(S.a).hasCapability(S.d,n)})),L=N((function(e){return e(S.a).hasCapability(S.e,n)})),P=N((function(e){return e(y.a).getSharedOwnershipModules()})),I=N((function(e){return e(E.b).getValue(j.a)})),z=N((function(e){return e(y.a).isDoingSubmitSharingChanges()})),B=C(y.a).setSharingManagement,F=P&&Object.keys(P).includes(n);Object(f.useEffect)((function(){A(F?"all_admins":x)}),[x,F]);var q=Object(f.useCallback)((function(e){var t=e.target.value;A(t),B(n,t),Object(w.y)("".concat(o,"_sharing"),"change_management_".concat(t),n)}),[B,A,n,o]),H=n===I,W=!H&&void 0!==I||z;return e.createElement("div",{className:l()("googlesitekit-dashboard-sharing-settings__module","googlesitekit-dashboard-sharing-settings__row",{"googlesitekit-dashboard-sharing-settings__row--editing":H,"googlesitekit-dashboard-sharing-settings__row--disabled":W}),ref:c},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},e.createElement(b.a,{slug:n,size:48}),e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__module-name"},r)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},L&&e.createElement(v.a,{moduleSlug:n,isLocked:W,ref:c}),!L&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(u.__)("Contact managing user to manage view access","google-site-kit"))),M&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},F&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},e.createElement("span",null,Object(u.__)("Any admin signed in with Google","google-site-kit")),e.createElement(s.a,{title:Object(u.__)("This service requires general access to Google APIs rather than access to a specific user-owned property/entity, so view access is manageable by any admin signed in with Google.","google-site-kit"),classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(d.a,{icon:g.a,size:18})))),!F&&R&&e.createElement(O.p,{className:"googlesitekit-dashboard-sharing-settings__select",value:D,options:T,onChange:q,onClick:q,outlined:!0}),!F&&!R&&i&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(m.a)(Object(u.sprintf)(
50
  /* translators: %s: user who manages the module. */
51
  Object(u.__)("<span>Managed by</span> <strong>%s</strong>","google-site-kit"),i),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),e.createElement(s.a,{title:L?Object(u.sprintf)(
52
  /* translators: %s: name of the user who manages the module. */
53
  Object(u.__)("%s has connected this and given managing permissions to all admins. You can change who can view this on the dashboard.","google-site-kit"),i):Object(u.sprintf)(
54
  /* translators: %s: name of the user who manages the module. */
55
+ Object(u.__)("Contact %s to change who can manage view access for this module.","google-site-kit"),i),classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(d.a,{icon:g.a,size:18}))))))}Module.propTypes={moduleSlug:o.a.string.isRequired,moduleName:o.a.string.isRequired,ownerUsername:o.a.string}}).call(this,n(3))},367:function(e,t,n){"use strict";(function(e){var r=n(24),a=n.n(r),i=n(13),o=n.n(i),c=n(0),l=n.n(c),s=n(8),u=n.n(s),d=n(141),g=n(127),f=n.n(g),m=n(1),p=n(57),h=n(2),b=n(4),v=n.n(b),O=n(18),_=n(22),y=n(253),k=n(142),E=n(20),j=n(131),w=n(10),S=n(16),N=n(34),C=n(136),T=v.a.useSelect,D=v.a.useDispatch,A=Object(m.__)("All","google-site-kit"),M=Object(h.forwardRef)((function(t,n){var r=t.moduleSlug,i=t.isLocked,c=void 0!==i&&i,l=Object(E.a)(),s=Object(h.useRef)(),g=Object(h.useState)([]),b=o()(g,2),v=b[0],M=b[1],x=D(S.a).setSharedRoles,R=D(N.b).setValue,L=T((function(e){return e(S.a).getShareableRoles()})),P=T((function(e){return e(S.a).getSharedRoles(r)})),I=T((function(e){return e(N.b).getValue(C.a)}))===r;Object(j.a)([p.d],n,(function(){I&&(R(C.a,void 0),s.current.focus())}));var z=Object(h.useCallback)((function(){I?(M(a()(P||[]).sort()),R(C.a,void 0)):(f()(a()(P||[]).sort(),v)||Object(w.y)("".concat(l,"_sharing"),"change_shared_roles",r),R(C.a,r))}),[I,P,v,l,r,R]),B=Object(h.useCallback)((function(e){var t,n=e.type,i=e.target,o=e.keyCode;if("keyup"!==n||o===p.c){var c,l=i.closest(".mdc-chip"),s=null==l||null===(t=l.dataset)||void 0===t?void 0:t.chipId;if(s)c="all"===s?(null==P?void 0:P.length)===(null==L?void 0:L.length)?[]:L.map((function(e){return e.id})):null===P?[s]:P.includes(s)?P.filter((function(e){return e!==s})):[].concat(a()(P),[s]),x(r,c)}}),[r,x,P,L]);return L?e.createElement("div",{className:u()("googlesitekit-user-role-select",{"googlesitekit-user-role-select--open":I})},e.createElement(O.a,{"aria-label":I?Object(m.__)("Close","google-site-kit"):Object(m.__)("Edit roles","google-site-kit"),className:"googlesitekit-user-role-select__button",onClick:z,icon:I?e.createElement(k.a,{width:18,height:18}):e.createElement(y.a,{width:23,height:23}),tabIndex:c?-1:void 0,ref:s}),!I&&(null==P?void 0:P.length)>0&&e.createElement("span",{className:"googlesitekit-user-role-select__current-roles"},(null==L?void 0:L.reduce((function(e,t){return P.includes(t.id)&&e.push(t.displayName),e}),[])).join(", ")),!I&&(!P||0===(null==P?void 0:P.length))&&e.createElement("span",{className:"googlesitekit-user-role-select__add-roles"},e.createElement(_.a,{onClick:function(){s.current.focus(),z()},tabIndex:c?-1:void 0},Object(m.__)("Add roles","google-site-kit"))),I&&e.createElement("div",{className:"googlesitekit-user-role-select__chipset"},e.createElement(d.Chip,{chipCheckmark:e.createElement(d.ChipCheckmark,null),"data-chip-id":"all",id:"all",label:A,onClick:B,onKeyUp:B,selected:(null==P?void 0:P.length)===(null==L?void 0:L.length),className:"googlesitekit-user-role-select__chip googlesitekit-user-role-select__chip--all"}),L.map((function(t,n){var r=t.id,a=t.displayName;return e.createElement(d.Chip,{chipCheckmark:e.createElement(d.ChipCheckmark,null),"data-chip-id":r,id:r,key:n,label:a,onClick:B,onKeyUp:B,selected:null==P?void 0:P.includes(r),className:"googlesitekit-user-role-select__chip"})})))):null}));M.propTypes={moduleSlug:l.a.string.isRequired,isLocked:l.a.bool},t.a=M}).call(this,n(3))},368:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(13),l=n.n(c),s=n(0),u=n.n(s),d=n(173),g=n(2),f=n(1),m=n(57),p=n(31),h=n.n(p),b=n(4),v=n.n(b),O=n(369),_=n(15),y=v.a.useSelect,k=function(){};function PostSearcherAutoSuggest(t){var n=t.id,r=t.match,i=t.setMatch,c=t.isLoading,s=t.showDropdown,u=void 0===s||s,p=t.setIsLoading,b=void 0===p?k:p,v=t.setIsActive,E=void 0===v?k:v,j=t.autoFocus,w=t.setCanSubmit,S=void 0===w?k:w,N=t.onClose,C=void 0===N?k:N,T=t.placeholder,D=void 0===T?"":T,A=Object(g.useRef)(),M=Object(g.useState)(""),x=l()(M,2),R=x[0],L=x[1],P=null==r?void 0:r.title,I=Object(O.a)(R,R===P?0:200),z=Object(g.useState)([]),B=l()(z,2),F=B[0],q=B[1],H=Object(f.__)("No results found","google-site-kit"),W=y((function(e){return e(_.c).getCurrentEntityTitle()})),U=Object(g.useRef)(null),V=Object(g.useCallback)((function(){E(!0)}),[E]),G=Object(g.useCallback)((function(e){var t,n,r;(null===(t=e.relatedTarget)||void 0===t?void 0:t.classList.contains("autocomplete__option--result"))||(E(!1),L(null!==(n=null!==(r=U.current)&&void 0!==r?r:W)&&void 0!==n?n:""))}),[W,E]),K=Object(g.useCallback)((function(e){if(Array.isArray(F)&&e!==H){var t=F.find((function(t){return t.title.toLowerCase()===e.toLowerCase()}));t?(U.current=t.title,S(!0),i(t),L(t.title)):U.current=null}else U.current=null,S(!1)}),[F,S,i,H,L]),X=Object(g.useCallback)((function(e){S(!1),L(e.target.value)}),[S]);Object(g.useEffect)((function(){if(""!==I&&I!==W&&(null==I?void 0:I.toLowerCase())!==(null==P?void 0:P.toLowerCase())){var e="undefined"==typeof AbortController?void 0:new AbortController;return(t=o()(a.a.mark((function t(){var n,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return b(!0),n=h.a.get("core","search","entity-search",{query:encodeURIComponent(I)},{useCache:!1,signal:null==e?void 0:e.signal}),A.current=n,t.prev=3,t.next=6,n;case 6:r=t.sent,q(r),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(3),q(null);case 13:return t.prev=13,n===A.current&&b(!1),t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[3,10,13,16]])}))),function(){return t.apply(this,arguments)})(),function(){return null==e?void 0:e.abort()}}var t}),[I,b,W,P]),Object(g.useEffect)((function(){R||q([])}),[R]),Object(g.useEffect)((function(){W&&L(W)}),[W]);var Y=Object(g.useRef)(),Q=Object(g.useCallback)((function(e){var t=Y.current;switch(e.keyCode){case m.e:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=0,t.selectionEnd=0);break;case m.b:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=t.value.length,t.selectionEnd=t.value.length)}switch(e.keyCode){case m.d:return C();case m.c:return K(R)}}),[C,K,R]);return e.createElement(d.a,{className:"autocomplete__wrapper",onSelect:K},e.createElement(d.b,{ref:Y,id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onBlur:G,onChange:X,onFocus:V,placeholder:D,onKeyDown:Q,value:R,autoFocus:j}),!c&&u&&I!==W&&""!==I&&0===(null==F?void 0:F.length)&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(d.d,{value:H,className:"autocomplete__option autocomplete__option--no-results"}))),u&&""!==I&&I!==W&&(null==F?void 0:F.length)>0&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},F.map((function(t){var n=t.id,r=t.title;return e.createElement(d.d,{key:n,value:r,className:"autocomplete__option autocomplete__option--result"})})))))}PostSearcherAutoSuggest.propTypes={id:u.a.string,match:u.a.object,setCanSubmit:u.a.func,setMatch:u.a.func,isLoading:u.a.bool,setIsLoading:u.a.func,onKeyDown:u.a.func,autoFocus:u.a.bool,placeholder:u.a.string}}).call(this,n(3))},369:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(13),a=n.n(r),i=n(2);function o(e,t){var n=Object(i.useState)(e),r=a()(n,2),o=r[0],c=r[1];return Object(i.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),o}},37:function(e,t,n){"use strict";n.d(t,"t",(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 l})),n.d(t,"j",(function(){return s})),n.d(t,"p",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return g})),n.d(t,"d",(function(){return f})),n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return p})),n.d(t,"g",(function(){return h})),n.d(t,"f",(function(){return b})),n.d(t,"h",(function(){return v})),n.d(t,"o",(function(){return O})),n.d(t,"n",(function(){return _})),n.d(t,"r",(function(){return y})),n.d(t,"s",(function(){return k})),n.d(t,"q",(function(){return E}));var r=n(23),a="modules/idea-hub",i="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",g="IDEA_HUB_ACTIVITY_DRAFT_CREATED",f="IDEA_HUB_ACTIVITY_IS_DELETING",m="IDEA_HUB_ACTIVITY_DELETED",p="IDEA_HUB_ACTIVITY_IS_PINNING",h="IDEA_HUB_ACTIVITY_PINNED",b="IDEA_HUB_ACTIVITY_IS_UNPINNING",v="IDEA_HUB_ACTIVITY_UNPINNED",O="".concat(r.p,"_idea-hub-saved-ideas-notification"),_="".concat(r.m,"_idea-hub"),y="new-ideas",k="saved-ideas",E="draft-ideas"},376: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:"M128.91 163c-12.56 3.66-25.8 10.57-31.82 22.81-6.35 12.93-1.46 28.49 10.19 36.65M271.09 163c12.56 3.66 25.8 10.57 31.82 22.81 6.35 12.93 1.46 28.49-10.19 36.65",stroke:"#EE675C",strokeLinejoin:"round",strokeWidth:9.27}),o=r.createElement("ellipse",{cx:200,cy:381.74,rx:79.51,ry:8.26,fill:"#F1F3F4"}),c=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"}),l=r.createElement("path",{d:"M216.76 201.8s-64.53 36.51-77.35 71.84c-4.72 13 3.53 27.36 17.27 29 11.31 1.39 28.4-3.14 53.06-24.33v31.36",stroke:"#C5221F",strokeLinejoin:"round",strokeWidth:9.27}),s=r.createElement("path",{d:"M216.76 201.8s-35.21 19.92-58.76 44.56",stroke:"#B31412",strokeLinejoin:"round",strokeWidth:9.27}),u=r.createElement("path",{stroke:"#C5221F",strokeLinejoin:"round",strokeWidth:9.27,d:"M218.98 201.47V380h29.52"}),d=r.createElement("path",{stroke:"#B31412",strokeLinejoin:"round",strokeWidth:9.27,d:"M218.98 201.47v47.5"}),g=r.createElement("circle",{cx:200,cy:162.34,r:81.45,fill:"#D93025"}),f=r.createElement("path",{d:"M206.36 156.18c-18.33 10.42-42 6.07-50.25-19.59M164.26 137.72c-5.22-2.69-9-2.82-16.17-.91",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6.62}),m=r.createElement("path",{d:"M107.28 222.48c28.36 19.87 76.07-7.28 88.72-35.17M292.72 222.48c-28.36 19.87-76.07-7.28-88.72-35.17",stroke:"#EE675C",strokeLinejoin:"round",strokeWidth:9.27});t.a=function SvgZeroStateRed(e){return r.createElement("svg",a({viewBox:"0 0 400 400",fill:"none"},e),i,o,c,l,s,u,d,g,f,m)}},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},4:function(e,t){e.exports=googlesitekit.data},40: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"},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),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))}},427:function(e,t,n){"use strict";n.d(t,"a",(function(){return ScrollEffect}));var r=n(467);function ScrollEffect(){return Object(r.a)(),null}},43:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(129),a="xlarge",i="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},44:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return v})),n.d(t,"a",(function(){return O})),n.d(t,"c",(function(){return _}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=(n(24),n(10));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,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 u,d="googlesitekit_".concat("1.79.1","_"),g=["sessionStorage","localStorage"],f=[].concat(g),m=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 h.apply(this,arguments)}function h(){return(h=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===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,m(i);case 11:if(!t.sent){t.next=13;break}u=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===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=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(d).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)}}(),v=function(){var t=o()(a.a.mark((function t(n,r){var i,o,l,s,u,g,f,m,h=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},o=i.ttl,l=void 0===o?c.b:o,s=i.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,g=i.isError,f=void 0!==g&&g,t.next=3,p();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(d).concat(n),JSON.stringify({timestamp:u,ttl:l,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)}}(),O=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(d).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)}}(),_=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(d)&&r.push(o.substring(d.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(21))},447:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IdeaHubPromptSVG}));var r=n(2),a=n(96),i=Object(r.lazy)((function(){return n.e(34).then(n.bind(null,884))}));function IdeaHubPromptSVG(t){return e.createElement(r.Suspense,{fallback:e.createElement(a.a,{width:"100%",height:"39.77%"})},e.createElement(i,t))}}).call(this,n(3))},45:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ProgressBar}));var r=n(0),a=n.n(r),i=n(8),o=n.n(i);function ProgressBar(t){var n=t.className,r=t.small,a=t.compress,i=t.indeterminate,c=t.height,l=t.progress,s=void 0!==c?Math.round(c/2):void 0,u=l?"scaleX(".concat(l,")"):void 0;return e.createElement("div",{role:"progressbar",style:{marginTop:s,marginBottom:s},className:o()("mdc-linear-progress",n,{"mdc-linear-progress--indeterminate":i,"mdc-linear-progress--small":r,"mdc-linear-progress--compress":a})},e.createElement("div",{className:"mdc-linear-progress__buffering-dots"}),e.createElement("div",{className:"mdc-linear-progress__buffer"}),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__primary-bar",style:{transform:u}},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__secondary-bar"},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})))}ProgressBar.propTypes={className:a.a.string,small:a.a.bool,compress:a.a.bool,indeterminate:a.a.bool,progress:a.a.number,height:a.a.number},ProgressBar.defaultProps={className:"",small:!1,compress:!1,indeterminate:!0,progress:0}}).call(this,n(3))},453:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputSettings}));var r=n(0),a=n.n(r),i=n(148),o=n(1),c=n(4),l=n.n(c),s=n(56),u=n(10),d=n(12),g=n(15),f=n(454),m=l.a.useSelect;function UserInputSettings(t){var n=t.onCTAClick,r=t.onDismiss,a=t.isDismissible,c=t.rounded,l=void 0!==c&&c,p=Object(i.a)(UserInputSettings),h=m((function(e){return e(g.c).getAdminURL("googlesitekit-user-input")}));return"completed"===m((function(e){return e(d.a).getUserInputState()}))?null:e.createElement(s.b,{id:"user-input-settings-notification-".concat(p),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.n)("hour"),ctaLink:h,ctaLabel:Object(o.__)("Let’s go","google-site-kit"),onCTAClick:n,dismiss:Object(o.__)("Remind me later","google-site-kit"),WinImageSVG:f.a,isDismissible:a,onDismiss:r,rounded:l})}UserInputSettings.propTypes={onCTAClick:a.a.func,onDismiss:a.a.func,isDismissible:a.a.bool,rounded:a.a.bool}}).call(this,n(3))},454: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:"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"}),g=r.createElement("circle",{cx:336.18,cy:24.68,r:5.32,fill:"#FFF"}),f=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}),h=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"}),v=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}),O=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"}),y=r.createElement("path",{fill:"#DADCE0",d:"M328.59 164.62l25.17 22.94-34.15-3.03 8.98-19.91z"}),k=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",a({viewBox:"0 0 570 336",fill:"none"},e),i,o,c,l,s,u,d,g,f,m,p,h,b,v,O,_,y,k,E,j,w,S)}},455:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(13),a=n.n(r),i=n(6),o=n.n(i),c=n(0),l=n.n(c),s=n(8),u=n.n(s),d=n(391),g=n(2),f=n(4),m=n.n(f),p=n(244),h=n(132),b=n(40),v=n(34),O=n(9),_=n(43),y=n(156),k=n(456),E=n(458),j=n(52),w=n(12),S=m.a.useSelect;function N(e){var t,n=(t={},o()(t,_.d,48),o()(t,_.a,48),o()(t,_.c,32),o()(t,_.b,32),t)[e],r=Math.abs(Object(h.b)(e)+n);return"-".concat(r,"px -").concat(n,"px -").concat(n,"px -").concat(n,"px")}function WidgetAreaRenderer(t){var n=t.slug,r=t.contextID,i=Object(j.a)(),c=S((function(e){return i?e(w.a).getViewableModules():null})),l=Object(_.e)(),s=Object(g.useRef)(),f=Object(d.a)(s,{rootMargin:N(l),threshold:0}),m=S((function(e){return e(b.a).getWidgetArea(n)})),h=S((function(e){return e(b.a).getWidgets(n,{modules:c||void 0})})),C=S((function(e){return e(b.a).getWidgetStates()})),T=S((function(e){return e(b.a).isWidgetAreaActive(n,{modules:c||void 0})})),D=S((function(e){return e(v.b).getValue(v.a)})),A=Object(g.useState)({key:"WidgetAreaRenderer-".concat(n),value:D?D===r:!!(null==f?void 0:f.intersectionRatio)}),M=a()(A,2),x=M[0],R=M[1];if(Object(g.useEffect)((function(){R({key:"WidgetAreaRenderer-".concat(n),value:D?D===r:!!(null==f?void 0:f.intersectionRatio)})}),[f,n,D,r]),void 0===c)return null;var L,P=Object(p.d)(h,C),I=P.columnWidths,z=P.rowIndexes,B=Object(p.b)(h,C,{columnWidths:I,rowIndexes:z}),F=B.gridColumnWidths,q=B.overrideComponents,H=h.map((function(t,n){return e.createElement(E.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:F[n]},e.createElement(k.a,{OverrideComponent:q[n]?function(){var t=q[n],r=t.Component,a=t.metadata;return e.createElement(r,a)}:void 0,slug:t.slug}))})),W=m.Icon,U=m.title,V=m.style,G=m.subtitle;return T?e.createElement(y.a,{value:x},e.createElement(O.e,{className:u()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(n),"googlesitekit-widget-area--".concat(V)),ref:s},e.createElement(O.o,null,e.createElement(O.a,{className:"googlesitekit-widget-area-header",size:12},W&&e.createElement(W,{width:33,height:33}),U&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},U),G&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},G))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(O.o,null,V===b.b.BOXES&&H,V===b.b.COMPOSITE&&e.createElement(O.a,{size:12},e.createElement(O.e,null,e.createElement(O.o,null,H))))))):e.createElement(O.e,{className:u()(p.a,"googlesitekit-widget-area",(L={},o()(L,"googlesitekit-widget-area--".concat(n),!!n),o()(L,"googlesitekit-widget-area--".concat(V),!!V),L)),ref:s},H)}WidgetAreaRenderer.propTypes={slug:l.a.string.isRequired,contextID:l.a.string}}).call(this,n(3))},456:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(422),o=n.n(i),c=n(2),l=n(4),s=n.n(l),u=n(40),d=n(16),g=n(236),f=n(457),m=n(244),p=n(116),h=n(52),b=n(60),v=s.a.useSelect,O=function WidgetRenderer(t){var n=t.slug,r=t.OverrideComponent,a=Object(b.a)("dashboardSharing"),i=v((function(e){return e(u.a).getWidget(n)})),l=Object(m.c)(n),s=l.Widget,O=l.WidgetNull,_=v((function(e){return a&&e(d.a).getRecoverableModules()})),y=Object(h.a)(),k=Object(c.useMemo)((function(){return i&&_&&o()(i.modules,Object.keys(_))}),[_,i]);if(!i)return e.createElement(O,null);var E=i.Component,j=i.wrapWidget,w=e.createElement(E,l);return y&&(null==k?void 0:k.length)&&(w=e.createElement(f.a,{widgetSlug:n,moduleSlugs:k})),r?w=e.createElement(c.Fragment,null,e.createElement(g.a,{widgetSlug:"overridden"},e.createElement(r,null)),e.createElement("div",{className:p.a},w)):j&&(w=e.createElement(s,null,w)),w};O.propTypes={slug:a.a.string.isRequired,OverrideComponent:a.a.elementType},t.a=O}).call(this,n(3))},457:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(24),l=n.n(c),s=n(19),u=n.n(s),d=n(0),g=n.n(d),f=n(2),m=n(123),p=n(170);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,r=t.moduleSlugs,a=u()(t,["widgetSlug","moduleSlugs"]),i=Object(f.useMemo)((function(){return{moduleSlug:l()(r).sort().join(","),moduleSlugs:r}}),[r]);return Object(m.a)(n,p.a,i),e.createElement(p.a,o()({moduleSlugs:r},a))}WidgetRecoverableModules.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:g.a.string.isRequired},p.a.propTypes)}).call(this,n(3))},458:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(116),o=n(9),c=function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:i.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:a.a.number.isRequired,children:a.a.element.isRequired},t.a=c}).call(this,n(3))},459:function(e,t,n){"use strict";(function(e){var r=n(13),a=n.n(r),i=n(98),o=n(402),c=n(148),l=n(2),s=n(1),u=n(4),d=n.n(u),g=n(18),f=n(45),m=n(62),p=n(460),h=n(461),b=n(368),v=n(15),O=n(39),_=n(10),y=n(91),k=n(20),E=d.a.useSelect,j=d.a.useDispatch;t.a=function EntitySearchInput(){var t=Object(c.a)(EntitySearchInput,"EntitySearchInput"),n=Object(l.useState)(!1),r=a()(n,2),u=r[0],d=r[1],w=Object(l.useState)(!1),S=a()(w,2),N=S[0],C=S[1],T=Object(l.useState)(!1),D=a()(T,2),A=D[0],M=D[1],x=Object(k.a)(),R=Object(y.c)(),L=Object(l.useRef)(),P=Object(l.useCallback)((function(){Object(_.y)("".concat(x,"_headerbar"),"open_urlsearch"),d(!0)}),[x]),I=Object(l.useCallback)((function(){Object(_.y)("".concat(x,"_headerbar"),"close_urlsearch"),d(!1)}),[x]),z=Object(l.useState)({}),B=a()(z,2),F=B[0],q=B[1],H=E((function(e){return(null==F?void 0:F.url)?e(v.c).getAdminURL("googlesitekit-dashboard",{permaLink:F.url}):null})),W=j(O.a).navigateTo;return Object(l.useEffect)((function(){H&&Object(_.y)("".concat(x,"_headerbar_urlsearch"),"open_urldetails").finally((function(){W(H)}))}),[H,W,x]),Object(i.a)((function(){R===y.a&&d(!0)})),Object(o.a)((function(){var e;u||(null==L||null===(e=L.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:F,setIsActive:M,setMatch:q,placeholder:Object(s.__)("Enter title or URL…","google-site-kit"),isLoading:N,setIsLoading:C,showDropdown:A,onClose:I,autoFocus:!0}),N&&A&&e.createElement(f.a,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(g.a,{onClick:I,trailingIcon:e.createElement(h.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(g.a,{className:"googlesitekit-border-radius-round--phone googlesitekit-button-icon--phone",onClick:P,text:!0,ref:L,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))},460: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:"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",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},461: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:"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",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},462:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(13),a=n.n(r),i=n(254),o=n(8),c=n.n(o),l=n(2),s=n(57),u=n(1),d=n(4),g=n.n(d),f=n(463),m=n(12),p=n(131),h=n(58),b=n(143),v=n(18),O=n(10),_=n(34),y=n(20),k=g.a.useSelect,E=g.a.useDispatch;function DateRangeSelector(){var t,n=Object(h.f)(),r=k((function(e){return e(m.a).getDateRange()})),o=E(m.a).setDateRange,d=E(_.b).resetInViewHook,g=Object(l.useState)(!1),j=a()(g,2),w=j[0],S=j[1],N=Object(l.useRef)(),C=Object(y.a)();Object(i.a)(N,(function(){return S(!1)})),Object(p.a)([s.d,s.f],N,(function(){return S(!1)}));var T=Object(l.useCallback)((function(){S(!w)}),[w]),D=Object(l.useCallback)((function(e){var t=Object.values(n)[e].slug;r!==t&&Object(O.y)("".concat(C,"_headerbar"),"change_daterange",t),d(),o(t),S(!1)}),[n,r,d,o,C]),A=null===(t=n[r])||void 0===t?void 0:t.label,M=Object.values(n).map((function(e){return e.label}));return e.createElement("div",{ref:N,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(v.a,{className:c()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu","googlesitekit-border-radius-round--phone","googlesitekit-button-icon--phone"),text:!0,onClick:T,icon:e.createElement(f.a,{width:"20",height:"20"}),"aria-haspopup":"menu","aria-expanded":w,"aria-controls":"date-range-selector-menu",title:Object(u.__)("Date range","google-site-kit"),tooltip:!0},A),e.createElement(b.a,{menuOpen:w,menuItems:M,onSelected:D,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(3))},463: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:"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",a({viewBox:"0 0 18 20"},e),i)}},464:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ZeroDataStateNotifications}));var r=n(1),a=n(4),i=n.n(a),o=n(12),c=n(16),l=n(52),s=n(11),u=n(68),d=n(465),g=n(466),f=i.a.useSelect,m=i.a.useInViewSelect;function ZeroDataStateNotifications(){var t,n=Object(l.a)(),a=f((function(e){return e(c.a).isModuleConnected("analytics")})),i=f((function(e){return!n||e(o.a).canViewSharedModule("analytics")})),p=m((function(e){return!(!a||!i)&&e(s.f).isGatheringData()})),h=m((function(e){return e(u.b).isGatheringData()})),b=m((function(e){return!(!a||!i)&&e(s.f).hasZeroData()})),v=m((function(e){return e(u.b).hasZeroData()}));return void 0===p||void 0===h||void 0===b||void 0===v?null:p||h||b||v?(p&&h?t=Object(r.__)("Search Console and Analytics are gathering data","google-site-kit"):p?t=Object(r.__)("Analytics is gathering data","google-site-kit"):h&&(t=Object(r.__)("Search Console is gathering data","google-site-kit")),p||h?e.createElement(d.a,{title:t}):e.createElement(g.a,null)):null}}).call(this,n(3))},465:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GatheringDataNotification}));var r=n(0),a=n.n(r),i=n(98),o=n(1),c=n(2),l=n(56),s=n(376),u=n(10),d=n(20);function GatheringDataNotification(t){var n=t.title,r=Object(d.a)(),a="".concat(r,"_gathering-data-notification"),g=Object(c.useCallback)((function(){Object(u.y)(a,"dismiss_notification")}),[a]);return Object(i.a)((function(){Object(u.y)(a,"view_notification")})),e.createElement(l.b,{id:"gathering-data-notification",title:n,description:Object(o.__)("It can take up to 48 hours before stats show up for your site. While you’re waiting, connect more services to get more stats.","google-site-kit"),format:"small",dismiss:Object(o.__)("OK, Got it!","google-site-kit"),dismissExpires:Object(u.n)("day"),SmallImageSVG:s.a,onDismiss:g,isDismissible:!0})}GatheringDataNotification.propTypes={title:a.a.string}}).call(this,n(3))},466:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ZeroDataNotification}));var r=n(98),a=n(1),i=n(2),o=n(56),c=n(324),l=n(10),s=n(20);function ZeroDataNotification(){var t=Object(s.a)(),n="".concat(t,"_zero-data-notification"),u=Object(i.useCallback)((function(){Object(l.y)(n,"dismiss_notification")}),[n]),d=Object(i.useCallback)((function(){Object(l.y)(n,"click_learn_more_link")}),[n]);return Object(r.a)((function(){Object(l.y)(n,"view_notification")})),e.createElement(o.b,{id:"zero-data-notification",title:Object(a.__)("Not enough traffic yet to display stats","google-site-kit"),description:Object(a.__)("Site Kit will start showing stats on the dashboard as soon as enough people have visited your site. Keep working on your site to attract more visitors.","google-site-kit"),format:"small",learnMoreLabel:Object(a.__)("Learn more","google-site-kit"),learnMoreURL:"https://sitekit.withgoogle.com/documentation/using-site-kit/using-the-site-kit-dashboard/#not-enough-traffic",dismiss:Object(a.__)("Remind me later","google-site-kit"),dismissExpires:Object(l.n)("day"),SmallImageSVG:c.a,onDismiss:u,onLearnMoreClick:d,isDismissible:!0})}}).call(this,n(3))},467:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(13),a=n.n(r),i=n(478),o=n(2),c=function(){var t=Object(i.a)().y,n=Object(o.useState)(!1),r=a()(n,2),c=r[0],l=r[1],s="googlesitekit-plugin--has-scrolled";return Object(o.useEffect)((function(){c?e.document.body.classList.add(s):e.document.body.classList.remove(s)}),[c]),t>0&&!c?l(!0):0===t&&c&&l(!1),c}}).call(this,n(21))},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(29);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},50: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(111);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)}},52:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(23),a=n(20);function i(){var e=Object(a.a)();return e===r.i||e===r.l}},56:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return I}));var a=n(17),i=n.n(a),o=n(6),c=n.n(o),l=n(5),s=n.n(l),u=n(14),d=n.n(u),g=n(13),f=n.n(g),m=n(0),p=n.n(m),h=n(8),b=n.n(h),v=n(241),O=n.n(v),_=n(98),y=n(2),k=n(104),E=n(9),j=n(132),w=n(50),S=n(63),N=n(112),C=n(18),T=n(168),D=n(151),A=n(22),M=n(128),x=n(145),R=n(44),L=n(43),P=n(114),I={EXTERNAL:"external",INTERNAL:"internal"};function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,l=t.badgeLabel,u=t.blockData,g=t.children,m=t.className,p=t.ctaLabel,h=t.ctaLink,v=t.ctaTarget,z=t.description,B=t.dismiss,F=t.dismissExpires,q=t.format,H=t.id,W=t.isDismissible,U=t.learnMoreDescription,V=t.learnMoreLabel,G=t.learnMoreURL,K=t.learnMoreTarget,X=t.logo,Y=t.module,Q=t.moduleName,Z=t.noBottomPadding,$=t.onCTAClick,J=t.onDismiss,ee=t.onLearnMoreClick,te=t.pageIndex,ne=t.showOnce,re=t.SmallImageSVG,ae=t.title,ie=t.type,oe=t.WinImageSVG,ce=t.rounded,le=void 0!==ce&&ce,se=Object(y.useState)(!1),ue=f()(se,2),de=ue[0],ge=ue[1],fe=Object(y.useState)(!1),me=f()(fe,2),pe=me[0],he=me[1],be="notification::dismissed::".concat(H),ve=function(){return Object(R.d)(be,new Date,{ttl:null})},Oe=Object(L.e)();function _e(){return(_e=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!J){e.next=5;break}return e.next=5,J(t);case 5:ye();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ye(){ge(!0),setTimeout(d()(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,ve();case 2:he(!0),t=new Event("notificationDismissed"),document.dispatchEvent(t);case 5:case"end":return e.stop()}}),e)}))),350)}function ke(){return(ke=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),!$){e.next=4;break}return e.next=4,$(t);case 4:W&&ye();case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(_.a)(d()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(F>0)){e.next=3;break}return e.next=3,we();case 3:if(!W){e.next=9;break}return e.next=6,Object(R.b)(be);case 6:t=e.sent,n=t.cacheHit,he(n);case 9:if(!ne){e.next=12;break}return e.next=12,ve();case 12:case"end":return e.stop()}}),e)}))));var Ee=Object(y.useCallback)((function(t){Object(w.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(j.a)(a,Oe),behavior:"smooth"}))}),[a,Oe]);function je(){return(je=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.persist(),null==ee||ee();case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function we(){return Se.apply(this,arguments)}function Se(){return(Se=d()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(R.b)(be);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(F,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(R.a)(be);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(W&&(void 0===pe||pe))return null;var Ne,Ce=de?"is-closed":"is-open",Te="large"===q&&"win-stats-increase"===ie,De=Object(P.d)(q),Ae=Object(P.c)(q),Me=Object(P.a)(q),xe=Object(P.b)({format:q,inlineLayout:Te,hasErrorOrWarning:"win-error"===ie||"win-warning"===ie,hasSmallImageSVG:!!re,hasWinImageSVG:!!oe});Ne="win-warning"===ie?r.createElement(T.a,{width:34}):"win-error"===ie?r.createElement(D.a,{width:28}):"";var Re=r.createElement(y.Fragment,null,u&&r.createElement(E.o,null,O()(u,(function(e,t){return r.createElement(E.a,{key:t,lgSize:Te?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(N.a,e)))})))),Le=r.createElement(y.Fragment,null,ae&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},ae,l&&r.createElement(M.a,{label:l})),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(A.a,{href:a,onClick:Ee},o)),z&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(y.isValidElement)(z)?z:r.createElement("span",{dangerouslySetInnerHTML:Object(S.a)(z,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),V&&r.createElement(y.Fragment,null," ",r.createElement(A.a,{onClick:function(e){return je.apply(this,arguments)},href:G,external:K===I.EXTERNAL},V),U),te&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},te))),g),Pe=Y?r.createElement(x.a,{slug:Y,size:19}):r.createElement(k.a,{height:"34",width:"32"}),Ie=Te?{size:12,smOrder:2,mdOrder:1}:{size:12},ze=h?A.a:C.a;return r.createElement("section",{id:H,className:b()(m,"googlesitekit-publisher-win",(n={},c()(n,"googlesitekit-publisher-win--".concat(q),q),c()(n,"googlesitekit-publisher-win--".concat(ie),ie),c()(n,"googlesitekit-publisher-win--".concat(Ce),Ce),c()(n,"googlesitekit-publisher-win--rounded",le),c()(n,"googlesitekit-publisher-win--no-bottom-padding",Z),n))},r.createElement(E.e,{className:b()({"googlesitekit-padding-bottom-0":Z})},r.createElement(E.o,null,X&&r.createElement(E.a,Ie,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},Pe),Q&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},Q)),re&&r.createElement(E.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(re,null)),r.createElement(E.a,i()({},xe,Me,{className:"googlesitekit-publisher-win__content"}),Te?r.createElement(E.o,null,r.createElement(E.a,{mdSize:8,lgSize:5},Le),r.createElement(E.a,{alignBottom:!0,mdSize:8,lgSize:7},Re)):r.createElement(y.Fragment,null,Le,Re),h&&r.createElement(C.a,{className:"googlesitekit-notification__cta",href:h,target:v,onClick:function(e){return ke.apply(this,arguments)}},p),W&&B&&r.createElement(ze,{onClick:function(e){return _e.apply(this,arguments)}},B)),oe&&r.createElement(E.a,i()({},De,Ae,{alignBottom:"larger"===q&&Z}),r.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(q)},r.createElement(oe,null))),("win-error"===ie||"win-warning"===ie)&&r.createElement(E.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},Ne)))))}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,learnMoreTarget:p.a.oneOf(Object.values(I)),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,onLearnMoreClick:p.a.func,anchorLink:p.a.string,anchorLinkLabel:p.a.string,badgeLabel:p.a.string,noBottomPadding:p.a.bool,rounded:p.a.bool},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1,noBottomPadding:!1,learnMoreTarget:I.EXTERNAL},t.b=BannerNotification}).call(this,n(21),n(3))},58:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return m.a})),n.d(t,"f",(function(){return O})),n.d(t,"k",(function(){return p}));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=3600,o=86400,c=604800,l=n(7),s=n.n(l),u=n(35),d=function(e){var t=new Date(e);s()(Object(u.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("-")},g=n(13),f=n.n(g),m=n(41),p=function(e){s()(Object(m.a)(e),r);var t=e.split("-"),n=f()(t,3),a=n[0],i=n[1],o=n[2];return new Date(a,i-1,o)},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=p(e);return n.setDate(n.getDate()-t),d(n)},b=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]};var v=n(1);function O(){var e=function(e){return Object(v.sprintf)(
56
  /* translators: %s: number of days */
57
  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}}}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),a=n(106),i=n(33),o=function(e){var t=Object(r.useContext)(a.a);return Object(i.b)(e,t)}},61:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(8),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))},62:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),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))},63: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(73),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,/\/+$/,"")}},64:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(162),c=n(348),l=n(18),s=n(104),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))},65: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(0),o=n.n(i),c=n(8),l=n.n(c),s=n(1),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:l()("googlesitekit-gathering-data-notice",a()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(s.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(3))},66:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return l}));n(54);var r="missing_required_scopes",a="insufficientPermissions",i="forbidden";function o(e){return(null==e?void 0:e.code)===r}function c(e){var t;return[a,i].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function l(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}},67: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},68: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},72:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return j})),n.d(t,"a",(function(){return w}));var r=n(13),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(19),u=n.n(s),d=n(25),g=n(70),f=n.n(g),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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=v(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},v=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=h(h({unitDisplay:void 0===i?"short":i},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?E(a,h(h({},o),{},{unit:"second"})):Object(m.sprintf)(
58
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
dist/assets/js/{googlesitekit-dashboard-details-63dea0d1e8bcb9a7e10a.js → googlesitekit-dashboard-details-4931b47affad4714815f.js} RENAMED
@@ -46,13 +46,13 @@ Object(l.__)("%s data was previously shared with other users on the site by anot
46
  /* translators: %s: module name. */
47
  Object(l.__)("%s data was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),k[E[0]].name),T=e.createElement(c.Fragment,null,e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(l.__)("By recovering the module, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),e.createElement(g.a,{onClick:S,disabled:b},Object(l.__)("Recover","google-site-kit")),e.createElement(h.a,{isSaving:b}))):(C=Object(l.__)("The data for the following modules was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),T=e.createElement(c.Fragment,null,E.map((function(t){return e.createElement("div",{key:t},e.createElement(f.a,{checked:r[t],name:"module-recovery-alert-checkbox",id:"module-recovery-alert-checkbox-".concat(t),onChange:function(){return w(t)},value:t,disabled:b},k[t].name))})),e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(l.__)("By recovering the selected modules, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),e.createElement(g.a,{onClick:S,disabled:b||!Object.values(r).some((function(e){return e}))},Object(l.__)("Recover","google-site-kit")),e.createElement(h.a,{isSaving:b}))),e.createElement(m.b,{id:"module-recovery-alert",title:Object(l.__)("Dashboard data for some services has been interrupted","google-site-kit"),description:C,learnMoreURL:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",learnMoreLabel:Object(l.__)("Learn more","google-site-kit")},T)}}).call(this,n(3))},286:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(4),a=n.n(r),i=n(12),o=n(52),c=n(287),l=a.a.useSelect;function DashboardNavigation(){var t=Object(o.a)();return void 0===l((function(e){return t?e(i.a).getViewableModules():null}))?null:e.createElement(c.a,null)}}).call(this,n(3))},287:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var a=n(24),i=n.n(a),o=n(13),c=n.n(o),l=n(98),s=n(141),u=n(8),d=n.n(u),g=n(219),f=n.n(g),m=n(2),p=n(1),h=n(4),b=n.n(h),v=n(288),y=n(289),O=n(290),_=n(291),k=n(23),E=n(12),j=n(40),w=n(34),S=n(92),N=n(91),C=n(43),T=n(132),R=n(10),D=n(20),x=n(52);function A(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 L=b.a.useSelect,M=b.a.useDispatch;function Navigation(){var t,n=Object(N.c)(),a=Object(m.useRef)(),o=Object(C.e)(),u=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),g=Object(m.useState)(u),h=c()(g,2),b=h[0],P=h[1],I=Object(m.useState)(u||void 0),z=c()(I,2),q=z[0],B=z[1],H=Object(m.useState)(!1),F=c()(H,2),W=F[0],U=F[1],V=Object(D.a)(),K=Object(x.a)(),G=M(w.b).setValue,X=L((function(e){return K?e(E.a).getViewableModules():null})),Y={modules:X||void 0},Q=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_TRAFFIC:S.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,Y)})),Z=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_CONTENT:S.CONTEXT_ENTITY_DASHBOARD_CONTENT,Y)})),$=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_SPEED:S.CONTEXT_ENTITY_DASHBOARD_SPEED,Y)})),J=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_MONETIZATION:S.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,Y)})),ee=Object(m.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.history.replaceState({},"","#".concat(a)),B(a),Object(R.y)("".concat(V,"_navigation"),"tab_select",a),e.scrollTo({top:a!==k.d?Object(T.a)("#".concat(a),o):0,behavior:"smooth"}),setTimeout((function(){G(w.a,a)}),50)}),[o,V,G]);return Object(l.a)((function(){var t=K?Q?k.d:Z?k.a:$?k.c:J?k.b:"":k.d;if(!u)return P(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=u;(function(e){return!(!Q||e!==k.d)||(!(!Z||e!==k.a)||(!(!$||e!==k.c)||!(!J||e!==k.b)))})(n)||(n=t),G(w.a,n),P(n),setTimeout((function(){e.scrollTo({top:n!==t?Object(T.a)("#".concat(n),o):0,behavior:"smooth"})}),50)})),Object(m.useEffect)((function(){var t=function(e){G(w.a,void 0),P(e),B(void 0)},n=f()((function(n){var r,o,c,l,s=e.scrollY,u=null===(r=document.querySelector(".googlesitekit-entity-header"))||void 0===r||null===(o=r.getBoundingClientRect())||void 0===o?void 0:o.bottom,d=null==a||null===(c=a.current)||void 0===c?void 0:c.getBoundingClientRect(),g=d.bottom,f=d.top,m=[].concat(i()(Q?[k.d]:[]),i()(Z?[k.a]:[]),i()($?[k.c]:[]),i()(J?[k.b]:[])),p=k.d;if(0===s)U(!1);else{var h,b=null===(h=document.querySelector(".googlesitekit-header"))||void 0===h?void 0:h.getBoundingClientRect().bottom;U(f===b)}var v,y=A(m);try{for(y.s();!(v=y.n()).done;){var O=v.value,_=document.getElementById(O);if(_){var E=_.getBoundingClientRect().top-20-(u||g||0);E<0&&(void 0===l||l<E)&&(l=E,p=O)}}}catch(e){y.e(e)}finally{y.f()}if(q)q===p&&t(p);else{var j=e.location.hash;p!==(null==j?void 0:j.substring(1))&&(n&&Object(R.y)("".concat(V,"_navigation"),"tab_scroll",p),e.history.replaceState({},"","#".concat(p)),t(p))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[q,Q,Z,$,J,V,G]),r.createElement("nav",{className:d()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":W}),ref:a},Q&&r.createElement(s.Chip,{id:k.d,label:Object(p.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"16"}),onClick:ee,selected:b===k.d,"data-context-id":k.d}),Z&&r.createElement(s.Chip,{id:k.a,label:Object(p.__)("Content","google-site-kit"),leadingIcon:r.createElement(y.a,{width:"18",height:"18"}),onClick:ee,selected:b===k.a,"data-context-id":k.a}),$&&r.createElement(s.Chip,{id:k.c,label:Object(p.__)("Speed","google-site-kit"),leadingIcon:r.createElement(O.a,{width:"20",height:"16"}),onClick:ee,selected:b===k.c,"data-context-id":k.c}),J&&r.createElement(s.Chip,{id:k.b,label:Object(p.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"18",height:"16"}),onClick:ee,selected:b===k.b,"data-context-id":k.b}))}}).call(this,n(21),n(3))},288: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)}},289: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)}},29: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"},290: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)}},291: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)}},292:function(e,t,n){"use strict";(function(e,r){var a=n(13),i=n.n(a),o=n(219),c=n.n(o),l=n(1),s=n(2),u=n(4),d=n.n(u),g=n(18),f=n(15),m=n(293),p=n(39),h=n(22),b=n(50),v=n(10),y=n(91),O=n(20),_=d.a.useSelect,k=d.a.useDispatch;t.a=function EntityHeader(){var t=Object(O.a)(),n=Object(y.c)(),a=_((function(e){return e(f.c).getCurrentEntityTitle()})),o=_((function(e){return e(f.c).getCurrentEntityURL()})),u=Object(s.useRef)(),d=Object(s.useState)(o),E=i()(d,2),j=E[0],w=E[1];Object(s.useEffect)((function(){var t=function(){if(u.current){var t=u.current.clientWidth-40,n=e.getComputedStyle(u.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);w(Object(b.e)(o,r))}},n=c()(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[o,u,w]);var S=k(p.a).navigateTo,N=_((function(e){return e(f.c).getAdminURL("googlesitekit-dashboard")})),C=Object(s.useCallback)((function(){Object(v.y)("".concat(t,"_navigation"),"return_to_dashboard"),S(N)}),[N,S,t]);return y.a!==n||null===o||null===a?null:r.createElement("div",{className:"googlesitekit-entity-header"},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(g.a,{icon:r.createElement(m.a,{width:24,height:24}),"aria-label":Object(l.__)("Back to dashboard","google-site-kit"),onClick:C,text:!0},Object(l.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:u,className:"googlesitekit-entity-header__details"},r.createElement("p",null,a),r.createElement(h.a,{href:o,"aria-label":o,external:!0},j)))}}).call(this,n(21),n(3))},293: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)}},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var r=n(13),a=n.n(r),i=n(254),o=n(8),c=n.n(o),l=n(2),s=n(1),u=n(57),d=n(20),g=n(131),f=n(10),m=n(295),p=n(18),h=n(143),b=n(296),v=n(297),y=n(299),O=n(4),_=n.n(O),k=n(12),E=_.a.useSelect;function ViewOnlyMenu(){var t=Object(l.useState)(!1),n=a()(t,2),r=n[0],o=n[1],O=Object(l.useRef)(),_=Object(d.a)();Object(i.a)(O,(function(){return o(!1)})),Object(g.a)([u.d,u.f],O,(function(){return o(!1)}));var j=Object(l.useCallback)((function(){r||Object(f.y)("".concat(_,"_headerbar"),"open_viewonly"),o(!r)}),[r,_]),w=E((function(e){return e(k.a).hasCapability(k.c)}));return e.createElement("div",{ref:O,className:c()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":w})},e.createElement(p.a,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:j,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(m.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":r,"aria-controls":"view-only-menu","aria-label":Object(s.__)("View only","google-site-kit"),tooltip:!0},Object(s.__)("View only","google-site-kit")),e.createElement(h.a,{menuOpen:r,nonInteractive:!0,onSelected:j,id:"view-only-menu"},e.createElement(b.a,null),e.createElement(v.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(y.a,null)))}}).call(this,n(3))},295: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:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return r.createElement("svg",a({viewBox:"0 0 16 10",fill:"none"},e),i)}},296:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(2),l=n(76),s=n(1),u=n(4),d=n.n(u),g=n(39),f=n(15),m=n(12),p=n(10),h=n(18),b=n(22),v=n(20),y=d.a.useDispatch,O=d.a.useSelect;function Description(){var t=Object(v.a)(),n=O((function(e){return e(m.a).hasCapability(m.c)})),r=O((function(e){return e(f.c).getProxySetupURL()})),i=y(g.a).navigateTo,u=Object(c.useCallback)(function(){var e=o()(a.a.mark((function e(n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Object(p.y)("".concat(t,"_headerbar_viewonly"),"start_user_setup",r?"proxy":"custom-oauth");case 3:i(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,i,t]),d=Object(c.useCallback)((function(){Object(p.y)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),_=n?Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(b.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",external:!0,onClick:d,"aria-label":Object(s.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,_),n&&e.createElement(h.a,{onClick:u},Object(s.__)("Sign in with Google","google-site-kit")))}}).call(this,n(3))},297:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var r=n(1),a=n(4),i=n.n(a),o=n(12),c=n(298),l=i.a.useSelect;function SharedServices(){var t=l((function(e){return e(o.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(r.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(c.a,{key:t,module:t})}))))}}).call(this,n(3))},298:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var r=n(0),a=n.n(r),i=n(76),o=n(1),c=n(4),l=n.n(c),s=n(16),u=n(12),d=l.a.useSelect;function Service(t){var n=t.module,r=d((function(e){return e(u.a).hasCapability(u.c)})),a=d((function(e){return e(s.a).getModule(n)})),c=a.name,l=a.owner,g=d((function(e){return e(s.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(g,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},c),r&&(null==l?void 0:l.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(i.a)(Object(o.sprintf)(
48
  /* translators: %s: module owner Google Account email address */
49
- Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),l.login),{strong:e.createElement("strong",null)})))}Service.propTypes={module:a.a.string.isRequired}}).call(this,n(3))},299:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(76),a=n(1),i=n(211),o=n(20);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(a.__)("Thanks for using Site Kit!<br />Help us make it even better.","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(i.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly")}))}}).call(this,n(3))},300: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)}},31:function(e,t){e.exports=googlesitekit.api},32:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return v}));var r=n(86),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,g=a.isAuthenticated,f={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:g,pluginVersion:"1.79.0"},m=Object(r.a)(f),p=m.enableTracking,h=m.disableTracking,b=(m.isTrackingEnabled,m.initializeSnippet),v=m.trackEvent;function y(e){e?p():h()}c&&l&&b()}).call(this,n(21))},324: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("ellipse",{cx:175.51,cy:381.74,rx:104,ry:8.26,fill:"#F1F3F4"}),o=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"}),c=r.createElement("path",{d:"M201.85 238.9l61.65 74a20 20 0 011 24.29l-30 42.81h32.13",stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:9.27}),l=r.createElement("path",{stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:9.27,d:"M214.03 222.14L114.03 380h-29.6"}),s=r.createElement("path",{stroke:"#185ABC",strokeLinejoin:"round",strokeWidth:9.27,d:"M201.85 238.9l46.71 56.1M214.03 222.14L167.87 295"}),u=r.createElement("path",{d:"M129.21 229.83l-11.7-42.66A50 50 0 01136 133.78L191 93a10 10 0 004-8V61.71M270.79 229.83l11.7-42.66A50 50 0 00264 133.78L209.05 93a10 10 0 01-4.05-8V61.71",stroke:"#4285F4",strokeLinejoin:"round",strokeWidth:9.27}),d=r.createElement("path",{d:"M199.87 289.41a81.45 81.45 0 0081.58-81.32l-162.9-.26a81.45 81.45 0 0081.32 81.58z",fill:"#1A73E8"}),g=r.createElement("path",{d:"M172.86 256.89c13.38 16.47 37.19 21.05 54.28 0",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6.66});t.a=function SvgZeroStateBlue(e){return r.createElement("svg",a({viewBox:"0 0 400 400",fill:"none"},e),i,o,c,l,s,u,d,g)}},326:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(33),i=(e._googlesitekitUserData||{}).hasMultipleAdmins,o=[{target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--view",title:Object(r.__)("Manage view access for other roles","google-site-kit"),content:Object(r.__)("Grant access to the view-only dashboard for each service for the specific roles you want. Users will see the Site Kit dashboard with only the services that have been shared with them without needing to sign-in with Google.","google-site-kit"),placement:"auto"}];i&&o.push({target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--manage",title:Object(r.__)("Share management with other admins","google-site-kit"),content:Object(r.__)("By default only the user who connects a service can control who it is shared with. This setting optionally lets these users allow any other admin signed in with Google to manage the roles a service is shared with.","google-site-kit"),placement:"auto"}),t.a={slug:"dashboardSharingSettings",gaEventCategory:function(e){return"".concat(e,"_dashboard-sharing")},checkRequirements:function(){return Object(a.b)("dashboardSharing")},steps:o}}).call(this,n(21))},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(21))},330:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(8),o=n.n(i),c=n(4),l=n.n(c),s=n(455),u=n(12),d=n(40),g=n(9),f=n(52),m=l.a.useSelect,p=function WidgetContextRenderer(t){var n=t.id,r=t.slug,a=t.className,i=t.Header,c=t.Footer,l=Object(f.a)(),p=m((function(e){return l?e(u.a).getViewableModules():null})),h=m((function(e){return r?e(d.a).getWidgetAreas(r):null})),b=m((function(e){return!!r&&e(d.a).isWidgetContextActive(r,{modules:p||void 0})}));return void 0===p?null:e.createElement("div",{id:n,className:o()("googlesitekit-widget-context",{"googlesitekit-hidden":!b},a)},i&&b&&e.createElement(g.e,null,e.createElement(g.o,null,e.createElement(g.a,{size:12},e.createElement(i,null)))),h&&h.map((function(t){return e.createElement(s.a,{key:t.slug,slug:t.slug,contextID:n})})),c&&b&&e.createElement(g.e,null,e.createElement(g.o,null,e.createElement(g.a,{size:12},e.createElement(c,null)))))};p.propTypes={id:a.a.string,slug:a.a.string,className:a.a.string,Header:a.a.elementType,Footer:a.a.elementType},t.a=p}).call(this,n(3))},335:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return DashboardSharingSettingsButton}));var r=n(478),a=n(1),i=n(162),o=n(613),c=n(2),l=n(76),s=n(4),u=n.n(s),d=n(22),g=n(18),f=n(95),m=n(253),p=n(363),h=n(20),b=n(365),v=n(10),y=n(34),O=n(15),_=n(16),k=n(43),E=n(9),j=n(136),w=n(12),S=n(326),N=u.a.useSelect,C=u.a.useDispatch,T="dashboardSharingDialogOpen";function DashboardSharingSettingsButton(){var t=Object(h.a)(),n=Object(k.e)(),s=Object(r.a)().y,u=C(y.b).setValue,R=N((function(e){return!!e(y.b).getValue(T)})),D=N((function(e){return e(O.c).hasMultipleAdmins()})),x=N((function(e){return e(_.a).haveSharingSettingsChanged()})),A=N((function(e){return e(y.b).getValue(j.a)})),P=Object(c.useCallback)((function(){Object(v.y)("".concat(t,"_headerbar"),"open_sharing",D?"advanced":"simple"),u(T,!0)}),[u,t,D]),L=Object(c.useCallback)((function(){u(T,!1),u(j.a,void 0)}),[u]),M=C(_.a).rollbackSharingSettings;Object(c.useEffect)((function(){!R&&x&&M()}),[R,x,M]);var I=Object(c.useRef)(),z=C(w.a).triggerOnDemandTour;Object(c.useEffect)((function(){R&&!I.current&&(I.current=!0,z(S.a))}),[R,z]);var q={};return n===k.b&&(q.top="".concat(s<46?46-s:0,"px"),q.height="calc(100% - 46px + ".concat(s<46?s:46,"px)")),e.createElement(c.Fragment,null,e.createElement(g.a,{"aria-label":Object(a.__)("Open sharing settings","google-site-kit"),className:"googlesitekit-sharing-settings__button googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon",onClick:P,icon:e.createElement(m.a,{width:20,height:20})}),e.createElement(f.a,null,e.createElement(E.b,{open:R,onClose:L,className:"googlesitekit-dialog googlesitekit-sharing-settings-dialog",style:q,escapeKeyAction:void 0===A?"close":""},e.createElement("div",{className:"googlesitekit-dialog__back-wrapper","aria-hidden":n!==k.b},e.createElement(g.a,{"aria-label":Object(a.__)("Back","google-site-kit"),className:"googlesitekit-dialog__back",onClick:L},e.createElement(i.a,{icon:o.a}))),e.createElement(E.c,{className:"googlesitekit-dialog__content"},e.createElement("div",{className:"googlesitekit-dialog__header"},e.createElement("div",{className:"googlesitekit-dialog__header-icon","aria-hidden":n===k.b},e.createElement("span",null,e.createElement(m.a,{width:20,height:20}))),e.createElement("div",{className:"googlesitekit-dialog__header-titles"},e.createElement("h2",{className:"googlesitekit-dialog__title"},Object(a.__)("Dashboard sharing & permissions","google-site-kit")),e.createElement("p",{className:"googlesitekit-dialog__subtitle"},Object(l.a)(Object(a.__)("Share a view-only version of your Site Kit dashboard with other WordPress roles. <a>Learn more</a>","google-site-kit"),{a:e.createElement(d.a,{"aria-label":Object(a.__)("Learn more about dashboard sharing","google-site-kit"),href:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",external:!0})})))),e.createElement("div",{className:"googlesitekit-dialog__main"},e.createElement(b.a,null))),e.createElement(E.d,{className:"googlesitekit-dialog__footer"},e.createElement(p.a,{closeDialog:L})))))}}).call(this,n(3))},34:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},363:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(13),l=n.n(c),s=n(0),u=n.n(s),d=n(1),g=n(2),f=n(4),m=n.n(f),p=n(22),h=n(18),b=n(364),v=n(16),y=n(34),O=n(81),_=n(136),k=n(90),E=n(10),j=n(20),w=m.a.useSelect,S=m.a.useDispatch;function Footer(t){var n=t.closeDialog,r=Object(j.a)(),i=Object(g.useState)(null),c=l()(i,2),s=c[0],u=c[1],f=w((function(e){return e(v.a).canSubmitSharingChanges()})),m=w((function(e){return e(v.a).isDoingSubmitSharingChanges()})),N=S(v.a).saveSharingSettings,C=S(y.b).setValue,T=Object(g.useCallback)(o()(a.a.mark((function e(){var t,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u(null),e.next=3,N();case 3:if(t=e.sent,!(i=t.error)){e.next=8;break}return u(i.message),e.abrupt("return");case 8:Object(E.y)("".concat(r,"_sharing"),"settings_confirm"),C(_.a,void 0),n();case 11:case"end":return e.stop()}}),e)}))),[r,N,C,n]),R=Object(g.useCallback)((function(){Object(E.y)("".concat(r,"_sharing"),"settings_cancel"),n()}),[n,r]);return e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer"},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-notice"},s&&e.createElement(k.a,{message:s}),!s&&e.createElement(b.a,null)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions"},e.createElement(p.a,{onClick:R},Object(d.__)("Cancel","google-site-kit")),e.createElement(h.a,{onClick:T,disabled:m||!f},Object(d.__)("Apply","google-site-kit"),m&&e.createElement(O.a,{isSaving:m}))))}Footer.propTypes={closeDialog:u.a.func.isRequired}}).call(this,n(3))},364:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notice}));var r=n(1),a=n(76),i=n(4),o=n.n(i),c=n(16),l=o.a.useSelect;function Notice(){var t=l((function(e){return e(c.a).canSubmitSharingChanges()})),n=l((function(e){return e(c.a).haveSharingSettingsExpanded("management")})),i=l((function(e){return e(c.a).haveSharingSettingsExpanded("sharedRoles")}));return e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__notice"},n&&t&&Object(a.a)(Object(r.__)("By clicking <strong>Apply</strong>, you will give other authenticated admins of your site permission to manage view-only access to Site Kit Dashboard data from the chosen Google service.","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),!n&&t&&i&&Object(a.a)(Object(r.__)("By clicking <strong>Apply</strong>, you’re granting the selected roles view-only access to data from the Google services you’ve connected via your account.","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}))}}).call(this,n(3))},365:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardSharingSettings}));var a=n(8),i=n.n(a),o=n(1),c=n(4),l=n.n(c),s=n(366),u=n(16),d=n(15),g=n(12);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 m(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 m(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 m(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 p=l.a.useSelect;function DashboardSharingSettings(){var t=p((function(e){return e(d.c).hasMultipleAdmins()})),n=p((function(t){var n=t(u.a).getModules();if(void 0!==n){var r,a=t(g.a).getID(),i=[],o=[],c=[],l=f(Object.values(n).filter((function(e){return e.shareable})));try{for(l.s();!(r=l.n()).done;){var s;(null===(s=(e=r.value).owner)||void 0===s?void 0:s.id)===a?i.push(e):t(g.a).hasCapability(g.e,e.slug)?o.push(e):c.push(e)}}catch(e){l.e(e)}finally{l.f()}return[].concat(i,o,c)}}));return void 0===n?null:r.createElement("div",{className:i()("googlesitekit-dashboard-sharing-settings",{"googlesitekit-dashboard-sharing-settings--has-multiple-admins":t})},r.createElement("header",{className:"googlesitekit-dashboard-sharing-settings__header googlesitekit-dashboard-sharing-settings__row"},r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},Object(o.__)("Product","google-site-kit")),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},Object(o.__)("Who can view","google-site-kit")),t&&r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},Object(o.__)("Who can manage view access","google-site-kit"))),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__main"},n.map((function(e){var t=e.slug,n=e.name,a=e.owner;return r.createElement(s.a,{key:t,moduleSlug:t,moduleName:n,ownerUsername:null==a?void 0:a.login})}))))}}).call(this,n(483)(e),n(3))},366:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Module}));var r=n(13),a=n.n(r),i=n(0),o=n.n(i),c=n(8),l=n.n(c),s=n(210),u=n(1),d=n(162),g=n(435),f=n(2),m=n(76),p=n(4),h=n.n(p),b=n(145),v=n(367),y=n(9),O=n(20),_=n(16),k=n(15),E=n(34),j=n(136),w=n(10),S=n(12),N=h.a.useSelect,C=h.a.useDispatch,T=[{value:"owner",label:Object(u.__)("Only me","google-site-kit")},{value:"all_admins",label:Object(u.__)("Any admin signed in with Google","google-site-kit")}];function Module(t){var n=t.moduleSlug,r=t.moduleName,i=t.ownerUsername,o=Object(O.a)(),c=Object(f.useRef)(),p=Object(f.useState)(void 0),h=a()(p,2),R=h[0],D=h[1],x=N((function(e){return e(k.c).hasMultipleAdmins()})),A=N((function(e){var t;return null!==(t=e(_.a).getSharingManagement(n))&&void 0!==t?t:"owner"})),P=N((function(e){return e(S.a).hasCapability(S.d,n)})),L=N((function(e){return e(S.a).hasCapability(S.e,n)})),M=N((function(e){return e(_.a).getSharedOwnershipModules()})),I=N((function(e){return e(E.b).getValue(j.a)})),z=N((function(e){return e(_.a).isDoingSubmitSharingChanges()})),q=C(_.a).setSharingManagement,B=M&&Object.keys(M).includes(n);Object(f.useEffect)((function(){D(B?"all_admins":A)}),[A,B]);var H=Object(f.useCallback)((function(e){var t=e.target.value;D(t),q(n,t),Object(w.y)("".concat(o,"_sharing"),"change_management_".concat(t),n)}),[q,D,n,o]),F=n===I,W=!F&&void 0!==I||z;return e.createElement("div",{className:l()("googlesitekit-dashboard-sharing-settings__module","googlesitekit-dashboard-sharing-settings__row",{"googlesitekit-dashboard-sharing-settings__row--editing":F,"googlesitekit-dashboard-sharing-settings__row--disabled":W}),ref:c},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},e.createElement(b.a,{slug:n,size:48}),e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__module-name"},r)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},L&&e.createElement(v.a,{moduleSlug:n,isLocked:W,ref:c}),!L&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(u.__)("Contact managing user to manage view access","google-site-kit"))),x&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},B&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},e.createElement("span",null,Object(u.__)("Any admin signed in with Google","google-site-kit")),e.createElement(s.a,{title:Object(u.__)("This service requires general access to Google APIs rather than access to a specific user-owned property/entity, so view access is manageable by any admin signed in with Google.","google-site-kit"),classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(d.a,{icon:g.a,size:18})))),!B&&P&&e.createElement(y.p,{className:"googlesitekit-dashboard-sharing-settings__select",value:R,options:T,onChange:H,onClick:H,outlined:!0}),!B&&!P&&i&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(m.a)(Object(u.sprintf)(
50
  /* translators: %s: user who manages the module. */
51
  Object(u.__)("<span>Managed by</span> <strong>%s</strong>","google-site-kit"),i),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),e.createElement(s.a,{title:L?Object(u.sprintf)(
52
  /* translators: %s: name of the user who manages the module. */
53
  Object(u.__)("%s has connected this and given managing permissions to all admins. You can change who can view this on the dashboard.","google-site-kit"),i):Object(u.sprintf)(
54
  /* translators: %s: name of the user who manages the module. */
55
- Object(u.__)("Contact %s to change who can manage view access for this module.","google-site-kit"),i),classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(d.a,{icon:g.a,size:18}))))))}Module.propTypes={moduleSlug:o.a.string.isRequired,moduleName:o.a.string.isRequired,ownerUsername:o.a.string}}).call(this,n(3))},367:function(e,t,n){"use strict";(function(e){var r=n(24),a=n.n(r),i=n(13),o=n.n(i),c=n(0),l=n.n(c),s=n(8),u=n.n(s),d=n(141),g=n(127),f=n.n(g),m=n(1),p=n(57),h=n(2),b=n(4),v=n.n(b),y=n(18),O=n(22),_=n(253),k=n(142),E=n(20),j=n(131),w=n(10),S=n(16),N=n(34),C=n(136),T=v.a.useSelect,R=v.a.useDispatch,D=Object(m.__)("All","google-site-kit"),x=Object(h.forwardRef)((function(t,n){var r=t.moduleSlug,i=t.isLocked,c=void 0!==i&&i,l=Object(E.a)(),s=Object(h.useRef)(),g=Object(h.useState)([]),b=o()(g,2),v=b[0],x=b[1],A=R(S.a).setSharedRoles,P=R(N.b).setValue,L=T((function(e){return e(S.a).getShareableRoles()})),M=T((function(e){return e(S.a).getSharedRoles(r)})),I=T((function(e){return e(N.b).getValue(C.a)}))===r;Object(j.a)([p.d],n,(function(){I&&(P(C.a,void 0),s.current.focus())}));var z=Object(h.useCallback)((function(){I?(x(a()(M||[]).sort()),P(C.a,void 0)):(f()(a()(M||[]).sort(),v)||Object(w.y)("".concat(l,"_sharing"),"change_shared_roles",r),P(C.a,r))}),[I,M,v,l,r,P]),q=Object(h.useCallback)((function(e){var t,n=e.type,i=e.target,o=e.keyCode;if("keyup"!==n||o===p.c){var c,l=i.closest(".mdc-chip"),s=null==l||null===(t=l.dataset)||void 0===t?void 0:t.chipId;if(s)c="all"===s?(null==M?void 0:M.length)===(null==L?void 0:L.length)?[]:L.map((function(e){return e.id})):null===M?[s]:M.includes(s)?M.filter((function(e){return e!==s})):[].concat(a()(M),[s]),A(r,c)}}),[r,A,M,L]);return L?e.createElement("div",{className:u()("googlesitekit-user-role-select",{"googlesitekit-user-role-select--open":I})},e.createElement(y.a,{"aria-label":I?Object(m.__)("Close","google-site-kit"):Object(m.__)("Edit roles","google-site-kit"),className:"googlesitekit-user-role-select__button",onClick:z,icon:I?e.createElement(k.a,{width:18,height:18}):e.createElement(_.a,{width:23,height:23}),tabIndex:c?-1:void 0,ref:s}),!I&&(null==M?void 0:M.length)>0&&e.createElement("span",{className:"googlesitekit-user-role-select__current-roles"},(null==L?void 0:L.reduce((function(e,t){return M.includes(t.id)&&e.push(t.displayName),e}),[])).join(", ")),!I&&(!M||0===(null==M?void 0:M.length))&&e.createElement("span",{className:"googlesitekit-user-role-select__add-roles"},e.createElement(O.a,{onClick:function(){s.current.focus(),z()},tabIndex:c?-1:void 0},Object(m.__)("Add roles","google-site-kit"))),I&&e.createElement("div",{className:"googlesitekit-user-role-select__chipset"},e.createElement(d.Chip,{chipCheckmark:e.createElement(d.ChipCheckmark,null),"data-chip-id":"all",id:"all",label:D,onClick:q,onKeyUp:q,selected:(null==M?void 0:M.length)===(null==L?void 0:L.length),className:"googlesitekit-user-role-select__chip googlesitekit-user-role-select__chip--all"}),L.map((function(t,n){var r=t.id,a=t.displayName;return e.createElement(d.Chip,{chipCheckmark:e.createElement(d.ChipCheckmark,null),"data-chip-id":r,id:r,key:n,label:a,onClick:q,onKeyUp:q,selected:null==M?void 0:M.includes(r),className:"googlesitekit-user-role-select__chip"})})))):null}));x.propTypes={moduleSlug:l.a.string.isRequired,isLocked:l.a.bool},t.a=x}).call(this,n(3))},368:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(13),l=n.n(c),s=n(0),u=n.n(s),d=n(173),g=n(2),f=n(1),m=n(57),p=n(31),h=n.n(p),b=n(4),v=n.n(b),y=n(369),O=n(15),_=v.a.useSelect,k=function(){};function PostSearcherAutoSuggest(t){var n=t.id,r=t.match,i=t.setMatch,c=t.isLoading,s=t.showDropdown,u=void 0===s||s,p=t.setIsLoading,b=void 0===p?k:p,v=t.setIsActive,E=void 0===v?k:v,j=t.autoFocus,w=t.setCanSubmit,S=void 0===w?k:w,N=t.onClose,C=void 0===N?k:N,T=t.placeholder,R=void 0===T?"":T,D=Object(g.useRef)(),x=Object(g.useState)(""),A=l()(x,2),P=A[0],L=A[1],M=null==r?void 0:r.title,I=Object(y.a)(P,P===M?0:200),z=Object(g.useState)([]),q=l()(z,2),B=q[0],H=q[1],F=Object(f.__)("No results found","google-site-kit"),W=_((function(e){return e(O.c).getCurrentEntityTitle()})),U=Object(g.useRef)(null),V=Object(g.useCallback)((function(){E(!0)}),[E]),K=Object(g.useCallback)((function(e){var t,n,r;(null===(t=e.relatedTarget)||void 0===t?void 0:t.classList.contains("autocomplete__option--result"))||(E(!1),L(null!==(n=null!==(r=U.current)&&void 0!==r?r:W)&&void 0!==n?n:""))}),[W,E]),G=Object(g.useCallback)((function(e){if(Array.isArray(B)&&e!==F){var t=B.find((function(t){return t.title.toLowerCase()===e.toLowerCase()}));t?(U.current=t.title,S(!0),i(t),L(t.title)):U.current=null}else U.current=null,S(!1)}),[B,S,i,F,L]),X=Object(g.useCallback)((function(e){S(!1),L(e.target.value)}),[S]);Object(g.useEffect)((function(){if(""!==I&&I!==W&&(null==I?void 0:I.toLowerCase())!==(null==M?void 0:M.toLowerCase())){var e="undefined"==typeof AbortController?void 0:new AbortController;return(t=o()(a.a.mark((function t(){var n,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return b(!0),n=h.a.get("core","search","entity-search",{query:encodeURIComponent(I)},{useCache:!1,signal:null==e?void 0:e.signal}),D.current=n,t.prev=3,t.next=6,n;case 6:r=t.sent,H(r),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(3),H(null);case 13:return t.prev=13,n===D.current&&b(!1),t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[3,10,13,16]])}))),function(){return t.apply(this,arguments)})(),function(){return null==e?void 0:e.abort()}}var t}),[I,b,W,M]),Object(g.useEffect)((function(){P||H([])}),[P]),Object(g.useEffect)((function(){W&&L(W)}),[W]);var Y=Object(g.useRef)(),Q=Object(g.useCallback)((function(e){var t=Y.current;switch(e.keyCode){case m.e:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=0,t.selectionEnd=0);break;case m.b:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=t.value.length,t.selectionEnd=t.value.length)}switch(e.keyCode){case m.d:return C();case m.c:return G(P)}}),[C,G,P]);return e.createElement(d.a,{className:"autocomplete__wrapper",onSelect:G},e.createElement(d.b,{ref:Y,id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onBlur:K,onChange:X,onFocus:V,placeholder:R,onKeyDown:Q,value:P,autoFocus:j}),!c&&u&&I!==W&&""!==I&&0===(null==B?void 0:B.length)&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(d.d,{value:F,className:"autocomplete__option autocomplete__option--no-results"}))),u&&""!==I&&I!==W&&(null==B?void 0:B.length)>0&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},B.map((function(t){var n=t.id,r=t.title;return e.createElement(d.d,{key:n,value:r,className:"autocomplete__option autocomplete__option--result"})})))))}PostSearcherAutoSuggest.propTypes={id:u.a.string,match:u.a.object,setCanSubmit:u.a.func,setMatch:u.a.func,isLoading:u.a.bool,setIsLoading:u.a.func,onKeyDown:u.a.func,autoFocus:u.a.bool,placeholder:u.a.string}}).call(this,n(3))},369:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(13),a=n.n(r),i=n(2);function o(e,t){var n=Object(i.useState)(e),r=a()(n,2),o=r[0],c=r[1];return Object(i.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),o}},376: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:"M128.91 163c-12.56 3.66-25.8 10.57-31.82 22.81-6.35 12.93-1.46 28.49 10.19 36.65M271.09 163c12.56 3.66 25.8 10.57 31.82 22.81 6.35 12.93 1.46 28.49-10.19 36.65",stroke:"#EE675C",strokeLinejoin:"round",strokeWidth:9.27}),o=r.createElement("ellipse",{cx:200,cy:381.74,rx:79.51,ry:8.26,fill:"#F1F3F4"}),c=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"}),l=r.createElement("path",{d:"M216.76 201.8s-64.53 36.51-77.35 71.84c-4.72 13 3.53 27.36 17.27 29 11.31 1.39 28.4-3.14 53.06-24.33v31.36",stroke:"#C5221F",strokeLinejoin:"round",strokeWidth:9.27}),s=r.createElement("path",{d:"M216.76 201.8s-35.21 19.92-58.76 44.56",stroke:"#B31412",strokeLinejoin:"round",strokeWidth:9.27}),u=r.createElement("path",{stroke:"#C5221F",strokeLinejoin:"round",strokeWidth:9.27,d:"M218.98 201.47V380h29.52"}),d=r.createElement("path",{stroke:"#B31412",strokeLinejoin:"round",strokeWidth:9.27,d:"M218.98 201.47v47.5"}),g=r.createElement("circle",{cx:200,cy:162.34,r:81.45,fill:"#D93025"}),f=r.createElement("path",{d:"M206.36 156.18c-18.33 10.42-42 6.07-50.25-19.59M164.26 137.72c-5.22-2.69-9-2.82-16.17-.91",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6.62}),m=r.createElement("path",{d:"M107.28 222.48c28.36 19.87 76.07-7.28 88.72-35.17M292.72 222.48c-28.36 19.87-76.07-7.28-88.72-35.17",stroke:"#EE675C",strokeLinejoin:"round",strokeWidth:9.27});t.a=function SvgZeroStateRed(e){return r.createElement("svg",a({viewBox:"0 0 400 400",fill:"none"},e),i,o,c,l,s,u,d,g,f,m)}},379:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var r=n(8),a=n.n(r),i=n(0),o=n.n(i),c=n(9);function PageHeader(t){var n=t.title,r=t.icon,i=t.className,o=t.status,l=t.statusText,s=t.fullWidth,u=t.children,d=s?{size:12}:{smSize:4,mdSize:4,lgSize:6},g=""!==o||Boolean(u);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement(c.o,null,n&&e.createElement(c.a,d,r,e.createElement("h1",{className:a()("googlesitekit-page-header__title",i)},n)),g&&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:a()("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))},380:function(e,t,n){"use strict";(function(e){var r=n(46),a=n.n(r),i=n(47),o=n.n(i),c=n(82),l=n.n(c),s=n(83),u=n.n(s),d=n(51),g=n.n(d),f=n(0),m=n.n(f),p=n(2),h=n(9),b=n(22);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var y=function(t){l()(LayoutHeader,t);var n=v(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.e,null,e.createElement(h.o,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(b.a,{href:a,external:!0},r)))))}}]),LayoutHeader}(p.Component);y.propTypes={title:m.a.string,ctaLabel:m.a.string,ctaLink:m.a.string},y.defaultProps={title:"",ctaLabel:"",ctaLink:""},t.a=y}).call(this,n(3))},381:function(e,t,n){"use strict";(function(e){var r=n(46),a=n.n(r),i=n(47),o=n.n(i),c=n(82),l=n.n(c),s=n(83),u=n.n(s),d=n(51),g=n.n(d),f=n(0),m=n.n(f),p=n(2),h=n(9),b=n(109);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var y=function(t){l()(LayoutFooter,t);var n=v(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.e,null,e.createElement(h.o,null,e.createElement(h.a,{size:12},r&&n&&e.createElement(b.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),a))))}}]),LayoutFooter}(p.Component);y.propTypes={ctaLabel:m.a.string,ctaLink:m.a.string},t.a=y}).call(this,n(3))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},4:function(e,t){e.exports=googlesitekit.data},40: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"},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),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))}},427:function(e,t,n){"use strict";n.d(t,"a",(function(){return ScrollEffect}));var r=n(467);function ScrollEffect(){return Object(r.a)(),null}},43:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(129),a="xlarge",i="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},44:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return v})),n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return O}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=(n(24),n(10));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,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 u,d="googlesitekit_".concat("1.79.0","_"),g=["sessionStorage","localStorage"],f=[].concat(g),m=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 h.apply(this,arguments)}function h(){return(h=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===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,m(i);case 11:if(!t.sent){t.next=13;break}u=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===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=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(d).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)}}(),v=function(){var t=o()(a.a.mark((function t(n,r){var i,o,l,s,u,g,f,m,h=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},o=i.ttl,l=void 0===o?c.b:o,s=i.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,g=i.isError,f=void 0!==g&&g,t.next=3,p();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(d).concat(n),JSON.stringify({timestamp:u,ttl:l,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)}}(),y=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(d).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()(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(d)&&r.push(o.substring(d.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(21))},45:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ProgressBar}));var r=n(0),a=n.n(r),i=n(8),o=n.n(i);function ProgressBar(t){var n=t.className,r=t.small,a=t.compress,i=t.indeterminate,c=t.height,l=t.progress,s=void 0!==c?Math.round(c/2):void 0,u=l?"scaleX(".concat(l,")"):void 0;return e.createElement("div",{role:"progressbar",style:{marginTop:s,marginBottom:s},className:o()("mdc-linear-progress",n,{"mdc-linear-progress--indeterminate":i,"mdc-linear-progress--small":r,"mdc-linear-progress--compress":a})},e.createElement("div",{className:"mdc-linear-progress__buffering-dots"}),e.createElement("div",{className:"mdc-linear-progress__buffer"}),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__primary-bar",style:{transform:u}},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__secondary-bar"},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})))}ProgressBar.propTypes={className:a.a.string,small:a.a.bool,compress:a.a.bool,indeterminate:a.a.bool,progress:a.a.number,height:a.a.number},ProgressBar.defaultProps={className:"",small:!1,compress:!1,indeterminate:!0,progress:0}}).call(this,n(3))},455:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(13),a=n.n(r),i=n(6),o=n.n(i),c=n(0),l=n.n(c),s=n(8),u=n.n(s),d=n(391),g=n(2),f=n(4),m=n.n(f),p=n(244),h=n(132),b=n(40),v=n(34),y=n(9),O=n(43),_=n(156),k=n(456),E=n(458),j=n(52),w=n(12),S=m.a.useSelect;function N(e){var t,n=(t={},o()(t,O.d,48),o()(t,O.a,48),o()(t,O.c,32),o()(t,O.b,32),t)[e],r=Math.abs(Object(h.b)(e)+n);return"-".concat(r,"px -").concat(n,"px -").concat(n,"px -").concat(n,"px")}function WidgetAreaRenderer(t){var n=t.slug,r=t.contextID,i=Object(j.a)(),c=S((function(e){return i?e(w.a).getViewableModules():null})),l=Object(O.e)(),s=Object(g.useRef)(),f=Object(d.a)(s,{rootMargin:N(l),threshold:0}),m=S((function(e){return e(b.a).getWidgetArea(n)})),h=S((function(e){return e(b.a).getWidgets(n,{modules:c||void 0})})),C=S((function(e){return e(b.a).getWidgetStates()})),T=S((function(e){return e(b.a).isWidgetAreaActive(n,{modules:c||void 0})})),R=S((function(e){return e(v.b).getValue(v.a)})),D=Object(g.useState)({key:"WidgetAreaRenderer-".concat(n),value:R?R===r:!!(null==f?void 0:f.intersectionRatio)}),x=a()(D,2),A=x[0],P=x[1];if(Object(g.useEffect)((function(){P({key:"WidgetAreaRenderer-".concat(n),value:R?R===r:!!(null==f?void 0:f.intersectionRatio)})}),[f,n,R,r]),void 0===c)return null;var L,M=Object(p.d)(h,C),I=M.columnWidths,z=M.rowIndexes,q=Object(p.b)(h,C,{columnWidths:I,rowIndexes:z}),B=q.gridColumnWidths,H=q.overrideComponents,F=h.map((function(t,n){return e.createElement(E.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:B[n]},e.createElement(k.a,{OverrideComponent:H[n]?function(){var t=H[n],r=t.Component,a=t.metadata;return e.createElement(r,a)}:void 0,slug:t.slug}))})),W=m.Icon,U=m.title,V=m.style,K=m.subtitle;return T?e.createElement(_.a,{value:A},e.createElement(y.e,{className:u()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(n),"googlesitekit-widget-area--".concat(V)),ref:s},e.createElement(y.o,null,e.createElement(y.a,{className:"googlesitekit-widget-area-header",size:12},W&&e.createElement(W,{width:33,height:33}),U&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},U),K&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},K))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(y.o,null,V===b.b.BOXES&&F,V===b.b.COMPOSITE&&e.createElement(y.a,{size:12},e.createElement(y.e,null,e.createElement(y.o,null,F))))))):e.createElement(y.e,{className:u()(p.a,"googlesitekit-widget-area",(L={},o()(L,"googlesitekit-widget-area--".concat(n),!!n),o()(L,"googlesitekit-widget-area--".concat(V),!!V),L)),ref:s},F)}WidgetAreaRenderer.propTypes={slug:l.a.string.isRequired,contextID:l.a.string}}).call(this,n(3))},456:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(422),o=n.n(i),c=n(2),l=n(4),s=n.n(l),u=n(40),d=n(16),g=n(236),f=n(457),m=n(244),p=n(116),h=n(52),b=n(60),v=s.a.useSelect,y=function WidgetRenderer(t){var n=t.slug,r=t.OverrideComponent,a=Object(b.a)("dashboardSharing"),i=v((function(e){return e(u.a).getWidget(n)})),l=Object(m.c)(n),s=l.Widget,y=l.WidgetNull,O=v((function(e){return a&&e(d.a).getRecoverableModules()})),_=Object(h.a)(),k=Object(c.useMemo)((function(){return i&&O&&o()(i.modules,Object.keys(O))}),[O,i]);if(!i)return e.createElement(y,null);var E=i.Component,j=i.wrapWidget,w=e.createElement(E,l);return _&&(null==k?void 0:k.length)&&(w=e.createElement(f.a,{widgetSlug:n,moduleSlugs:k})),r?w=e.createElement(c.Fragment,null,e.createElement(g.a,{widgetSlug:"overridden"},e.createElement(r,null)),e.createElement("div",{className:p.a},w)):j&&(w=e.createElement(s,null,w)),w};y.propTypes={slug:a.a.string.isRequired,OverrideComponent:a.a.elementType},t.a=y}).call(this,n(3))},457:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(24),l=n.n(c),s=n(19),u=n.n(s),d=n(0),g=n.n(d),f=n(2),m=n(123),p=n(170);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,r=t.moduleSlugs,a=u()(t,["widgetSlug","moduleSlugs"]),i=Object(f.useMemo)((function(){return{moduleSlug:l()(r).sort().join(","),moduleSlugs:r}}),[r]);return Object(m.a)(n,p.a,i),e.createElement(p.a,o()({moduleSlugs:r},a))}WidgetRecoverableModules.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:g.a.string.isRequired},p.a.propTypes)}).call(this,n(3))},458:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(116),o=n(9),c=function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:i.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:a.a.number.isRequired,children:a.a.element.isRequired},t.a=c}).call(this,n(3))},459:function(e,t,n){"use strict";(function(e){var r=n(13),a=n.n(r),i=n(98),o=n(402),c=n(148),l=n(2),s=n(1),u=n(4),d=n.n(u),g=n(18),f=n(45),m=n(62),p=n(460),h=n(461),b=n(368),v=n(15),y=n(39),O=n(10),_=n(91),k=n(20),E=d.a.useSelect,j=d.a.useDispatch;t.a=function EntitySearchInput(){var t=Object(c.a)(EntitySearchInput,"EntitySearchInput"),n=Object(l.useState)(!1),r=a()(n,2),u=r[0],d=r[1],w=Object(l.useState)(!1),S=a()(w,2),N=S[0],C=S[1],T=Object(l.useState)(!1),R=a()(T,2),D=R[0],x=R[1],A=Object(k.a)(),P=Object(_.c)(),L=Object(l.useRef)(),M=Object(l.useCallback)((function(){Object(O.y)("".concat(A,"_headerbar"),"open_urlsearch"),d(!0)}),[A]),I=Object(l.useCallback)((function(){Object(O.y)("".concat(A,"_headerbar"),"close_urlsearch"),d(!1)}),[A]),z=Object(l.useState)({}),q=a()(z,2),B=q[0],H=q[1],F=E((function(e){return(null==B?void 0:B.url)?e(v.c).getAdminURL("googlesitekit-dashboard",{permaLink:B.url}):null})),W=j(y.a).navigateTo;return Object(l.useEffect)((function(){F&&Object(O.y)("".concat(A,"_headerbar_urlsearch"),"open_urldetails").finally((function(){W(F)}))}),[F,W,A]),Object(i.a)((function(){P===_.a&&d(!0)})),Object(o.a)((function(){var e;u||(null==L||null===(e=L.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:B,setIsActive:x,setMatch:H,placeholder:Object(s.__)("Enter title or URL…","google-site-kit"),isLoading:N,setIsLoading:C,showDropdown:D,onClose:I,autoFocus:!0}),N&&D&&e.createElement(f.a,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(g.a,{onClick:I,trailingIcon:e.createElement(h.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(g.a,{className:"googlesitekit-border-radius-round--phone googlesitekit-button-icon--phone",onClick:M,text:!0,ref:L,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))},460: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:"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",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},461: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:"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",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},462:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(13),a=n.n(r),i=n(254),o=n(8),c=n.n(o),l=n(2),s=n(57),u=n(1),d=n(4),g=n.n(d),f=n(463),m=n(12),p=n(131),h=n(58),b=n(143),v=n(18),y=n(10),O=n(34),_=n(20),k=g.a.useSelect,E=g.a.useDispatch;function DateRangeSelector(){var t,n=Object(h.f)(),r=k((function(e){return e(m.a).getDateRange()})),o=E(m.a).setDateRange,d=E(O.b).resetInViewHook,g=Object(l.useState)(!1),j=a()(g,2),w=j[0],S=j[1],N=Object(l.useRef)(),C=Object(_.a)();Object(i.a)(N,(function(){return S(!1)})),Object(p.a)([s.d,s.f],N,(function(){return S(!1)}));var T=Object(l.useCallback)((function(){S(!w)}),[w]),R=Object(l.useCallback)((function(e){var t=Object.values(n)[e].slug;r!==t&&Object(y.y)("".concat(C,"_headerbar"),"change_daterange",t),d(),o(t),S(!1)}),[n,r,d,o,C]),D=null===(t=n[r])||void 0===t?void 0:t.label,x=Object.values(n).map((function(e){return e.label}));return e.createElement("div",{ref:N,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(v.a,{className:c()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu","googlesitekit-border-radius-round--phone","googlesitekit-button-icon--phone"),text:!0,onClick:T,icon:e.createElement(f.a,{width:"20",height:"20"}),"aria-haspopup":"menu","aria-expanded":w,"aria-controls":"date-range-selector-menu",title:Object(u.__)("Date range","google-site-kit"),tooltip:!0},D),e.createElement(b.a,{menuOpen:w,menuItems:x,onSelected:R,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(3))},463: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:"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",a({viewBox:"0 0 18 20"},e),i)}},464:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ZeroDataStateNotifications}));var r=n(1),a=n(4),i=n.n(a),o=n(12),c=n(16),l=n(52),s=n(11),u=n(68),d=n(465),g=n(466),f=i.a.useSelect,m=i.a.useInViewSelect;function ZeroDataStateNotifications(){var t,n=Object(l.a)(),a=f((function(e){return e(c.a).isModuleConnected("analytics")})),i=f((function(e){return!n||e(o.a).canViewSharedModule("analytics")})),p=m((function(e){return!(!a||!i)&&e(s.f).isGatheringData()})),h=m((function(e){return e(u.b).isGatheringData()})),b=m((function(e){return!(!a||!i)&&e(s.f).hasZeroData()})),v=m((function(e){return e(u.b).hasZeroData()}));return void 0===p||void 0===h||void 0===b||void 0===v?null:p||h||b||v?(p&&h?t=Object(r.__)("Search Console and Analytics are gathering data","google-site-kit"):p?t=Object(r.__)("Analytics is gathering data","google-site-kit"):h&&(t=Object(r.__)("Search Console is gathering data","google-site-kit")),p||h?e.createElement(d.a,{title:t}):e.createElement(g.a,null)):null}}).call(this,n(3))},465:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GatheringDataNotification}));var r=n(0),a=n.n(r),i=n(98),o=n(1),c=n(2),l=n(56),s=n(376),u=n(10),d=n(20);function GatheringDataNotification(t){var n=t.title,r=Object(d.a)(),a="".concat(r,"_gathering-data-notification"),g=Object(c.useCallback)((function(){Object(u.y)(a,"dismiss_notification")}),[a]);return Object(i.a)((function(){Object(u.y)(a,"view_notification")})),e.createElement(l.b,{id:"gathering-data-notification",title:n,description:Object(o.__)("It can take up to 48 hours before stats show up for your site. While you’re waiting, connect more services to get more stats.","google-site-kit"),format:"small",dismiss:Object(o.__)("OK, Got it!","google-site-kit"),dismissExpires:Object(u.n)("day"),SmallImageSVG:s.a,onDismiss:g,isDismissible:!0})}GatheringDataNotification.propTypes={title:a.a.string}}).call(this,n(3))},466:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ZeroDataNotification}));var r=n(98),a=n(1),i=n(2),o=n(56),c=n(324),l=n(10),s=n(20);function ZeroDataNotification(){var t=Object(s.a)(),n="".concat(t,"_zero-data-notification"),u=Object(i.useCallback)((function(){Object(l.y)(n,"dismiss_notification")}),[n]),d=Object(i.useCallback)((function(){Object(l.y)(n,"click_learn_more_link")}),[n]);return Object(r.a)((function(){Object(l.y)(n,"view_notification")})),e.createElement(o.b,{id:"zero-data-notification",title:Object(a.__)("Not enough traffic yet to display stats","google-site-kit"),description:Object(a.__)("Site Kit will start showing stats on the dashboard as soon as enough people have visited your site. Keep working on your site to attract more visitors.","google-site-kit"),format:"small",learnMoreLabel:Object(a.__)("Learn more","google-site-kit"),learnMoreURL:"https://sitekit.withgoogle.com/documentation/using-site-kit/using-the-site-kit-dashboard/#not-enough-traffic",dismiss:Object(a.__)("Remind me later","google-site-kit"),dismissExpires:Object(l.n)("day"),SmallImageSVG:c.a,onDismiss:u,onLearnMoreClick:d,isDismissible:!0})}}).call(this,n(3))},467:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(13),a=n.n(r),i=n(478),o=n(2),c=function(){var t=Object(i.a)().y,n=Object(o.useState)(!1),r=a()(n,2),c=r[0],l=r[1],s="googlesitekit-plugin--has-scrolled";return Object(o.useEffect)((function(){c?e.document.body.classList.add(s):e.document.body.classList.remove(s)}),[c]),t>0&&!c?l(!0):0===t&&c&&l(!1),c}}).call(this,n(21))},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(29);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},50: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(111);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)}},52:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(23),a=n(20);function i(){var e=Object(a.a)();return e===r.i||e===r.l}},56:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return I}));var a=n(17),i=n.n(a),o=n(6),c=n.n(o),l=n(5),s=n.n(l),u=n(14),d=n.n(u),g=n(13),f=n.n(g),m=n(0),p=n.n(m),h=n(8),b=n.n(h),v=n(241),y=n.n(v),O=n(98),_=n(2),k=n(104),E=n(9),j=n(132),w=n(50),S=n(63),N=n(112),C=n(18),T=n(168),R=n(151),D=n(22),x=n(128),A=n(145),P=n(44),L=n(43),M=n(114),I={EXTERNAL:"external",INTERNAL:"internal"};function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,l=t.badgeLabel,u=t.blockData,g=t.children,m=t.className,p=t.ctaLabel,h=t.ctaLink,v=t.ctaTarget,z=t.description,q=t.dismiss,B=t.dismissExpires,H=t.format,F=t.id,W=t.isDismissible,U=t.learnMoreDescription,V=t.learnMoreLabel,K=t.learnMoreURL,G=t.learnMoreTarget,X=t.logo,Y=t.module,Q=t.moduleName,Z=t.noBottomPadding,$=t.onCTAClick,J=t.onDismiss,ee=t.onLearnMoreClick,te=t.pageIndex,ne=t.showOnce,re=t.SmallImageSVG,ae=t.title,ie=t.type,oe=t.WinImageSVG,ce=t.rounded,le=void 0!==ce&&ce,se=Object(_.useState)(!1),ue=f()(se,2),de=ue[0],ge=ue[1],fe=Object(_.useState)(!1),me=f()(fe,2),pe=me[0],he=me[1],be="notification::dismissed::".concat(F),ve=function(){return Object(P.d)(be,new Date,{ttl:null})},ye=Object(L.e)();function Oe(){return(Oe=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!J){e.next=5;break}return e.next=5,J(t);case 5:_e();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _e(){ge(!0),setTimeout(d()(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,ve();case 2:he(!0),t=new Event("notificationDismissed"),document.dispatchEvent(t);case 5:case"end":return e.stop()}}),e)}))),350)}function ke(){return(ke=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),!$){e.next=4;break}return e.next=4,$(t);case 4:W&&_e();case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(O.a)(d()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(B>0)){e.next=3;break}return e.next=3,we();case 3:if(!W){e.next=9;break}return e.next=6,Object(P.b)(be);case 6:t=e.sent,n=t.cacheHit,he(n);case 9:if(!ne){e.next=12;break}return e.next=12,ve();case 12:case"end":return e.stop()}}),e)}))));var Ee=Object(_.useCallback)((function(t){Object(w.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(j.a)(a,ye),behavior:"smooth"}))}),[a,ye]);function je(){return(je=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.persist(),null==ee||ee();case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function we(){return Se.apply(this,arguments)}function Se(){return(Se=d()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(P.b)(be);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(B,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(P.a)(be);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(W&&(void 0===pe||pe))return null;var Ne,Ce=de?"is-closed":"is-open",Te="large"===H&&"win-stats-increase"===ie,Re=Object(M.d)(H),De=Object(M.c)(H),xe=Object(M.a)(H),Ae=Object(M.b)({format:H,inlineLayout:Te,hasErrorOrWarning:"win-error"===ie||"win-warning"===ie,hasSmallImageSVG:!!re,hasWinImageSVG:!!oe});Ne="win-warning"===ie?r.createElement(T.a,{width:34}):"win-error"===ie?r.createElement(R.a,{width:28}):"";var Pe=r.createElement(_.Fragment,null,u&&r.createElement(E.o,null,y()(u,(function(e,t){return r.createElement(E.a,{key:t,lgSize:Te?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(N.a,e)))})))),Le=r.createElement(_.Fragment,null,ae&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},ae,l&&r.createElement(x.a,{label:l})),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(D.a,{href:a,onClick:Ee},o)),z&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(_.isValidElement)(z)?z:r.createElement("span",{dangerouslySetInnerHTML:Object(S.a)(z,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),V&&r.createElement(_.Fragment,null," ",r.createElement(D.a,{onClick:function(e){return je.apply(this,arguments)},href:K,external:G===I.EXTERNAL},V),U),te&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},te))),g),Me=Y?r.createElement(A.a,{slug:Y,size:19}):r.createElement(k.a,{height:"34",width:"32"}),Ie=Te?{size:12,smOrder:2,mdOrder:1}:{size:12},ze=h?D.a:C.a;return r.createElement("section",{id:F,className:b()(m,"googlesitekit-publisher-win",(n={},c()(n,"googlesitekit-publisher-win--".concat(H),H),c()(n,"googlesitekit-publisher-win--".concat(ie),ie),c()(n,"googlesitekit-publisher-win--".concat(Ce),Ce),c()(n,"googlesitekit-publisher-win--rounded",le),c()(n,"googlesitekit-publisher-win--no-bottom-padding",Z),n))},r.createElement(E.e,{className:b()({"googlesitekit-padding-bottom-0":Z})},r.createElement(E.o,null,X&&r.createElement(E.a,Ie,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},Me),Q&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},Q)),re&&r.createElement(E.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(re,null)),r.createElement(E.a,i()({},Ae,xe,{className:"googlesitekit-publisher-win__content"}),Te?r.createElement(E.o,null,r.createElement(E.a,{mdSize:8,lgSize:5},Le),r.createElement(E.a,{alignBottom:!0,mdSize:8,lgSize:7},Pe)):r.createElement(_.Fragment,null,Le,Pe),h&&r.createElement(C.a,{className:"googlesitekit-notification__cta",href:h,target:v,onClick:function(e){return ke.apply(this,arguments)}},p),W&&q&&r.createElement(ze,{onClick:function(e){return Oe.apply(this,arguments)}},q)),oe&&r.createElement(E.a,i()({},Re,De,{alignBottom:"larger"===H&&Z}),r.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(H)},r.createElement(oe,null))),("win-error"===ie||"win-warning"===ie)&&r.createElement(E.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},Ne)))))}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,learnMoreTarget:p.a.oneOf(Object.values(I)),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,onLearnMoreClick:p.a.func,anchorLink:p.a.string,anchorLinkLabel:p.a.string,badgeLabel:p.a.string,noBottomPadding:p.a.bool,rounded:p.a.bool},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1,noBottomPadding:!1,learnMoreTarget:I.EXTERNAL},t.b=BannerNotification}).call(this,n(21),n(3))},58:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return m.a})),n.d(t,"f",(function(){return y})),n.d(t,"k",(function(){return p}));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=3600,o=86400,c=604800,l=n(7),s=n.n(l),u=n(35),d=function(e){var t=new Date(e);s()(Object(u.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("-")},g=n(13),f=n.n(g),m=n(41),p=function(e){s()(Object(m.a)(e),r);var t=e.split("-"),n=f()(t,3),a=n[0],i=n[1],o=n[2];return new Date(a,i-1,o)},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=p(e);return n.setDate(n.getDate()-t),d(n)},b=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]};var v=n(1);function y(){var e=function(e){return Object(v.sprintf)(
56
  /* translators: %s: number of days */
57
  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}}}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),a=n(106),i=n(33),o=function(e){var t=Object(r.useContext)(a.a);return Object(i.b)(e,t)}},61:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(8),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))},62:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),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))},63: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(73),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,/\/+$/,"")}},64:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(162),c=n(348),l=n(18),s=n(104),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))},65: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(0),o=n.n(i),c=n(8),l=n.n(c),s=n(1),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:l()("googlesitekit-gathering-data-notice",a()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(s.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(3))},66:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return l}));n(54);var r="missing_required_scopes",a="insufficientPermissions",i="forbidden";function o(e){return(null==e?void 0:e.code)===r}function c(e){var t;return[a,i].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function l(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}},67: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},68: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},72:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return j})),n.d(t,"a",(function(){return w}));var r=n(13),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(19),u=n.n(s),d=n(25),g=n(70),f=n.n(g),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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=v(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},v=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=h(h({unitDisplay:void 0===i?"short":i},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?E(a,h(h({},o),{},{unit:"second"})):Object(m.sprintf)(
58
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
46
  /* translators: %s: module name. */
47
  Object(l.__)("%s data was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),k[E[0]].name),T=e.createElement(c.Fragment,null,e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(l.__)("By recovering the module, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),e.createElement(g.a,{onClick:S,disabled:b},Object(l.__)("Recover","google-site-kit")),e.createElement(h.a,{isSaving:b}))):(C=Object(l.__)("The data for the following modules was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),T=e.createElement(c.Fragment,null,E.map((function(t){return e.createElement("div",{key:t},e.createElement(f.a,{checked:r[t],name:"module-recovery-alert-checkbox",id:"module-recovery-alert-checkbox-".concat(t),onChange:function(){return w(t)},value:t,disabled:b},k[t].name))})),e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(l.__)("By recovering the selected modules, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),e.createElement(g.a,{onClick:S,disabled:b||!Object.values(r).some((function(e){return e}))},Object(l.__)("Recover","google-site-kit")),e.createElement(h.a,{isSaving:b}))),e.createElement(m.b,{id:"module-recovery-alert",title:Object(l.__)("Dashboard data for some services has been interrupted","google-site-kit"),description:C,learnMoreURL:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",learnMoreLabel:Object(l.__)("Learn more","google-site-kit")},T)}}).call(this,n(3))},286:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(4),a=n.n(r),i=n(12),o=n(52),c=n(287),l=a.a.useSelect;function DashboardNavigation(){var t=Object(o.a)();return void 0===l((function(e){return t?e(i.a).getViewableModules():null}))?null:e.createElement(c.a,null)}}).call(this,n(3))},287:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var a=n(24),i=n.n(a),o=n(13),c=n.n(o),l=n(98),s=n(141),u=n(8),d=n.n(u),g=n(219),f=n.n(g),m=n(2),p=n(1),h=n(4),b=n.n(h),v=n(288),y=n(289),O=n(290),_=n(291),k=n(23),E=n(12),j=n(40),w=n(34),S=n(92),N=n(91),C=n(43),T=n(132),R=n(10),D=n(20),x=n(52);function A(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 L=b.a.useSelect,M=b.a.useDispatch;function Navigation(){var t,n=Object(N.c)(),a=Object(m.useRef)(),o=Object(C.e)(),u=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),g=Object(m.useState)(u),h=c()(g,2),b=h[0],P=h[1],I=Object(m.useState)(u||void 0),z=c()(I,2),q=z[0],B=z[1],H=Object(m.useState)(!1),F=c()(H,2),W=F[0],U=F[1],V=Object(D.a)(),K=Object(x.a)(),G=M(w.b).setValue,X=L((function(e){return K?e(E.a).getViewableModules():null})),Y={modules:X||void 0},Q=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_TRAFFIC:S.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,Y)})),Z=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_CONTENT:S.CONTEXT_ENTITY_DASHBOARD_CONTENT,Y)})),$=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_SPEED:S.CONTEXT_ENTITY_DASHBOARD_SPEED,Y)})),J=L((function(e){return e(j.a).isWidgetContextActive(n===N.b?S.CONTEXT_MAIN_DASHBOARD_MONETIZATION:S.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,Y)})),ee=Object(m.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.history.replaceState({},"","#".concat(a)),B(a),Object(R.y)("".concat(V,"_navigation"),"tab_select",a),e.scrollTo({top:a!==k.d?Object(T.a)("#".concat(a),o):0,behavior:"smooth"}),setTimeout((function(){G(w.a,a)}),50)}),[o,V,G]);return Object(l.a)((function(){var t=K?Q?k.d:Z?k.a:$?k.c:J?k.b:"":k.d;if(!u)return P(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=u;(function(e){return!(!Q||e!==k.d)||(!(!Z||e!==k.a)||(!(!$||e!==k.c)||!(!J||e!==k.b)))})(n)||(n=t),G(w.a,n),P(n),setTimeout((function(){e.scrollTo({top:n!==t?Object(T.a)("#".concat(n),o):0,behavior:"smooth"})}),50)})),Object(m.useEffect)((function(){var t=function(e){G(w.a,void 0),P(e),B(void 0)},n=f()((function(n){var r,o,c,l,s=e.scrollY,u=null===(r=document.querySelector(".googlesitekit-entity-header"))||void 0===r||null===(o=r.getBoundingClientRect())||void 0===o?void 0:o.bottom,d=null==a||null===(c=a.current)||void 0===c?void 0:c.getBoundingClientRect(),g=d.bottom,f=d.top,m=[].concat(i()(Q?[k.d]:[]),i()(Z?[k.a]:[]),i()($?[k.c]:[]),i()(J?[k.b]:[])),p=k.d;if(0===s)U(!1);else{var h,b=null===(h=document.querySelector(".googlesitekit-header"))||void 0===h?void 0:h.getBoundingClientRect().bottom;U(f===b)}var v,y=A(m);try{for(y.s();!(v=y.n()).done;){var O=v.value,_=document.getElementById(O);if(_){var E=_.getBoundingClientRect().top-20-(u||g||0);E<0&&(void 0===l||l<E)&&(l=E,p=O)}}}catch(e){y.e(e)}finally{y.f()}if(q)q===p&&t(p);else{var j=e.location.hash;p!==(null==j?void 0:j.substring(1))&&(n&&Object(R.y)("".concat(V,"_navigation"),"tab_scroll",p),e.history.replaceState({},"","#".concat(p)),t(p))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[q,Q,Z,$,J,V,G]),r.createElement("nav",{className:d()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":W}),ref:a},Q&&r.createElement(s.Chip,{id:k.d,label:Object(p.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"16"}),onClick:ee,selected:b===k.d,"data-context-id":k.d}),Z&&r.createElement(s.Chip,{id:k.a,label:Object(p.__)("Content","google-site-kit"),leadingIcon:r.createElement(y.a,{width:"18",height:"18"}),onClick:ee,selected:b===k.a,"data-context-id":k.a}),$&&r.createElement(s.Chip,{id:k.c,label:Object(p.__)("Speed","google-site-kit"),leadingIcon:r.createElement(O.a,{width:"20",height:"16"}),onClick:ee,selected:b===k.c,"data-context-id":k.c}),J&&r.createElement(s.Chip,{id:k.b,label:Object(p.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"18",height:"16"}),onClick:ee,selected:b===k.b,"data-context-id":k.b}))}}).call(this,n(21),n(3))},288: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)}},289: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)}},29: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"},290: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)}},291: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)}},292:function(e,t,n){"use strict";(function(e,r){var a=n(13),i=n.n(a),o=n(219),c=n.n(o),l=n(1),s=n(2),u=n(4),d=n.n(u),g=n(18),f=n(15),m=n(293),p=n(39),h=n(22),b=n(50),v=n(10),y=n(91),O=n(20),_=d.a.useSelect,k=d.a.useDispatch;t.a=function EntityHeader(){var t=Object(O.a)(),n=Object(y.c)(),a=_((function(e){return e(f.c).getCurrentEntityTitle()})),o=_((function(e){return e(f.c).getCurrentEntityURL()})),u=Object(s.useRef)(),d=Object(s.useState)(o),E=i()(d,2),j=E[0],w=E[1];Object(s.useEffect)((function(){var t=function(){if(u.current){var t=u.current.clientWidth-40,n=e.getComputedStyle(u.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);w(Object(b.e)(o,r))}},n=c()(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[o,u,w]);var S=k(p.a).navigateTo,N=_((function(e){return e(f.c).getAdminURL("googlesitekit-dashboard")})),C=Object(s.useCallback)((function(){Object(v.y)("".concat(t,"_navigation"),"return_to_dashboard"),S(N)}),[N,S,t]);return y.a!==n||null===o||null===a?null:r.createElement("div",{className:"googlesitekit-entity-header"},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(g.a,{icon:r.createElement(m.a,{width:24,height:24}),"aria-label":Object(l.__)("Back to dashboard","google-site-kit"),onClick:C,text:!0},Object(l.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:u,className:"googlesitekit-entity-header__details"},r.createElement("p",null,a),r.createElement(h.a,{href:o,"aria-label":o,external:!0},j)))}}).call(this,n(21),n(3))},293: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)}},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var r=n(13),a=n.n(r),i=n(254),o=n(8),c=n.n(o),l=n(2),s=n(1),u=n(57),d=n(20),g=n(131),f=n(10),m=n(295),p=n(18),h=n(143),b=n(296),v=n(297),y=n(299),O=n(4),_=n.n(O),k=n(12),E=_.a.useSelect;function ViewOnlyMenu(){var t=Object(l.useState)(!1),n=a()(t,2),r=n[0],o=n[1],O=Object(l.useRef)(),_=Object(d.a)();Object(i.a)(O,(function(){return o(!1)})),Object(g.a)([u.d,u.f],O,(function(){return o(!1)}));var j=Object(l.useCallback)((function(){r||Object(f.y)("".concat(_,"_headerbar"),"open_viewonly"),o(!r)}),[r,_]),w=E((function(e){return e(k.a).hasCapability(k.c)}));return e.createElement("div",{ref:O,className:c()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":w})},e.createElement(p.a,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:j,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(m.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":r,"aria-controls":"view-only-menu","aria-label":Object(s.__)("View only","google-site-kit"),tooltip:!0},Object(s.__)("View only","google-site-kit")),e.createElement(h.a,{menuOpen:r,nonInteractive:!0,onSelected:j,id:"view-only-menu"},e.createElement(b.a,null),e.createElement(v.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(y.a,null)))}}).call(this,n(3))},295: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:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return r.createElement("svg",a({viewBox:"0 0 16 10",fill:"none"},e),i)}},296:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(2),l=n(76),s=n(1),u=n(4),d=n.n(u),g=n(39),f=n(15),m=n(12),p=n(10),h=n(18),b=n(22),v=n(20),y=d.a.useDispatch,O=d.a.useSelect;function Description(){var t=Object(v.a)(),n=O((function(e){return e(m.a).hasCapability(m.c)})),r=O((function(e){return e(f.c).getProxySetupURL()})),i=y(g.a).navigateTo,u=Object(c.useCallback)(function(){var e=o()(a.a.mark((function e(n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Object(p.y)("".concat(t,"_headerbar_viewonly"),"start_user_setup",r?"proxy":"custom-oauth");case 3:i(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,i,t]),d=Object(c.useCallback)((function(){Object(p.y)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),_=n?Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(b.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",external:!0,onClick:d,"aria-label":Object(s.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,_),n&&e.createElement(h.a,{onClick:u},Object(s.__)("Sign in with Google","google-site-kit")))}}).call(this,n(3))},297:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var r=n(1),a=n(4),i=n.n(a),o=n(12),c=n(298),l=i.a.useSelect;function SharedServices(){var t=l((function(e){return e(o.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(r.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(c.a,{key:t,module:t})}))))}}).call(this,n(3))},298:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var r=n(0),a=n.n(r),i=n(76),o=n(1),c=n(4),l=n.n(c),s=n(16),u=n(12),d=l.a.useSelect;function Service(t){var n=t.module,r=d((function(e){return e(u.a).hasCapability(u.c)})),a=d((function(e){return e(s.a).getModule(n)})),c=a.name,l=a.owner,g=d((function(e){return e(s.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(g,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},c),r&&(null==l?void 0:l.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(i.a)(Object(o.sprintf)(
48
  /* translators: %s: module owner Google Account email address */
49
+ Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),l.login),{strong:e.createElement("strong",null)})))}Service.propTypes={module:a.a.string.isRequired}}).call(this,n(3))},299:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(76),a=n(1),i=n(211),o=n(20);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(a.__)("Thanks for using Site Kit!<br />Help us make it even better.","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(i.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly")}))}}).call(this,n(3))},300: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)}},31:function(e,t){e.exports=googlesitekit.api},32:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return v}));var r=n(86),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,g=a.isAuthenticated,f={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:g,pluginVersion:"1.79.1"},m=Object(r.a)(f),p=m.enableTracking,h=m.disableTracking,b=(m.isTrackingEnabled,m.initializeSnippet),v=m.trackEvent;function y(e){e?p():h()}c&&l&&b()}).call(this,n(21))},324: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("ellipse",{cx:175.51,cy:381.74,rx:104,ry:8.26,fill:"#F1F3F4"}),o=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"}),c=r.createElement("path",{d:"M201.85 238.9l61.65 74a20 20 0 011 24.29l-30 42.81h32.13",stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:9.27}),l=r.createElement("path",{stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:9.27,d:"M214.03 222.14L114.03 380h-29.6"}),s=r.createElement("path",{stroke:"#185ABC",strokeLinejoin:"round",strokeWidth:9.27,d:"M201.85 238.9l46.71 56.1M214.03 222.14L167.87 295"}),u=r.createElement("path",{d:"M129.21 229.83l-11.7-42.66A50 50 0 01136 133.78L191 93a10 10 0 004-8V61.71M270.79 229.83l11.7-42.66A50 50 0 00264 133.78L209.05 93a10 10 0 01-4.05-8V61.71",stroke:"#4285F4",strokeLinejoin:"round",strokeWidth:9.27}),d=r.createElement("path",{d:"M199.87 289.41a81.45 81.45 0 0081.58-81.32l-162.9-.26a81.45 81.45 0 0081.32 81.58z",fill:"#1A73E8"}),g=r.createElement("path",{d:"M172.86 256.89c13.38 16.47 37.19 21.05 54.28 0",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6.66});t.a=function SvgZeroStateBlue(e){return r.createElement("svg",a({viewBox:"0 0 400 400",fill:"none"},e),i,o,c,l,s,u,d,g)}},326:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(33),i=(e._googlesitekitUserData||{}).hasMultipleAdmins,o=[{target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--view",title:Object(r.__)("Manage view access for other roles","google-site-kit"),content:Object(r.__)("Grant access to the view-only dashboard for each service for the specific roles you want. Users will see the Site Kit dashboard with only the services that have been shared with them without needing to sign-in with Google.","google-site-kit"),placement:"auto"}];i&&o.push({target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--manage",title:Object(r.__)("Share management with other admins","google-site-kit"),content:Object(r.__)("By default only the user who connects a service can control who it is shared with. This setting optionally lets these users allow any other admin signed in with Google to manage the roles a service is shared with.","google-site-kit"),placement:"auto"}),t.a={slug:"dashboardSharingSettings",gaEventCategory:function(e){return"".concat(e,"_dashboard-sharing")},checkRequirements:function(){return Object(a.b)("dashboardSharing")},steps:o}}).call(this,n(21))},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(21))},330:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(8),o=n.n(i),c=n(4),l=n.n(c),s=n(455),u=n(12),d=n(40),g=n(9),f=n(52),m=l.a.useSelect,p=function WidgetContextRenderer(t){var n=t.id,r=t.slug,a=t.className,i=t.Header,c=t.Footer,l=Object(f.a)(),p=m((function(e){return l?e(u.a).getViewableModules():null})),h=m((function(e){return r?e(d.a).getWidgetAreas(r):null})),b=m((function(e){return!!r&&e(d.a).isWidgetContextActive(r,{modules:p||void 0})}));return void 0===p?null:e.createElement("div",{id:n,className:o()("googlesitekit-widget-context",{"googlesitekit-hidden":!b},a)},i&&b&&e.createElement(g.e,null,e.createElement(g.o,null,e.createElement(g.a,{size:12},e.createElement(i,null)))),h&&h.map((function(t){return e.createElement(s.a,{key:t.slug,slug:t.slug,contextID:n})})),c&&b&&e.createElement(g.e,null,e.createElement(g.o,null,e.createElement(g.a,{size:12},e.createElement(c,null)))))};p.propTypes={id:a.a.string,slug:a.a.string,className:a.a.string,Header:a.a.elementType,Footer:a.a.elementType},t.a=p}).call(this,n(3))},335:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return DashboardSharingSettingsButton}));var r=n(478),a=n(1),i=n(162),o=n(613),c=n(2),l=n(76),s=n(4),u=n.n(s),d=n(22),g=n(18),f=n(95),m=n(253),p=n(363),h=n(20),b=n(365),v=n(10),y=n(34),O=n(15),_=n(16),k=n(43),E=n(9),j=n(136),w=n(12),S=n(326),N=u.a.useSelect,C=u.a.useDispatch,T="dashboardSharingDialogOpen";function DashboardSharingSettingsButton(){var t=Object(h.a)(),n=Object(k.e)(),s=Object(r.a)().y,u=C(y.b).setValue,R=N((function(e){return!!e(y.b).getValue(T)})),D=N((function(e){return e(O.c).hasMultipleAdmins()})),x=N((function(e){return e(_.a).haveSharingSettingsChanged()})),A=N((function(e){return e(y.b).getValue(j.a)})),P=Object(c.useCallback)((function(){Object(v.y)("".concat(t,"_headerbar"),"open_sharing",D?"advanced":"simple"),u(T,!0)}),[u,t,D]),L=Object(c.useCallback)((function(){u(T,!1),u(j.a,void 0)}),[u]),M=C(_.a).rollbackSharingSettings;Object(c.useEffect)((function(){!R&&x&&M()}),[R,x,M]);var I=Object(c.useRef)(),z=C(w.a).triggerOnDemandTour;Object(c.useEffect)((function(){R&&!I.current&&(I.current=!0,z(S.a))}),[R,z]);var q={};return n===k.b&&(q.top="".concat(s<46?46-s:0,"px"),q.height="calc(100% - 46px + ".concat(s<46?s:46,"px)")),e.createElement(c.Fragment,null,e.createElement(g.a,{"aria-label":Object(a.__)("Open sharing settings","google-site-kit"),className:"googlesitekit-sharing-settings__button googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon",onClick:P,icon:e.createElement(m.a,{width:20,height:20})}),e.createElement(f.a,null,e.createElement(E.b,{open:R,onClose:L,className:"googlesitekit-dialog googlesitekit-sharing-settings-dialog",style:q,escapeKeyAction:void 0===A?"close":""},e.createElement("div",{className:"googlesitekit-dialog__back-wrapper","aria-hidden":n!==k.b},e.createElement(g.a,{"aria-label":Object(a.__)("Back","google-site-kit"),className:"googlesitekit-dialog__back",onClick:L},e.createElement(i.a,{icon:o.a}))),e.createElement(E.c,{className:"googlesitekit-dialog__content"},e.createElement("div",{className:"googlesitekit-dialog__header"},e.createElement("div",{className:"googlesitekit-dialog__header-icon","aria-hidden":n===k.b},e.createElement("span",null,e.createElement(m.a,{width:20,height:20}))),e.createElement("div",{className:"googlesitekit-dialog__header-titles"},e.createElement("h2",{className:"googlesitekit-dialog__title"},Object(a.__)("Dashboard sharing & permissions","google-site-kit")),e.createElement("p",{className:"googlesitekit-dialog__subtitle"},Object(l.a)(Object(a.__)("Share a view-only version of your Site Kit dashboard with other WordPress roles. <a>Learn more</a>","google-site-kit"),{a:e.createElement(d.a,{"aria-label":Object(a.__)("Learn more about dashboard sharing","google-site-kit"),href:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",external:!0})})))),e.createElement("div",{className:"googlesitekit-dialog__main"},e.createElement(b.a,null))),e.createElement(E.d,{className:"googlesitekit-dialog__footer"},e.createElement(p.a,{closeDialog:L})))))}}).call(this,n(3))},34:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},363:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(13),l=n.n(c),s=n(0),u=n.n(s),d=n(1),g=n(2),f=n(4),m=n.n(f),p=n(22),h=n(18),b=n(364),v=n(16),y=n(34),O=n(81),_=n(136),k=n(90),E=n(10),j=n(20),w=m.a.useSelect,S=m.a.useDispatch;function Footer(t){var n=t.closeDialog,r=Object(j.a)(),i=Object(g.useState)(null),c=l()(i,2),s=c[0],u=c[1],f=w((function(e){return e(v.a).canSubmitSharingChanges()})),m=w((function(e){return e(v.a).isDoingSubmitSharingChanges()})),N=S(v.a).saveSharingSettings,C=S(y.b).setValue,T=Object(g.useCallback)(o()(a.a.mark((function e(){var t,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u(null),e.next=3,N();case 3:if(t=e.sent,!(i=t.error)){e.next=8;break}return u(i.message),e.abrupt("return");case 8:Object(E.y)("".concat(r,"_sharing"),"settings_confirm"),C(_.a,void 0),n();case 11:case"end":return e.stop()}}),e)}))),[r,N,C,n]),R=Object(g.useCallback)((function(){Object(E.y)("".concat(r,"_sharing"),"settings_cancel"),n()}),[n,r]);return e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer"},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-notice"},s&&e.createElement(k.a,{message:s}),!s&&e.createElement(b.a,null)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions"},e.createElement(p.a,{onClick:R},Object(d.__)("Cancel","google-site-kit")),e.createElement(h.a,{onClick:T,disabled:m||!f},Object(d.__)("Apply","google-site-kit"),m&&e.createElement(O.a,{isSaving:m}))))}Footer.propTypes={closeDialog:u.a.func.isRequired}}).call(this,n(3))},364:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notice}));var r=n(1),a=n(76),i=n(4),o=n.n(i),c=n(16),l=o.a.useSelect;function Notice(){var t=l((function(e){return e(c.a).canSubmitSharingChanges()})),n=l((function(e){return e(c.a).haveSharingSettingsExpanded("management")})),i=l((function(e){return e(c.a).haveSharingSettingsExpanded("sharedRoles")}));return e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__notice"},n&&t&&Object(a.a)(Object(r.__)("By clicking <strong>Apply</strong>, you will give other authenticated admins of your site permission to manage view-only access to Site Kit Dashboard data from the chosen Google service.","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),!n&&t&&i&&Object(a.a)(Object(r.__)("By clicking <strong>Apply</strong>, you’re granting the selected roles view-only access to data from the Google services you’ve connected via your account.","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}))}}).call(this,n(3))},365:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardSharingSettings}));var a=n(8),i=n.n(a),o=n(1),c=n(4),l=n.n(c),s=n(366),u=n(16),d=n(15),g=n(12);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 m(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 m(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 m(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 p=l.a.useSelect;function DashboardSharingSettings(){var t=p((function(e){return e(d.c).hasMultipleAdmins()})),n=p((function(t){var n=t(u.a).getModules();if(void 0!==n){var r,a=t(g.a).getID(),i=[],o=[],c=[],l=f(Object.values(n).filter((function(e){return e.shareable})));try{for(l.s();!(r=l.n()).done;){var s;(null===(s=(e=r.value).owner)||void 0===s?void 0:s.id)===a?i.push(e):t(g.a).hasCapability(g.e,e.slug)?o.push(e):c.push(e)}}catch(e){l.e(e)}finally{l.f()}return[].concat(i,o,c)}}));return void 0===n?null:r.createElement("div",{className:i()("googlesitekit-dashboard-sharing-settings",{"googlesitekit-dashboard-sharing-settings--has-multiple-admins":t})},r.createElement("header",{className:"googlesitekit-dashboard-sharing-settings__header googlesitekit-dashboard-sharing-settings__row"},r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},Object(o.__)("Product","google-site-kit")),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},Object(o.__)("Who can view","google-site-kit")),t&&r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},Object(o.__)("Who can manage view access","google-site-kit"))),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__main"},n.map((function(e){var t=e.slug,n=e.name,a=e.owner;return r.createElement(s.a,{key:t,moduleSlug:t,moduleName:n,ownerUsername:null==a?void 0:a.login})}))))}}).call(this,n(483)(e),n(3))},366:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Module}));var r=n(13),a=n.n(r),i=n(0),o=n.n(i),c=n(8),l=n.n(c),s=n(210),u=n(1),d=n(162),g=n(435),f=n(2),m=n(76),p=n(4),h=n.n(p),b=n(145),v=n(367),y=n(9),O=n(20),_=n(16),k=n(15),E=n(34),j=n(136),w=n(10),S=n(12),N=h.a.useSelect,C=h.a.useDispatch,T=[{value:"owner",label:Object(u.__)("Only me","google-site-kit")},{value:"all_admins",label:Object(u.__)("Any admin signed in with Google","google-site-kit")}];function Module(t){var n=t.moduleSlug,r=t.moduleName,i=t.ownerUsername,o=Object(O.a)(),c=Object(f.useRef)(),p=Object(f.useState)(void 0),h=a()(p,2),R=h[0],D=h[1],x=N((function(e){return e(k.c).hasMultipleAdmins()})),A=N((function(e){var t;return null!==(t=e(_.a).getSharingManagement(n))&&void 0!==t?t:"owner"})),P=N((function(e){return e(S.a).hasCapability(S.d,n)})),L=N((function(e){return e(S.a).hasCapability(S.e,n)})),M=N((function(e){return e(_.a).getSharedOwnershipModules()})),I=N((function(e){return e(E.b).getValue(j.a)})),z=N((function(e){return e(_.a).isDoingSubmitSharingChanges()})),q=C(_.a).setSharingManagement,B=M&&Object.keys(M).includes(n);Object(f.useEffect)((function(){D(B?"all_admins":A)}),[A,B]);var H=Object(f.useCallback)((function(e){var t=e.target.value;D(t),q(n,t),Object(w.y)("".concat(o,"_sharing"),"change_management_".concat(t),n)}),[q,D,n,o]),F=n===I,W=!F&&void 0!==I||z;return e.createElement("div",{className:l()("googlesitekit-dashboard-sharing-settings__module","googlesitekit-dashboard-sharing-settings__row",{"googlesitekit-dashboard-sharing-settings__row--editing":F,"googlesitekit-dashboard-sharing-settings__row--disabled":W}),ref:c},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},e.createElement(b.a,{slug:n,size:48}),e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__module-name"},r)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},L&&e.createElement(v.a,{moduleSlug:n,isLocked:W,ref:c}),!L&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(u.__)("Contact managing user to manage view access","google-site-kit"))),x&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},B&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},e.createElement("span",null,Object(u.__)("Any admin signed in with Google","google-site-kit")),e.createElement(s.a,{title:Object(u.__)("This service requires general access to Google APIs rather than access to a specific user-owned property/entity, so view access is manageable by any admin signed in with Google.","google-site-kit"),classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(d.a,{icon:g.a,size:18})))),!B&&P&&e.createElement(y.p,{className:"googlesitekit-dashboard-sharing-settings__select",value:R,options:T,onChange:H,onClick:H,outlined:!0}),!B&&!P&&i&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(m.a)(Object(u.sprintf)(
50
  /* translators: %s: user who manages the module. */
51
  Object(u.__)("<span>Managed by</span> <strong>%s</strong>","google-site-kit"),i),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),e.createElement(s.a,{title:L?Object(u.sprintf)(
52
  /* translators: %s: name of the user who manages the module. */
53
  Object(u.__)("%s has connected this and given managing permissions to all admins. You can change who can view this on the dashboard.","google-site-kit"),i):Object(u.sprintf)(
54
  /* translators: %s: name of the user who manages the module. */
55
+ Object(u.__)("Contact %s to change who can manage view access for this module.","google-site-kit"),i),classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(d.a,{icon:g.a,size:18}))))))}Module.propTypes={moduleSlug:o.a.string.isRequired,moduleName:o.a.string.isRequired,ownerUsername:o.a.string}}).call(this,n(3))},367:function(e,t,n){"use strict";(function(e){var r=n(24),a=n.n(r),i=n(13),o=n.n(i),c=n(0),l=n.n(c),s=n(8),u=n.n(s),d=n(141),g=n(127),f=n.n(g),m=n(1),p=n(57),h=n(2),b=n(4),v=n.n(b),y=n(18),O=n(22),_=n(253),k=n(142),E=n(20),j=n(131),w=n(10),S=n(16),N=n(34),C=n(136),T=v.a.useSelect,R=v.a.useDispatch,D=Object(m.__)("All","google-site-kit"),x=Object(h.forwardRef)((function(t,n){var r=t.moduleSlug,i=t.isLocked,c=void 0!==i&&i,l=Object(E.a)(),s=Object(h.useRef)(),g=Object(h.useState)([]),b=o()(g,2),v=b[0],x=b[1],A=R(S.a).setSharedRoles,P=R(N.b).setValue,L=T((function(e){return e(S.a).getShareableRoles()})),M=T((function(e){return e(S.a).getSharedRoles(r)})),I=T((function(e){return e(N.b).getValue(C.a)}))===r;Object(j.a)([p.d],n,(function(){I&&(P(C.a,void 0),s.current.focus())}));var z=Object(h.useCallback)((function(){I?(x(a()(M||[]).sort()),P(C.a,void 0)):(f()(a()(M||[]).sort(),v)||Object(w.y)("".concat(l,"_sharing"),"change_shared_roles",r),P(C.a,r))}),[I,M,v,l,r,P]),q=Object(h.useCallback)((function(e){var t,n=e.type,i=e.target,o=e.keyCode;if("keyup"!==n||o===p.c){var c,l=i.closest(".mdc-chip"),s=null==l||null===(t=l.dataset)||void 0===t?void 0:t.chipId;if(s)c="all"===s?(null==M?void 0:M.length)===(null==L?void 0:L.length)?[]:L.map((function(e){return e.id})):null===M?[s]:M.includes(s)?M.filter((function(e){return e!==s})):[].concat(a()(M),[s]),A(r,c)}}),[r,A,M,L]);return L?e.createElement("div",{className:u()("googlesitekit-user-role-select",{"googlesitekit-user-role-select--open":I})},e.createElement(y.a,{"aria-label":I?Object(m.__)("Close","google-site-kit"):Object(m.__)("Edit roles","google-site-kit"),className:"googlesitekit-user-role-select__button",onClick:z,icon:I?e.createElement(k.a,{width:18,height:18}):e.createElement(_.a,{width:23,height:23}),tabIndex:c?-1:void 0,ref:s}),!I&&(null==M?void 0:M.length)>0&&e.createElement("span",{className:"googlesitekit-user-role-select__current-roles"},(null==L?void 0:L.reduce((function(e,t){return M.includes(t.id)&&e.push(t.displayName),e}),[])).join(", ")),!I&&(!M||0===(null==M?void 0:M.length))&&e.createElement("span",{className:"googlesitekit-user-role-select__add-roles"},e.createElement(O.a,{onClick:function(){s.current.focus(),z()},tabIndex:c?-1:void 0},Object(m.__)("Add roles","google-site-kit"))),I&&e.createElement("div",{className:"googlesitekit-user-role-select__chipset"},e.createElement(d.Chip,{chipCheckmark:e.createElement(d.ChipCheckmark,null),"data-chip-id":"all",id:"all",label:D,onClick:q,onKeyUp:q,selected:(null==M?void 0:M.length)===(null==L?void 0:L.length),className:"googlesitekit-user-role-select__chip googlesitekit-user-role-select__chip--all"}),L.map((function(t,n){var r=t.id,a=t.displayName;return e.createElement(d.Chip,{chipCheckmark:e.createElement(d.ChipCheckmark,null),"data-chip-id":r,id:r,key:n,label:a,onClick:q,onKeyUp:q,selected:null==M?void 0:M.includes(r),className:"googlesitekit-user-role-select__chip"})})))):null}));x.propTypes={moduleSlug:l.a.string.isRequired,isLocked:l.a.bool},t.a=x}).call(this,n(3))},368:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(13),l=n.n(c),s=n(0),u=n.n(s),d=n(173),g=n(2),f=n(1),m=n(57),p=n(31),h=n.n(p),b=n(4),v=n.n(b),y=n(369),O=n(15),_=v.a.useSelect,k=function(){};function PostSearcherAutoSuggest(t){var n=t.id,r=t.match,i=t.setMatch,c=t.isLoading,s=t.showDropdown,u=void 0===s||s,p=t.setIsLoading,b=void 0===p?k:p,v=t.setIsActive,E=void 0===v?k:v,j=t.autoFocus,w=t.setCanSubmit,S=void 0===w?k:w,N=t.onClose,C=void 0===N?k:N,T=t.placeholder,R=void 0===T?"":T,D=Object(g.useRef)(),x=Object(g.useState)(""),A=l()(x,2),P=A[0],L=A[1],M=null==r?void 0:r.title,I=Object(y.a)(P,P===M?0:200),z=Object(g.useState)([]),q=l()(z,2),B=q[0],H=q[1],F=Object(f.__)("No results found","google-site-kit"),W=_((function(e){return e(O.c).getCurrentEntityTitle()})),U=Object(g.useRef)(null),V=Object(g.useCallback)((function(){E(!0)}),[E]),K=Object(g.useCallback)((function(e){var t,n,r;(null===(t=e.relatedTarget)||void 0===t?void 0:t.classList.contains("autocomplete__option--result"))||(E(!1),L(null!==(n=null!==(r=U.current)&&void 0!==r?r:W)&&void 0!==n?n:""))}),[W,E]),G=Object(g.useCallback)((function(e){if(Array.isArray(B)&&e!==F){var t=B.find((function(t){return t.title.toLowerCase()===e.toLowerCase()}));t?(U.current=t.title,S(!0),i(t),L(t.title)):U.current=null}else U.current=null,S(!1)}),[B,S,i,F,L]),X=Object(g.useCallback)((function(e){S(!1),L(e.target.value)}),[S]);Object(g.useEffect)((function(){if(""!==I&&I!==W&&(null==I?void 0:I.toLowerCase())!==(null==M?void 0:M.toLowerCase())){var e="undefined"==typeof AbortController?void 0:new AbortController;return(t=o()(a.a.mark((function t(){var n,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return b(!0),n=h.a.get("core","search","entity-search",{query:encodeURIComponent(I)},{useCache:!1,signal:null==e?void 0:e.signal}),D.current=n,t.prev=3,t.next=6,n;case 6:r=t.sent,H(r),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(3),H(null);case 13:return t.prev=13,n===D.current&&b(!1),t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[3,10,13,16]])}))),function(){return t.apply(this,arguments)})(),function(){return null==e?void 0:e.abort()}}var t}),[I,b,W,M]),Object(g.useEffect)((function(){P||H([])}),[P]),Object(g.useEffect)((function(){W&&L(W)}),[W]);var Y=Object(g.useRef)(),Q=Object(g.useCallback)((function(e){var t=Y.current;switch(e.keyCode){case m.e:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=0,t.selectionEnd=0);break;case m.b:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=t.value.length,t.selectionEnd=t.value.length)}switch(e.keyCode){case m.d:return C();case m.c:return G(P)}}),[C,G,P]);return e.createElement(d.a,{className:"autocomplete__wrapper",onSelect:G},e.createElement(d.b,{ref:Y,id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onBlur:K,onChange:X,onFocus:V,placeholder:R,onKeyDown:Q,value:P,autoFocus:j}),!c&&u&&I!==W&&""!==I&&0===(null==B?void 0:B.length)&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(d.d,{value:F,className:"autocomplete__option autocomplete__option--no-results"}))),u&&""!==I&&I!==W&&(null==B?void 0:B.length)>0&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},B.map((function(t){var n=t.id,r=t.title;return e.createElement(d.d,{key:n,value:r,className:"autocomplete__option autocomplete__option--result"})})))))}PostSearcherAutoSuggest.propTypes={id:u.a.string,match:u.a.object,setCanSubmit:u.a.func,setMatch:u.a.func,isLoading:u.a.bool,setIsLoading:u.a.func,onKeyDown:u.a.func,autoFocus:u.a.bool,placeholder:u.a.string}}).call(this,n(3))},369:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(13),a=n.n(r),i=n(2);function o(e,t){var n=Object(i.useState)(e),r=a()(n,2),o=r[0],c=r[1];return Object(i.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),o}},376: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:"M128.91 163c-12.56 3.66-25.8 10.57-31.82 22.81-6.35 12.93-1.46 28.49 10.19 36.65M271.09 163c12.56 3.66 25.8 10.57 31.82 22.81 6.35 12.93 1.46 28.49-10.19 36.65",stroke:"#EE675C",strokeLinejoin:"round",strokeWidth:9.27}),o=r.createElement("ellipse",{cx:200,cy:381.74,rx:79.51,ry:8.26,fill:"#F1F3F4"}),c=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"}),l=r.createElement("path",{d:"M216.76 201.8s-64.53 36.51-77.35 71.84c-4.72 13 3.53 27.36 17.27 29 11.31 1.39 28.4-3.14 53.06-24.33v31.36",stroke:"#C5221F",strokeLinejoin:"round",strokeWidth:9.27}),s=r.createElement("path",{d:"M216.76 201.8s-35.21 19.92-58.76 44.56",stroke:"#B31412",strokeLinejoin:"round",strokeWidth:9.27}),u=r.createElement("path",{stroke:"#C5221F",strokeLinejoin:"round",strokeWidth:9.27,d:"M218.98 201.47V380h29.52"}),d=r.createElement("path",{stroke:"#B31412",strokeLinejoin:"round",strokeWidth:9.27,d:"M218.98 201.47v47.5"}),g=r.createElement("circle",{cx:200,cy:162.34,r:81.45,fill:"#D93025"}),f=r.createElement("path",{d:"M206.36 156.18c-18.33 10.42-42 6.07-50.25-19.59M164.26 137.72c-5.22-2.69-9-2.82-16.17-.91",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6.62}),m=r.createElement("path",{d:"M107.28 222.48c28.36 19.87 76.07-7.28 88.72-35.17M292.72 222.48c-28.36 19.87-76.07-7.28-88.72-35.17",stroke:"#EE675C",strokeLinejoin:"round",strokeWidth:9.27});t.a=function SvgZeroStateRed(e){return r.createElement("svg",a({viewBox:"0 0 400 400",fill:"none"},e),i,o,c,l,s,u,d,g,f,m)}},379:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var r=n(8),a=n.n(r),i=n(0),o=n.n(i),c=n(9);function PageHeader(t){var n=t.title,r=t.icon,i=t.className,o=t.status,l=t.statusText,s=t.fullWidth,u=t.children,d=s?{size:12}:{smSize:4,mdSize:4,lgSize:6},g=""!==o||Boolean(u);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement(c.o,null,n&&e.createElement(c.a,d,r,e.createElement("h1",{className:a()("googlesitekit-page-header__title",i)},n)),g&&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:a()("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))},380:function(e,t,n){"use strict";(function(e){var r=n(46),a=n.n(r),i=n(47),o=n.n(i),c=n(82),l=n.n(c),s=n(83),u=n.n(s),d=n(51),g=n.n(d),f=n(0),m=n.n(f),p=n(2),h=n(9),b=n(22);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var y=function(t){l()(LayoutHeader,t);var n=v(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.e,null,e.createElement(h.o,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(b.a,{href:a,external:!0},r)))))}}]),LayoutHeader}(p.Component);y.propTypes={title:m.a.string,ctaLabel:m.a.string,ctaLink:m.a.string},y.defaultProps={title:"",ctaLabel:"",ctaLink:""},t.a=y}).call(this,n(3))},381:function(e,t,n){"use strict";(function(e){var r=n(46),a=n.n(r),i=n(47),o=n.n(i),c=n(82),l=n.n(c),s=n(83),u=n.n(s),d=n(51),g=n.n(d),f=n(0),m=n.n(f),p=n(2),h=n(9),b=n(109);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var y=function(t){l()(LayoutFooter,t);var n=v(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.e,null,e.createElement(h.o,null,e.createElement(h.a,{size:12},r&&n&&e.createElement(b.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),a))))}}]),LayoutFooter}(p.Component);y.propTypes={ctaLabel:m.a.string,ctaLink:m.a.string},t.a=y}).call(this,n(3))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},4:function(e,t){e.exports=googlesitekit.data},40: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"},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),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))}},427:function(e,t,n){"use strict";n.d(t,"a",(function(){return ScrollEffect}));var r=n(467);function ScrollEffect(){return Object(r.a)(),null}},43:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(129),a="xlarge",i="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},44:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return v})),n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return O}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=(n(24),n(10));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,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 u,d="googlesitekit_".concat("1.79.1","_"),g=["sessionStorage","localStorage"],f=[].concat(g),m=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 h.apply(this,arguments)}function h(){return(h=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===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,m(i);case 11:if(!t.sent){t.next=13;break}u=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===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=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(d).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)}}(),v=function(){var t=o()(a.a.mark((function t(n,r){var i,o,l,s,u,g,f,m,h=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},o=i.ttl,l=void 0===o?c.b:o,s=i.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,g=i.isError,f=void 0!==g&&g,t.next=3,p();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(d).concat(n),JSON.stringify({timestamp:u,ttl:l,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)}}(),y=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(d).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()(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(d)&&r.push(o.substring(d.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(21))},45:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ProgressBar}));var r=n(0),a=n.n(r),i=n(8),o=n.n(i);function ProgressBar(t){var n=t.className,r=t.small,a=t.compress,i=t.indeterminate,c=t.height,l=t.progress,s=void 0!==c?Math.round(c/2):void 0,u=l?"scaleX(".concat(l,")"):void 0;return e.createElement("div",{role:"progressbar",style:{marginTop:s,marginBottom:s},className:o()("mdc-linear-progress",n,{"mdc-linear-progress--indeterminate":i,"mdc-linear-progress--small":r,"mdc-linear-progress--compress":a})},e.createElement("div",{className:"mdc-linear-progress__buffering-dots"}),e.createElement("div",{className:"mdc-linear-progress__buffer"}),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__primary-bar",style:{transform:u}},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__secondary-bar"},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})))}ProgressBar.propTypes={className:a.a.string,small:a.a.bool,compress:a.a.bool,indeterminate:a.a.bool,progress:a.a.number,height:a.a.number},ProgressBar.defaultProps={className:"",small:!1,compress:!1,indeterminate:!0,progress:0}}).call(this,n(3))},455:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(13),a=n.n(r),i=n(6),o=n.n(i),c=n(0),l=n.n(c),s=n(8),u=n.n(s),d=n(391),g=n(2),f=n(4),m=n.n(f),p=n(244),h=n(132),b=n(40),v=n(34),y=n(9),O=n(43),_=n(156),k=n(456),E=n(458),j=n(52),w=n(12),S=m.a.useSelect;function N(e){var t,n=(t={},o()(t,O.d,48),o()(t,O.a,48),o()(t,O.c,32),o()(t,O.b,32),t)[e],r=Math.abs(Object(h.b)(e)+n);return"-".concat(r,"px -").concat(n,"px -").concat(n,"px -").concat(n,"px")}function WidgetAreaRenderer(t){var n=t.slug,r=t.contextID,i=Object(j.a)(),c=S((function(e){return i?e(w.a).getViewableModules():null})),l=Object(O.e)(),s=Object(g.useRef)(),f=Object(d.a)(s,{rootMargin:N(l),threshold:0}),m=S((function(e){return e(b.a).getWidgetArea(n)})),h=S((function(e){return e(b.a).getWidgets(n,{modules:c||void 0})})),C=S((function(e){return e(b.a).getWidgetStates()})),T=S((function(e){return e(b.a).isWidgetAreaActive(n,{modules:c||void 0})})),R=S((function(e){return e(v.b).getValue(v.a)})),D=Object(g.useState)({key:"WidgetAreaRenderer-".concat(n),value:R?R===r:!!(null==f?void 0:f.intersectionRatio)}),x=a()(D,2),A=x[0],P=x[1];if(Object(g.useEffect)((function(){P({key:"WidgetAreaRenderer-".concat(n),value:R?R===r:!!(null==f?void 0:f.intersectionRatio)})}),[f,n,R,r]),void 0===c)return null;var L,M=Object(p.d)(h,C),I=M.columnWidths,z=M.rowIndexes,q=Object(p.b)(h,C,{columnWidths:I,rowIndexes:z}),B=q.gridColumnWidths,H=q.overrideComponents,F=h.map((function(t,n){return e.createElement(E.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:B[n]},e.createElement(k.a,{OverrideComponent:H[n]?function(){var t=H[n],r=t.Component,a=t.metadata;return e.createElement(r,a)}:void 0,slug:t.slug}))})),W=m.Icon,U=m.title,V=m.style,K=m.subtitle;return T?e.createElement(_.a,{value:A},e.createElement(y.e,{className:u()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(n),"googlesitekit-widget-area--".concat(V)),ref:s},e.createElement(y.o,null,e.createElement(y.a,{className:"googlesitekit-widget-area-header",size:12},W&&e.createElement(W,{width:33,height:33}),U&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},U),K&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},K))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(y.o,null,V===b.b.BOXES&&F,V===b.b.COMPOSITE&&e.createElement(y.a,{size:12},e.createElement(y.e,null,e.createElement(y.o,null,F))))))):e.createElement(y.e,{className:u()(p.a,"googlesitekit-widget-area",(L={},o()(L,"googlesitekit-widget-area--".concat(n),!!n),o()(L,"googlesitekit-widget-area--".concat(V),!!V),L)),ref:s},F)}WidgetAreaRenderer.propTypes={slug:l.a.string.isRequired,contextID:l.a.string}}).call(this,n(3))},456:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(422),o=n.n(i),c=n(2),l=n(4),s=n.n(l),u=n(40),d=n(16),g=n(236),f=n(457),m=n(244),p=n(116),h=n(52),b=n(60),v=s.a.useSelect,y=function WidgetRenderer(t){var n=t.slug,r=t.OverrideComponent,a=Object(b.a)("dashboardSharing"),i=v((function(e){return e(u.a).getWidget(n)})),l=Object(m.c)(n),s=l.Widget,y=l.WidgetNull,O=v((function(e){return a&&e(d.a).getRecoverableModules()})),_=Object(h.a)(),k=Object(c.useMemo)((function(){return i&&O&&o()(i.modules,Object.keys(O))}),[O,i]);if(!i)return e.createElement(y,null);var E=i.Component,j=i.wrapWidget,w=e.createElement(E,l);return _&&(null==k?void 0:k.length)&&(w=e.createElement(f.a,{widgetSlug:n,moduleSlugs:k})),r?w=e.createElement(c.Fragment,null,e.createElement(g.a,{widgetSlug:"overridden"},e.createElement(r,null)),e.createElement("div",{className:p.a},w)):j&&(w=e.createElement(s,null,w)),w};y.propTypes={slug:a.a.string.isRequired,OverrideComponent:a.a.elementType},t.a=y}).call(this,n(3))},457:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(24),l=n.n(c),s=n(19),u=n.n(s),d=n(0),g=n.n(d),f=n(2),m=n(123),p=n(170);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,r=t.moduleSlugs,a=u()(t,["widgetSlug","moduleSlugs"]),i=Object(f.useMemo)((function(){return{moduleSlug:l()(r).sort().join(","),moduleSlugs:r}}),[r]);return Object(m.a)(n,p.a,i),e.createElement(p.a,o()({moduleSlugs:r},a))}WidgetRecoverableModules.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:g.a.string.isRequired},p.a.propTypes)}).call(this,n(3))},458:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(116),o=n(9),c=function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:i.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:a.a.number.isRequired,children:a.a.element.isRequired},t.a=c}).call(this,n(3))},459:function(e,t,n){"use strict";(function(e){var r=n(13),a=n.n(r),i=n(98),o=n(402),c=n(148),l=n(2),s=n(1),u=n(4),d=n.n(u),g=n(18),f=n(45),m=n(62),p=n(460),h=n(461),b=n(368),v=n(15),y=n(39),O=n(10),_=n(91),k=n(20),E=d.a.useSelect,j=d.a.useDispatch;t.a=function EntitySearchInput(){var t=Object(c.a)(EntitySearchInput,"EntitySearchInput"),n=Object(l.useState)(!1),r=a()(n,2),u=r[0],d=r[1],w=Object(l.useState)(!1),S=a()(w,2),N=S[0],C=S[1],T=Object(l.useState)(!1),R=a()(T,2),D=R[0],x=R[1],A=Object(k.a)(),P=Object(_.c)(),L=Object(l.useRef)(),M=Object(l.useCallback)((function(){Object(O.y)("".concat(A,"_headerbar"),"open_urlsearch"),d(!0)}),[A]),I=Object(l.useCallback)((function(){Object(O.y)("".concat(A,"_headerbar"),"close_urlsearch"),d(!1)}),[A]),z=Object(l.useState)({}),q=a()(z,2),B=q[0],H=q[1],F=E((function(e){return(null==B?void 0:B.url)?e(v.c).getAdminURL("googlesitekit-dashboard",{permaLink:B.url}):null})),W=j(y.a).navigateTo;return Object(l.useEffect)((function(){F&&Object(O.y)("".concat(A,"_headerbar_urlsearch"),"open_urldetails").finally((function(){W(F)}))}),[F,W,A]),Object(i.a)((function(){P===_.a&&d(!0)})),Object(o.a)((function(){var e;u||(null==L||null===(e=L.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:B,setIsActive:x,setMatch:H,placeholder:Object(s.__)("Enter title or URL…","google-site-kit"),isLoading:N,setIsLoading:C,showDropdown:D,onClose:I,autoFocus:!0}),N&&D&&e.createElement(f.a,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(g.a,{onClick:I,trailingIcon:e.createElement(h.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(g.a,{className:"googlesitekit-border-radius-round--phone googlesitekit-button-icon--phone",onClick:M,text:!0,ref:L,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))},460: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:"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",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},461: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:"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",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},462:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(13),a=n.n(r),i=n(254),o=n(8),c=n.n(o),l=n(2),s=n(57),u=n(1),d=n(4),g=n.n(d),f=n(463),m=n(12),p=n(131),h=n(58),b=n(143),v=n(18),y=n(10),O=n(34),_=n(20),k=g.a.useSelect,E=g.a.useDispatch;function DateRangeSelector(){var t,n=Object(h.f)(),r=k((function(e){return e(m.a).getDateRange()})),o=E(m.a).setDateRange,d=E(O.b).resetInViewHook,g=Object(l.useState)(!1),j=a()(g,2),w=j[0],S=j[1],N=Object(l.useRef)(),C=Object(_.a)();Object(i.a)(N,(function(){return S(!1)})),Object(p.a)([s.d,s.f],N,(function(){return S(!1)}));var T=Object(l.useCallback)((function(){S(!w)}),[w]),R=Object(l.useCallback)((function(e){var t=Object.values(n)[e].slug;r!==t&&Object(y.y)("".concat(C,"_headerbar"),"change_daterange",t),d(),o(t),S(!1)}),[n,r,d,o,C]),D=null===(t=n[r])||void 0===t?void 0:t.label,x=Object.values(n).map((function(e){return e.label}));return e.createElement("div",{ref:N,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(v.a,{className:c()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu","googlesitekit-border-radius-round--phone","googlesitekit-button-icon--phone"),text:!0,onClick:T,icon:e.createElement(f.a,{width:"20",height:"20"}),"aria-haspopup":"menu","aria-expanded":w,"aria-controls":"date-range-selector-menu",title:Object(u.__)("Date range","google-site-kit"),tooltip:!0},D),e.createElement(b.a,{menuOpen:w,menuItems:x,onSelected:R,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(3))},463: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:"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",a({viewBox:"0 0 18 20"},e),i)}},464:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ZeroDataStateNotifications}));var r=n(1),a=n(4),i=n.n(a),o=n(12),c=n(16),l=n(52),s=n(11),u=n(68),d=n(465),g=n(466),f=i.a.useSelect,m=i.a.useInViewSelect;function ZeroDataStateNotifications(){var t,n=Object(l.a)(),a=f((function(e){return e(c.a).isModuleConnected("analytics")})),i=f((function(e){return!n||e(o.a).canViewSharedModule("analytics")})),p=m((function(e){return!(!a||!i)&&e(s.f).isGatheringData()})),h=m((function(e){return e(u.b).isGatheringData()})),b=m((function(e){return!(!a||!i)&&e(s.f).hasZeroData()})),v=m((function(e){return e(u.b).hasZeroData()}));return void 0===p||void 0===h||void 0===b||void 0===v?null:p||h||b||v?(p&&h?t=Object(r.__)("Search Console and Analytics are gathering data","google-site-kit"):p?t=Object(r.__)("Analytics is gathering data","google-site-kit"):h&&(t=Object(r.__)("Search Console is gathering data","google-site-kit")),p||h?e.createElement(d.a,{title:t}):e.createElement(g.a,null)):null}}).call(this,n(3))},465:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GatheringDataNotification}));var r=n(0),a=n.n(r),i=n(98),o=n(1),c=n(2),l=n(56),s=n(376),u=n(10),d=n(20);function GatheringDataNotification(t){var n=t.title,r=Object(d.a)(),a="".concat(r,"_gathering-data-notification"),g=Object(c.useCallback)((function(){Object(u.y)(a,"dismiss_notification")}),[a]);return Object(i.a)((function(){Object(u.y)(a,"view_notification")})),e.createElement(l.b,{id:"gathering-data-notification",title:n,description:Object(o.__)("It can take up to 48 hours before stats show up for your site. While you’re waiting, connect more services to get more stats.","google-site-kit"),format:"small",dismiss:Object(o.__)("OK, Got it!","google-site-kit"),dismissExpires:Object(u.n)("day"),SmallImageSVG:s.a,onDismiss:g,isDismissible:!0})}GatheringDataNotification.propTypes={title:a.a.string}}).call(this,n(3))},466:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ZeroDataNotification}));var r=n(98),a=n(1),i=n(2),o=n(56),c=n(324),l=n(10),s=n(20);function ZeroDataNotification(){var t=Object(s.a)(),n="".concat(t,"_zero-data-notification"),u=Object(i.useCallback)((function(){Object(l.y)(n,"dismiss_notification")}),[n]),d=Object(i.useCallback)((function(){Object(l.y)(n,"click_learn_more_link")}),[n]);return Object(r.a)((function(){Object(l.y)(n,"view_notification")})),e.createElement(o.b,{id:"zero-data-notification",title:Object(a.__)("Not enough traffic yet to display stats","google-site-kit"),description:Object(a.__)("Site Kit will start showing stats on the dashboard as soon as enough people have visited your site. Keep working on your site to attract more visitors.","google-site-kit"),format:"small",learnMoreLabel:Object(a.__)("Learn more","google-site-kit"),learnMoreURL:"https://sitekit.withgoogle.com/documentation/using-site-kit/using-the-site-kit-dashboard/#not-enough-traffic",dismiss:Object(a.__)("Remind me later","google-site-kit"),dismissExpires:Object(l.n)("day"),SmallImageSVG:c.a,onDismiss:u,onLearnMoreClick:d,isDismissible:!0})}}).call(this,n(3))},467:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(13),a=n.n(r),i=n(478),o=n(2),c=function(){var t=Object(i.a)().y,n=Object(o.useState)(!1),r=a()(n,2),c=r[0],l=r[1],s="googlesitekit-plugin--has-scrolled";return Object(o.useEffect)((function(){c?e.document.body.classList.add(s):e.document.body.classList.remove(s)}),[c]),t>0&&!c?l(!0):0===t&&c&&l(!1),c}}).call(this,n(21))},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(29);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},50: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(111);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)}},52:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(23),a=n(20);function i(){var e=Object(a.a)();return e===r.i||e===r.l}},56:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return I}));var a=n(17),i=n.n(a),o=n(6),c=n.n(o),l=n(5),s=n.n(l),u=n(14),d=n.n(u),g=n(13),f=n.n(g),m=n(0),p=n.n(m),h=n(8),b=n.n(h),v=n(241),y=n.n(v),O=n(98),_=n(2),k=n(104),E=n(9),j=n(132),w=n(50),S=n(63),N=n(112),C=n(18),T=n(168),R=n(151),D=n(22),x=n(128),A=n(145),P=n(44),L=n(43),M=n(114),I={EXTERNAL:"external",INTERNAL:"internal"};function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,l=t.badgeLabel,u=t.blockData,g=t.children,m=t.className,p=t.ctaLabel,h=t.ctaLink,v=t.ctaTarget,z=t.description,q=t.dismiss,B=t.dismissExpires,H=t.format,F=t.id,W=t.isDismissible,U=t.learnMoreDescription,V=t.learnMoreLabel,K=t.learnMoreURL,G=t.learnMoreTarget,X=t.logo,Y=t.module,Q=t.moduleName,Z=t.noBottomPadding,$=t.onCTAClick,J=t.onDismiss,ee=t.onLearnMoreClick,te=t.pageIndex,ne=t.showOnce,re=t.SmallImageSVG,ae=t.title,ie=t.type,oe=t.WinImageSVG,ce=t.rounded,le=void 0!==ce&&ce,se=Object(_.useState)(!1),ue=f()(se,2),de=ue[0],ge=ue[1],fe=Object(_.useState)(!1),me=f()(fe,2),pe=me[0],he=me[1],be="notification::dismissed::".concat(F),ve=function(){return Object(P.d)(be,new Date,{ttl:null})},ye=Object(L.e)();function Oe(){return(Oe=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!J){e.next=5;break}return e.next=5,J(t);case 5:_e();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _e(){ge(!0),setTimeout(d()(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,ve();case 2:he(!0),t=new Event("notificationDismissed"),document.dispatchEvent(t);case 5:case"end":return e.stop()}}),e)}))),350)}function ke(){return(ke=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),!$){e.next=4;break}return e.next=4,$(t);case 4:W&&_e();case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(O.a)(d()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(B>0)){e.next=3;break}return e.next=3,we();case 3:if(!W){e.next=9;break}return e.next=6,Object(P.b)(be);case 6:t=e.sent,n=t.cacheHit,he(n);case 9:if(!ne){e.next=12;break}return e.next=12,ve();case 12:case"end":return e.stop()}}),e)}))));var Ee=Object(_.useCallback)((function(t){Object(w.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(j.a)(a,ye),behavior:"smooth"}))}),[a,ye]);function je(){return(je=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.persist(),null==ee||ee();case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function we(){return Se.apply(this,arguments)}function Se(){return(Se=d()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(P.b)(be);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(B,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(P.a)(be);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(W&&(void 0===pe||pe))return null;var Ne,Ce=de?"is-closed":"is-open",Te="large"===H&&"win-stats-increase"===ie,Re=Object(M.d)(H),De=Object(M.c)(H),xe=Object(M.a)(H),Ae=Object(M.b)({format:H,inlineLayout:Te,hasErrorOrWarning:"win-error"===ie||"win-warning"===ie,hasSmallImageSVG:!!re,hasWinImageSVG:!!oe});Ne="win-warning"===ie?r.createElement(T.a,{width:34}):"win-error"===ie?r.createElement(R.a,{width:28}):"";var Pe=r.createElement(_.Fragment,null,u&&r.createElement(E.o,null,y()(u,(function(e,t){return r.createElement(E.a,{key:t,lgSize:Te?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(N.a,e)))})))),Le=r.createElement(_.Fragment,null,ae&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},ae,l&&r.createElement(x.a,{label:l})),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(D.a,{href:a,onClick:Ee},o)),z&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(_.isValidElement)(z)?z:r.createElement("span",{dangerouslySetInnerHTML:Object(S.a)(z,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),V&&r.createElement(_.Fragment,null," ",r.createElement(D.a,{onClick:function(e){return je.apply(this,arguments)},href:K,external:G===I.EXTERNAL},V),U),te&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},te))),g),Me=Y?r.createElement(A.a,{slug:Y,size:19}):r.createElement(k.a,{height:"34",width:"32"}),Ie=Te?{size:12,smOrder:2,mdOrder:1}:{size:12},ze=h?D.a:C.a;return r.createElement("section",{id:F,className:b()(m,"googlesitekit-publisher-win",(n={},c()(n,"googlesitekit-publisher-win--".concat(H),H),c()(n,"googlesitekit-publisher-win--".concat(ie),ie),c()(n,"googlesitekit-publisher-win--".concat(Ce),Ce),c()(n,"googlesitekit-publisher-win--rounded",le),c()(n,"googlesitekit-publisher-win--no-bottom-padding",Z),n))},r.createElement(E.e,{className:b()({"googlesitekit-padding-bottom-0":Z})},r.createElement(E.o,null,X&&r.createElement(E.a,Ie,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},Me),Q&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},Q)),re&&r.createElement(E.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(re,null)),r.createElement(E.a,i()({},Ae,xe,{className:"googlesitekit-publisher-win__content"}),Te?r.createElement(E.o,null,r.createElement(E.a,{mdSize:8,lgSize:5},Le),r.createElement(E.a,{alignBottom:!0,mdSize:8,lgSize:7},Pe)):r.createElement(_.Fragment,null,Le,Pe),h&&r.createElement(C.a,{className:"googlesitekit-notification__cta",href:h,target:v,onClick:function(e){return ke.apply(this,arguments)}},p),W&&q&&r.createElement(ze,{onClick:function(e){return Oe.apply(this,arguments)}},q)),oe&&r.createElement(E.a,i()({},Re,De,{alignBottom:"larger"===H&&Z}),r.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(H)},r.createElement(oe,null))),("win-error"===ie||"win-warning"===ie)&&r.createElement(E.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},Ne)))))}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,learnMoreTarget:p.a.oneOf(Object.values(I)),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,onLearnMoreClick:p.a.func,anchorLink:p.a.string,anchorLinkLabel:p.a.string,badgeLabel:p.a.string,noBottomPadding:p.a.bool,rounded:p.a.bool},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1,noBottomPadding:!1,learnMoreTarget:I.EXTERNAL},t.b=BannerNotification}).call(this,n(21),n(3))},58:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return m.a})),n.d(t,"f",(function(){return y})),n.d(t,"k",(function(){return p}));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=3600,o=86400,c=604800,l=n(7),s=n.n(l),u=n(35),d=function(e){var t=new Date(e);s()(Object(u.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("-")},g=n(13),f=n.n(g),m=n(41),p=function(e){s()(Object(m.a)(e),r);var t=e.split("-"),n=f()(t,3),a=n[0],i=n[1],o=n[2];return new Date(a,i-1,o)},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=p(e);return n.setDate(n.getDate()-t),d(n)},b=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]};var v=n(1);function y(){var e=function(e){return Object(v.sprintf)(
56
  /* translators: %s: number of days */
57
  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}}}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),a=n(106),i=n(33),o=function(e){var t=Object(r.useContext)(a.a);return Object(i.b)(e,t)}},61:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(8),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))},62:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),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))},63: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(73),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,/\/+$/,"")}},64:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(162),c=n(348),l=n(18),s=n(104),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))},65: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(0),o=n.n(i),c=n(8),l=n.n(c),s=n(1),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:l()("googlesitekit-gathering-data-notice",a()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(s.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(3))},66:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return l}));n(54);var r="missing_required_scopes",a="insufficientPermissions",i="forbidden";function o(e){return(null==e?void 0:e.code)===r}function c(e){var t;return[a,i].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function l(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}},67: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},68: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},72:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return j})),n.d(t,"a",(function(){return w}));var r=n(13),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(19),u=n.n(s),d=n(25),g=n(70),f=n.n(g),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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=v(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},v=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=h(h({unitDisplay:void 0===i?"short":i},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?E(a,h(h({},o),{},{unit:"second"})):Object(m.sprintf)(
58
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
dist/assets/js/{googlesitekit-dashboard-splash-ef53fc5b69a6427652ec.js → googlesitekit-dashboard-splash-2da7538006dfebe792f7.js} RENAMED
@@ -16,7 +16,7 @@ Object(l.__)("%s data was previously shared with other users on the site by anot
16
  /* translators: %s: module name. */
17
  Object(l.__)("%s data was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),_[O[0]].name),x=e.createElement(c.Fragment,null,e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(l.__)("By recovering the module, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),e.createElement(f.a,{onClick:j,disabled:v},Object(l.__)("Recover","google-site-kit")),e.createElement(h.a,{isSaving:v}))):(R=Object(l.__)("The data for the following modules was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),x=e.createElement(c.Fragment,null,O.map((function(t){return e.createElement("div",{key:t},e.createElement(g.a,{checked:r[t],name:"module-recovery-alert-checkbox",id:"module-recovery-alert-checkbox-".concat(t),onChange:function(){return w(t)},value:t,disabled:v},_[t].name))})),e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(l.__)("By recovering the selected modules, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),e.createElement(f.a,{onClick:j,disabled:v||!Object.values(r).some((function(e){return e}))},Object(l.__)("Recover","google-site-kit")),e.createElement(h.a,{isSaving:v}))),e.createElement(m.b,{id:"module-recovery-alert",title:Object(l.__)("Dashboard data for some services has been interrupted","google-site-kit"),description:R,learnMoreURL:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",learnMoreLabel:Object(l.__)("Learn more","google-site-kit")},x)}}).call(this,n(3))},286:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(4),a=n.n(r),i=n(12),o=n(52),c=n(287),l=a.a.useSelect;function DashboardNavigation(){var t=Object(o.a)();return void 0===l((function(e){return t?e(i.a).getViewableModules():null}))?null:e.createElement(c.a,null)}}).call(this,n(3))},287:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var a=n(24),i=n.n(a),o=n(13),c=n.n(o),l=n(98),s=n(141),u=n(8),d=n.n(u),f=n(219),g=n.n(f),m=n(2),p=n(1),h=n(4),v=n.n(h),b=n(288),y=n(289),k=n(290),E=n(291),_=n(23),O=n(12),S=n(40),w=n(34),j=n(92),C=n(91),R=n(43),x=n(132),z=n(10),N=n(20),M=n(52);function A(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 T(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 T(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 T(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=v.a.useSelect,D=v.a.useDispatch;function Navigation(){var t,n=Object(C.c)(),a=Object(m.useRef)(),o=Object(R.e)(),u=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),f=Object(m.useState)(u),h=c()(f,2),v=h[0],T=h[1],P=Object(m.useState)(u||void 0),F=c()(P,2),I=F[0],B=F[1],U=Object(m.useState)(!1),q=c()(U,2),V=q[0],H=q[1],W=Object(N.a)(),K=Object(M.a)(),G=D(w.b).setValue,X=L((function(e){return K?e(O.a).getViewableModules():null})),Y={modules:X||void 0},$=L((function(e){return e(S.a).isWidgetContextActive(n===C.b?j.CONTEXT_MAIN_DASHBOARD_TRAFFIC:j.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,Y)})),Q=L((function(e){return e(S.a).isWidgetContextActive(n===C.b?j.CONTEXT_MAIN_DASHBOARD_CONTENT:j.CONTEXT_ENTITY_DASHBOARD_CONTENT,Y)})),J=L((function(e){return e(S.a).isWidgetContextActive(n===C.b?j.CONTEXT_MAIN_DASHBOARD_SPEED:j.CONTEXT_ENTITY_DASHBOARD_SPEED,Y)})),Z=L((function(e){return e(S.a).isWidgetContextActive(n===C.b?j.CONTEXT_MAIN_DASHBOARD_MONETIZATION:j.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,Y)})),ee=Object(m.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.history.replaceState({},"","#".concat(a)),B(a),Object(z.y)("".concat(W,"_navigation"),"tab_select",a),e.scrollTo({top:a!==_.d?Object(x.a)("#".concat(a),o):0,behavior:"smooth"}),setTimeout((function(){G(w.a,a)}),50)}),[o,W,G]);return Object(l.a)((function(){var t=K?$?_.d:Q?_.a:J?_.c:Z?_.b:"":_.d;if(!u)return T(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=u;(function(e){return!(!$||e!==_.d)||(!(!Q||e!==_.a)||(!(!J||e!==_.c)||!(!Z||e!==_.b)))})(n)||(n=t),G(w.a,n),T(n),setTimeout((function(){e.scrollTo({top:n!==t?Object(x.a)("#".concat(n),o):0,behavior:"smooth"})}),50)})),Object(m.useEffect)((function(){var t=function(e){G(w.a,void 0),T(e),B(void 0)},n=g()((function(n){var r,o,c,l,s=e.scrollY,u=null===(r=document.querySelector(".googlesitekit-entity-header"))||void 0===r||null===(o=r.getBoundingClientRect())||void 0===o?void 0:o.bottom,d=null==a||null===(c=a.current)||void 0===c?void 0:c.getBoundingClientRect(),f=d.bottom,g=d.top,m=[].concat(i()($?[_.d]:[]),i()(Q?[_.a]:[]),i()(J?[_.c]:[]),i()(Z?[_.b]:[])),p=_.d;if(0===s)H(!1);else{var h,v=null===(h=document.querySelector(".googlesitekit-header"))||void 0===h?void 0:h.getBoundingClientRect().bottom;H(g===v)}var b,y=A(m);try{for(y.s();!(b=y.n()).done;){var k=b.value,E=document.getElementById(k);if(E){var O=E.getBoundingClientRect().top-20-(u||f||0);O<0&&(void 0===l||l<O)&&(l=O,p=k)}}}catch(e){y.e(e)}finally{y.f()}if(I)I===p&&t(p);else{var S=e.location.hash;p!==(null==S?void 0:S.substring(1))&&(n&&Object(z.y)("".concat(W,"_navigation"),"tab_scroll",p),e.history.replaceState({},"","#".concat(p)),t(p))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[I,$,Q,J,Z,W,G]),r.createElement("nav",{className:d()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":V}),ref:a},$&&r.createElement(s.Chip,{id:_.d,label:Object(p.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"16"}),onClick:ee,selected:v===_.d,"data-context-id":_.d}),Q&&r.createElement(s.Chip,{id:_.a,label:Object(p.__)("Content","google-site-kit"),leadingIcon:r.createElement(y.a,{width:"18",height:"18"}),onClick:ee,selected:v===_.a,"data-context-id":_.a}),J&&r.createElement(s.Chip,{id:_.c,label:Object(p.__)("Speed","google-site-kit"),leadingIcon:r.createElement(k.a,{width:"20",height:"16"}),onClick:ee,selected:v===_.c,"data-context-id":_.c}),Z&&r.createElement(s.Chip,{id:_.b,label:Object(p.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(E.a,{width:"18",height:"16"}),onClick:ee,selected:v===_.b,"data-context-id":_.b}))}}).call(this,n(21),n(3))},288: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)}},289: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)}},29: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"},290: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)}},291: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)}},292:function(e,t,n){"use strict";(function(e,r){var a=n(13),i=n.n(a),o=n(219),c=n.n(o),l=n(1),s=n(2),u=n(4),d=n.n(u),f=n(18),g=n(15),m=n(293),p=n(39),h=n(22),v=n(50),b=n(10),y=n(91),k=n(20),E=d.a.useSelect,_=d.a.useDispatch;t.a=function EntityHeader(){var t=Object(k.a)(),n=Object(y.c)(),a=E((function(e){return e(g.c).getCurrentEntityTitle()})),o=E((function(e){return e(g.c).getCurrentEntityURL()})),u=Object(s.useRef)(),d=Object(s.useState)(o),O=i()(d,2),S=O[0],w=O[1];Object(s.useEffect)((function(){var t=function(){if(u.current){var t=u.current.clientWidth-40,n=e.getComputedStyle(u.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);w(Object(v.e)(o,r))}},n=c()(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[o,u,w]);var j=_(p.a).navigateTo,C=E((function(e){return e(g.c).getAdminURL("googlesitekit-dashboard")})),R=Object(s.useCallback)((function(){Object(b.y)("".concat(t,"_navigation"),"return_to_dashboard"),j(C)}),[C,j,t]);return y.a!==n||null===o||null===a?null:r.createElement("div",{className:"googlesitekit-entity-header"},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(f.a,{icon:r.createElement(m.a,{width:24,height:24}),"aria-label":Object(l.__)("Back to dashboard","google-site-kit"),onClick:R,text:!0},Object(l.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:u,className:"googlesitekit-entity-header__details"},r.createElement("p",null,a),r.createElement(h.a,{href:o,"aria-label":o,external:!0},S)))}}).call(this,n(21),n(3))},293: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)}},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var r=n(13),a=n.n(r),i=n(254),o=n(8),c=n.n(o),l=n(2),s=n(1),u=n(57),d=n(20),f=n(131),g=n(10),m=n(295),p=n(18),h=n(143),v=n(296),b=n(297),y=n(299),k=n(4),E=n.n(k),_=n(12),O=E.a.useSelect;function ViewOnlyMenu(){var t=Object(l.useState)(!1),n=a()(t,2),r=n[0],o=n[1],k=Object(l.useRef)(),E=Object(d.a)();Object(i.a)(k,(function(){return o(!1)})),Object(f.a)([u.d,u.f],k,(function(){return o(!1)}));var S=Object(l.useCallback)((function(){r||Object(g.y)("".concat(E,"_headerbar"),"open_viewonly"),o(!r)}),[r,E]),w=O((function(e){return e(_.a).hasCapability(_.c)}));return e.createElement("div",{ref:k,className:c()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":w})},e.createElement(p.a,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:S,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(m.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":r,"aria-controls":"view-only-menu","aria-label":Object(s.__)("View only","google-site-kit"),tooltip:!0},Object(s.__)("View only","google-site-kit")),e.createElement(h.a,{menuOpen:r,nonInteractive:!0,onSelected:S,id:"view-only-menu"},e.createElement(v.a,null),e.createElement(b.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(y.a,null)))}}).call(this,n(3))},295: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:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return r.createElement("svg",a({viewBox:"0 0 16 10",fill:"none"},e),i)}},296:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(2),l=n(76),s=n(1),u=n(4),d=n.n(u),f=n(39),g=n(15),m=n(12),p=n(10),h=n(18),v=n(22),b=n(20),y=d.a.useDispatch,k=d.a.useSelect;function Description(){var t=Object(b.a)(),n=k((function(e){return e(m.a).hasCapability(m.c)})),r=k((function(e){return e(g.c).getProxySetupURL()})),i=y(f.a).navigateTo,u=Object(c.useCallback)(function(){var e=o()(a.a.mark((function e(n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Object(p.y)("".concat(t,"_headerbar_viewonly"),"start_user_setup",r?"proxy":"custom-oauth");case 3:i(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,i,t]),d=Object(c.useCallback)((function(){Object(p.y)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),E=n?Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(v.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",external:!0,onClick:d,"aria-label":Object(s.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,E),n&&e.createElement(h.a,{onClick:u},Object(s.__)("Sign in with Google","google-site-kit")))}}).call(this,n(3))},297:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var r=n(1),a=n(4),i=n.n(a),o=n(12),c=n(298),l=i.a.useSelect;function SharedServices(){var t=l((function(e){return e(o.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(r.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(c.a,{key:t,module:t})}))))}}).call(this,n(3))},298:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var r=n(0),a=n.n(r),i=n(76),o=n(1),c=n(4),l=n.n(c),s=n(16),u=n(12),d=l.a.useSelect;function Service(t){var n=t.module,r=d((function(e){return e(u.a).hasCapability(u.c)})),a=d((function(e){return e(s.a).getModule(n)})),c=a.name,l=a.owner,f=d((function(e){return e(s.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(f,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},c),r&&(null==l?void 0:l.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(i.a)(Object(o.sprintf)(
18
  /* translators: %s: module owner Google Account email address */
19
- Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),l.login),{strong:e.createElement("strong",null)})))}Service.propTypes={module:a.a.string.isRequired}}).call(this,n(3))},299:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(76),a=n(1),i=n(211),o=n(20);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(a.__)("Thanks for using Site Kit!<br />Help us make it even better.","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(i.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly")}))}}).call(this,n(3))},300: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)}},31:function(e,t){e.exports=googlesitekit.api},32:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return b}));var r=n(86),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,f=a.isAuthenticated,g={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:f,pluginVersion:"1.79.0"},m=Object(r.a)(g),p=m.enableTracking,h=m.disableTracking,v=(m.isTrackingEnabled,m.initializeSnippet),b=m.trackEvent;function y(e){e?p():h()}c&&l&&v()}).call(this,n(21))},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(21))},331:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return i}));var r="connect-analytics-setup-splash",a="analytics-setup-opt-in",i="shared_dashboard_splash"},34:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},380:function(e,t,n){"use strict";(function(e){var r=n(46),a=n.n(r),i=n(47),o=n.n(i),c=n(82),l=n.n(c),s=n(83),u=n.n(s),d=n(51),f=n.n(d),g=n(0),m=n.n(g),p=n(2),h=n(9),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 y=function(t){l()(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.e,null,e.createElement(h.o,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},r)))))}}]),LayoutHeader}(p.Component);y.propTypes={title:m.a.string,ctaLabel:m.a.string,ctaLink:m.a.string},y.defaultProps={title:"",ctaLabel:"",ctaLink:""},t.a=y}).call(this,n(3))},381:function(e,t,n){"use strict";(function(e){var r=n(46),a=n.n(r),i=n(47),o=n.n(i),c=n(82),l=n.n(c),s=n(83),u=n.n(s),d=n(51),f=n.n(d),g=n(0),m=n.n(g),p=n(2),h=n(9),v=n(109);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 y=function(t){l()(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.e,null,e.createElement(h.o,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}(p.Component);y.propTypes={ctaLabel:m.a.string,ctaLink:m.a.string},t.a=y}).call(this,n(3))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},4:function(e,t){e.exports=googlesitekit.data},40: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"},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),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))}},43:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(129),a="xlarge",i="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},434: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 y})),n.d(t,"a",(function(){return k})),n.d(t,"d",(function(){return E}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(31),l=n.n(c),s=n(15),u=n(857),d=n(220);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 g(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 g(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 g(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 m=/^(?: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}$/,p=/\.(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,l,s;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(!m.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,l=c.mask,s=c.subnet,!Object(u.a)(r,s,l)){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(p)){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(s.c).checkForSetupTag();case 2:if(!t.sent.error){t.next=5;break}throw d.g;case 5:case"end":return t.stop()}}),t)})))},y=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,l.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)}}(),k=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)}}(),E=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(21))},44: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 y})),n.d(t,"c",(function(){return k}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=(n(24),n(10));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,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 u,d="googlesitekit_".concat("1.79.0","_"),f=["sessionStorage","localStorage"],g=[].concat(f),m=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 h.apply(this,arguments)}function h(){return(h=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===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(g),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,m(i);case 11:if(!t.sent){t.next=13;break}u=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===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(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(d).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,l,s,u,f,g,m,h=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},o=i.ttl,l=void 0===o?c.b:o,s=i.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,f=i.isError,g=void 0!==f&&f,t.next=3,p();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(d).concat(n),JSON.stringify({timestamp:u,ttl:l,value:r,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),y=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(d).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,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(d)&&r.push(o.substring(d.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(21))},45:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ProgressBar}));var r=n(0),a=n.n(r),i=n(8),o=n.n(i);function ProgressBar(t){var n=t.className,r=t.small,a=t.compress,i=t.indeterminate,c=t.height,l=t.progress,s=void 0!==c?Math.round(c/2):void 0,u=l?"scaleX(".concat(l,")"):void 0;return e.createElement("div",{role:"progressbar",style:{marginTop:s,marginBottom:s},className:o()("mdc-linear-progress",n,{"mdc-linear-progress--indeterminate":i,"mdc-linear-progress--small":r,"mdc-linear-progress--compress":a})},e.createElement("div",{className:"mdc-linear-progress__buffering-dots"}),e.createElement("div",{className:"mdc-linear-progress__buffer"}),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__primary-bar",style:{transform:u}},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__secondary-bar"},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})))}ProgressBar.propTypes={className:a.a.string,small:a.a.bool,compress:a.a.bool,indeterminate:a.a.bool,progress:a.a.number,height:a.a.number},ProgressBar.defaultProps={className:"",small:!1,compress:!1,indeterminate:!0,progress:0}}).call(this,n(3))},451:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(14),c=n.n(o),l=n(13),s=n.n(l),u=n(1),d=n(2),f=n(76),g=n(57),m=n(452),p=n(4),h=n.n(p),v=n(10),b=n(138),y=n(95),k=n(22),E=n(15),_=n(39),O=n(32),S=n(20),w=h.a.useSelect,j=h.a.useDispatch;t.a=function ResetButton(t){var n=t.children,a=w((function(e){return e(E.c).getAdminURL("googlesitekit-splash",{notification:"reset_success"})})),o=w((function(e){return e(E.c).isDoingReset()})),l=w((function(e){return e(_.a).isNavigatingTo(a||"")})),p=Object(d.useState)(!1),h=s()(p,2),C=h[0],R=h[1],x=Object(d.useState)(!1),z=s()(x,2),N=z[0],M=z[1],A=Object(m.a)(R,3e3);Object(d.useEffect)((function(){o||l?R(!0):A(!1)}),[o,l,A]),Object(d.useEffect)((function(){var t=function(e){g.d===e.keyCode&&M(!1)};return N&&e.addEventListener("keyup",t,!1),function(){N&&e.removeEventListener("keyup",t)}}),[N]);var T=j(E.c).reset,L=j(_.a).navigateTo,D=Object(S.a)(),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,T();case 2:return Object(v.f)(),e.next=5,Object(O.b)(D,"reset_plugin");case 5:L(a);case 6:case"end":return e.stop()}}),e)}))),[L,a,T,D]),F=Object(d.useCallback)((function(){M(!N)}),[N]),I=Object(d.useCallback)((function(){M(!0)}),[]);return r.createElement(d.Fragment,null,r.createElement(k.a,{className:"googlesitekit-reset-button",onClick:I},n||Object(u.__)("Reset Site Kit","google-site-kit")),r.createElement(y.a,null,r.createElement(b.a,{dialogActive:N,handleConfirm:P,handleDialog:F,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(21),n(3))},452:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(563),a=n(25),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}},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(29);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},50: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(111);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)}},52:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(23),a=n(20);function i(){var e=Object(a.a)();return e===r.i||e===r.l}},56:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return P}));var a=n(17),i=n.n(a),o=n(6),c=n.n(o),l=n(5),s=n.n(l),u=n(14),d=n.n(u),f=n(13),g=n.n(f),m=n(0),p=n.n(m),h=n(8),v=n.n(h),b=n(241),y=n.n(b),k=n(98),E=n(2),_=n(104),O=n(9),S=n(132),w=n(50),j=n(63),C=n(112),R=n(18),x=n(168),z=n(151),N=n(22),M=n(128),A=n(145),T=n(44),L=n(43),D=n(114),P={EXTERNAL:"external",INTERNAL:"internal"};function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,l=t.badgeLabel,u=t.blockData,f=t.children,m=t.className,p=t.ctaLabel,h=t.ctaLink,b=t.ctaTarget,F=t.description,I=t.dismiss,B=t.dismissExpires,U=t.format,q=t.id,V=t.isDismissible,H=t.learnMoreDescription,W=t.learnMoreLabel,K=t.learnMoreURL,G=t.learnMoreTarget,X=t.logo,Y=t.module,$=t.moduleName,Q=t.noBottomPadding,J=t.onCTAClick,Z=t.onDismiss,ee=t.onLearnMoreClick,te=t.pageIndex,ne=t.showOnce,re=t.SmallImageSVG,ae=t.title,ie=t.type,oe=t.WinImageSVG,ce=t.rounded,le=void 0!==ce&&ce,se=Object(E.useState)(!1),ue=g()(se,2),de=ue[0],fe=ue[1],ge=Object(E.useState)(!1),me=g()(ge,2),pe=me[0],he=me[1],ve="notification::dismissed::".concat(q),be=function(){return Object(T.d)(ve,new Date,{ttl:null})},ye=Object(L.e)();function ke(){return(ke=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!Z){e.next=5;break}return e.next=5,Z(t);case 5:Ee();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ee(){fe(!0),setTimeout(d()(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,be();case 2:he(!0),t=new Event("notificationDismissed"),document.dispatchEvent(t);case 5:case"end":return e.stop()}}),e)}))),350)}function _e(){return(_e=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),!J){e.next=4;break}return e.next=4,J(t);case 4:V&&Ee();case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(k.a)(d()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(B>0)){e.next=3;break}return e.next=3,we();case 3:if(!V){e.next=9;break}return e.next=6,Object(T.b)(ve);case 6:t=e.sent,n=t.cacheHit,he(n);case 9:if(!ne){e.next=12;break}return e.next=12,be();case 12:case"end":return e.stop()}}),e)}))));var Oe=Object(E.useCallback)((function(t){Object(w.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(S.a)(a,ye),behavior:"smooth"}))}),[a,ye]);function Se(){return(Se=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.persist(),null==ee||ee();case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function we(){return je.apply(this,arguments)}function je(){return(je=d()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(T.b)(ve);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(B,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(T.a)(ve);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(V&&(void 0===pe||pe))return null;var Ce,Re=de?"is-closed":"is-open",xe="large"===U&&"win-stats-increase"===ie,ze=Object(D.d)(U),Ne=Object(D.c)(U),Me=Object(D.a)(U),Ae=Object(D.b)({format:U,inlineLayout:xe,hasErrorOrWarning:"win-error"===ie||"win-warning"===ie,hasSmallImageSVG:!!re,hasWinImageSVG:!!oe});Ce="win-warning"===ie?r.createElement(x.a,{width:34}):"win-error"===ie?r.createElement(z.a,{width:28}):"";var Te=r.createElement(E.Fragment,null,u&&r.createElement(O.o,null,y()(u,(function(e,t){return r.createElement(O.a,{key:t,lgSize:xe?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(C.a,e)))})))),Le=r.createElement(E.Fragment,null,ae&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},ae,l&&r.createElement(M.a,{label:l})),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(N.a,{href:a,onClick:Oe},o)),F&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(E.isValidElement)(F)?F:r.createElement("span",{dangerouslySetInnerHTML:Object(j.a)(F,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),W&&r.createElement(E.Fragment,null," ",r.createElement(N.a,{onClick:function(e){return Se.apply(this,arguments)},href:K,external:G===P.EXTERNAL},W),H),te&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},te))),f),De=Y?r.createElement(A.a,{slug:Y,size:19}):r.createElement(_.a,{height:"34",width:"32"}),Pe=xe?{size:12,smOrder:2,mdOrder:1}:{size:12},Fe=h?N.a:R.a;return r.createElement("section",{id:q,className:v()(m,"googlesitekit-publisher-win",(n={},c()(n,"googlesitekit-publisher-win--".concat(U),U),c()(n,"googlesitekit-publisher-win--".concat(ie),ie),c()(n,"googlesitekit-publisher-win--".concat(Re),Re),c()(n,"googlesitekit-publisher-win--rounded",le),c()(n,"googlesitekit-publisher-win--no-bottom-padding",Q),n))},r.createElement(O.e,{className:v()({"googlesitekit-padding-bottom-0":Q})},r.createElement(O.o,null,X&&r.createElement(O.a,Pe,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},De),$&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},$)),re&&r.createElement(O.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(re,null)),r.createElement(O.a,i()({},Ae,Me,{className:"googlesitekit-publisher-win__content"}),xe?r.createElement(O.o,null,r.createElement(O.a,{mdSize:8,lgSize:5},Le),r.createElement(O.a,{alignBottom:!0,mdSize:8,lgSize:7},Te)):r.createElement(E.Fragment,null,Le,Te),h&&r.createElement(R.a,{className:"googlesitekit-notification__cta",href:h,target:b,onClick:function(e){return _e.apply(this,arguments)}},p),V&&I&&r.createElement(Fe,{onClick:function(e){return ke.apply(this,arguments)}},I)),oe&&r.createElement(O.a,i()({},ze,Ne,{alignBottom:"larger"===U&&Q}),r.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(U)},r.createElement(oe,null))),("win-error"===ie||"win-warning"===ie)&&r.createElement(O.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},Ce)))))}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,learnMoreTarget:p.a.oneOf(Object.values(P)),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,onLearnMoreClick:p.a.func,anchorLink:p.a.string,anchorLinkLabel:p.a.string,badgeLabel:p.a.string,noBottomPadding:p.a.bool,rounded:p.a.bool},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1,noBottomPadding:!1,learnMoreTarget:P.EXTERNAL},t.b=BannerNotification}).call(this,n(21),n(3))},58:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return v})),n.d(t,"j",(function(){return m.a})),n.d(t,"f",(function(){return y})),n.d(t,"k",(function(){return p}));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=3600,o=86400,c=604800,l=n(7),s=n.n(l),u=n(35),d=function(e){var t=new Date(e);s()(Object(u.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("-")},f=n(13),g=n.n(f),m=n(41),p=function(e){s()(Object(m.a)(e),r);var t=e.split("-"),n=g()(t,3),a=n[0],i=n[1],o=n[2];return new Date(a,i-1,o)},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=p(e);return n.setDate(n.getDate()-t),d(n)},v=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]};var b=n(1);function y(){var e=function(e){return Object(b.sprintf)(
20
  /* translators: %s: number of days */
21
  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}}}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),a=n(106),i=n(33),o=function(e){var t=Object(r.useContext)(a.a);return Object(i.b)(e,t)}},609:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(14),c=n.n(o),l=n(46),s=n.n(l),u=n(47),d=n.n(u),f=n(93),g=n.n(f),m=n(82),p=n.n(m),h=n(83),v=n.n(h),b=n(51),y=n.n(b),k=n(0),E=n.n(k),_=n(1),O=n(2),S=n(31),w=n.n(S),j=n(10),C=n(45),R=n(9),x=n(18);function z(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=y()(e);if(t){var a=y()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v()(this,n)}}var N=function(t){p()(SearchConsole,t);var n,a,o=z(SearchConsole);function SearchConsole(t){var n;s()(this,SearchConsole),n=o.call(this,t);var r=e._googlesitekitLegacyData.admin.siteURL;return n.state={loading:!0,sites:!1,selectedURL:r,siteURL:r,connected:!1,errorCode:!1,errorMsg:""},n.handleURLSelect=n.handleURLSelect.bind(g()(n)),n.insertPropertyToSearchConsole=n.insertPropertyToSearchConsole.bind(g()(n)),n.submitPropertyEventHandler=n.submitPropertyEventHandler.bind(g()(n)),n}return d()(SearchConsole,[{key:"componentDidMount",value:(a=c()(i.a.mark((function e(){var t,n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props,n=t.isAuthenticated,r=t.shouldSetup,n&&r){e.next=3;break}return e.abrupt("return");case 3:this.requestSearchConsoleSiteList();case 4:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"requestSearchConsoleSiteList",value:function(){var e=this,t=this.props.setErrorMessage;c()(i.a.mark((function n(){var r;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,w.a.get("modules","search-console","matched-sites",void 0,{useCache:!1});case 3:if(1!==(r=n.sent).length){n.next=9;break}return n.next=7,e.insertPropertyToSearchConsole(r[0].siteURL);case 7:return e.props.searchConsoleSetup(r[0].siteURL),n.abrupt("return");case 9:if(r.length){n.next=11;break}throw{code:"no_property_matched",message:Object(_.__)("Your site has not been added to Search Console yet. Would you like to add it now?","google-site-kit")};case 11:throw t(""),e.setState({loading:!1,selectedURL:r[0].siteURL,sites:r}),{code:"multiple_properties_matched",message:Object(_.sprintf)(
22
  /* translators: %d: the number of matching properties */
16
  /* translators: %s: module name. */
17
  Object(l.__)("%s data was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),_[O[0]].name),x=e.createElement(c.Fragment,null,e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(l.__)("By recovering the module, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),e.createElement(f.a,{onClick:j,disabled:v},Object(l.__)("Recover","google-site-kit")),e.createElement(h.a,{isSaving:v}))):(R=Object(l.__)("The data for the following modules was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),x=e.createElement(c.Fragment,null,O.map((function(t){return e.createElement("div",{key:t},e.createElement(g.a,{checked:r[t],name:"module-recovery-alert-checkbox",id:"module-recovery-alert-checkbox-".concat(t),onChange:function(){return w(t)},value:t,disabled:v},_[t].name))})),e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(l.__)("By recovering the selected modules, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),e.createElement(f.a,{onClick:j,disabled:v||!Object.values(r).some((function(e){return e}))},Object(l.__)("Recover","google-site-kit")),e.createElement(h.a,{isSaving:v}))),e.createElement(m.b,{id:"module-recovery-alert",title:Object(l.__)("Dashboard data for some services has been interrupted","google-site-kit"),description:R,learnMoreURL:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",learnMoreLabel:Object(l.__)("Learn more","google-site-kit")},x)}}).call(this,n(3))},286:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(4),a=n.n(r),i=n(12),o=n(52),c=n(287),l=a.a.useSelect;function DashboardNavigation(){var t=Object(o.a)();return void 0===l((function(e){return t?e(i.a).getViewableModules():null}))?null:e.createElement(c.a,null)}}).call(this,n(3))},287:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var a=n(24),i=n.n(a),o=n(13),c=n.n(o),l=n(98),s=n(141),u=n(8),d=n.n(u),f=n(219),g=n.n(f),m=n(2),p=n(1),h=n(4),v=n.n(h),b=n(288),y=n(289),k=n(290),E=n(291),_=n(23),O=n(12),S=n(40),w=n(34),j=n(92),C=n(91),R=n(43),x=n(132),z=n(10),N=n(20),M=n(52);function A(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 T(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 T(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 T(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=v.a.useSelect,D=v.a.useDispatch;function Navigation(){var t,n=Object(C.c)(),a=Object(m.useRef)(),o=Object(R.e)(),u=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),f=Object(m.useState)(u),h=c()(f,2),v=h[0],T=h[1],P=Object(m.useState)(u||void 0),F=c()(P,2),I=F[0],B=F[1],U=Object(m.useState)(!1),q=c()(U,2),V=q[0],H=q[1],W=Object(N.a)(),K=Object(M.a)(),G=D(w.b).setValue,X=L((function(e){return K?e(O.a).getViewableModules():null})),Y={modules:X||void 0},$=L((function(e){return e(S.a).isWidgetContextActive(n===C.b?j.CONTEXT_MAIN_DASHBOARD_TRAFFIC:j.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,Y)})),Q=L((function(e){return e(S.a).isWidgetContextActive(n===C.b?j.CONTEXT_MAIN_DASHBOARD_CONTENT:j.CONTEXT_ENTITY_DASHBOARD_CONTENT,Y)})),J=L((function(e){return e(S.a).isWidgetContextActive(n===C.b?j.CONTEXT_MAIN_DASHBOARD_SPEED:j.CONTEXT_ENTITY_DASHBOARD_SPEED,Y)})),Z=L((function(e){return e(S.a).isWidgetContextActive(n===C.b?j.CONTEXT_MAIN_DASHBOARD_MONETIZATION:j.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,Y)})),ee=Object(m.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.history.replaceState({},"","#".concat(a)),B(a),Object(z.y)("".concat(W,"_navigation"),"tab_select",a),e.scrollTo({top:a!==_.d?Object(x.a)("#".concat(a),o):0,behavior:"smooth"}),setTimeout((function(){G(w.a,a)}),50)}),[o,W,G]);return Object(l.a)((function(){var t=K?$?_.d:Q?_.a:J?_.c:Z?_.b:"":_.d;if(!u)return T(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=u;(function(e){return!(!$||e!==_.d)||(!(!Q||e!==_.a)||(!(!J||e!==_.c)||!(!Z||e!==_.b)))})(n)||(n=t),G(w.a,n),T(n),setTimeout((function(){e.scrollTo({top:n!==t?Object(x.a)("#".concat(n),o):0,behavior:"smooth"})}),50)})),Object(m.useEffect)((function(){var t=function(e){G(w.a,void 0),T(e),B(void 0)},n=g()((function(n){var r,o,c,l,s=e.scrollY,u=null===(r=document.querySelector(".googlesitekit-entity-header"))||void 0===r||null===(o=r.getBoundingClientRect())||void 0===o?void 0:o.bottom,d=null==a||null===(c=a.current)||void 0===c?void 0:c.getBoundingClientRect(),f=d.bottom,g=d.top,m=[].concat(i()($?[_.d]:[]),i()(Q?[_.a]:[]),i()(J?[_.c]:[]),i()(Z?[_.b]:[])),p=_.d;if(0===s)H(!1);else{var h,v=null===(h=document.querySelector(".googlesitekit-header"))||void 0===h?void 0:h.getBoundingClientRect().bottom;H(g===v)}var b,y=A(m);try{for(y.s();!(b=y.n()).done;){var k=b.value,E=document.getElementById(k);if(E){var O=E.getBoundingClientRect().top-20-(u||f||0);O<0&&(void 0===l||l<O)&&(l=O,p=k)}}}catch(e){y.e(e)}finally{y.f()}if(I)I===p&&t(p);else{var S=e.location.hash;p!==(null==S?void 0:S.substring(1))&&(n&&Object(z.y)("".concat(W,"_navigation"),"tab_scroll",p),e.history.replaceState({},"","#".concat(p)),t(p))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[I,$,Q,J,Z,W,G]),r.createElement("nav",{className:d()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":V}),ref:a},$&&r.createElement(s.Chip,{id:_.d,label:Object(p.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"16"}),onClick:ee,selected:v===_.d,"data-context-id":_.d}),Q&&r.createElement(s.Chip,{id:_.a,label:Object(p.__)("Content","google-site-kit"),leadingIcon:r.createElement(y.a,{width:"18",height:"18"}),onClick:ee,selected:v===_.a,"data-context-id":_.a}),J&&r.createElement(s.Chip,{id:_.c,label:Object(p.__)("Speed","google-site-kit"),leadingIcon:r.createElement(k.a,{width:"20",height:"16"}),onClick:ee,selected:v===_.c,"data-context-id":_.c}),Z&&r.createElement(s.Chip,{id:_.b,label:Object(p.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(E.a,{width:"18",height:"16"}),onClick:ee,selected:v===_.b,"data-context-id":_.b}))}}).call(this,n(21),n(3))},288: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)}},289: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)}},29: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"},290: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)}},291: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)}},292:function(e,t,n){"use strict";(function(e,r){var a=n(13),i=n.n(a),o=n(219),c=n.n(o),l=n(1),s=n(2),u=n(4),d=n.n(u),f=n(18),g=n(15),m=n(293),p=n(39),h=n(22),v=n(50),b=n(10),y=n(91),k=n(20),E=d.a.useSelect,_=d.a.useDispatch;t.a=function EntityHeader(){var t=Object(k.a)(),n=Object(y.c)(),a=E((function(e){return e(g.c).getCurrentEntityTitle()})),o=E((function(e){return e(g.c).getCurrentEntityURL()})),u=Object(s.useRef)(),d=Object(s.useState)(o),O=i()(d,2),S=O[0],w=O[1];Object(s.useEffect)((function(){var t=function(){if(u.current){var t=u.current.clientWidth-40,n=e.getComputedStyle(u.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);w(Object(v.e)(o,r))}},n=c()(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[o,u,w]);var j=_(p.a).navigateTo,C=E((function(e){return e(g.c).getAdminURL("googlesitekit-dashboard")})),R=Object(s.useCallback)((function(){Object(b.y)("".concat(t,"_navigation"),"return_to_dashboard"),j(C)}),[C,j,t]);return y.a!==n||null===o||null===a?null:r.createElement("div",{className:"googlesitekit-entity-header"},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(f.a,{icon:r.createElement(m.a,{width:24,height:24}),"aria-label":Object(l.__)("Back to dashboard","google-site-kit"),onClick:R,text:!0},Object(l.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:u,className:"googlesitekit-entity-header__details"},r.createElement("p",null,a),r.createElement(h.a,{href:o,"aria-label":o,external:!0},S)))}}).call(this,n(21),n(3))},293: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)}},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var r=n(13),a=n.n(r),i=n(254),o=n(8),c=n.n(o),l=n(2),s=n(1),u=n(57),d=n(20),f=n(131),g=n(10),m=n(295),p=n(18),h=n(143),v=n(296),b=n(297),y=n(299),k=n(4),E=n.n(k),_=n(12),O=E.a.useSelect;function ViewOnlyMenu(){var t=Object(l.useState)(!1),n=a()(t,2),r=n[0],o=n[1],k=Object(l.useRef)(),E=Object(d.a)();Object(i.a)(k,(function(){return o(!1)})),Object(f.a)([u.d,u.f],k,(function(){return o(!1)}));var S=Object(l.useCallback)((function(){r||Object(g.y)("".concat(E,"_headerbar"),"open_viewonly"),o(!r)}),[r,E]),w=O((function(e){return e(_.a).hasCapability(_.c)}));return e.createElement("div",{ref:k,className:c()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":w})},e.createElement(p.a,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:S,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(m.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":r,"aria-controls":"view-only-menu","aria-label":Object(s.__)("View only","google-site-kit"),tooltip:!0},Object(s.__)("View only","google-site-kit")),e.createElement(h.a,{menuOpen:r,nonInteractive:!0,onSelected:S,id:"view-only-menu"},e.createElement(v.a,null),e.createElement(b.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(y.a,null)))}}).call(this,n(3))},295: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:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return r.createElement("svg",a({viewBox:"0 0 16 10",fill:"none"},e),i)}},296:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(2),l=n(76),s=n(1),u=n(4),d=n.n(u),f=n(39),g=n(15),m=n(12),p=n(10),h=n(18),v=n(22),b=n(20),y=d.a.useDispatch,k=d.a.useSelect;function Description(){var t=Object(b.a)(),n=k((function(e){return e(m.a).hasCapability(m.c)})),r=k((function(e){return e(g.c).getProxySetupURL()})),i=y(f.a).navigateTo,u=Object(c.useCallback)(function(){var e=o()(a.a.mark((function e(n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Object(p.y)("".concat(t,"_headerbar_viewonly"),"start_user_setup",r?"proxy":"custom-oauth");case 3:i(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,i,t]),d=Object(c.useCallback)((function(){Object(p.y)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),E=n?Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(v.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",external:!0,onClick:d,"aria-label":Object(s.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,E),n&&e.createElement(h.a,{onClick:u},Object(s.__)("Sign in with Google","google-site-kit")))}}).call(this,n(3))},297:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var r=n(1),a=n(4),i=n.n(a),o=n(12),c=n(298),l=i.a.useSelect;function SharedServices(){var t=l((function(e){return e(o.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(r.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(c.a,{key:t,module:t})}))))}}).call(this,n(3))},298:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var r=n(0),a=n.n(r),i=n(76),o=n(1),c=n(4),l=n.n(c),s=n(16),u=n(12),d=l.a.useSelect;function Service(t){var n=t.module,r=d((function(e){return e(u.a).hasCapability(u.c)})),a=d((function(e){return e(s.a).getModule(n)})),c=a.name,l=a.owner,f=d((function(e){return e(s.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(f,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},c),r&&(null==l?void 0:l.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(i.a)(Object(o.sprintf)(
18
  /* translators: %s: module owner Google Account email address */
19
+ Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),l.login),{strong:e.createElement("strong",null)})))}Service.propTypes={module:a.a.string.isRequired}}).call(this,n(3))},299:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(76),a=n(1),i=n(211),o=n(20);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(a.__)("Thanks for using Site Kit!<br />Help us make it even better.","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(i.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly")}))}}).call(this,n(3))},300: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)}},31:function(e,t){e.exports=googlesitekit.api},32:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return b}));var r=n(86),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,f=a.isAuthenticated,g={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:f,pluginVersion:"1.79.1"},m=Object(r.a)(g),p=m.enableTracking,h=m.disableTracking,v=(m.isTrackingEnabled,m.initializeSnippet),b=m.trackEvent;function y(e){e?p():h()}c&&l&&v()}).call(this,n(21))},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(21))},331:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return i}));var r="connect-analytics-setup-splash",a="analytics-setup-opt-in",i="shared_dashboard_splash"},34:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},380:function(e,t,n){"use strict";(function(e){var r=n(46),a=n.n(r),i=n(47),o=n.n(i),c=n(82),l=n.n(c),s=n(83),u=n.n(s),d=n(51),f=n.n(d),g=n(0),m=n.n(g),p=n(2),h=n(9),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 y=function(t){l()(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.e,null,e.createElement(h.o,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},r)))))}}]),LayoutHeader}(p.Component);y.propTypes={title:m.a.string,ctaLabel:m.a.string,ctaLink:m.a.string},y.defaultProps={title:"",ctaLabel:"",ctaLink:""},t.a=y}).call(this,n(3))},381:function(e,t,n){"use strict";(function(e){var r=n(46),a=n.n(r),i=n(47),o=n.n(i),c=n(82),l=n.n(c),s=n(83),u=n.n(s),d=n(51),f=n.n(d),g=n(0),m=n.n(g),p=n(2),h=n(9),v=n(109);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 y=function(t){l()(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.e,null,e.createElement(h.o,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}(p.Component);y.propTypes={ctaLabel:m.a.string,ctaLink:m.a.string},t.a=y}).call(this,n(3))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},4:function(e,t){e.exports=googlesitekit.data},40: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"},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),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))}},43:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(129),a="xlarge",i="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},434: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 y})),n.d(t,"a",(function(){return k})),n.d(t,"d",(function(){return E}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=n(31),l=n.n(c),s=n(15),u=n(857),d=n(220);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 g(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 g(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 g(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 m=/^(?: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}$/,p=/\.(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,l,s;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(!m.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,l=c.mask,s=c.subnet,!Object(u.a)(r,s,l)){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(p)){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(s.c).checkForSetupTag();case 2:if(!t.sent.error){t.next=5;break}throw d.g;case 5:case"end":return t.stop()}}),t)})))},y=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,l.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)}}(),k=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)}}(),E=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(21))},44: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 y})),n.d(t,"c",(function(){return k}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=(n(24),n(10));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,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 u,d="googlesitekit_".concat("1.79.1","_"),f=["sessionStorage","localStorage"],g=[].concat(f),m=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 h.apply(this,arguments)}function h(){return(h=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===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(g),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,m(i);case 11:if(!t.sent){t.next=13;break}u=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===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(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(d).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,l,s,u,f,g,m,h=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},o=i.ttl,l=void 0===o?c.b:o,s=i.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,f=i.isError,g=void 0!==f&&f,t.next=3,p();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(d).concat(n),JSON.stringify({timestamp:u,ttl:l,value:r,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),y=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(d).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,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(d)&&r.push(o.substring(d.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(21))},45:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ProgressBar}));var r=n(0),a=n.n(r),i=n(8),o=n.n(i);function ProgressBar(t){var n=t.className,r=t.small,a=t.compress,i=t.indeterminate,c=t.height,l=t.progress,s=void 0!==c?Math.round(c/2):void 0,u=l?"scaleX(".concat(l,")"):void 0;return e.createElement("div",{role:"progressbar",style:{marginTop:s,marginBottom:s},className:o()("mdc-linear-progress",n,{"mdc-linear-progress--indeterminate":i,"mdc-linear-progress--small":r,"mdc-linear-progress--compress":a})},e.createElement("div",{className:"mdc-linear-progress__buffering-dots"}),e.createElement("div",{className:"mdc-linear-progress__buffer"}),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__primary-bar",style:{transform:u}},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__secondary-bar"},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})))}ProgressBar.propTypes={className:a.a.string,small:a.a.bool,compress:a.a.bool,indeterminate:a.a.bool,progress:a.a.number,height:a.a.number},ProgressBar.defaultProps={className:"",small:!1,compress:!1,indeterminate:!0,progress:0}}).call(this,n(3))},451:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(14),c=n.n(o),l=n(13),s=n.n(l),u=n(1),d=n(2),f=n(76),g=n(57),m=n(452),p=n(4),h=n.n(p),v=n(10),b=n(138),y=n(95),k=n(22),E=n(15),_=n(39),O=n(32),S=n(20),w=h.a.useSelect,j=h.a.useDispatch;t.a=function ResetButton(t){var n=t.children,a=w((function(e){return e(E.c).getAdminURL("googlesitekit-splash",{notification:"reset_success"})})),o=w((function(e){return e(E.c).isDoingReset()})),l=w((function(e){return e(_.a).isNavigatingTo(a||"")})),p=Object(d.useState)(!1),h=s()(p,2),C=h[0],R=h[1],x=Object(d.useState)(!1),z=s()(x,2),N=z[0],M=z[1],A=Object(m.a)(R,3e3);Object(d.useEffect)((function(){o||l?R(!0):A(!1)}),[o,l,A]),Object(d.useEffect)((function(){var t=function(e){g.d===e.keyCode&&M(!1)};return N&&e.addEventListener("keyup",t,!1),function(){N&&e.removeEventListener("keyup",t)}}),[N]);var T=j(E.c).reset,L=j(_.a).navigateTo,D=Object(S.a)(),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,T();case 2:return Object(v.f)(),e.next=5,Object(O.b)(D,"reset_plugin");case 5:L(a);case 6:case"end":return e.stop()}}),e)}))),[L,a,T,D]),F=Object(d.useCallback)((function(){M(!N)}),[N]),I=Object(d.useCallback)((function(){M(!0)}),[]);return r.createElement(d.Fragment,null,r.createElement(k.a,{className:"googlesitekit-reset-button",onClick:I},n||Object(u.__)("Reset Site Kit","google-site-kit")),r.createElement(y.a,null,r.createElement(b.a,{dialogActive:N,handleConfirm:P,handleDialog:F,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(21),n(3))},452:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(563),a=n(25),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}},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(29);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},50: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(111);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)}},52:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(23),a=n(20);function i(){var e=Object(a.a)();return e===r.i||e===r.l}},56:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return P}));var a=n(17),i=n.n(a),o=n(6),c=n.n(o),l=n(5),s=n.n(l),u=n(14),d=n.n(u),f=n(13),g=n.n(f),m=n(0),p=n.n(m),h=n(8),v=n.n(h),b=n(241),y=n.n(b),k=n(98),E=n(2),_=n(104),O=n(9),S=n(132),w=n(50),j=n(63),C=n(112),R=n(18),x=n(168),z=n(151),N=n(22),M=n(128),A=n(145),T=n(44),L=n(43),D=n(114),P={EXTERNAL:"external",INTERNAL:"internal"};function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,l=t.badgeLabel,u=t.blockData,f=t.children,m=t.className,p=t.ctaLabel,h=t.ctaLink,b=t.ctaTarget,F=t.description,I=t.dismiss,B=t.dismissExpires,U=t.format,q=t.id,V=t.isDismissible,H=t.learnMoreDescription,W=t.learnMoreLabel,K=t.learnMoreURL,G=t.learnMoreTarget,X=t.logo,Y=t.module,$=t.moduleName,Q=t.noBottomPadding,J=t.onCTAClick,Z=t.onDismiss,ee=t.onLearnMoreClick,te=t.pageIndex,ne=t.showOnce,re=t.SmallImageSVG,ae=t.title,ie=t.type,oe=t.WinImageSVG,ce=t.rounded,le=void 0!==ce&&ce,se=Object(E.useState)(!1),ue=g()(se,2),de=ue[0],fe=ue[1],ge=Object(E.useState)(!1),me=g()(ge,2),pe=me[0],he=me[1],ve="notification::dismissed::".concat(q),be=function(){return Object(T.d)(ve,new Date,{ttl:null})},ye=Object(L.e)();function ke(){return(ke=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!Z){e.next=5;break}return e.next=5,Z(t);case 5:Ee();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ee(){fe(!0),setTimeout(d()(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,be();case 2:he(!0),t=new Event("notificationDismissed"),document.dispatchEvent(t);case 5:case"end":return e.stop()}}),e)}))),350)}function _e(){return(_e=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),!J){e.next=4;break}return e.next=4,J(t);case 4:V&&Ee();case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(k.a)(d()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(B>0)){e.next=3;break}return e.next=3,we();case 3:if(!V){e.next=9;break}return e.next=6,Object(T.b)(ve);case 6:t=e.sent,n=t.cacheHit,he(n);case 9:if(!ne){e.next=12;break}return e.next=12,be();case 12:case"end":return e.stop()}}),e)}))));var Oe=Object(E.useCallback)((function(t){Object(w.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(S.a)(a,ye),behavior:"smooth"}))}),[a,ye]);function Se(){return(Se=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.persist(),null==ee||ee();case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function we(){return je.apply(this,arguments)}function je(){return(je=d()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(T.b)(ve);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(B,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(T.a)(ve);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(V&&(void 0===pe||pe))return null;var Ce,Re=de?"is-closed":"is-open",xe="large"===U&&"win-stats-increase"===ie,ze=Object(D.d)(U),Ne=Object(D.c)(U),Me=Object(D.a)(U),Ae=Object(D.b)({format:U,inlineLayout:xe,hasErrorOrWarning:"win-error"===ie||"win-warning"===ie,hasSmallImageSVG:!!re,hasWinImageSVG:!!oe});Ce="win-warning"===ie?r.createElement(x.a,{width:34}):"win-error"===ie?r.createElement(z.a,{width:28}):"";var Te=r.createElement(E.Fragment,null,u&&r.createElement(O.o,null,y()(u,(function(e,t){return r.createElement(O.a,{key:t,lgSize:xe?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(C.a,e)))})))),Le=r.createElement(E.Fragment,null,ae&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},ae,l&&r.createElement(M.a,{label:l})),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(N.a,{href:a,onClick:Oe},o)),F&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(E.isValidElement)(F)?F:r.createElement("span",{dangerouslySetInnerHTML:Object(j.a)(F,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),W&&r.createElement(E.Fragment,null," ",r.createElement(N.a,{onClick:function(e){return Se.apply(this,arguments)},href:K,external:G===P.EXTERNAL},W),H),te&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},te))),f),De=Y?r.createElement(A.a,{slug:Y,size:19}):r.createElement(_.a,{height:"34",width:"32"}),Pe=xe?{size:12,smOrder:2,mdOrder:1}:{size:12},Fe=h?N.a:R.a;return r.createElement("section",{id:q,className:v()(m,"googlesitekit-publisher-win",(n={},c()(n,"googlesitekit-publisher-win--".concat(U),U),c()(n,"googlesitekit-publisher-win--".concat(ie),ie),c()(n,"googlesitekit-publisher-win--".concat(Re),Re),c()(n,"googlesitekit-publisher-win--rounded",le),c()(n,"googlesitekit-publisher-win--no-bottom-padding",Q),n))},r.createElement(O.e,{className:v()({"googlesitekit-padding-bottom-0":Q})},r.createElement(O.o,null,X&&r.createElement(O.a,Pe,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},De),$&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},$)),re&&r.createElement(O.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(re,null)),r.createElement(O.a,i()({},Ae,Me,{className:"googlesitekit-publisher-win__content"}),xe?r.createElement(O.o,null,r.createElement(O.a,{mdSize:8,lgSize:5},Le),r.createElement(O.a,{alignBottom:!0,mdSize:8,lgSize:7},Te)):r.createElement(E.Fragment,null,Le,Te),h&&r.createElement(R.a,{className:"googlesitekit-notification__cta",href:h,target:b,onClick:function(e){return _e.apply(this,arguments)}},p),V&&I&&r.createElement(Fe,{onClick:function(e){return ke.apply(this,arguments)}},I)),oe&&r.createElement(O.a,i()({},ze,Ne,{alignBottom:"larger"===U&&Q}),r.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(U)},r.createElement(oe,null))),("win-error"===ie||"win-warning"===ie)&&r.createElement(O.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},Ce)))))}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,learnMoreTarget:p.a.oneOf(Object.values(P)),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,onLearnMoreClick:p.a.func,anchorLink:p.a.string,anchorLinkLabel:p.a.string,badgeLabel:p.a.string,noBottomPadding:p.a.bool,rounded:p.a.bool},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1,noBottomPadding:!1,learnMoreTarget:P.EXTERNAL},t.b=BannerNotification}).call(this,n(21),n(3))},58:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return v})),n.d(t,"j",(function(){return m.a})),n.d(t,"f",(function(){return y})),n.d(t,"k",(function(){return p}));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=3600,o=86400,c=604800,l=n(7),s=n.n(l),u=n(35),d=function(e){var t=new Date(e);s()(Object(u.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("-")},f=n(13),g=n.n(f),m=n(41),p=function(e){s()(Object(m.a)(e),r);var t=e.split("-"),n=g()(t,3),a=n[0],i=n[1],o=n[2];return new Date(a,i-1,o)},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=p(e);return n.setDate(n.getDate()-t),d(n)},v=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]};var b=n(1);function y(){var e=function(e){return Object(b.sprintf)(
20
  /* translators: %s: number of days */
21
  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}}}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),a=n(106),i=n(33),o=function(e){var t=Object(r.useContext)(a.a);return Object(i.b)(e,t)}},609:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(14),c=n.n(o),l=n(46),s=n.n(l),u=n(47),d=n.n(u),f=n(93),g=n.n(f),m=n(82),p=n.n(m),h=n(83),v=n.n(h),b=n(51),y=n.n(b),k=n(0),E=n.n(k),_=n(1),O=n(2),S=n(31),w=n.n(S),j=n(10),C=n(45),R=n(9),x=n(18);function z(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=y()(e);if(t){var a=y()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v()(this,n)}}var N=function(t){p()(SearchConsole,t);var n,a,o=z(SearchConsole);function SearchConsole(t){var n;s()(this,SearchConsole),n=o.call(this,t);var r=e._googlesitekitLegacyData.admin.siteURL;return n.state={loading:!0,sites:!1,selectedURL:r,siteURL:r,connected:!1,errorCode:!1,errorMsg:""},n.handleURLSelect=n.handleURLSelect.bind(g()(n)),n.insertPropertyToSearchConsole=n.insertPropertyToSearchConsole.bind(g()(n)),n.submitPropertyEventHandler=n.submitPropertyEventHandler.bind(g()(n)),n}return d()(SearchConsole,[{key:"componentDidMount",value:(a=c()(i.a.mark((function e(){var t,n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props,n=t.isAuthenticated,r=t.shouldSetup,n&&r){e.next=3;break}return e.abrupt("return");case 3:this.requestSearchConsoleSiteList();case 4:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"requestSearchConsoleSiteList",value:function(){var e=this,t=this.props.setErrorMessage;c()(i.a.mark((function n(){var r;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,w.a.get("modules","search-console","matched-sites",void 0,{useCache:!1});case 3:if(1!==(r=n.sent).length){n.next=9;break}return n.next=7,e.insertPropertyToSearchConsole(r[0].siteURL);case 7:return e.props.searchConsoleSetup(r[0].siteURL),n.abrupt("return");case 9:if(r.length){n.next=11;break}throw{code:"no_property_matched",message:Object(_.__)("Your site has not been added to Search Console yet. Would you like to add it now?","google-site-kit")};case 11:throw t(""),e.setState({loading:!1,selectedURL:r[0].siteURL,sites:r}),{code:"multiple_properties_matched",message:Object(_.sprintf)(
22
  /* translators: %d: the number of matching properties */
dist/assets/js/{googlesitekit-datastore-forms-5f45f7f8caf2ee0293a1.js → googlesitekit-datastore-forms-3f77fa0ab3f5f7df2b4d.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[10],{1:function(t,r){t.exports=googlesitekit.i18n},10:function(t,r,e){"use strict";e.d(r,"y",(function(){return c.b})),e.d(r,"v",(function(){return u.a})),e.d(r,"z",(function(){return u.b})),e.d(r,"x",(function(){return p})),e.d(r,"f",(function(){return v.a})),e.d(r,"m",(function(){return v.b})),e.d(r,"t",(function(){return g.c})),e.d(r,"u",(function(){return g.d})),e.d(r,"q",(function(){return g.b})),e.d(r,"l",(function(){return g.a})),e.d(r,"r",(function(){return m})),e.d(r,"g",(function(){return O})),e.d(r,"b",(function(){return w.b})),e.d(r,"a",(function(){return w.a})),e.d(r,"c",(function(){return w.e})),e.d(r,"i",(function(){return w.f})),e.d(r,"w",(function(){return w.k})),e.d(r,"j",(function(){return j.b})),e.d(r,"p",(function(){return j.c})),e.d(r,"e",(function(){return j.a})),e.d(r,"o",(function(){return S.b})),e.d(r,"k",(function(){return S.a})),e.d(r,"s",(function(){return S.d})),e.d(r,"n",(function(){return E})),e.d(r,"d",(function(){return k})),e.d(r,"A",(function(){return _})),e.d(r,"h",(function(){return D}));var n=e(120),a=e.n(n),o=e(115),i=e.n(o),c=e(32),u=e(63),s=e(28),l=e.n(s),f=e(77),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 a=r[n];a&&"object"===l()(a)&&!Array.isArray(a)&&(a=t(a)),e[n]=a})),e}(t)))};var v=e(78),g=(e(84),e(72));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 r=t,e=0,n=[b,h,y];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(58),j=e(85),S=e(50),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)||!a()(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)}},1082:function(t,r,e){"use strict";e.r(r);var n=e(4),a=e.n(n),o=e(49),i=e(99),c=e(6),u=e.n(c),s=e(7),l=e.n(s),f=e(54),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 a=n.formName,o=n.formData;return v(v({},t),{},u()({},a,v(v({},t[a]||{}),o)));default:return t}},resolvers:{},selectors:{getValue:function(t,r,e){return(t[r]||{})[e]},hasForm:function(t,r){return!!t[r]}}},b=e(36),h=a.a.combineStores(a.a.commonStore,g,Object(i.a)(b.a),Object(o.b)(b.a));h.initialState,h.actions,h.controls,h.reducer,h.resolvers,h.selectors;a.a.registerStore(b.a,h)},29:function(t,r,e){"use strict";e.d(r,"a",(function(){return n})),e.d(r,"b",(function(){return a}));var n="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},32:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return m})),e.d(r,"b",(function(){return y}));var n=e(86),a=t._googlesitekitTrackingData||{},o=a.activeModules,i=void 0===o?[]:o,c=a.isSiteKitScreen,u=a.trackingEnabled,s=a.trackingID,l=a.referenceSiteURL,f=a.userIDHash,d=a.isAuthenticated,p={activeModules:i,trackingEnabled:u,trackingID:s,referenceSiteURL:l,userIDHash:f,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:d,pluginVersion:"1.79.0"},v=Object(n.a)(p),g=v.enableTracking,b=v.disableTracking,h=(v.isTrackingEnabled,v.initializeSnippet),y=v.trackEvent;function m(t){t?g():b()}c&&u&&h()}).call(this,e(21))},33:function(t,r,e){"use strict";(function(t){var n,a;e.d(r,"a",(function(){return o})),e.d(r,"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 r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return r instanceof Set&&r.has(t)}}).call(this,e(21))},35:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));var n=function(t){return t instanceof Date&&!isNaN(t)}},36:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));var n="core/forms"},4:function(t,r){t.exports=googlesitekit.data},41:function(t,r,e){"use strict";e.d(r,"a",(function(){return a}));var n=e(35),a=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))}},44:function(t,r,e){"use strict";(function(t){e.d(r,"b",(function(){return h})),e.d(r,"d",(function(){return y})),e.d(r,"a",(function(){return m})),e.d(r,"c",(function(){return O}));var n=e(5),a=e.n(n),o=e(14),i=e.n(o),c=(e(24),e(10));function u(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 s(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 s(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);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(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){c=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(c)throw o}}}}function s(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 l,f="googlesitekit_".concat("1.79.0","_"),d=["sessionStorage","localStorage"],p=[].concat(d),v=function(){var r=i()(a.a.mark((function r(e){var n,o;return a.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,o="__storage_test__",n.setItem(o,o),n.removeItem(o),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 g(){return b.apply(this,arguments)}function b(){return(b=i()(a.a.mark((function r(){var e,n,o;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0===l){r.next=2;break}return r.abrupt("return",l);case 2:e=u(p),r.prev=3,e.s();case 5:if((n=e.n()).done){r.next=15;break}if(o=n.value,!l){r.next=9;break}return r.abrupt("continue",13);case 9:return r.next=11,v(o);case 11:if(!r.sent){r.next=13;break}l=t[o];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===l&&(l=null),r.abrupt("return",l);case 25:case"end":return r.stop()}}),r,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var t=i()(a.a.mark((function t(r){var e,n,o,i,c,u,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(e=t.sent)){t.next=10;break}if(!(n=e.getItem("".concat(f).concat(r)))){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(r){return t.apply(this,arguments)}}(),y=function(){var r=i()(a.a.mark((function r(e,n){var o,i,u,s,l,d,p,v,b=arguments;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=b.length>2&&void 0!==b[2]?b[2]:{},i=o.ttl,u=void 0===i?c.b:i,s=o.timestamp,l=void 0===s?Math.round(Date.now()/1e3):s,d=o.isError,p=void 0!==d&&d,r.next=3,g();case 3:if(!(v=r.sent)){r.next=14;break}return r.prev=5,v.setItem("".concat(f).concat(e),JSON.stringify({timestamp:l,ttl:u,value:n,isError:p})),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()(a.a.mark((function r(e){var n;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,g();case 2:if(!(n=r.sent)){r.next=13;break}return r.prev=4,n.removeItem("".concat(f).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)}}(),O=function(){var r=i()(a.a.mark((function r(){var e,n,o,i;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,g();case 2:if(!(e=r.sent)){r.next=14;break}for(r.prev=4,n=[],o=0;o<e.length;o++)0===(i=e.key(o)).indexOf(f)&&n.push(i.substring(f.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(21))},48:function(t,r,e){"use strict";e.d(r,"a",(function(){return a}));var n=e(29);function a(t){return function(){t[n.a]=t[n.a]||[],t[n.a].push(arguments)}}},49:function(t,r,e){"use strict";e.d(r,"a",(function(){return g})),e.d(r,"b",(function(){return b}));var n=e(6),a=e.n(n),o=e(28),i=e.n(o),c=e(7),u=e.n(c),s=e(77),l=e.n(s),f=e(10);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){a()(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.x)(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(t){u()(t,"storeName must be defined.");var r={getErrorForSelector:function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];u()(n,"selectorName is required.");var o=r.getError(e,n,a);if(o)return p(p({},o),{},{selectorData:{storeName:t,name:n,args:a}})},getErrorForAction:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"actionName is required."),r.getError(t,e,n)},getError:function(t,r,e){var n=t.error,a=t.errors;return r||e?(u()(r,"baseName is required."),a[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(t){return r.getErrors(t).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 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:r}}},50:function(t,r,e){"use strict";e.d(r,"b",(function(){return a})),e.d(r,"a",(function(){return o})),e.d(r,"d",(function(){return i})),e.d(r,"c",(function(){return c})),e.d(r,"e",(function(){return u}));var n=e(111);function a(t){try{return new URL(t).pathname}catch(t){}return null}function o(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),a=t.replace(e.origin,"");if(a.length<r)return a;var o=a.length-Math.floor(r)+1;return"…"+a.substr(o)}},58:function(t,r,e){"use strict";e.d(r,"d",(function(){return n})),e.d(r,"c",(function(){return a})),e.d(r,"b",(function(){return o})),e.d(r,"a",(function(){return i})),e.d(r,"e",(function(){return c})),e.d(r,"g",(function(){return f})),e.d(r,"h",(function(){return b})),e.d(r,"i",(function(){return h})),e.d(r,"j",(function(){return v.a})),e.d(r,"f",(function(){return m})),e.d(r,"k",(function(){return g}));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=3600,i=86400,c=604800,u=e(7),s=e.n(u),l=e(35),f=function(t){var r=new Date(t);s()(Object(l.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("-")},d=e(13),p=e.n(d),v=e(41),g=function(t){s()(Object(v.a)(t),n);var r=t.split("-"),e=p()(r,3),a=e[0],o=e[1],i=e[2];return new Date(a,o-1,i)},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,e=g(t);return e.setDate(e.getDate()-r),f(e)},h=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]};var y=e(1);function m(){var t=function(t){return Object(y.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(y._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}}}},61:function(t,r,e){"use strict";(function(t){var n=e(0),a=e.n(n),o=e(8),i=e.n(o);function ChangeArrow(r){var e=r.direction,n=r.invertColor,a=r.width,o=r.height;return t.createElement("svg",{className:i()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(e),{"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},r.a=ChangeArrow}).call(this,e(3))},63:function(t,r,e){"use strict";e.d(r,"a",(function(){return i})),e.d(r,"b",(function(){return c}));var n=e(28),a=e.n(n),o=e(73),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:o.a.sanitize(t,r)}};function c(t){var r,e="object"===a()(t)?t.toString():t;return null==e||null===(r=e.replace)||void 0===r?void 0:r.call(e,/\/+$/,"")}},72: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(13),a=e.n(n),o=e(28),i=e.n(o),c=e(6),u=e.n(c),s=e(19),l=e.n(s),f=e(25),d=e(70),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=y(t,r),n=e.formatUnit,a=e.formatDecimal;try{return n()}catch(t){return a()}},y=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),a=Math.floor(t%60);return{hours:e,minutes:n,seconds:a,formatUnit:function(){var o=r.unitDisplay,i=b(b({unitDisplay:void 0===o?"short":o},l()(r,["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 */
1
+ (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[10],{1:function(t,r){t.exports=googlesitekit.i18n},10:function(t,r,e){"use strict";e.d(r,"y",(function(){return c.b})),e.d(r,"v",(function(){return u.a})),e.d(r,"z",(function(){return u.b})),e.d(r,"x",(function(){return p})),e.d(r,"f",(function(){return v.a})),e.d(r,"m",(function(){return v.b})),e.d(r,"t",(function(){return g.c})),e.d(r,"u",(function(){return g.d})),e.d(r,"q",(function(){return g.b})),e.d(r,"l",(function(){return g.a})),e.d(r,"r",(function(){return m})),e.d(r,"g",(function(){return O})),e.d(r,"b",(function(){return w.b})),e.d(r,"a",(function(){return w.a})),e.d(r,"c",(function(){return w.e})),e.d(r,"i",(function(){return w.f})),e.d(r,"w",(function(){return w.k})),e.d(r,"j",(function(){return j.b})),e.d(r,"p",(function(){return j.c})),e.d(r,"e",(function(){return j.a})),e.d(r,"o",(function(){return S.b})),e.d(r,"k",(function(){return S.a})),e.d(r,"s",(function(){return S.d})),e.d(r,"n",(function(){return E})),e.d(r,"d",(function(){return k})),e.d(r,"A",(function(){return _})),e.d(r,"h",(function(){return D}));var n=e(120),a=e.n(n),o=e(115),i=e.n(o),c=e(32),u=e(63),s=e(28),l=e.n(s),f=e(77),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 a=r[n];a&&"object"===l()(a)&&!Array.isArray(a)&&(a=t(a)),e[n]=a})),e}(t)))};var v=e(78),g=(e(84),e(72));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 r=t,e=0,n=[b,h,y];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(58),j=e(85),S=e(50),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)||!a()(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)}},1082:function(t,r,e){"use strict";e.r(r);var n=e(4),a=e.n(n),o=e(49),i=e(99),c=e(6),u=e.n(c),s=e(7),l=e.n(s),f=e(54),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 a=n.formName,o=n.formData;return v(v({},t),{},u()({},a,v(v({},t[a]||{}),o)));default:return t}},resolvers:{},selectors:{getValue:function(t,r,e){return(t[r]||{})[e]},hasForm:function(t,r){return!!t[r]}}},b=e(36),h=a.a.combineStores(a.a.commonStore,g,Object(i.a)(b.a),Object(o.b)(b.a));h.initialState,h.actions,h.controls,h.reducer,h.resolvers,h.selectors;a.a.registerStore(b.a,h)},29:function(t,r,e){"use strict";e.d(r,"a",(function(){return n})),e.d(r,"b",(function(){return a}));var n="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},32:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return m})),e.d(r,"b",(function(){return y}));var n=e(86),a=t._googlesitekitTrackingData||{},o=a.activeModules,i=void 0===o?[]:o,c=a.isSiteKitScreen,u=a.trackingEnabled,s=a.trackingID,l=a.referenceSiteURL,f=a.userIDHash,d=a.isAuthenticated,p={activeModules:i,trackingEnabled:u,trackingID:s,referenceSiteURL:l,userIDHash:f,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:d,pluginVersion:"1.79.1"},v=Object(n.a)(p),g=v.enableTracking,b=v.disableTracking,h=(v.isTrackingEnabled,v.initializeSnippet),y=v.trackEvent;function m(t){t?g():b()}c&&u&&h()}).call(this,e(21))},33:function(t,r,e){"use strict";(function(t){var n,a;e.d(r,"a",(function(){return o})),e.d(r,"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 r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return r instanceof Set&&r.has(t)}}).call(this,e(21))},35:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));var n=function(t){return t instanceof Date&&!isNaN(t)}},36:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));var n="core/forms"},4:function(t,r){t.exports=googlesitekit.data},41:function(t,r,e){"use strict";e.d(r,"a",(function(){return a}));var n=e(35),a=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))}},44:function(t,r,e){"use strict";(function(t){e.d(r,"b",(function(){return h})),e.d(r,"d",(function(){return y})),e.d(r,"a",(function(){return m})),e.d(r,"c",(function(){return O}));var n=e(5),a=e.n(n),o=e(14),i=e.n(o),c=(e(24),e(10));function u(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 s(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 s(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);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(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){c=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(c)throw o}}}}function s(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 l,f="googlesitekit_".concat("1.79.1","_"),d=["sessionStorage","localStorage"],p=[].concat(d),v=function(){var r=i()(a.a.mark((function r(e){var n,o;return a.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,o="__storage_test__",n.setItem(o,o),n.removeItem(o),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 g(){return b.apply(this,arguments)}function b(){return(b=i()(a.a.mark((function r(){var e,n,o;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0===l){r.next=2;break}return r.abrupt("return",l);case 2:e=u(p),r.prev=3,e.s();case 5:if((n=e.n()).done){r.next=15;break}if(o=n.value,!l){r.next=9;break}return r.abrupt("continue",13);case 9:return r.next=11,v(o);case 11:if(!r.sent){r.next=13;break}l=t[o];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===l&&(l=null),r.abrupt("return",l);case 25:case"end":return r.stop()}}),r,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var t=i()(a.a.mark((function t(r){var e,n,o,i,c,u,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(e=t.sent)){t.next=10;break}if(!(n=e.getItem("".concat(f).concat(r)))){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(r){return t.apply(this,arguments)}}(),y=function(){var r=i()(a.a.mark((function r(e,n){var o,i,u,s,l,d,p,v,b=arguments;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=b.length>2&&void 0!==b[2]?b[2]:{},i=o.ttl,u=void 0===i?c.b:i,s=o.timestamp,l=void 0===s?Math.round(Date.now()/1e3):s,d=o.isError,p=void 0!==d&&d,r.next=3,g();case 3:if(!(v=r.sent)){r.next=14;break}return r.prev=5,v.setItem("".concat(f).concat(e),JSON.stringify({timestamp:l,ttl:u,value:n,isError:p})),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()(a.a.mark((function r(e){var n;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,g();case 2:if(!(n=r.sent)){r.next=13;break}return r.prev=4,n.removeItem("".concat(f).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)}}(),O=function(){var r=i()(a.a.mark((function r(){var e,n,o,i;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,g();case 2:if(!(e=r.sent)){r.next=14;break}for(r.prev=4,n=[],o=0;o<e.length;o++)0===(i=e.key(o)).indexOf(f)&&n.push(i.substring(f.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(21))},48:function(t,r,e){"use strict";e.d(r,"a",(function(){return a}));var n=e(29);function a(t){return function(){t[n.a]=t[n.a]||[],t[n.a].push(arguments)}}},49:function(t,r,e){"use strict";e.d(r,"a",(function(){return g})),e.d(r,"b",(function(){return b}));var n=e(6),a=e.n(n),o=e(28),i=e.n(o),c=e(7),u=e.n(c),s=e(77),l=e.n(s),f=e(10);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){a()(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.x)(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(t){u()(t,"storeName must be defined.");var r={getErrorForSelector:function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];u()(n,"selectorName is required.");var o=r.getError(e,n,a);if(o)return p(p({},o),{},{selectorData:{storeName:t,name:n,args:a}})},getErrorForAction:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"actionName is required."),r.getError(t,e,n)},getError:function(t,r,e){var n=t.error,a=t.errors;return r||e?(u()(r,"baseName is required."),a[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(t){return r.getErrors(t).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 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:r}}},50:function(t,r,e){"use strict";e.d(r,"b",(function(){return a})),e.d(r,"a",(function(){return o})),e.d(r,"d",(function(){return i})),e.d(r,"c",(function(){return c})),e.d(r,"e",(function(){return u}));var n=e(111);function a(t){try{return new URL(t).pathname}catch(t){}return null}function o(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),a=t.replace(e.origin,"");if(a.length<r)return a;var o=a.length-Math.floor(r)+1;return"…"+a.substr(o)}},58:function(t,r,e){"use strict";e.d(r,"d",(function(){return n})),e.d(r,"c",(function(){return a})),e.d(r,"b",(function(){return o})),e.d(r,"a",(function(){return i})),e.d(r,"e",(function(){return c})),e.d(r,"g",(function(){return f})),e.d(r,"h",(function(){return b})),e.d(r,"i",(function(){return h})),e.d(r,"j",(function(){return v.a})),e.d(r,"f",(function(){return m})),e.d(r,"k",(function(){return g}));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=3600,i=86400,c=604800,u=e(7),s=e.n(u),l=e(35),f=function(t){var r=new Date(t);s()(Object(l.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("-")},d=e(13),p=e.n(d),v=e(41),g=function(t){s()(Object(v.a)(t),n);var r=t.split("-"),e=p()(r,3),a=e[0],o=e[1],i=e[2];return new Date(a,o-1,i)},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,e=g(t);return e.setDate(e.getDate()-r),f(e)},h=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]};var y=e(1);function m(){var t=function(t){return Object(y.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(y._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}}}},61:function(t,r,e){"use strict";(function(t){var n=e(0),a=e.n(n),o=e(8),i=e.n(o);function ChangeArrow(r){var e=r.direction,n=r.invertColor,a=r.width,o=r.height;return t.createElement("svg",{className:i()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(e),{"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},r.a=ChangeArrow}).call(this,e(3))},63:function(t,r,e){"use strict";e.d(r,"a",(function(){return i})),e.d(r,"b",(function(){return c}));var n=e(28),a=e.n(n),o=e(73),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:o.a.sanitize(t,r)}};function c(t){var r,e="object"===a()(t)?t.toString():t;return null==e||null===(r=e.replace)||void 0===r?void 0:r.call(e,/\/+$/,"")}},72: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(13),a=e.n(n),o=e(28),i=e.n(o),c=e(6),u=e.n(c),s=e(19),l=e.n(s),f=e(25),d=e(70),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=y(t,r),n=e.formatUnit,a=e.formatDecimal;try{return n()}catch(t){return a()}},y=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),a=Math.floor(t%60);return{hours:e,minutes:n,seconds:a,formatUnit:function(){var o=r.unitDisplay,i=b(b({unitDisplay:void 0===o?"short":o},l()(r,["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 */
dist/assets/js/{googlesitekit-datastore-site-368118cce96c39c7ca3e.js → googlesitekit-datastore-site-20b37d3adea360c856b0.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[12],{1:function(e,t){e.exports=googlesitekit.i18n},10:function(e,t,r){"use strict";r.d(t,"y",(function(){return c.b})),r.d(t,"v",(function(){return u.a})),r.d(t,"z",(function(){return u.b})),r.d(t,"x",(function(){return d})),r.d(t,"f",(function(){return v.a})),r.d(t,"m",(function(){return v.b})),r.d(t,"t",(function(){return g.c})),r.d(t,"u",(function(){return g.d})),r.d(t,"q",(function(){return g.b})),r.d(t,"l",(function(){return g.a})),r.d(t,"r",(function(){return O})),r.d(t,"g",(function(){return h})),r.d(t,"b",(function(){return j.b})),r.d(t,"a",(function(){return j.a})),r.d(t,"c",(function(){return j.e})),r.d(t,"i",(function(){return j.f})),r.d(t,"w",(function(){return j.k})),r.d(t,"j",(function(){return w.b})),r.d(t,"p",(function(){return w.c})),r.d(t,"e",(function(){return w.a})),r.d(t,"o",(function(){return S.b})),r.d(t,"k",(function(){return S.a})),r.d(t,"s",(function(){return S.d})),r.d(t,"n",(function(){return R})),r.d(t,"d",(function(){return E})),r.d(t,"A",(function(){return P})),r.d(t,"h",(function(){return k}));var n=r(120),o=r.n(n),i=r(115),a=r.n(i),c=r(32),u=r(63),s=r(28),f=r.n(s),l=r(77),p=r.n(l),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"===f()(o)&&!Array.isArray(o)&&(o=e(o)),r[n]=o})),r}(e)))};var v=r(78),g=(r(84),r(72));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(58),w=r(85),S=r(50),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}},E=function(e,t){if("0"===e||0===e||isNaN(e))return null;var r=(t-e)/e;return isNaN(r)||!o()(r)?null:r},P=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)}},1075:function(e,t,r){"use strict";r.r(t);var n=r(4),o=r.n(n),i=r(5),a=r.n(i),c=r(6),u=r.n(c),s=r(31),f=r.n(s),l=r(15),p=r(42);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 v(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){u()(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=o.a.createRegistrySelector,b=Object(p.a)({baseName:"getConnection",controlCallback:function(){return f.a.get("core","site","connection",void 0,{useCache:!1})},reducerCallback:function(e,t){return v(v({},e),{},{connection:t})}}),y={connection:void 0},m={getConnection:a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.commonActions.getRegistry();case 2:if(t=e.sent,t.select(l.c).getConnection()){e.next=7;break}return e.next=7,b.actions.fetchGetConnection();case 7:case"end":return e.stop()}}),e)}))},O={getConnection:function(e){return e.connection},getOwnerID:g((function(e){return function(){return(e(l.c).getConnection()||{}).ownerID}})),hasConnectedAdmins:g((function(e){return function(){return(e(l.c).getConnection()||{}).hasConnectedAdmins}})),isConnected:g((function(e){return function(){var t=e(l.c).getConnection();return void 0!==t?t.connected:t}})),isResettable:g((function(e){return function(){var t=e(l.c).getConnection();return void 0!==t?t.resettable:t}})),isSetupCompleted:g((function(e){return function(){var t=e(l.c).getConnection();return void 0!==t?t.setupCompleted:t}})),hasMultipleAdmins:g((function(e){return function(){var t;return null===(t=e(l.c).getConnection())||void 0===t?void 0:t.hasMultipleAdmins}}))},h=o.a.combineStores(b,{initialState:y,resolvers:m,selectors:O}),j=(h.initialState,h.actions,h.controls,h.reducer,h.resolvers,h.selectors,h),w=r(19),S=r.n(w),R=r(7),E=r.n(R),P=r(54),k=r.n(P),L=r(1);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 _(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){u()(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 x,U={internalServerError:void 0},A={setInternalServerError:function(e){E()(k()(e),"internalServerError must be a plain object.");var t=e.title,r=void 0===t?Object(L.__)("Internal Server Error","google-site-kit"):t,n=e.format,o=void 0===n?"small":n,i=e.type;return{type:"SET_SERVER_ERROR",payload:{internalServerError:_({title:r,format:o,type:void 0===i?"win-error":i},S()(e,["title","format","type"]))}}},clearInternalServerError:function(){return{type:"CLEAR_SERVER_ERROR"}}},N=o.a.combineStores({initialState:U,actions:A,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_SERVER_ERROR":return _(_({},e),{},{internalServerError:n.internalServerError});case"CLEAR_SERVER_ERROR":return _(_({},e),{},{internalServerError:void 0});default:return e}},resolvers:{},selectors:{getInternalServerError:function(e){return e.internalServerError}}}),I=(N.initialState,N.actions,N.controls,N.reducer,N.resolvers,N.selectors,N),C=r(14),T=r.n(C),M=r(111),F=r(268),q=r(238);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 G(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){u()(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,B=o.a.createRegistryControl,z=Object(p.a)({baseName:"getHTMLForURL",argsToParams:function(e){return{url:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url;E()(Object(M.a)(t),"a valid url is required to fetch HTML.")},controlCallback:(K=T()(a.a.mark((function e(t){var r,n,o,i,c;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.url,n={credentials:"omit"},o={tagverify:1,timestamp:Date.now()},e.next=5,fetch(Object(F.a)(r,o),n);case 5:return i=e.sent,e.prev=6,e.next=9,i.text();case 9:if(""!==(c=e.sent)&&void 0!==c){e.next=12;break}return e.abrupt("return",null);case 12:return e.abrupt("return",c);case 15:return e.prev=15,e.t0=e.catch(6),e.abrupt("return",null);case 18:case"end":return e.stop()}}),e,null,[[6,15]])}))),function(e){return K.apply(this,arguments)}),reducerCallback:function(e,t,r){var n=r.url;return G(G({},e),{},{htmlForURL:G(G({},e.htmlForURL),{},u()({},n,t))})}}),V={resetHTMLForURL:a.a.mark((function e(t){var r,n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.commonActions.getRegistry();case 2:return r=e.sent,n=r.dispatch,e.next=6,{payload:{url:t},type:"RESET_HTML_FOR_URL"};case 6:return e.abrupt("return",n(l.c).invalidateResolutionForStoreSelector("getHTMLForURL"));case 7:case"end":return e.stop()}}),e)})),checkForSetupTag:a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CHECK_FOR_SETUP_TAG"};case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})),waitForHTMLForURL:a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{url:t},type:"WAIT_FOR_HTML_FOR_URL"};case 2:case"end":return e.stop()}}),e)}))},$=(x={},u()(x,"WAIT_FOR_HTML_FOR_URL",B((function(e){return function(t){var r=t.payload.url;return e.__experimentalResolveSelect(l.c).getHTMLForURL(r)}}))),u()(x,"CHECK_FOR_SETUP_TAG",B((function(e){return T()(a.a.mark((function t(){var r,n,o,i,c,u,s,p;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=!1,t.prev=1,t.next=4,f.a.set("core","site","setup-tag");case 4:return c=t.sent,o=c.token,t.next=8,e.select(l.c).getHomeURL();case 8:return u=t.sent,t.next=11,e.dispatch(l.c).fetchGetHTMLForURL(u);case 11:s=t.sent,n=s.response,r=s.error,t.next=19;break;case 16:t.prev=16,t.t0=t.catch(1),r="check_fetch_failed";case 19:return r||(p=Object(q.a)(n,[/<meta name="googlesitekit-setup" content="([a-z0-9-]+)"/]),(i=o===p)||(r="setup_token_mismatch")),t.abrupt("return",{response:i,error:r});case 21:case"end":return t.stop()}}),t,null,[[1,16]])})))}))),x),Y={getHTMLForURL:a.a.mark((function e(t){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.commonActions.getRegistry();case 2:if(r=e.sent,void 0!==r.select(l.c).getHTMLForURL(t)){e.next=7;break}return e.next=7,z.actions.fetchGetHTMLForURL(t);case 7:case"end":return e.stop()}}),e)}))},J=o.a.combineStores(z,{initialState:{htmlForURL:{}},actions:V,controls:$,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RESET_HTML_FOR_URL":var o=n.url;return G(G({},e),{},{htmlForURL:G(G({},e.htmlForURL),{},u()({},o,void 0))});default:return e}},resolvers:Y,selectors:{getHTMLForURL:function(e,t){return e.htmlForURL[t]}}}),W=(J.initialState,J.actions,J.controls,J.reducer,J.resolvers,J.selectors,J),Z=r(716),Q=o.a.createRegistrySelector,X=Object(p.a)({baseName:"reset",controlCallback:function(){return f.a.set("core","site","reset")}}),ee={reset:a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,X.actions.fetchReset();case 2:case"end":return e.stop()}}),e)}))},te={isDoingReset:Q((function(e){return function(){return e(l.c).isFetchingReset()}}))},re=o.a.combineStores(X,{initialState:{},actions:ee,selectors:te}),ne=(re.initialState,re.actions,re.controls,re.reducer,re.resolvers,re.selectors,re);function oe(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 ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ae=o.a.commonActions,ce=o.a.combineStores,ue=o.a.createRegistrySelector,se=Object(p.a)({baseName:"getAdminBarSettings",controlCallback:function(){var e=T()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",f.a.get("core","site","admin-bar-settings",void 0,{useCache:!1}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),reducerCallback:function(e,t){return ie(ie({},e),{},{adminBarSettings:ie(ie({},e.adminBarSettings||{}),t)})}}),fe=Object(p.a)({baseName:"setAdminBarSettings",controlCallback:function(e){var t=e.enabled;return f.a.set("core","site","admin-bar-settings",{enabled:t})},reducerCallback:function(e,t){return ie(ie({},e),{},{adminBarSettings:ie(ie({},e.adminBarSettings||{}),t)})},argsToParams:function(e){return{enabled:e.enabled}},validateParams:function(e){var t=e.enabled;E()("boolean"==typeof t,"enabled must be of boolean type")}}),le={adminBarSettings:void 0},pe={setShowAdminBar:a.a.mark((function e(t){var r,n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe.actions.fetchSetAdminBarSettings({enabled:t});case 2:return r=e.sent,n=r.response,o=r.error,e.abrupt("return",{response:n,error:o});case 6:case"end":return e.stop()}}),e)}))};var de={getAdminBarSettings:a.a.mark((function e(){var t,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ae.getRegistry();case 2:if(t=e.sent,r=t.select,void 0!==r(l.c).getAdminBarSettings()){e.next=8;break}return e.next=8,se.actions.fetchGetAdminBarSettings();case 8:case"end":return e.stop()}}),e)}))},ve={getAdminBarSettings:function(e){return e.adminBarSettings},getShowAdminBar:ue((function(e){return function(){var t;return null===(t=e(l.c).getAdminBarSettings())||void 0===t?void 0:t.enabled}}))},ge=ce(se,fe,{initialState:le,actions:pe,controls:{},reducer:function(e,t){return t.type,e},resolvers:de,selectors:ve}),be=(ge.initialState,ge.actions,ge.controls,ge.reducer,ge.resolvers,ge.selectors,ge),ye=r(10);function me(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 Oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var he=o.a.createRegistrySelector,je={selectors:{getGoogleLocaleAwareURL:function(e,t){var r,n=Object(ye.l)(),o=t||{},i=o.website,a=o.path,c=o.query,u=o.hash,s=o.locale,f=void 0===s?(null===(r=n.match(/^([a-zA-Z]+[-_]?[a-zA-Z]*)/))||void 0===r?void 0:r[0])||n:s;if(!a)return null;var l=new URL(i);l.pathname=a,l.hash=u||"";var p=Oe(Oe({},c),{},{hl:f});for(var d in p)l.searchParams.set(d,p[d]);return l.toString()},getGoogleSupportURL:he((function(e){return function(t,r){return e(l.c).getGoogleLocaleAwareURL(Oe(Oe({},r),{},{website:"https://support.google.com"}))}})),getGooglePrivacyPolicyURL:he((function(e){return function(){return e(l.c).getGoogleLocaleAwareURL({website:"https://myaccount.google.com",path:"/privacypolicy"})}})),getGoogleTermsURL:he((function(e){return function(){return e(l.c).getGoogleLocaleAwareURL({website:"https://policies.google.com",path:"/terms"})}}))}};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 Se(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){u()(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 Re=Object(p.a)({baseName:"getDeveloperPluginState",controlCallback:function(){return f.a.get("core","site","developer-plugin",void 0,{useCache:!1})},reducerCallback:function(e,t){return Se(Se({},e),{},{developerPluginState:t})}}),Ee={developerPluginState:void 0},Pe={getDeveloperPluginState:a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.commonActions.getRegistry();case 2:if(t=e.sent,t.select(l.c).getDeveloperPluginState()){e.next=7;break}return e.next=7,Re.actions.fetchGetDeveloperPluginState();case 7:case"end":return e.stop()}}),e)}))},ke=o.a.combineStores(Re,{initialState:Ee,resolvers:Pe,selectors:{getDeveloperPluginState:function(e){return e.developerPluginState}}}),Le=(ke.initialState,ke.actions,ke.controls,ke.reducer,ke.resolvers,ke.selectors,ke),De=r(362),_e=r(69),xe=r(49),Ue="accepted",Ae="dismissed",Ne=function(e){return"string"==typeof e},Ie=Object(p.a)({baseName:"markNotification",controlCallback:function(e){var t=e.notificationID,r=e.notificationState;return f.a.set("core","site","mark-notification",{notificationID:t,notificationState:r})},argsToParams:function(e){return{notificationID:e.notificationID,notificationState:e.notificationState}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.notificationID,r=e.notificationState;E()([Ue,Ae].includes(r),"notificationState must be accepted or dismissed."),E()(Ne(t),"a valid notification ID is required to mark a notification.")}}),Ce={acceptNotification:Object(_e.f)((function(e){E()(Ne(e),"a valid notification ID is required to accept a notification.")}),a.a.mark((function e(t){var r,n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ie.actions.fetchMarkNotification({notificationID:t,notificationState:Ue});case 2:if(r=e.sent,n=r.response,!(o=r.error)){e.next=8;break}return e.next=8,xe.a.receiveError(o,"acceptNotification",[t]);case 8:return e.abrupt("return",{response:n,error:o});case 9:case"end":return e.stop()}}),e)}))),dismissNotification:Object(_e.f)((function(e){E()(Ne(e),"a valid notification ID is required to dismiss a notification.")}),a.a.mark((function e(t){var r,n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ie.actions.fetchMarkNotification({notificationID:t,notificationState:Ae});case 2:if(r=e.sent,n=r.response,!(o=r.error)){e.next=8;break}return e.next=8,xe.a.receiveError(o,"dismissNotification",[t]);case 8:return e.abrupt("return",{response:n,error:o});case 9:case"end":return e.stop()}}),e)})))},Te=o.a.combineStores(Object(De.a)("core","site","notifications",{storeName:l.c}),Ie,{actions:Ce}),Me=r(1108);function Fe(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 qe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var He={initialState:{registryKey:void 0},actions:{setRegistryKey:function(e){return E()(e,"registryKey is required."),{payload:{registryKey:e},type:"SET_REGISTRY_KEY"}}},resolvers:{getRegistryKey:a.a.mark((function e(){var t,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.commonActions.getRegistry();case 2:if(t=e.sent,r=t.select(l.c).getRegistryKey()){e.next=8;break}return r=Object(Me.a)(),e.next=8,t.dispatch(l.c).setRegistryKey(r);case 8:case"end":return e.stop()}}),e)}))},reducer:function(e,t){var r=t.payload;switch(t.type){case"SET_REGISTRY_KEY":var n=r.registryKey;return qe(qe({},e),{},{registryKey:n});default:return e}},selectors:{getRegistryKey:function(e){return e.registryKey}}},Ge=o.a.combineStores(o.a.commonStore,j,I,W,Z.a,Le,ne,be,je,Te,He,Object(xe.b)(l.c));Ge.initialState,Ge.actions,Ge.controls,Ge.reducer,Ge.resolvers,Ge.selectors;o.a.registerStore(l.c,Ge)},15:function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return i}));var n="core/site",o="primary",i="secondary"},238:function(e,t,r){"use strict";r.d(t,"a",(function(){return g})),r.d(t,"b",(function(){return b}));var n=r(5),o=r.n(n),i=r(14),a=r.n(i),c=r(7),u=r.n(c),s=r(325),f=r.n(s),l=r(249),p=r(111),d=r(268),v=r(15),g=function(e,t){var r=t.find((function(t){return t.test(e)}));return!!r&&r.exec(e)[1]},b=f()(function(){var e=a()(o.a.mark((function e(t){var r,n,i,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.homeURL,n=t.ampMode,u()(Object(p.a)(r),"homeURL must be valid URL"),i=[r],v.b!==n){e.next=14;break}return e.prev=4,e.next=7,Object(l.default)({path:"/wp/v2/posts?per_page=1"}).then((function(e){return e.slice(0,1).map((function(e){return Object(d.a)(e.link,{amp:1})})).pop()}));case 7:(a=e.sent)&&i.push(a),e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(4),e.abrupt("return",i);case 14:return e.abrupt("return",i);case 15:case"end":return e.stop()}}),e,null,[[4,11]])})));return function(t){return e.apply(this,arguments)}}())},249:function(e,t,r){"use strict";(function(e){var n=r(55),o=r.n(n),i=r(250),a=e._googlesitekitAPIFetchData||{},c=a.nonce,u=a.nonceEndpoint,s=a.preloadedData,f=a.rootURL;o.a.nonceEndpoint=u,o.a.nonceMiddleware=o.a.createNonceMiddleware(c),o.a.rootURLMiddleware=o.a.createRootURLMiddleware(f),o.a.preloadingMiddleware=Object(i.a)(s),o.a.use(o.a.nonceMiddleware),o.a.use(o.a.mediaUploadMiddleware),o.a.use(o.a.rootURLMiddleware),o.a.use(o.a.preloadingMiddleware),t.default=o.a}).call(this,r(21))},250:function(e,t,r){"use strict";var n=r(227);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,o){if(r)return o(e);setTimeout((function(){r=!0}),1e3);var i=e.parse,a=void 0===i||i,c=e.path;if("string"==typeof e.path){var u,s=(null===(u=e.method)||void 0===u?void 0:u.toUpperCase())||"GET",f=Object(n.getStablePath)(c);if(a&&"GET"===s&&t[f]){var l=Promise.resolve(t[f].body);return delete t[f],l}if("OPTIONS"===s&&t[s]&&t[s][f]){var p=Promise.resolve(t[s][f]);return delete t[s][f],p}}return o(e)}}},29:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="_googlesitekitDataLayer",o="data-googlesitekit-gtag"},31:function(e,t){e.exports=googlesitekit.api},32:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return O})),r.d(t,"b",(function(){return m}));var n=r(86),o=e._googlesitekitTrackingData||{},i=o.activeModules,a=void 0===i?[]:i,c=o.isSiteKitScreen,u=o.trackingEnabled,s=o.trackingID,f=o.referenceSiteURL,l=o.userIDHash,p=o.isAuthenticated,d={activeModules:a,trackingEnabled:u,trackingID:s,referenceSiteURL:f,userIDHash:l,isSiteKitScreen:c,userRoles:o.userRoles,isAuthenticated:p,pluginVersion:"1.79.0"},v=Object(n.a)(d),g=v.enableTracking,b=v.disableTracking,y=(v.isTrackingEnabled,v.initializeSnippet),m=v.trackEvent;function O(e){e?g():b()}c&&u&&y()}).call(this,r(21))},33:function(e,t,r){"use strict";(function(e){var n,o;r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return a}));var i=new Set((null===(n=e)||void 0===n||null===(o=n._googlesitekitBaseData)||void 0===o?void 0:o.enabledFeatures)||[]),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,r(21))},35:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(e){return e instanceof Date&&!isNaN(e)}},362:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return b}));var n=r(5),o=r.n(n),i=r(6),a=r.n(i),c=r(7),u=r.n(c),s=r(31),f=r.n(s),l=r(4),p=r.n(l),d=r(42);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 g(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){a()(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 b=function(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=i.client,s=void 0===c||c,l=i.server,v=void 0===l||l,b=i.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),O={serverNotifications:v?void 0:{},clientNotifications:s?void 0:{}},h=Object(d.a)({baseName:"getNotifications",controlCallback:function(){return f.a.get(t,r,n)},reducerCallback:function(e,t){return g(g({},e),{},{serverNotifications:t.reduce((function(e,t){return g(g({},e),{},a()({},t.id,t))}),{})})}}),j={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"}}},w={},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,r=arguments.length>1?arguments[1]:void 0,n=r.type,o=r.payload;switch(n){case"ADD_NOTIFICATION":var i=o.notification;return g(g({},t),{},{clientNotifications:g(g({},t.clientNotifications||{}),{},a()({},i.id,i))});case"REMOVE_NOTIFICATION":var c=o.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=g({},t.clientNotifications);return delete u[c],g(g({},t),{},{clientNotifications:u});default:return t}},R={getNotifications:o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h.actions.fetchGetNotifications();case 2:case"end":return e.stop()}}),e)}))};v||delete R.getNotifications;var E={getNotifications:function(e){var t=e.serverNotifications,r=e.clientNotifications;return void 0===t&&void 0===r?t:Object.values(g(g({},t||{}),r||{}))}},P=p.a.combineStores(h,{initialState:O,actions:j,controls:w,reducer:S,resolvers:R,selectors:E});return g(g({},P),{},{STORE_NAME:m})}}).call(this,r(21))},4:function(e,t){e.exports=googlesitekit.data},41:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(35),o=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))}},42:function(e,t,r){"use strict";r.d(t,"a",(function(){return j}));var n=r(5),o=r.n(n),i=r(6),a=r.n(i),c=r(7),u=r.n(c),s=r(54),f=r.n(s),l=r(49),p=r(74),d=r(10);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 g(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){a()(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 b=function(e){return e},y=function(){return{}},m=function(){},O=l.a.clearError,h=l.a.receiveError,j=function(e){var t,r,n=o.a.mark(I),i=e.baseName,c=e.controlCallback,s=e.reducerCallback,l=void 0===s?b:s,v=e.argsToParams,j=void 0===v?y:v,w=e.validateParams,S=void 0===w?m:w;u()(i,"baseName is required."),u()("function"==typeof c,"controlCallback is required and must be a function."),u()("function"==typeof l,"reducerCallback must be a function."),u()("function"==typeof j,"argsToParams must be a function."),u()("function"==typeof S,"validateParams must be a function.");try{S(j()),r=!1}catch(e){r=!0}var R=Object(p.b)(i),E=Object(p.a)(i),P="FETCH_".concat(E),k="START_".concat(P),L="FINISH_".concat(P),D="CATCH_".concat(P),_="RECEIVE_".concat(E),x="fetch".concat(R),U="receive".concat(R),A="isFetching".concat(R),N=a()({},A,{});function I(e,t){var r,a;return o.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,O(i,t);case 4:return n.prev=4,n.next=7,{payload:{params:e},type:P};case 7:return r=n.sent,n.next=10,C[U](r,e);case 10:return n.next=12,{payload:{params:e},type:L};case 12:n.next=23;break;case 14:return n.prev=14,n.t0=n.catch(4),a=n.t0,n.next=19,h(a,i,t);case 19:return n.next=21,h(a);case 21:return n.next=23,{payload:{params:e},type:D};case 23:return n.abrupt("return",{response:r,error:a});case 24:case"end":return n.stop()}}),n,null,[[4,14]])}var C=(t={},a()(t,x,(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,t);return S(n),I(n,t)})),a()(t,U,(function(e,t){return u()(void 0!==e,"response is required."),r?(u()(f()(t),"params is required."),S(t)):t={},{payload:{response:e,params:t},type:_}})),t),T=a()({},P,(function(e){var t=e.payload;return c(t.params)})),M=a()({},A,(function(e){if(void 0===e[A])return!1;var t;try{for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];t=j.apply(void 0,n),S(t)}catch(e){return!1}return!!e[A][Object(d.x)(t)]}));return{initialState:N,actions:C,controls:T,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case k:var o=n.params;return g(g({},e),{},a()({},A,g(g({},e[A]),{},a()({},Object(d.x)(o),!0))));case _:var i=n.response,c=n.params;return l(e,i,c);case L:var u=n.params;return g(g({},e),{},a()({},A,g(g({},e[A]),{},a()({},Object(d.x)(u),!1))));case D:var s=n.params;return g(g({},e),{},a()({},A,g(g({},e[A]),{},a()({},Object(d.x)(s),!1))));default:return e}},resolvers:{},selectors:M}}},48:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(29);function o(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},49:function(e,t,r){"use strict";r.d(t,"a",(function(){return g})),r.d(t,"b",(function(){return b}));var n=r(6),o=r.n(n),i=r(28),a=r.n(i),c=r(7),u=r.n(c),s=r(77),f=r.n(s),l=r(10);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 d(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}function v(e,t){if(t&&Array.isArray(t)){var r=t.map((function(e){return"object"===a()(e)?Object(l.x)(e):e}));return"".concat(e,"::").concat(f()(JSON.stringify(r)))}return e}var g={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(e){u()(e,"storeName must be defined.");var t={getErrorForSelector:function(r,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];u()(n,"selectorName is required.");var i=t.getError(r,n,o);if(i)return d(d({},i),{},{selectorData:{storeName:e,name:n,args:o}})},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(e,t,r){var n=e.error,o=e.errors;return t||r?(u()(t,"baseName is required."),o[v(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(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},error:void 0},actions:g,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_ERROR":var i=n.baseName,a=n.args,c=n.error;return d(d({},e),{},i?{errors:d(d({},e.errors||{}),{},o()({},v(i,a),c))}:{error:c});case"CLEAR_ERROR":var u=n.baseName,s=n.args,f=d({},e);if(u){var l=v(u,s);f.errors=d({},e.errors||{}),delete f.errors[l]}else f.error=void 0;return f;case"CLEAR_ERRORS":var p=n.baseName,g=d({},e);if(p)for(var b in g.errors=d({},e.errors||{}),g.errors)(b===p||b.startsWith("".concat(p,"::")))&&delete g.errors[b];else g.errors={},g.error=void 0;return g;default:return e}},resolvers:{},selectors:t}}},50:function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"c",(function(){return c})),r.d(t,"e",(function(){return u}));var n=r(111);function o(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 a(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),o=e.replace(r.origin,"");if(o.length<t)return o;var i=o.length-Math.floor(t)+1;return"…"+o.substr(i)}},58:function(e,t,r){"use strict";r.d(t,"d",(function(){return n})),r.d(t,"c",(function(){return o})),r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return a})),r.d(t,"e",(function(){return c})),r.d(t,"g",(function(){return l})),r.d(t,"h",(function(){return b})),r.d(t,"i",(function(){return y})),r.d(t,"j",(function(){return v.a})),r.d(t,"f",(function(){return O})),r.d(t,"k",(function(){return g}));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".',i=3600,a=86400,c=604800,u=r(7),s=r.n(u),f=r(35),l=function(e){var t=new Date(e);s()(Object(f.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("-")},p=r(13),d=r.n(p),v=r(41),g=function(e){s()(Object(v.a)(e),n);var t=e.split("-"),r=d()(t,3),o=r[0],i=r[1],a=r[2];return new Date(o,i-1,a)},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r=g(e);return r.setDate(r.getDate()-t),l(r)},y=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]};var m=r(1);function O(){var e=function(e){return Object(m.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(m._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}}}},61:function(e,t,r){"use strict";(function(e){var n=r(0),o=r.n(n),i=r(8),a=r.n(i);function ChangeArrow(t){var r=t.direction,n=t.invertColor,o=t.width,i=t.height;return e.createElement("svg",{className:a()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),width:o,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: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},t.a=ChangeArrow}).call(this,r(3))},63:function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return c}));var n=r(28),o=r.n(n),i=r(73),a=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,r="object"===o()(e)?e.toString():e;return null==r||null===(t=r.replace)||void 0===t?void 0:t.call(r,/\/+$/,"")}},69: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 U})),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(24),c=r.n(a),u=r(6),s=r.n(u),f=r(7),l=r.n(f),p=r(207),d=r.n(p),v=r(70),g=r.n(v),b=r(100);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 l()(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,E=O,P=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=E.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||P}))))),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:P},U=function(e){return function(t){return A(e(t))}},A=g()((function(e){return d()(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return l()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.negate,n=void 0!==r&&r,o=Object(b.e)((function(t){return function(r){var o=!n,i=!!n;try{for(var a=arguments.length,c=new Array(a>1?a-1:0),u=1;u<a;u++)c[u-1]=arguments[u];return e.apply(void 0,[t,r].concat(c)),o}catch(e){return i}}})),i=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))}}));return{safeSelector:o,dangerousSelector:i}}function I(e,t){return l()("function"==typeof e,"a validator function is required."),l()("function"==typeof t,"an action creator function is required."),l()("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)}}},716:function(e,t,r){"use strict";(function(e){var n=r(19),o=r.n(n),i=r(5),a=r.n(i),c=r(6),u=r.n(c),s=r(7),f=r.n(s),l=r(717),p=r.n(l),d=r(268),v=r(401),g=r(4),b=r.n(g),y=r(15),m=r(10);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 f()(e,"siteInfo is required."),{payload:{siteInfo:e},type:"RECEIVE_SITE_INFO"}},receivePermaLinkParam:function(e){return f()(e,"permaLink is required."),{payload:{permaLink:e},type:"RECEIVE_PERMALINK_PARAM"}}},E={getSiteInfo:a.a.mark((function t(){var r,n,o,i,c,u,s,f,l,p,d,v,g,m,O,h,j,w;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,f=r.setupErrorMessage,l=r.setupErrorRedoURL,p=r.siteName,d=r.timezone,v=r.usingProxy,g=r.webStoriesActive,m=e._googlesitekitEntityData,O=m.currentEntityID,h=m.currentEntityTitle,j=m.currentEntityType,w=m.currentEntityURL,t.next=12,R.receiveSiteInfo({adminURL:n,ampMode:o,currentEntityID:O,currentEntityTitle:h,currentEntityType:j,currentEntityURL:w,homeURL:i,proxyPermissionsURL:c,proxySetupURL:u,referenceSiteURL:s,setupErrorMessage:f,setupErrorRedoURL:l,siteName:p,timezone:d,usingProxy:!!v,webStoriesActive:g});case 12:case"end":return t.stop()}}),t)}))},P={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 f=r.split("?");if(!(u=p.a.parse(f.pop()).page))return a;s=f.shift()}n.page;var l=o()(n,["page"]);return Object(d.a)("".concat(c).concat(s),h({page:u},l))}})),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"),getSetupErrorMessage:w("setupErrorMessage"),getSetupErrorRedoURL:w("setupErrorRedoURL"),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.s)(n)===Object(m.s)(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.z)(n)),n.protocol="https",r.push(Object(m.z)(n)),n.hostname="www."+n.hostname,r.push(Object(m.z)(n)),n.protocol="http",r.push(Object(m.z)(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,f=n.homeURL,l=n.proxyPermissionsURL,p=n.proxySetupURL,d=n.referenceSiteURL,v=n.setupErrorMessage,g=n.setupErrorRedoURL,b=n.siteName,y=n.timezone,m=n.usingProxy,O=n.webStoriesActive;return h(h({},e),{},{siteInfo:{adminURL:o,ampMode:i,currentEntityID:parseInt(a,10),currentEntityTitle:c,currentEntityType:u,currentEntityURL:s,homeURL:f,proxyPermissionsURL:l,proxySetupURL:p,referenceSiteURL:d,setupErrorMessage:v,setupErrorRedoURL:g,siteName:b,timezone:y,usingProxy:m,webStoriesActive:O}});case"RECEIVE_PERMALINK_PARAM":var j=r.permaLink;return h(h({},e),{},{permaLink:j});default:return e}},resolvers:E,selectors:P}}).call(this,r(21))},72:function(e,t,r){"use strict";(function(e){r.d(t,"c",(function(){return j})),r.d(t,"d",(function(){return S})),r.d(t,"b",(function(){return R})),r.d(t,"a",(function(){return E}));var n=r(13),o=r.n(n),i=r(28),a=r.n(i),c=r(6),u=r.n(c),s=r(19),f=r.n(s),l=r(25),p=r(70),d=r.n(p),v=r(1);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 b(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){u()(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 y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=m(e,t),n=r.formatUnit,o=r.formatDecimal;try{return n()}catch(e){return o()}},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),o=Math.floor(e%60);return{hours:r,minutes:n,seconds:o,formatUnit:function(){var i=t.unitDisplay,a=b(b({unitDisplay:void 0===i?"short":i},f()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?S(o,b(b({},a),{},{unit:"second"})):Object(v.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
1
+ (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[12],{1:function(e,t){e.exports=googlesitekit.i18n},10:function(e,t,r){"use strict";r.d(t,"y",(function(){return c.b})),r.d(t,"v",(function(){return u.a})),r.d(t,"z",(function(){return u.b})),r.d(t,"x",(function(){return d})),r.d(t,"f",(function(){return v.a})),r.d(t,"m",(function(){return v.b})),r.d(t,"t",(function(){return g.c})),r.d(t,"u",(function(){return g.d})),r.d(t,"q",(function(){return g.b})),r.d(t,"l",(function(){return g.a})),r.d(t,"r",(function(){return O})),r.d(t,"g",(function(){return h})),r.d(t,"b",(function(){return j.b})),r.d(t,"a",(function(){return j.a})),r.d(t,"c",(function(){return j.e})),r.d(t,"i",(function(){return j.f})),r.d(t,"w",(function(){return j.k})),r.d(t,"j",(function(){return w.b})),r.d(t,"p",(function(){return w.c})),r.d(t,"e",(function(){return w.a})),r.d(t,"o",(function(){return S.b})),r.d(t,"k",(function(){return S.a})),r.d(t,"s",(function(){return S.d})),r.d(t,"n",(function(){return R})),r.d(t,"d",(function(){return E})),r.d(t,"A",(function(){return P})),r.d(t,"h",(function(){return k}));var n=r(120),o=r.n(n),i=r(115),a=r.n(i),c=r(32),u=r(63),s=r(28),f=r.n(s),l=r(77),p=r.n(l),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"===f()(o)&&!Array.isArray(o)&&(o=e(o)),r[n]=o})),r}(e)))};var v=r(78),g=(r(84),r(72));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(58),w=r(85),S=r(50),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}},E=function(e,t){if("0"===e||0===e||isNaN(e))return null;var r=(t-e)/e;return isNaN(r)||!o()(r)?null:r},P=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)}},1075:function(e,t,r){"use strict";r.r(t);var n=r(4),o=r.n(n),i=r(5),a=r.n(i),c=r(6),u=r.n(c),s=r(31),f=r.n(s),l=r(15),p=r(42);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 v(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){u()(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=o.a.createRegistrySelector,b=Object(p.a)({baseName:"getConnection",controlCallback:function(){return f.a.get("core","site","connection",void 0,{useCache:!1})},reducerCallback:function(e,t){return v(v({},e),{},{connection:t})}}),y={connection:void 0},m={getConnection:a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.commonActions.getRegistry();case 2:if(t=e.sent,t.select(l.c).getConnection()){e.next=7;break}return e.next=7,b.actions.fetchGetConnection();case 7:case"end":return e.stop()}}),e)}))},O={getConnection:function(e){return e.connection},getOwnerID:g((function(e){return function(){return(e(l.c).getConnection()||{}).ownerID}})),hasConnectedAdmins:g((function(e){return function(){return(e(l.c).getConnection()||{}).hasConnectedAdmins}})),isConnected:g((function(e){return function(){var t=e(l.c).getConnection();return void 0!==t?t.connected:t}})),isResettable:g((function(e){return function(){var t=e(l.c).getConnection();return void 0!==t?t.resettable:t}})),isSetupCompleted:g((function(e){return function(){var t=e(l.c).getConnection();return void 0!==t?t.setupCompleted:t}})),hasMultipleAdmins:g((function(e){return function(){var t;return null===(t=e(l.c).getConnection())||void 0===t?void 0:t.hasMultipleAdmins}}))},h=o.a.combineStores(b,{initialState:y,resolvers:m,selectors:O}),j=(h.initialState,h.actions,h.controls,h.reducer,h.resolvers,h.selectors,h),w=r(19),S=r.n(w),R=r(7),E=r.n(R),P=r(54),k=r.n(P),L=r(1);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 _(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){u()(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 x,U={internalServerError:void 0},A={setInternalServerError:function(e){E()(k()(e),"internalServerError must be a plain object.");var t=e.title,r=void 0===t?Object(L.__)("Internal Server Error","google-site-kit"):t,n=e.format,o=void 0===n?"small":n,i=e.type;return{type:"SET_SERVER_ERROR",payload:{internalServerError:_({title:r,format:o,type:void 0===i?"win-error":i},S()(e,["title","format","type"]))}}},clearInternalServerError:function(){return{type:"CLEAR_SERVER_ERROR"}}},N=o.a.combineStores({initialState:U,actions:A,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_SERVER_ERROR":return _(_({},e),{},{internalServerError:n.internalServerError});case"CLEAR_SERVER_ERROR":return _(_({},e),{},{internalServerError:void 0});default:return e}},resolvers:{},selectors:{getInternalServerError:function(e){return e.internalServerError}}}),I=(N.initialState,N.actions,N.controls,N.reducer,N.resolvers,N.selectors,N),C=r(14),T=r.n(C),M=r(111),F=r(268),q=r(238);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 G(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){u()(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,B=o.a.createRegistryControl,z=Object(p.a)({baseName:"getHTMLForURL",argsToParams:function(e){return{url:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url;E()(Object(M.a)(t),"a valid url is required to fetch HTML.")},controlCallback:(K=T()(a.a.mark((function e(t){var r,n,o,i,c;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.url,n={credentials:"omit"},o={tagverify:1,timestamp:Date.now()},e.next=5,fetch(Object(F.a)(r,o),n);case 5:return i=e.sent,e.prev=6,e.next=9,i.text();case 9:if(""!==(c=e.sent)&&void 0!==c){e.next=12;break}return e.abrupt("return",null);case 12:return e.abrupt("return",c);case 15:return e.prev=15,e.t0=e.catch(6),e.abrupt("return",null);case 18:case"end":return e.stop()}}),e,null,[[6,15]])}))),function(e){return K.apply(this,arguments)}),reducerCallback:function(e,t,r){var n=r.url;return G(G({},e),{},{htmlForURL:G(G({},e.htmlForURL),{},u()({},n,t))})}}),V={resetHTMLForURL:a.a.mark((function e(t){var r,n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.commonActions.getRegistry();case 2:return r=e.sent,n=r.dispatch,e.next=6,{payload:{url:t},type:"RESET_HTML_FOR_URL"};case 6:return e.abrupt("return",n(l.c).invalidateResolutionForStoreSelector("getHTMLForURL"));case 7:case"end":return e.stop()}}),e)})),checkForSetupTag:a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CHECK_FOR_SETUP_TAG"};case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})),waitForHTMLForURL:a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{url:t},type:"WAIT_FOR_HTML_FOR_URL"};case 2:case"end":return e.stop()}}),e)}))},$=(x={},u()(x,"WAIT_FOR_HTML_FOR_URL",B((function(e){return function(t){var r=t.payload.url;return e.__experimentalResolveSelect(l.c).getHTMLForURL(r)}}))),u()(x,"CHECK_FOR_SETUP_TAG",B((function(e){return T()(a.a.mark((function t(){var r,n,o,i,c,u,s,p;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=!1,t.prev=1,t.next=4,f.a.set("core","site","setup-tag");case 4:return c=t.sent,o=c.token,t.next=8,e.select(l.c).getHomeURL();case 8:return u=t.sent,t.next=11,e.dispatch(l.c).fetchGetHTMLForURL(u);case 11:s=t.sent,n=s.response,r=s.error,t.next=19;break;case 16:t.prev=16,t.t0=t.catch(1),r="check_fetch_failed";case 19:return r||(p=Object(q.a)(n,[/<meta name="googlesitekit-setup" content="([a-z0-9-]+)"/]),(i=o===p)||(r="setup_token_mismatch")),t.abrupt("return",{response:i,error:r});case 21:case"end":return t.stop()}}),t,null,[[1,16]])})))}))),x),Y={getHTMLForURL:a.a.mark((function e(t){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.commonActions.getRegistry();case 2:if(r=e.sent,void 0!==r.select(l.c).getHTMLForURL(t)){e.next=7;break}return e.next=7,z.actions.fetchGetHTMLForURL(t);case 7:case"end":return e.stop()}}),e)}))},J=o.a.combineStores(z,{initialState:{htmlForURL:{}},actions:V,controls:$,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RESET_HTML_FOR_URL":var o=n.url;return G(G({},e),{},{htmlForURL:G(G({},e.htmlForURL),{},u()({},o,void 0))});default:return e}},resolvers:Y,selectors:{getHTMLForURL:function(e,t){return e.htmlForURL[t]}}}),W=(J.initialState,J.actions,J.controls,J.reducer,J.resolvers,J.selectors,J),Z=r(716),Q=o.a.createRegistrySelector,X=Object(p.a)({baseName:"reset",controlCallback:function(){return f.a.set("core","site","reset")}}),ee={reset:a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,X.actions.fetchReset();case 2:case"end":return e.stop()}}),e)}))},te={isDoingReset:Q((function(e){return function(){return e(l.c).isFetchingReset()}}))},re=o.a.combineStores(X,{initialState:{},actions:ee,selectors:te}),ne=(re.initialState,re.actions,re.controls,re.reducer,re.resolvers,re.selectors,re);function oe(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 ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ae=o.a.commonActions,ce=o.a.combineStores,ue=o.a.createRegistrySelector,se=Object(p.a)({baseName:"getAdminBarSettings",controlCallback:function(){var e=T()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",f.a.get("core","site","admin-bar-settings",void 0,{useCache:!1}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),reducerCallback:function(e,t){return ie(ie({},e),{},{adminBarSettings:ie(ie({},e.adminBarSettings||{}),t)})}}),fe=Object(p.a)({baseName:"setAdminBarSettings",controlCallback:function(e){var t=e.enabled;return f.a.set("core","site","admin-bar-settings",{enabled:t})},reducerCallback:function(e,t){return ie(ie({},e),{},{adminBarSettings:ie(ie({},e.adminBarSettings||{}),t)})},argsToParams:function(e){return{enabled:e.enabled}},validateParams:function(e){var t=e.enabled;E()("boolean"==typeof t,"enabled must be of boolean type")}}),le={adminBarSettings:void 0},pe={setShowAdminBar:a.a.mark((function e(t){var r,n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe.actions.fetchSetAdminBarSettings({enabled:t});case 2:return r=e.sent,n=r.response,o=r.error,e.abrupt("return",{response:n,error:o});case 6:case"end":return e.stop()}}),e)}))};var de={getAdminBarSettings:a.a.mark((function e(){var t,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ae.getRegistry();case 2:if(t=e.sent,r=t.select,void 0!==r(l.c).getAdminBarSettings()){e.next=8;break}return e.next=8,se.actions.fetchGetAdminBarSettings();case 8:case"end":return e.stop()}}),e)}))},ve={getAdminBarSettings:function(e){return e.adminBarSettings},getShowAdminBar:ue((function(e){return function(){var t;return null===(t=e(l.c).getAdminBarSettings())||void 0===t?void 0:t.enabled}}))},ge=ce(se,fe,{initialState:le,actions:pe,controls:{},reducer:function(e,t){return t.type,e},resolvers:de,selectors:ve}),be=(ge.initialState,ge.actions,ge.controls,ge.reducer,ge.resolvers,ge.selectors,ge),ye=r(10);function me(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 Oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var he=o.a.createRegistrySelector,je={selectors:{getGoogleLocaleAwareURL:function(e,t){var r,n=Object(ye.l)(),o=t||{},i=o.website,a=o.path,c=o.query,u=o.hash,s=o.locale,f=void 0===s?(null===(r=n.match(/^([a-zA-Z]+[-_]?[a-zA-Z]*)/))||void 0===r?void 0:r[0])||n:s;if(!a)return null;var l=new URL(i);l.pathname=a,l.hash=u||"";var p=Oe(Oe({},c),{},{hl:f});for(var d in p)l.searchParams.set(d,p[d]);return l.toString()},getGoogleSupportURL:he((function(e){return function(t,r){return e(l.c).getGoogleLocaleAwareURL(Oe(Oe({},r),{},{website:"https://support.google.com"}))}})),getGooglePrivacyPolicyURL:he((function(e){return function(){return e(l.c).getGoogleLocaleAwareURL({website:"https://myaccount.google.com",path:"/privacypolicy"})}})),getGoogleTermsURL:he((function(e){return function(){return e(l.c).getGoogleLocaleAwareURL({website:"https://policies.google.com",path:"/terms"})}}))}};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 Se(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){u()(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 Re=Object(p.a)({baseName:"getDeveloperPluginState",controlCallback:function(){return f.a.get("core","site","developer-plugin",void 0,{useCache:!1})},reducerCallback:function(e,t){return Se(Se({},e),{},{developerPluginState:t})}}),Ee={developerPluginState:void 0},Pe={getDeveloperPluginState:a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.commonActions.getRegistry();case 2:if(t=e.sent,t.select(l.c).getDeveloperPluginState()){e.next=7;break}return e.next=7,Re.actions.fetchGetDeveloperPluginState();case 7:case"end":return e.stop()}}),e)}))},ke=o.a.combineStores(Re,{initialState:Ee,resolvers:Pe,selectors:{getDeveloperPluginState:function(e){return e.developerPluginState}}}),Le=(ke.initialState,ke.actions,ke.controls,ke.reducer,ke.resolvers,ke.selectors,ke),De=r(362),_e=r(69),xe=r(49),Ue="accepted",Ae="dismissed",Ne=function(e){return"string"==typeof e},Ie=Object(p.a)({baseName:"markNotification",controlCallback:function(e){var t=e.notificationID,r=e.notificationState;return f.a.set("core","site","mark-notification",{notificationID:t,notificationState:r})},argsToParams:function(e){return{notificationID:e.notificationID,notificationState:e.notificationState}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.notificationID,r=e.notificationState;E()([Ue,Ae].includes(r),"notificationState must be accepted or dismissed."),E()(Ne(t),"a valid notification ID is required to mark a notification.")}}),Ce={acceptNotification:Object(_e.f)((function(e){E()(Ne(e),"a valid notification ID is required to accept a notification.")}),a.a.mark((function e(t){var r,n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ie.actions.fetchMarkNotification({notificationID:t,notificationState:Ue});case 2:if(r=e.sent,n=r.response,!(o=r.error)){e.next=8;break}return e.next=8,xe.a.receiveError(o,"acceptNotification",[t]);case 8:return e.abrupt("return",{response:n,error:o});case 9:case"end":return e.stop()}}),e)}))),dismissNotification:Object(_e.f)((function(e){E()(Ne(e),"a valid notification ID is required to dismiss a notification.")}),a.a.mark((function e(t){var r,n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ie.actions.fetchMarkNotification({notificationID:t,notificationState:Ae});case 2:if(r=e.sent,n=r.response,!(o=r.error)){e.next=8;break}return e.next=8,xe.a.receiveError(o,"dismissNotification",[t]);case 8:return e.abrupt("return",{response:n,error:o});case 9:case"end":return e.stop()}}),e)})))},Te=o.a.combineStores(Object(De.a)("core","site","notifications",{storeName:l.c}),Ie,{actions:Ce}),Me=r(1108);function Fe(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 qe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var He={initialState:{registryKey:void 0},actions:{setRegistryKey:function(e){return E()(e,"registryKey is required."),{payload:{registryKey:e},type:"SET_REGISTRY_KEY"}}},resolvers:{getRegistryKey:a.a.mark((function e(){var t,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.commonActions.getRegistry();case 2:if(t=e.sent,r=t.select(l.c).getRegistryKey()){e.next=8;break}return r=Object(Me.a)(),e.next=8,t.dispatch(l.c).setRegistryKey(r);case 8:case"end":return e.stop()}}),e)}))},reducer:function(e,t){var r=t.payload;switch(t.type){case"SET_REGISTRY_KEY":var n=r.registryKey;return qe(qe({},e),{},{registryKey:n});default:return e}},selectors:{getRegistryKey:function(e){return e.registryKey}}},Ge=o.a.combineStores(o.a.commonStore,j,I,W,Z.a,Le,ne,be,je,Te,He,Object(xe.b)(l.c));Ge.initialState,Ge.actions,Ge.controls,Ge.reducer,Ge.resolvers,Ge.selectors;o.a.registerStore(l.c,Ge)},15:function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return i}));var n="core/site",o="primary",i="secondary"},238:function(e,t,r){"use strict";r.d(t,"a",(function(){return g})),r.d(t,"b",(function(){return b}));var n=r(5),o=r.n(n),i=r(14),a=r.n(i),c=r(7),u=r.n(c),s=r(325),f=r.n(s),l=r(249),p=r(111),d=r(268),v=r(15),g=function(e,t){var r=t.find((function(t){return t.test(e)}));return!!r&&r.exec(e)[1]},b=f()(function(){var e=a()(o.a.mark((function e(t){var r,n,i,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.homeURL,n=t.ampMode,u()(Object(p.a)(r),"homeURL must be valid URL"),i=[r],v.b!==n){e.next=14;break}return e.prev=4,e.next=7,Object(l.default)({path:"/wp/v2/posts?per_page=1"}).then((function(e){return e.slice(0,1).map((function(e){return Object(d.a)(e.link,{amp:1})})).pop()}));case 7:(a=e.sent)&&i.push(a),e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(4),e.abrupt("return",i);case 14:return e.abrupt("return",i);case 15:case"end":return e.stop()}}),e,null,[[4,11]])})));return function(t){return e.apply(this,arguments)}}())},249:function(e,t,r){"use strict";(function(e){var n=r(55),o=r.n(n),i=r(250),a=e._googlesitekitAPIFetchData||{},c=a.nonce,u=a.nonceEndpoint,s=a.preloadedData,f=a.rootURL;o.a.nonceEndpoint=u,o.a.nonceMiddleware=o.a.createNonceMiddleware(c),o.a.rootURLMiddleware=o.a.createRootURLMiddleware(f),o.a.preloadingMiddleware=Object(i.a)(s),o.a.use(o.a.nonceMiddleware),o.a.use(o.a.mediaUploadMiddleware),o.a.use(o.a.rootURLMiddleware),o.a.use(o.a.preloadingMiddleware),t.default=o.a}).call(this,r(21))},250:function(e,t,r){"use strict";var n=r(227);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,o){if(r)return o(e);setTimeout((function(){r=!0}),1e3);var i=e.parse,a=void 0===i||i,c=e.path;if("string"==typeof e.path){var u,s=(null===(u=e.method)||void 0===u?void 0:u.toUpperCase())||"GET",f=Object(n.getStablePath)(c);if(a&&"GET"===s&&t[f]){var l=Promise.resolve(t[f].body);return delete t[f],l}if("OPTIONS"===s&&t[s]&&t[s][f]){var p=Promise.resolve(t[s][f]);return delete t[s][f],p}}return o(e)}}},29:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="_googlesitekitDataLayer",o="data-googlesitekit-gtag"},31:function(e,t){e.exports=googlesitekit.api},32:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return O})),r.d(t,"b",(function(){return m}));var n=r(86),o=e._googlesitekitTrackingData||{},i=o.activeModules,a=void 0===i?[]:i,c=o.isSiteKitScreen,u=o.trackingEnabled,s=o.trackingID,f=o.referenceSiteURL,l=o.userIDHash,p=o.isAuthenticated,d={activeModules:a,trackingEnabled:u,trackingID:s,referenceSiteURL:f,userIDHash:l,isSiteKitScreen:c,userRoles:o.userRoles,isAuthenticated:p,pluginVersion:"1.79.1"},v=Object(n.a)(d),g=v.enableTracking,b=v.disableTracking,y=(v.isTrackingEnabled,v.initializeSnippet),m=v.trackEvent;function O(e){e?g():b()}c&&u&&y()}).call(this,r(21))},33:function(e,t,r){"use strict";(function(e){var n,o;r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return a}));var i=new Set((null===(n=e)||void 0===n||null===(o=n._googlesitekitBaseData)||void 0===o?void 0:o.enabledFeatures)||[]),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,r(21))},35:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(e){return e instanceof Date&&!isNaN(e)}},362:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return b}));var n=r(5),o=r.n(n),i=r(6),a=r.n(i),c=r(7),u=r.n(c),s=r(31),f=r.n(s),l=r(4),p=r.n(l),d=r(42);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 g(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){a()(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 b=function(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=i.client,s=void 0===c||c,l=i.server,v=void 0===l||l,b=i.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),O={serverNotifications:v?void 0:{},clientNotifications:s?void 0:{}},h=Object(d.a)({baseName:"getNotifications",controlCallback:function(){return f.a.get(t,r,n)},reducerCallback:function(e,t){return g(g({},e),{},{serverNotifications:t.reduce((function(e,t){return g(g({},e),{},a()({},t.id,t))}),{})})}}),j={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"}}},w={},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,r=arguments.length>1?arguments[1]:void 0,n=r.type,o=r.payload;switch(n){case"ADD_NOTIFICATION":var i=o.notification;return g(g({},t),{},{clientNotifications:g(g({},t.clientNotifications||{}),{},a()({},i.id,i))});case"REMOVE_NOTIFICATION":var c=o.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=g({},t.clientNotifications);return delete u[c],g(g({},t),{},{clientNotifications:u});default:return t}},R={getNotifications:o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h.actions.fetchGetNotifications();case 2:case"end":return e.stop()}}),e)}))};v||delete R.getNotifications;var E={getNotifications:function(e){var t=e.serverNotifications,r=e.clientNotifications;return void 0===t&&void 0===r?t:Object.values(g(g({},t||{}),r||{}))}},P=p.a.combineStores(h,{initialState:O,actions:j,controls:w,reducer:S,resolvers:R,selectors:E});return g(g({},P),{},{STORE_NAME:m})}}).call(this,r(21))},4:function(e,t){e.exports=googlesitekit.data},41:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(35),o=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))}},42:function(e,t,r){"use strict";r.d(t,"a",(function(){return j}));var n=r(5),o=r.n(n),i=r(6),a=r.n(i),c=r(7),u=r.n(c),s=r(54),f=r.n(s),l=r(49),p=r(74),d=r(10);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 g(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){a()(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 b=function(e){return e},y=function(){return{}},m=function(){},O=l.a.clearError,h=l.a.receiveError,j=function(e){var t,r,n=o.a.mark(I),i=e.baseName,c=e.controlCallback,s=e.reducerCallback,l=void 0===s?b:s,v=e.argsToParams,j=void 0===v?y:v,w=e.validateParams,S=void 0===w?m:w;u()(i,"baseName is required."),u()("function"==typeof c,"controlCallback is required and must be a function."),u()("function"==typeof l,"reducerCallback must be a function."),u()("function"==typeof j,"argsToParams must be a function."),u()("function"==typeof S,"validateParams must be a function.");try{S(j()),r=!1}catch(e){r=!0}var R=Object(p.b)(i),E=Object(p.a)(i),P="FETCH_".concat(E),k="START_".concat(P),L="FINISH_".concat(P),D="CATCH_".concat(P),_="RECEIVE_".concat(E),x="fetch".concat(R),U="receive".concat(R),A="isFetching".concat(R),N=a()({},A,{});function I(e,t){var r,a;return o.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,O(i,t);case 4:return n.prev=4,n.next=7,{payload:{params:e},type:P};case 7:return r=n.sent,n.next=10,C[U](r,e);case 10:return n.next=12,{payload:{params:e},type:L};case 12:n.next=23;break;case 14:return n.prev=14,n.t0=n.catch(4),a=n.t0,n.next=19,h(a,i,t);case 19:return n.next=21,h(a);case 21:return n.next=23,{payload:{params:e},type:D};case 23:return n.abrupt("return",{response:r,error:a});case 24:case"end":return n.stop()}}),n,null,[[4,14]])}var C=(t={},a()(t,x,(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,t);return S(n),I(n,t)})),a()(t,U,(function(e,t){return u()(void 0!==e,"response is required."),r?(u()(f()(t),"params is required."),S(t)):t={},{payload:{response:e,params:t},type:_}})),t),T=a()({},P,(function(e){var t=e.payload;return c(t.params)})),M=a()({},A,(function(e){if(void 0===e[A])return!1;var t;try{for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];t=j.apply(void 0,n),S(t)}catch(e){return!1}return!!e[A][Object(d.x)(t)]}));return{initialState:N,actions:C,controls:T,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case k:var o=n.params;return g(g({},e),{},a()({},A,g(g({},e[A]),{},a()({},Object(d.x)(o),!0))));case _:var i=n.response,c=n.params;return l(e,i,c);case L:var u=n.params;return g(g({},e),{},a()({},A,g(g({},e[A]),{},a()({},Object(d.x)(u),!1))));case D:var s=n.params;return g(g({},e),{},a()({},A,g(g({},e[A]),{},a()({},Object(d.x)(s),!1))));default:return e}},resolvers:{},selectors:M}}},48:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(29);function o(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},49:function(e,t,r){"use strict";r.d(t,"a",(function(){return g})),r.d(t,"b",(function(){return b}));var n=r(6),o=r.n(n),i=r(28),a=r.n(i),c=r(7),u=r.n(c),s=r(77),f=r.n(s),l=r(10);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 d(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}function v(e,t){if(t&&Array.isArray(t)){var r=t.map((function(e){return"object"===a()(e)?Object(l.x)(e):e}));return"".concat(e,"::").concat(f()(JSON.stringify(r)))}return e}var g={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(e){u()(e,"storeName must be defined.");var t={getErrorForSelector:function(r,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];u()(n,"selectorName is required.");var i=t.getError(r,n,o);if(i)return d(d({},i),{},{selectorData:{storeName:e,name:n,args:o}})},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(e,t,r){var n=e.error,o=e.errors;return t||r?(u()(t,"baseName is required."),o[v(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(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},error:void 0},actions:g,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_ERROR":var i=n.baseName,a=n.args,c=n.error;return d(d({},e),{},i?{errors:d(d({},e.errors||{}),{},o()({},v(i,a),c))}:{error:c});case"CLEAR_ERROR":var u=n.baseName,s=n.args,f=d({},e);if(u){var l=v(u,s);f.errors=d({},e.errors||{}),delete f.errors[l]}else f.error=void 0;return f;case"CLEAR_ERRORS":var p=n.baseName,g=d({},e);if(p)for(var b in g.errors=d({},e.errors||{}),g.errors)(b===p||b.startsWith("".concat(p,"::")))&&delete g.errors[b];else g.errors={},g.error=void 0;return g;default:return e}},resolvers:{},selectors:t}}},50:function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"c",(function(){return c})),r.d(t,"e",(function(){return u}));var n=r(111);function o(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 a(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),o=e.replace(r.origin,"");if(o.length<t)return o;var i=o.length-Math.floor(t)+1;return"…"+o.substr(i)}},58:function(e,t,r){"use strict";r.d(t,"d",(function(){return n})),r.d(t,"c",(function(){return o})),r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return a})),r.d(t,"e",(function(){return c})),r.d(t,"g",(function(){return l})),r.d(t,"h",(function(){return b})),r.d(t,"i",(function(){return y})),r.d(t,"j",(function(){return v.a})),r.d(t,"f",(function(){return O})),r.d(t,"k",(function(){return g}));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".',i=3600,a=86400,c=604800,u=r(7),s=r.n(u),f=r(35),l=function(e){var t=new Date(e);s()(Object(f.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("-")},p=r(13),d=r.n(p),v=r(41),g=function(e){s()(Object(v.a)(e),n);var t=e.split("-"),r=d()(t,3),o=r[0],i=r[1],a=r[2];return new Date(o,i-1,a)},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r=g(e);return r.setDate(r.getDate()-t),l(r)},y=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]};var m=r(1);function O(){var e=function(e){return Object(m.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(m._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}}}},61:function(e,t,r){"use strict";(function(e){var n=r(0),o=r.n(n),i=r(8),a=r.n(i);function ChangeArrow(t){var r=t.direction,n=t.invertColor,o=t.width,i=t.height;return e.createElement("svg",{className:a()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),width:o,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: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},t.a=ChangeArrow}).call(this,r(3))},63:function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return c}));var n=r(28),o=r.n(n),i=r(73),a=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,r="object"===o()(e)?e.toString():e;return null==r||null===(t=r.replace)||void 0===t?void 0:t.call(r,/\/+$/,"")}},69: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 U})),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(24),c=r.n(a),u=r(6),s=r.n(u),f=r(7),l=r.n(f),p=r(207),d=r.n(p),v=r(70),g=r.n(v),b=r(100);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 l()(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,E=O,P=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=E.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||P}))))),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:P},U=function(e){return function(t){return A(e(t))}},A=g()((function(e){return d()(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return l()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.negate,n=void 0!==r&&r,o=Object(b.e)((function(t){return function(r){var o=!n,i=!!n;try{for(var a=arguments.length,c=new Array(a>1?a-1:0),u=1;u<a;u++)c[u-1]=arguments[u];return e.apply(void 0,[t,r].concat(c)),o}catch(e){return i}}})),i=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))}}));return{safeSelector:o,dangerousSelector:i}}function I(e,t){return l()("function"==typeof e,"a validator function is required."),l()("function"==typeof t,"an action creator function is required."),l()("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)}}},716:function(e,t,r){"use strict";(function(e){var n=r(19),o=r.n(n),i=r(5),a=r.n(i),c=r(6),u=r.n(c),s=r(7),f=r.n(s),l=r(717),p=r.n(l),d=r(268),v=r(401),g=r(4),b=r.n(g),y=r(15),m=r(10);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 f()(e,"siteInfo is required."),{payload:{siteInfo:e},type:"RECEIVE_SITE_INFO"}},receivePermaLinkParam:function(e){return f()(e,"permaLink is required."),{payload:{permaLink:e},type:"RECEIVE_PERMALINK_PARAM"}}},E={getSiteInfo:a.a.mark((function t(){var r,n,o,i,c,u,s,f,l,p,d,v,g,m,O,h,j,w;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,f=r.setupErrorMessage,l=r.setupErrorRedoURL,p=r.siteName,d=r.timezone,v=r.usingProxy,g=r.webStoriesActive,m=e._googlesitekitEntityData,O=m.currentEntityID,h=m.currentEntityTitle,j=m.currentEntityType,w=m.currentEntityURL,t.next=12,R.receiveSiteInfo({adminURL:n,ampMode:o,currentEntityID:O,currentEntityTitle:h,currentEntityType:j,currentEntityURL:w,homeURL:i,proxyPermissionsURL:c,proxySetupURL:u,referenceSiteURL:s,setupErrorMessage:f,setupErrorRedoURL:l,siteName:p,timezone:d,usingProxy:!!v,webStoriesActive:g});case 12:case"end":return t.stop()}}),t)}))},P={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 f=r.split("?");if(!(u=p.a.parse(f.pop()).page))return a;s=f.shift()}n.page;var l=o()(n,["page"]);return Object(d.a)("".concat(c).concat(s),h({page:u},l))}})),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"),getSetupErrorMessage:w("setupErrorMessage"),getSetupErrorRedoURL:w("setupErrorRedoURL"),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.s)(n)===Object(m.s)(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.z)(n)),n.protocol="https",r.push(Object(m.z)(n)),n.hostname="www."+n.hostname,r.push(Object(m.z)(n)),n.protocol="http",r.push(Object(m.z)(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,f=n.homeURL,l=n.proxyPermissionsURL,p=n.proxySetupURL,d=n.referenceSiteURL,v=n.setupErrorMessage,g=n.setupErrorRedoURL,b=n.siteName,y=n.timezone,m=n.usingProxy,O=n.webStoriesActive;return h(h({},e),{},{siteInfo:{adminURL:o,ampMode:i,currentEntityID:parseInt(a,10),currentEntityTitle:c,currentEntityType:u,currentEntityURL:s,homeURL:f,proxyPermissionsURL:l,proxySetupURL:p,referenceSiteURL:d,setupErrorMessage:v,setupErrorRedoURL:g,siteName:b,timezone:y,usingProxy:m,webStoriesActive:O}});case"RECEIVE_PERMALINK_PARAM":var j=r.permaLink;return h(h({},e),{},{permaLink:j});default:return e}},resolvers:E,selectors:P}}).call(this,r(21))},72:function(e,t,r){"use strict";(function(e){r.d(t,"c",(function(){return j})),r.d(t,"d",(function(){return S})),r.d(t,"b",(function(){return R})),r.d(t,"a",(function(){return E}));var n=r(13),o=r.n(n),i=r(28),a=r.n(i),c=r(6),u=r.n(c),s=r(19),f=r.n(s),l=r(25),p=r(70),d=r.n(p),v=r(1);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 b(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){u()(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 y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=m(e,t),n=r.formatUnit,o=r.formatDecimal;try{return n()}catch(e){return o()}},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),o=Math.floor(e%60);return{hours:r,minutes:n,seconds:o,formatUnit:function(){var i=t.unitDisplay,a=b(b({unitDisplay:void 0===i?"short":i},f()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?S(o,b(b({},a),{},{unit:"second"})):Object(v.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
dist/assets/js/{googlesitekit-datastore-ui-8d1b8ace3e8c81c78b6a.js → googlesitekit-datastore-ui-8ce49c6f38e50a4887d6.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[13],{1:function(t,r){t.exports=googlesitekit.i18n},10:function(t,r,e){"use strict";e.d(r,"y",(function(){return u.b})),e.d(r,"v",(function(){return c.a})),e.d(r,"z",(function(){return c.b})),e.d(r,"x",(function(){return p})),e.d(r,"f",(function(){return v.a})),e.d(r,"m",(function(){return v.b})),e.d(r,"t",(function(){return g.c})),e.d(r,"u",(function(){return g.d})),e.d(r,"q",(function(){return g.b})),e.d(r,"l",(function(){return g.a})),e.d(r,"r",(function(){return m})),e.d(r,"g",(function(){return O})),e.d(r,"b",(function(){return w.b})),e.d(r,"a",(function(){return w.a})),e.d(r,"c",(function(){return w.e})),e.d(r,"i",(function(){return w.f})),e.d(r,"w",(function(){return w.k})),e.d(r,"j",(function(){return j.b})),e.d(r,"p",(function(){return j.c})),e.d(r,"e",(function(){return j.a})),e.d(r,"o",(function(){return S.b})),e.d(r,"k",(function(){return S.a})),e.d(r,"s",(function(){return S.d})),e.d(r,"n",(function(){return E})),e.d(r,"d",(function(){return k})),e.d(r,"A",(function(){return _})),e.d(r,"h",(function(){return D}));var n=e(120),a=e.n(n),o=e(115),i=e.n(o),u=e(32),c=e(63),s=e(28),l=e.n(s),f=e(77),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 a=r[n];a&&"object"===l()(a)&&!Array.isArray(a)&&(a=t(a)),e[n]=a})),e}(t)))};var v=e(78),g=(e(84),e(72));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 r=t,e=0,n=[b,h,y];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(58),j=e(85),S=e(50),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)||!a()(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)}},1083:function(t,r,e){"use strict";e.r(r);var n=e(4),a=e.n(n),o=e(49),i=e(99),u=e(6),c=e.n(u),s=e(5),l=e.n(s),f=e(7),d=e.n(f),p=e(54),v=e.n(p),g=e(34);function b(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 h(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?b(Object(e),!0).forEach((function(r){c()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):b(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var y={resetInViewHook:l.a.mark((function t(){var r,e;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 r=t.sent,e=r.select(g.b).getValue("useInViewResetCount"),t.next=6,y.setValue("useInViewResetCount",e+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,r){return d()(t,"key is required."),{payload:{key:t,value:r},type:"SET_VALUE"}}},m={initialState:{useInViewResetCount:0},actions:y,controls:{},reducer:function(t,r){var e=r.type,n=r.payload;switch(e){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),{},c()({},o,i));default:return t}},resolvers:{},selectors:{getValue:function(t,r){return t[r]},getInViewResetHook:function(t){return t.useInViewResetCount}}},O=a.a.combineStores(a.a.commonStore,m,Object(i.a)(g.b),Object(o.b)(g.b));O.initialState,O.actions,O.controls,O.reducer,O.resolvers,O.selectors;a.a.registerStore(g.b,O)},29:function(t,r,e){"use strict";e.d(r,"a",(function(){return n})),e.d(r,"b",(function(){return a}));var n="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},32:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return m})),e.d(r,"b",(function(){return y}));var n=e(86),a=t._googlesitekitTrackingData||{},o=a.activeModules,i=void 0===o?[]:o,u=a.isSiteKitScreen,c=a.trackingEnabled,s=a.trackingID,l=a.referenceSiteURL,f=a.userIDHash,d=a.isAuthenticated,p={activeModules:i,trackingEnabled:c,trackingID:s,referenceSiteURL:l,userIDHash:f,isSiteKitScreen:u,userRoles:a.userRoles,isAuthenticated:d,pluginVersion:"1.79.0"},v=Object(n.a)(p),g=v.enableTracking,b=v.disableTracking,h=(v.isTrackingEnabled,v.initializeSnippet),y=v.trackEvent;function m(t){t?g():b()}u&&c&&h()}).call(this,e(21))},33:function(t,r,e){"use strict";(function(t){var n,a;e.d(r,"a",(function(){return o})),e.d(r,"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 r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return r instanceof Set&&r.has(t)}}).call(this,e(21))},34:function(t,r,e){"use strict";e.d(r,"b",(function(){return n})),e.d(r,"a",(function(){return a}));var n="core/ui",a="activeContextID"},35:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));var n=function(t){return t instanceof Date&&!isNaN(t)}},4:function(t,r){t.exports=googlesitekit.data},41:function(t,r,e){"use strict";e.d(r,"a",(function(){return a}));var n=e(35),a=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))}},44:function(t,r,e){"use strict";(function(t){e.d(r,"b",(function(){return h})),e.d(r,"d",(function(){return y})),e.d(r,"a",(function(){return m})),e.d(r,"c",(function(){return O}));var n=e(5),a=e.n(n),o=e(14),i=e.n(o),u=(e(24),e(10));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 s(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 s(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);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(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){u=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(u)throw o}}}}function s(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 l,f="googlesitekit_".concat("1.79.0","_"),d=["sessionStorage","localStorage"],p=[].concat(d),v=function(){var r=i()(a.a.mark((function r(e){var n,o;return a.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,o="__storage_test__",n.setItem(o,o),n.removeItem(o),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 g(){return b.apply(this,arguments)}function b(){return(b=i()(a.a.mark((function r(){var e,n,o;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0===l){r.next=2;break}return r.abrupt("return",l);case 2:e=c(p),r.prev=3,e.s();case 5:if((n=e.n()).done){r.next=15;break}if(o=n.value,!l){r.next=9;break}return r.abrupt("continue",13);case 9:return r.next=11,v(o);case 11:if(!r.sent){r.next=13;break}l=t[o];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===l&&(l=null),r.abrupt("return",l);case 25:case"end":return r.stop()}}),r,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var t=i()(a.a.mark((function t(r){var e,n,o,i,u,c,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(e=t.sent)){t.next=10;break}if(!(n=e.getItem("".concat(f).concat(r)))){t.next=10;break}if(o=JSON.parse(n),i=o.timestamp,u=o.ttl,c=o.value,s=o.isError,!i||u&&!(Math.round(Date.now()/1e3)-i<u)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:c,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)}}(),y=function(){var r=i()(a.a.mark((function r(e,n){var o,i,c,s,l,d,p,v,b=arguments;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=b.length>2&&void 0!==b[2]?b[2]:{},i=o.ttl,c=void 0===i?u.b:i,s=o.timestamp,l=void 0===s?Math.round(Date.now()/1e3):s,d=o.isError,p=void 0!==d&&d,r.next=3,g();case 3:if(!(v=r.sent)){r.next=14;break}return r.prev=5,v.setItem("".concat(f).concat(e),JSON.stringify({timestamp:l,ttl:c,value:n,isError:p})),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()(a.a.mark((function r(e){var n;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,g();case 2:if(!(n=r.sent)){r.next=13;break}return r.prev=4,n.removeItem("".concat(f).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)}}(),O=function(){var r=i()(a.a.mark((function r(){var e,n,o,i;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,g();case 2:if(!(e=r.sent)){r.next=14;break}for(r.prev=4,n=[],o=0;o<e.length;o++)0===(i=e.key(o)).indexOf(f)&&n.push(i.substring(f.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(21))},48:function(t,r,e){"use strict";e.d(r,"a",(function(){return a}));var n=e(29);function a(t){return function(){t[n.a]=t[n.a]||[],t[n.a].push(arguments)}}},49:function(t,r,e){"use strict";e.d(r,"a",(function(){return g})),e.d(r,"b",(function(){return b}));var n=e(6),a=e.n(n),o=e(28),i=e.n(o),u=e(7),c=e.n(u),s=e(77),l=e.n(s),f=e(10);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){a()(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.x)(t):t}));return"".concat(t,"::").concat(l()(JSON.stringify(e)))}return t}var g={receiveError:function(t,r,e){return c()(t,"error is required."),r&&c()(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&&c()(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(t){c()(t,"storeName must be defined.");var r={getErrorForSelector:function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];c()(n,"selectorName is required.");var o=r.getError(e,n,a);if(o)return p(p({},o),{},{selectorData:{storeName:t,name:n,args:a}})},getErrorForAction:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return c()(e,"actionName is required."),r.getError(t,e,n)},getError:function(t,r,e){var n=t.error,a=t.errors;return r||e?(c()(r,"baseName is required."),a[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(t){return r.getErrors(t).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 o=n.baseName,i=n.args,u=n.error;return p(p({},t),{},o?{errors:p(p({},t.errors||{}),{},a()({},v(o,i),u))}:{error:u});case"CLEAR_ERROR":var c=n.baseName,s=n.args,l=p({},t);if(c){var f=v(c,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:r}}},50:function(t,r,e){"use strict";e.d(r,"b",(function(){return a})),e.d(r,"a",(function(){return o})),e.d(r,"d",(function(){return i})),e.d(r,"c",(function(){return u})),e.d(r,"e",(function(){return c}));var n=e(111);function a(t){try{return new URL(t).pathname}catch(t){}return null}function o(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 u(t){return/^#\w[A-Za-z0-9-_]*$/.test(t)}function c(t,r){if(!Object(n.a)(t))return t;if(t.length<=r)return t;var e=new URL(t),a=t.replace(e.origin,"");if(a.length<r)return a;var o=a.length-Math.floor(r)+1;return"…"+a.substr(o)}},58:function(t,r,e){"use strict";e.d(r,"d",(function(){return n})),e.d(r,"c",(function(){return a})),e.d(r,"b",(function(){return o})),e.d(r,"a",(function(){return i})),e.d(r,"e",(function(){return u})),e.d(r,"g",(function(){return f})),e.d(r,"h",(function(){return b})),e.d(r,"i",(function(){return h})),e.d(r,"j",(function(){return v.a})),e.d(r,"f",(function(){return m})),e.d(r,"k",(function(){return g}));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=3600,i=86400,u=604800,c=e(7),s=e.n(c),l=e(35),f=function(t){var r=new Date(t);s()(Object(l.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("-")},d=e(13),p=e.n(d),v=e(41),g=function(t){s()(Object(v.a)(t),n);var r=t.split("-"),e=p()(r,3),a=e[0],o=e[1],i=e[2];return new Date(a,o-1,i)},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,e=g(t);return e.setDate(e.getDate()-r),f(e)},h=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]};var y=e(1);function m(){var t=function(t){return Object(y.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(y._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}}}},61:function(t,r,e){"use strict";(function(t){var n=e(0),a=e.n(n),o=e(8),i=e.n(o);function ChangeArrow(r){var e=r.direction,n=r.invertColor,a=r.width,o=r.height;return t.createElement("svg",{className:i()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(e),{"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},r.a=ChangeArrow}).call(this,e(3))},63:function(t,r,e){"use strict";e.d(r,"a",(function(){return i})),e.d(r,"b",(function(){return u}));var n=e(28),a=e.n(n),o=e(73),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:o.a.sanitize(t,r)}};function u(t){var r,e="object"===a()(t)?t.toString():t;return null==e||null===(r=e.replace)||void 0===r?void 0:r.call(e,/\/+$/,"")}},72: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(13),a=e.n(n),o=e(28),i=e.n(o),u=e(6),c=e.n(u),s=e(19),l=e.n(s),f=e(25),d=e(70),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){c()(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=y(t,r),n=e.formatUnit,a=e.formatDecimal;try{return n()}catch(t){return a()}},y=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),a=Math.floor(t%60);return{hours:e,minutes:n,seconds:a,formatUnit:function(){var o=r.unitDisplay,i=b(b({unitDisplay:void 0===o?"short":o},l()(r,["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 */
1
+ (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[13],{1:function(t,r){t.exports=googlesitekit.i18n},10:function(t,r,e){"use strict";e.d(r,"y",(function(){return u.b})),e.d(r,"v",(function(){return c.a})),e.d(r,"z",(function(){return c.b})),e.d(r,"x",(function(){return p})),e.d(r,"f",(function(){return v.a})),e.d(r,"m",(function(){return v.b})),e.d(r,"t",(function(){return g.c})),e.d(r,"u",(function(){return g.d})),e.d(r,"q",(function(){return g.b})),e.d(r,"l",(function(){return g.a})),e.d(r,"r",(function(){return m})),e.d(r,"g",(function(){return O})),e.d(r,"b",(function(){return w.b})),e.d(r,"a",(function(){return w.a})),e.d(r,"c",(function(){return w.e})),e.d(r,"i",(function(){return w.f})),e.d(r,"w",(function(){return w.k})),e.d(r,"j",(function(){return j.b})),e.d(r,"p",(function(){return j.c})),e.d(r,"e",(function(){return j.a})),e.d(r,"o",(function(){return S.b})),e.d(r,"k",(function(){return S.a})),e.d(r,"s",(function(){return S.d})),e.d(r,"n",(function(){return E})),e.d(r,"d",(function(){return k})),e.d(r,"A",(function(){return _})),e.d(r,"h",(function(){return D}));var n=e(120),a=e.n(n),o=e(115),i=e.n(o),u=e(32),c=e(63),s=e(28),l=e.n(s),f=e(77),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 a=r[n];a&&"object"===l()(a)&&!Array.isArray(a)&&(a=t(a)),e[n]=a})),e}(t)))};var v=e(78),g=(e(84),e(72));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 r=t,e=0,n=[b,h,y];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(58),j=e(85),S=e(50),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)||!a()(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)}},1083:function(t,r,e){"use strict";e.r(r);var n=e(4),a=e.n(n),o=e(49),i=e(99),u=e(6),c=e.n(u),s=e(5),l=e.n(s),f=e(7),d=e.n(f),p=e(54),v=e.n(p),g=e(34);function b(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 h(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?b(Object(e),!0).forEach((function(r){c()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):b(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var y={resetInViewHook:l.a.mark((function t(){var r,e;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 r=t.sent,e=r.select(g.b).getValue("useInViewResetCount"),t.next=6,y.setValue("useInViewResetCount",e+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,r){return d()(t,"key is required."),{payload:{key:t,value:r},type:"SET_VALUE"}}},m={initialState:{useInViewResetCount:0},actions:y,controls:{},reducer:function(t,r){var e=r.type,n=r.payload;switch(e){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),{},c()({},o,i));default:return t}},resolvers:{},selectors:{getValue:function(t,r){return t[r]},getInViewResetHook:function(t){return t.useInViewResetCount}}},O=a.a.combineStores(a.a.commonStore,m,Object(i.a)(g.b),Object(o.b)(g.b));O.initialState,O.actions,O.controls,O.reducer,O.resolvers,O.selectors;a.a.registerStore(g.b,O)},29:function(t,r,e){"use strict";e.d(r,"a",(function(){return n})),e.d(r,"b",(function(){return a}));var n="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},32:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return m})),e.d(r,"b",(function(){return y}));var n=e(86),a=t._googlesitekitTrackingData||{},o=a.activeModules,i=void 0===o?[]:o,u=a.isSiteKitScreen,c=a.trackingEnabled,s=a.trackingID,l=a.referenceSiteURL,f=a.userIDHash,d=a.isAuthenticated,p={activeModules:i,trackingEnabled:c,trackingID:s,referenceSiteURL:l,userIDHash:f,isSiteKitScreen:u,userRoles:a.userRoles,isAuthenticated:d,pluginVersion:"1.79.1"},v=Object(n.a)(p),g=v.enableTracking,b=v.disableTracking,h=(v.isTrackingEnabled,v.initializeSnippet),y=v.trackEvent;function m(t){t?g():b()}u&&c&&h()}).call(this,e(21))},33:function(t,r,e){"use strict";(function(t){var n,a;e.d(r,"a",(function(){return o})),e.d(r,"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 r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return r instanceof Set&&r.has(t)}}).call(this,e(21))},34:function(t,r,e){"use strict";e.d(r,"b",(function(){return n})),e.d(r,"a",(function(){return a}));var n="core/ui",a="activeContextID"},35:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));var n=function(t){return t instanceof Date&&!isNaN(t)}},4:function(t,r){t.exports=googlesitekit.data},41:function(t,r,e){"use strict";e.d(r,"a",(function(){return a}));var n=e(35),a=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))}},44:function(t,r,e){"use strict";(function(t){e.d(r,"b",(function(){return h})),e.d(r,"d",(function(){return y})),e.d(r,"a",(function(){return m})),e.d(r,"c",(function(){return O}));var n=e(5),a=e.n(n),o=e(14),i=e.n(o),u=(e(24),e(10));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 s(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 s(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);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(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){u=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(u)throw o}}}}function s(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 l,f="googlesitekit_".concat("1.79.1","_"),d=["sessionStorage","localStorage"],p=[].concat(d),v=function(){var r=i()(a.a.mark((function r(e){var n,o;return a.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,o="__storage_test__",n.setItem(o,o),n.removeItem(o),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 g(){return b.apply(this,arguments)}function b(){return(b=i()(a.a.mark((function r(){var e,n,o;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0===l){r.next=2;break}return r.abrupt("return",l);case 2:e=c(p),r.prev=3,e.s();case 5:if((n=e.n()).done){r.next=15;break}if(o=n.value,!l){r.next=9;break}return r.abrupt("continue",13);case 9:return r.next=11,v(o);case 11:if(!r.sent){r.next=13;break}l=t[o];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===l&&(l=null),r.abrupt("return",l);case 25:case"end":return r.stop()}}),r,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var t=i()(a.a.mark((function t(r){var e,n,o,i,u,c,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(e=t.sent)){t.next=10;break}if(!(n=e.getItem("".concat(f).concat(r)))){t.next=10;break}if(o=JSON.parse(n),i=o.timestamp,u=o.ttl,c=o.value,s=o.isError,!i||u&&!(Math.round(Date.now()/1e3)-i<u)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:c,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)}}(),y=function(){var r=i()(a.a.mark((function r(e,n){var o,i,c,s,l,d,p,v,b=arguments;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=b.length>2&&void 0!==b[2]?b[2]:{},i=o.ttl,c=void 0===i?u.b:i,s=o.timestamp,l=void 0===s?Math.round(Date.now()/1e3):s,d=o.isError,p=void 0!==d&&d,r.next=3,g();case 3:if(!(v=r.sent)){r.next=14;break}return r.prev=5,v.setItem("".concat(f).concat(e),JSON.stringify({timestamp:l,ttl:c,value:n,isError:p})),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()(a.a.mark((function r(e){var n;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,g();case 2:if(!(n=r.sent)){r.next=13;break}return r.prev=4,n.removeItem("".concat(f).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)}}(),O=function(){var r=i()(a.a.mark((function r(){var e,n,o,i;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,g();case 2:if(!(e=r.sent)){r.next=14;break}for(r.prev=4,n=[],o=0;o<e.length;o++)0===(i=e.key(o)).indexOf(f)&&n.push(i.substring(f.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(21))},48:function(t,r,e){"use strict";e.d(r,"a",(function(){return a}));var n=e(29);function a(t){return function(){t[n.a]=t[n.a]||[],t[n.a].push(arguments)}}},49:function(t,r,e){"use strict";e.d(r,"a",(function(){return g})),e.d(r,"b",(function(){return b}));var n=e(6),a=e.n(n),o=e(28),i=e.n(o),u=e(7),c=e.n(u),s=e(77),l=e.n(s),f=e(10);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){a()(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.x)(t):t}));return"".concat(t,"::").concat(l()(JSON.stringify(e)))}return t}var g={receiveError:function(t,r,e){return c()(t,"error is required."),r&&c()(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&&c()(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(t){c()(t,"storeName must be defined.");var r={getErrorForSelector:function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];c()(n,"selectorName is required.");var o=r.getError(e,n,a);if(o)return p(p({},o),{},{selectorData:{storeName:t,name:n,args:a}})},getErrorForAction:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return c()(e,"actionName is required."),r.getError(t,e,n)},getError:function(t,r,e){var n=t.error,a=t.errors;return r||e?(c()(r,"baseName is required."),a[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(t){return r.getErrors(t).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 o=n.baseName,i=n.args,u=n.error;return p(p({},t),{},o?{errors:p(p({},t.errors||{}),{},a()({},v(o,i),u))}:{error:u});case"CLEAR_ERROR":var c=n.baseName,s=n.args,l=p({},t);if(c){var f=v(c,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:r}}},50:function(t,r,e){"use strict";e.d(r,"b",(function(){return a})),e.d(r,"a",(function(){return o})),e.d(r,"d",(function(){return i})),e.d(r,"c",(function(){return u})),e.d(r,"e",(function(){return c}));var n=e(111);function a(t){try{return new URL(t).pathname}catch(t){}return null}function o(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 u(t){return/^#\w[A-Za-z0-9-_]*$/.test(t)}function c(t,r){if(!Object(n.a)(t))return t;if(t.length<=r)return t;var e=new URL(t),a=t.replace(e.origin,"");if(a.length<r)return a;var o=a.length-Math.floor(r)+1;return"…"+a.substr(o)}},58:function(t,r,e){"use strict";e.d(r,"d",(function(){return n})),e.d(r,"c",(function(){return a})),e.d(r,"b",(function(){return o})),e.d(r,"a",(function(){return i})),e.d(r,"e",(function(){return u})),e.d(r,"g",(function(){return f})),e.d(r,"h",(function(){return b})),e.d(r,"i",(function(){return h})),e.d(r,"j",(function(){return v.a})),e.d(r,"f",(function(){return m})),e.d(r,"k",(function(){return g}));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=3600,i=86400,u=604800,c=e(7),s=e.n(c),l=e(35),f=function(t){var r=new Date(t);s()(Object(l.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("-")},d=e(13),p=e.n(d),v=e(41),g=function(t){s()(Object(v.a)(t),n);var r=t.split("-"),e=p()(r,3),a=e[0],o=e[1],i=e[2];return new Date(a,o-1,i)},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,e=g(t);return e.setDate(e.getDate()-r),f(e)},h=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]};var y=e(1);function m(){var t=function(t){return Object(y.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(y._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}}}},61:function(t,r,e){"use strict";(function(t){var n=e(0),a=e.n(n),o=e(8),i=e.n(o);function ChangeArrow(r){var e=r.direction,n=r.invertColor,a=r.width,o=r.height;return t.createElement("svg",{className:i()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(e),{"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},r.a=ChangeArrow}).call(this,e(3))},63:function(t,r,e){"use strict";e.d(r,"a",(function(){return i})),e.d(r,"b",(function(){return u}));var n=e(28),a=e.n(n),o=e(73),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:o.a.sanitize(t,r)}};function u(t){var r,e="object"===a()(t)?t.toString():t;return null==e||null===(r=e.replace)||void 0===r?void 0:r.call(e,/\/+$/,"")}},72: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(13),a=e.n(n),o=e(28),i=e.n(o),u=e(6),c=e.n(u),s=e(19),l=e.n(s),f=e(25),d=e(70),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){c()(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=y(t,r),n=e.formatUnit,a=e.formatDecimal;try{return n()}catch(t){return a()}},y=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),a=Math.floor(t%60);return{hours:e,minutes:n,seconds:a,formatUnit:function(){var o=r.unitDisplay,i=b(b({unitDisplay:void 0===o?"short":o},l()(r,["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 */
dist/assets/js/{googlesitekit-datastore-user-5a051fd199b80942f75b.js → googlesitekit-datastore-user-100af4719a345c936c14.js} RENAMED
@@ -1,10 +1,10 @@
1
- (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[14],{1:function(e,t){e.exports=googlesitekit.i18n},10:function(e,t,r){"use strict";r.d(t,"y",(function(){return c.b})),r.d(t,"v",(function(){return s.a})),r.d(t,"z",(function(){return s.b})),r.d(t,"x",(function(){return g})),r.d(t,"f",(function(){return p.a})),r.d(t,"m",(function(){return p.b})),r.d(t,"t",(function(){return b.c})),r.d(t,"u",(function(){return b.d})),r.d(t,"q",(function(){return b.b})),r.d(t,"l",(function(){return b.a})),r.d(t,"r",(function(){return y})),r.d(t,"g",(function(){return _})),r.d(t,"b",(function(){return O.b})),r.d(t,"a",(function(){return O.a})),r.d(t,"c",(function(){return O.e})),r.d(t,"i",(function(){return O.f})),r.d(t,"w",(function(){return O.k})),r.d(t,"j",(function(){return S.b})),r.d(t,"p",(function(){return S.c})),r.d(t,"e",(function(){return S.a})),r.d(t,"o",(function(){return E.b})),r.d(t,"k",(function(){return E.a})),r.d(t,"s",(function(){return E.d})),r.d(t,"n",(function(){return k})),r.d(t,"d",(function(){return w})),r.d(t,"A",(function(){return j})),r.d(t,"h",(function(){return T}));var n=r(120),a=r.n(n),i=r(115),o=r.n(i),c=r(32),s=r(63),u=r(28),l=r.n(u),d=r(77),f=r.n(d),g=function(e){return f()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var a=t[n];a&&"object"===l()(a)&&!Array.isArray(a)&&(a=e(a)),r[n]=a})),r}(e)))};var p=r(78),b=(r(84),r(72));function v(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function m(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,r=0,n=[v,m,h];r<n.length;r++){t=(0,n[r])(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)]},O=r(58),S=r(85),E=r(50),k=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 r=(t-e)/e;return isNaN(r)||!a()(r)?null:r},j=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},T=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},101:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return Cell}));var n=r(17),a=r.n(n),i=r(6),o=r.n(i),c=r(19),s=r.n(c),u=r(0),l=r.n(u),d=r(8),f=r.n(d);function Cell(t){var r,n=t.className,i=t.alignTop,c=t.alignMiddle,u=t.alignBottom,l=t.alignRight,d=t.alignLeft,g=t.smAlignRight,p=t.mdAlignRight,b=t.lgAlignRight,v=t.smSize,m=t.smStart,h=t.smOrder,y=t.mdSize,_=t.mdStart,O=t.mdOrder,S=t.lgSize,E=t.lgStart,k=t.lgOrder,w=t.size,j=t.children,T=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",a()({},T,{className:f()(n,"mdc-layout-grid__cell",(r={"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":u,"mdc-layout-grid__cell--align-right":l,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":g,"mdc-layout-grid__cell--align-right-tablet":p,"mdc-layout-grid__cell--align-right-desktop":b},o()(r,"mdc-layout-grid__cell--span-".concat(w),12>=w&&w>0),o()(r,"mdc-layout-grid__cell--span-".concat(S,"-desktop"),12>=S&&S>0),o()(r,"mdc-layout-grid__cell--start-".concat(E,"-desktop"),12>=E&&E>0),o()(r,"mdc-layout-grid__cell--order-".concat(k,"-desktop"),12>=k&&k>0),o()(r,"mdc-layout-grid__cell--span-".concat(y,"-tablet"),8>=y&&y>0),o()(r,"mdc-layout-grid__cell--start-".concat(_,"-tablet"),8>=_&&_>0),o()(r,"mdc-layout-grid__cell--order-".concat(O,"-tablet"),8>=O&&O>0),o()(r,"mdc-layout-grid__cell--span-".concat(v,"-phone"),4>=v&&v>0),o()(r,"mdc-layout-grid__cell--start-".concat(m,"-phone"),4>=m&&m>0),o()(r,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),r))}),j)}Cell.propTypes={smSize:l.a.number,smStart:l.a.number,smOrder:l.a.number,mdSize:l.a.number,mdStart:l.a.number,mdOrder:l.a.number,lgSize:l.a.number,lgStart:l.a.number,lgOrder:l.a.number,size:l.a.number,alignTop:l.a.bool,alignMiddle:l.a.bool,alignBottom:l.a.bool,alignRight:l.a.bool,alignLeft:l.a.bool,smAlignRight:l.a.bool,mdAlignRight:l.a.bool,lgAlignRight:l.a.bool,className:l.a.string,children:l.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,r(3))},102:function(e,t,r){"use strict";(function(e){var n=r(17),a=r.n(n),i=r(19),o=r.n(i),c=r(0),s=r.n(c),u=r(8),l=r.n(u),d=r(2),f=Object(d.forwardRef)((function(t,r){var n=t.className,i=t.children,c=o()(t,["className","children"]);return e.createElement("div",a()({ref:r,className:l()("mdc-layout-grid__inner",n)},c),i)}));f.propTypes={className:s.a.string,children:s.a.node},f.defaultProps={className:""},t.a=f}).call(this,r(3))},103:function(e,t,r){"use strict";(function(e){var n=r(17),a=r.n(n),i=r(19),o=r.n(i),c=r(0),s=r.n(c),u=r(8),l=r.n(u),d=r(2),f=Object(d.forwardRef)((function(t,r){var n=t.alignLeft,i=t.fill,c=t.className,s=t.children,u=o()(t,["alignLeft","fill","className","children"]);return e.createElement("div",a()({className:l()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":n,"mdc-layout-grid--fill":i})},u,{ref:r}),s)}));f.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,children:s.a.node},f.defaultProps={className:""},t.a=f}).call(this,r(3))},1073:function(e,t,r){"use strict";r.r(t);var n=r(4),a=r.n(n),i=r(49),o=r(5),c=r.n(o),s=r(6),u=r.n(s),l=r(31),d=r.n(l),f=r(12),g=r(42);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 b(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){u()(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=a.a.createRegistrySelector;function m(e){return v((function(t){return function(){return(t(f.a).getAuthentication()||{})[e]}}))}var h=Object(g.a)({baseName:"getAuthentication",controlCallback:function(){return d.a.get("core","user","authentication",void 0,{useCache:!1})},reducerCallback:function(e,t){return b(b({},e),{},{authentication:t})}}),y={authentication:void 0,authError:null},_={setAuthError:function(e){return{payload:{error:e},type:"SET_AUTH_ERROR"}},clearAuthError:function(){return{payload:{},type:"CLEAR_AUTH_ERROR"}}},O={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,a.a.commonActions.getRegistry();case 2:if(t=e.sent,(0,t.select)(f.a).getAuthentication()){e.next=7;break}return e.next=7,h.actions.fetchGetAuthentication();case 7:case"end":return e.stop()}}),e)}))},S={getAuthentication:function(e){return e.authentication},hasScope:v((function(e){return function(t,r){var n=e(f.a).getGrantedScopes(t);if(void 0!==n)return n.includes(r)}})),isAuthenticated:m("authenticated"),getGrantedScopes:m("grantedScopes"),getRequiredScopes:m("requiredScopes"),getUnsatisfiedScopes:m("unsatisfiedScopes"),needsReauthentication:m("needsReauthentication"),getDisconnectedReason:m("disconnectedReason"),getConnectedProxyURL:m("connectedProxyURL"),getPreviousConnectedProxyURL:m("previousConnectedProxyURL"),getAuthError:function(e){return e.authError}},E=a.a.combineStores(h,{initialState:y,actions:_,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_AUTH_ERROR":return b(b({},e),{},{authError:n.error});case"CLEAR_AUTH_ERROR":return b(b({},e),{},{authError:null});default:return e}},resolvers:O,selectors:S}),k=(E.initialState,E.actions,E.controls,E.reducer,E.resolvers,E.selectors,E),w=r(7),j=r.n(w),T=r(58);function I(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?I(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var x={dateRange:"last-28-days",referenceDate:Object(T.g)(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,a=t.offsetDays,i=void 0===a?0:a,o=t.referenceDate,c=void 0===o?e.referenceDate:o,s=R.getDateRange(e),u=Object(T.h)(c,i),l=s.match("-(.*)-"),d=Number(l?l[1]:28),f=Object(T.h)(u,d-1),g={startDate:f,endDate:u};if(n){var p=Object(T.h)(f,1),b=Object(T.h)(p,d-1);g.compareStartDate=b,g.compareEndDate=p}return g},getDateRangeNumberOfDays:function(e){var t=R.getDateRange(e).match(/-(\d+)-/);return parseInt(t?t[1]:28,10)},getReferenceDate:function(e){return e.referenceDate}},N={initialState:x,actions:{setDateRange:function(e){return j()(e,"Date range slug is required."),j()(Object(T.i)(e),T.c),{type:"SET_DATE_RANGE",payload:{slug:e}}},setReferenceDate:function(e){return j()(e,"Date string is required."),j()(Object(T.j)(e),T.d),{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 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 A(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){u()(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 P=a.a.createRegistrySelector,U=Object(g.a)({baseName:"disconnect",controlCallback:function(){return d.a.set("core","user","disconnect")},reducerCallback:function(e,t){return A(A({},e),{},{disconnected:t})}}),L={disconnected:void 0},V={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)}))},M={isDoingDisconnect:P((function(e){return function(){return e(f.a).isFetchingDisconnect()}}))},F=a.a.combineStores(U,{initialState:L,actions:V,selectors:M}),q=(F.initialState,F.actions,F.controls,F.reducer,F.resolvers,F.selectors,F),G=r(69);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){u()(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 z=a.a.createRegistrySelector,K=a.a.commonActions.getRegistry;function $(e,t){return B(B({},e),{},{dismissedItems:Array.isArray(t)?t:[]})}var Y,W,J,Q=Object(g.a)({baseName:"getDismissedItems",controlCallback:function(){return d.a.get("core","user","dismissed-items",{},{useCache:!1})},reducerCallback:$}),X=Object(g.a)({baseName:"dismissItem",controlCallback:function(e){var t=e.slug,r=e.expiresInSeconds;return d.a.set("core","user","dismiss-item",{slug:t,expiration:r})},reducerCallback:$,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;j()(t,"slug is required."),j()(Number.isInteger(r),"expiresInSeconds must be an integer.")}}),Z={dismissedItems:void 0},ee={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;j()(e,"A tour slug is required to dismiss a tour."),j()(Number.isInteger(n),"expiresInSeconds must be an integer.")}),c.a.mark((function e(t){var r,n,a,i=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},n=r.expiresInSeconds,a=void 0===n?0:n,e.next=4,X.actions.fetchDismissItem(t,a);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))},te={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,K();case 2:if(t=e.sent,r=t.select,void 0!==r(f.a).getDismissedItems()){e.next=8;break}return e.next=8,Q.actions.fetchGetDismissedItems();case 8:case"end":return e.stop()}}),e)}))},re={getDismissedItems:function(e){return e.dismissedItems},isItemDismissed:z((function(e){return function(t,r){var n;return null===(n=e(f.a).getDismissedItems())||void 0===n?void 0:n.includes(r)}})),isDismissingItem:z((function(e){return function(t,r){return e(f.a).isFetchingDismissItem(r)}}))},ne=a.a.combineStores({initialState:Z,actions:ee,resolvers:te,selectors:re},X,Q),ae={actions:ne.actions,controls:ne.controls,initialState:ne.initialState,reducer:ne.reducer,resolvers:ne.resolvers,selectors:ne.selectors},ie=r(14),oe=r.n(ie),ce=r(718),se=r.n(ce),ue=r(54),le=r.n(ue),de=r(1),fe=r(23),ge=r(34),pe=r(16),be=r(11),ve={slug:"helpVisibility",contexts:[fe.g,fe.i,fe.k,fe.l],version:"1.29.0",gaEventCategory:function(e){return"".concat(e,"_headerbar_helpmenu")},steps:[{target:".googlesitekit-help-menu",title:Object(de.__)("Need help?","google-site-kit"),content:Object(de.__)("Access the Site Kit docs or ask a question in our support forum from here.","google-site-kit"),placement:"bottom-start"}]},me=r(719),he=r(37),ye={slug:"ideaHubPostsTable",contexts:[fe.m],version:"1.43.0",gaEventCategory:he.n,checkRequirements:(Y=oe()(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(pe.a).getModules();case 4:return e.abrupt("return",t.select(pe.a).isModuleConnected("idea-hub"));case 5:case"end":return e.stop()}}),e)}))),function(e){return Y.apply(this,arguments)}),steps:[{target:".googlesitekit-idea-hub__post",title:Object(de.__)("Get started writing about your saved ideas","google-site-kit"),content:Object(de.__)("Drafts you created from Idea Hub within Site Kit appear here for easy access.","google-site-kit")}]},_e=r(723),Oe=r(24),Se=r.n(Oe),Ee=r(30),ke=r(33),we=r(326),je=r(335),Te={slug:"dashboardSharing",contexts:[fe.g],version:"1.85.0",gaEventCategory:function(e){return"".concat(e,"_dashboard-sharing")},steps:[{target:".googlesitekit-sharing-settings__button",title:Object(de.__)("New! Dashboard sharing","google-site-kit"),content:Object(de.__)("Share a view-only version of your dashboard with other WordPress roles","google-site-kit"),placement:"bottom-start"}].concat(Se()(we.a.steps)),checkRequirements:function(){return Object(ke.b)("dashboardSharing")},callback:function(e,t){var r=t.select,n=t.dispatch,a=e.action,i=e.index,o=e.size,c=e.type,s=r(ge.b).getValue(je.a);Ee.a.NEXT===a&&0===i&&n(ge.b).setValue(je.a,!0),(Ee.a.STOP===a||0===i&&s)&&n(ge.b).setValue(je.a,!1),i+1!==o||Ee.b.TOOLTIP!==c||W||(W=!0,n(f.a).dismissTour(we.a.slug))}},Ie=[{slug:"allTrafficWidget",contexts:[fe.g,fe.i],version:"1.25.0",gaEventCategory:function(e){return"".concat(e,"_all-traffic-widget")},checkRequirements:function(){var e=oe()(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(pe.a).getModules();case 2:if(t.select(pe.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(ge.b).getValue(be.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(de.__)("It’s now easier to see your site’s traffic at a glance","google-site-kit"),content:Object(de.__)("Check the trend graph to see how your traffic changed over time","google-site-kit"),placement:"top"},{target:".googlesitekit-widget--analyticsAllTraffic__dimensions",title:Object(de.__)("See where your visitors come from","google-site-kit"),content:Object(de.__)("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(de.__)("Check how your traffic changed since you last looked","google-site-kit"),content:Object(de.__)("Select a time frame to see the comparison with the previous time period","google-site-kit")}]},ve,me.a,ye,_e.a,Te],De=r(44);function xe(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 Re(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 Re(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw i}}}}function Re(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 Ne(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 Ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ne(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ae,Pe=a.a.createRegistrySelector,Ue=a.a.createRegistryControl,Le=a.a.commonActions.getRegistry,Ve=Object(g.a)({baseName:"getDismissedTours",controlCallback:function(){return d.a.get("core","user","dismissed-tours",{},{useCache:!1})},reducerCallback:function(e,t){return Ce(Ce({},e),{},{dismissedTourSlugs:t})}}),Me=Object(g.a)({baseName:"dismissTour",controlCallback:function(e){var t=e.slug;return d.a.set("core","user","dismiss-tour",{slug:t})},reducerCallback:function(e,t){return Ce(Ce({},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;j()(t,"slug is required.")}}),Fe={lastDismissedAt:void 0,dismissedTourSlugs:void 0,tours:Ie,currentTour:null},qe={dismissTour:Object(G.f)((function(e){j()(e,"A tour slug is required to dismiss a tour.")}),c.a.mark((function e(t){var r,n,a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Le();case 2:if(r=e.sent,!(n=r.select)(f.a).isFetchingDismissTour(t)){e.next=7;break}return a=n(f.a).getDismissedFeatureTourSlugs(),e.abrupt("return",{response:a,error:void 0});case 7:return e.next=9,{type:"DISMISS_TOUR",payload:{slug:t}};case 9:return e.next=11,Ke.setLastDismissedAt(Date.now());case 11:return e.next=13,Me.actions.fetchDismissTour(t);case 13:return e.abrupt("return",e.sent);case 14:case"end":return e.stop()}}),e)}))),receiveCurrentTour:function(e){return j()(le()(e),"tour must be a plain object."),{payload:{tour:e},type:"RECEIVE_CURRENT_TOUR"}},receiveFeatureToursForView:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.viewContext;return j()(Array.isArray(e),"viewTours must be an array."),j()(r,"viewContext is required."),{payload:{viewTours:e,viewContext:r},type:"RECEIVE_READY_TOURS"}},receiveAllFeatureTours:function(e){return j()(Array.isArray(e),"tours must be an array."),{payload:{tours:e},type:"RECEIVE_TOURS"}},receiveLastDismissedAt:function(e){return j()(void 0!==e,"A timestamp is required."),{type:"RECEIVE_LAST_DISMISSED_AT",payload:{timestamp:e}}},setLastDismissedAt:Object(G.f)((function(e){j()(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)}))),triggerTour:c.a.mark((function e(t){var r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Le();case 2:if(r=e.sent,(0,r.select)(f.a).getCurrentTour()){e.next=7;break}return e.next=7,qe.receiveCurrentTour(t);case 7:case"end":return e.stop()}}),e)})),triggerOnDemandTour:c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{tour:t},type:"CHECK_ON_DEMAND_TOUR_REQUIREMENTS"};case 2:if(!e.sent){e.next=6;break}return e.next=6,qe.triggerTour(t);case 6:case"end":return e.stop()}}),e)})),triggerTourForView:c.a.mark((function e(t){var r,n,i,o,s,u,l;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Le();case 2:return r=e.sent,n=r.select,i=r.__experimentalResolveSelect,e.next=7,a.a.commonActions.await(i(f.a).getLastDismissedAt());case 7:if(!n(f.a).areFeatureToursOnCooldown()){e.next=9;break}return e.abrupt("return",{});case 9:o=n(f.a).getAllFeatureTours(),s=xe(o),e.prev=11,s.s();case 13:if((u=s.n()).done){e.next=24;break}return l=u.value,e.next=17,{payload:{tour:l,viewContext:t},type:"CHECK_TOUR_REQUIREMENTS"};case 17:if(!e.sent){e.next=22;break}return e.next=21,qe.triggerTour(l);case 21:return e.abrupt("return",e.sent);case 22:e.next=13;break;case 24:e.next=29;break;case 26:e.prev=26,e.t0=e.catch(11),s.e(e.t0);case 29:return e.prev=29,s.f(),e.finish(29);case 32:case"end":return e.stop()}}),e,null,[[11,26,29,32]])}))},Ge=(J={},u()(J,"CHECK_TOUR_REQUIREMENTS",Ue((function(e){return function(){var t=oe()(c.a.mark((function t(r){var n,a,i,o;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=r.payload,a=n.tour,i=n.viewContext,a.contexts.includes(i)){t.next=4;break}return t.abrupt("return",!1);case 4:if(o=e.select(f.a).getInitialSiteKitVersion()){t.next=9;break}return t.abrupt("return",!1);case 9:if(!se.a.compare(o,a.version,">=")){t.next=11;break}return t.abrupt("return",!1);case 11:return t.next=13,e.__experimentalResolveSelect(f.a).getDismissedFeatureTourSlugs();case 13:if(!e.select(f.a).isTourDismissed(a.slug)){t.next=15;break}return t.abrupt("return",!1);case 15:if(!a.checkRequirements){t.next=19;break}return t.next=18,a.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)}}()}))),u()(J,"CHECK_ON_DEMAND_TOUR_REQUIREMENTS",Ue((function(e){return function(){var t=oe()(c.a.mark((function t(r){var n,a;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.payload,a=n.tour,t.next=4,e.__experimentalResolveSelect(f.a).getDismissedFeatureTourSlugs();case 4:if(!e.select(f.a).isTourDismissed(a.slug)){t.next=6;break}return t.abrupt("return",!1);case 6:if(!a.checkRequirements){t.next=10;break}return t.next=9,a.checkRequirements(e);case 9:return t.abrupt("return",!!t.sent);case 10:return t.abrupt("return",!0);case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),u()(J,"CACHE_LAST_DISMISSED_AT",(Ae=oe()(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(De.d)("feature_tour_last_dismissed_at",n,{ttl:7200});case 4:case"end":return e.stop()}}),e)}))),function(e){return Ae.apply(this,arguments)})),J),He={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,Le();case 2:if(t=e.sent,r=t.select,void 0!==r(f.a).getDismissedFeatureTourSlugs()){e.next=8;break}return e.next=8,Ve.actions.fetchGetDismissedTours();case 8:case"end":return e.stop()}}),e)})),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,a.a.commonActions.await(Object(De.b)("feature_tour_last_dismissed_at"));case 2:return t=e.sent,r=t.value,e.next=6,Ke.receiveLastDismissedAt(r||null);case 6:case"end":return e.stop()}}),e)}))},Be={getCurrentTour:function(e){return e.currentTour},getDismissedFeatureTourSlugs:function(e){return e.dismissedTourSlugs},getAllFeatureTours:function(e){return e.tours},isTourDismissed:Pe((function(e){return function(t,r){var n=e(f.a).getDismissedFeatureTourSlugs();if(void 0!==n)return n.includes(r)}})),getLastDismissedAt:function(e){return e.lastDismissedAt},areFeatureToursOnCooldown:Pe((function(e){return function(){var t=e(f.a).getLastDismissedAt();if(void 0!==t){if(null===t)return!1;var r=t+72e5;return Date.now()<r}}}))},ze=a.a.combineStores({initialState:Fe,actions:qe,controls:Ge,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"DISMISS_TOUR":var a,i=n.slug,o=e.dismissedTourSlugs,c=void 0===o?[]:o;return c.includes(i)?e:Ce(Ce({},e),{},{currentTour:(null===(a=e.currentTour)||void 0===a?void 0:a.slug)===i?null:e.currentTour,dismissedTourSlugs:c.concat(i)});case"RECEIVE_CURRENT_TOUR":return Ce(Ce({},e),{},{currentTour:n.tour});case"RECEIVE_READY_TOURS":var s=n.viewContext,l=n.viewTours;return Ce(Ce({},e),{},{viewTours:Ce(Ce({},e.viewTours),{},u()({},s,l))});case"RECEIVE_TOURS":return Ce(Ce({},e),{},{tours:n.tours});case"RECEIVE_LAST_DISMISSED_AT":return Ce(Ce({},e),{},{lastDismissedAt:n.timestamp});default:return e}},resolvers:He,selectors:Be},Me,Ve),Ke=ze.actions,$e=ze.controls,Ye=ze.initialState,We=ze.reducer,Je=ze.resolvers,Qe=ze.selectors,Xe={actions:Ke,controls:$e,initialState:Ye,reducer:We,resolvers:Je,selectors:Qe},Ze=r(362),et=Object(Ze.a)("core","user","notifications",{server:!1}),tt=r(729);function rt(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 nt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rt(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var at=a.a.createRegistrySelector,it=Object(g.a)({baseName:"triggerSurvey",controlCallback:function(e){var t=e.triggerID;return d.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 ft.getCurrentSurvey(e)?e:nt(nt({},e),{},{currentSurvey:r,currentSurveySession:n})},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.triggerID;j()("string"==typeof t&&t.length,"triggerID is required and must be a string")}}),ot=Object(g.a)({baseName:"sendSurveyEvent",controlCallback:function(e){var t=e.event,r=e.session;return d.a.set("core","user","survey-event",{event:t,session:r})},argsToParams:function(e,t){return{event:e,session:t}}}),ct=Object(g.a)({baseName:"getSurveyTimeouts",controlCallback:function(){return d.a.get("core","user","survey-timeouts",{},{useCache:!1})},reducerCallback:function(e,t){return nt(nt({},e),{},{surveyTimeouts:Array.isArray(t)?t:[]})}}),st=Object(g.a)({baseName:"setSurveyTimeout",controlCallback:function(e){var t=e.slug,r=e.timeout;return d.a.set("core","user","survey-timeout",{slug:t,timeout:r})},reducerCallback:function(e,t){return nt(nt({},e),{},{surveyTimeouts:Array.isArray(t)?t:[]})},argsToParams:function(e,t){return{slug:e,timeout:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug,r=e.timeout;j()(t,"slug is required."),j()(Number.isInteger(r),"timeout must be an integer.")}}),ut={currentSurvey:null,currentSurveySession:null,surveyTimeouts:void 0},lt={setSurveyTimeout:Object(G.f)((function(e,t){j()("string"==typeof e&&e.length,"triggerID is required and must be a string"),j()("number"==typeof t,"timeout must be a number")}),c.a.mark((function e(t,r){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,st.actions.fetchSetSurveyTimeout(t,r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),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;j()("string"==typeof e&&e.length,"triggerID is required and must be a string"),j()(le()(t),"options must be an object"),j()("number"==typeof n,"options.ttl must be a number")}),c.a.mark((function e(t){var r,n,i,o,s,u,l,d,g,p,b,v,m=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=m.length>1&&void 0!==m[1]?m[1]:{},n=r.ttl,i=void 0===n?0:n,e.next=4,a.a.commonActions.getRegistry();case 4:if(o=e.sent,s=o.select,u=o.dispatch,l=o.__experimentalResolveSelect,!s(f.a).getCurrentSurvey()){e.next=10;break}return e.abrupt("return",{});case 10:return e.next=12,a.a.commonActions.await(l(f.a).getAuthentication());case 12:if(s(f.a).isAuthenticated()){e.next=14;break}return e.abrupt("return",{});case 14:return e.next=16,a.a.commonActions.await(l(f.a).getSurveyTimeouts());case 16:if(d=s(f.a).isSurveyTimedOut(t),g=s(f.a).isTimingOutSurvey(t,i),d||g){e.next=31;break}return e.next=21,it.actions.fetchTriggerSurvey(t);case 21:if(p=e.sent,b=p.response,!(v=p.error)){e.next=26;break}return e.abrupt("return",{response:b,error:v});case 26:if(!(i>0)){e.next=31;break}return e.next=29,new Promise((function(e){setTimeout(e,3e4)}));case 29:return e.next=31,u(f.a).setSurveyTimeout(t,i);case 31:return e.abrupt("return",{response:{},error:!1});case 32:case"end":return e.stop()}}),e)}))),sendSurveyEvent:Object(G.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};j()("string"==typeof e&&e.length,"eventID is required and must be a string"),j()(le()(t),"eventData must be an object")}),c.a.mark((function e(t){var r,n,i,o,s,l,d,g,p=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},n=u()({},t,r),e.next=4,a.a.commonActions.getRegistry();case 4:if(i=e.sent,o=i.select,!(s=o(f.a).getCurrentSurveySession())){e.next=14;break}return e.next=10,ot.actions.fetchSendSurveyEvent(n,s);case 10:return l=e.sent,d=l.response,g=l.error,e.abrupt("return",{response:d,error:g});case 14:case"end":return e.stop()}}),e)})))},dt={getSurveyTimeouts: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,a.a.commonActions.getRegistry();case 2:if(t=e.sent,r=t.select,void 0!==r(f.a).getSurveyTimeouts()){e.next=8;break}return e.next=8,ct.actions.fetchGetSurveyTimeouts();case 8:case"end":return e.stop()}}),e)}))},ft={getCurrentSurvey:function(e){return e.currentSurvey},getCurrentSurveySession:function(e){return e.currentSurveySession},getCurrentSurveyCompletions:at((function(e){return function(){var t=e(f.a).getCurrentSurvey();return(null==t?void 0:t.completion)||null}})),getCurrentSurveyQuestions:at((function(e){return function(){var t=e(f.a).getCurrentSurvey();return(null==t?void 0:t.question)||null}})),getSurveyTimeouts:function(e){return e.surveyTimeouts},isSurveyTimedOut:at((function(e){return function(t,r){var n=e(f.a).getSurveyTimeouts();return void 0===n?void 0:n.includes(r)}})),isTimingOutSurvey:at((function(e){return function(t,r,n){return e(f.a).isFetchingSetSurveyTimeout(r,n)}}))},gt=a.a.combineStores(it,ot,ct,st,{initialState:ut,actions:lt,resolvers:dt,selectors:ft}),pt=(gt.initialState,gt.actions,gt.resolvers,gt.selectors,gt);function bt(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 vt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var mt,ht=i.a.receiveError,yt=i.a.clearError,_t=function(e,t){return vt(vt({},e),{},{tracking:t})},Ot=Object(g.a)({baseName:"getTracking",controlCallback:function(){return d.a.get("core","user","tracking")},reducerCallback:_t}),St=Object(g.a)({baseName:"setTracking",controlCallback:function(e){return d.a.set("core","user","tracking",{enabled:!!e})},reducerCallback:_t,argsToParams:function(e){return e}}),Et={tracking:void 0,isSavingTrackingEnabled:!1},kt={setTrackingEnabled:c.a.mark((function e(t){var r,n,a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,yt("setTrackingEnabled",[t]);case 2:return e.next=4,{type:"SET_TRACKING_ENABLED_SAVING_ACTION",payload:{isSaving:!0}};case 4:return e.next=6,St.actions.fetchSetTracking(t);case 6:if(r=e.sent,n=r.response,!(a=r.error)){e.next=12;break}return e.next=12,ht(a,"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:a});case 15:case"end":return e.stop()}}),e)}))},wt={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,a.a.commonActions.getRegistry();case 2:if(t=e.sent,void 0!==(0,t.select)(f.a).isTrackingEnabled()){e.next=7;break}return e.next=7,Ot.actions.fetchGetTracking();case 7:case"end":return e.stop()}}),e)}))},jt=a.a.combineStores(Ot,St,{initialState:Et,actions:kt,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_TRACKING_ENABLED_SAVING_ACTION":return vt(vt({},e),{},{isSavingTrackingEnabled:n.isSaving});default:return e}},resolvers:wt,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}}}),Tt=(jt.initialState,jt.actions,jt.controls,jt.reducer,jt.resolvers,jt.selectors,jt),It=r(731);function Dt(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 xt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Rt=a.a.commonActions,Nt=a.a.createRegistryControl,Ct=a.a.createRegistrySelector,At=i.a.receiveError,Pt=i.a.clearError;function Ut(e,t){return xt(xt({},e),{},{inputSettings:t})}var Lt,Vt=Object(g.a)({baseName:"getUserInputSettings",controlCallback:(Lt=oe()(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",d.a.get("core","user","user-input-settings",void 0,{useCache:!1}));case 1:case"end":return e.stop()}}),e)}))),function(){return Lt.apply(this,arguments)}),reducerCallback:Ut}),Mt=Object(g.a)({baseName:"saveUserInputSettings",controlCallback:function(e){return d.a.set("core","user","user-input-settings",{settings:e})},reducerCallback:Ut,argsToParams:function(e){return e},validateParams:function(e){j()(le()(e),"valid settings are required.")}}),Ft={inputSettings:void 0,isSavingInputSettings:!1},qt={setUserInputSettingsFromCache:c.a.mark((function e(){var t,r,n,a;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 a=n[r],e.next=9,qt.setUserInputSetting(a,t.value[a].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,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.a.commonActions.getRegistry();case 2:if(n=e.sent,i=r.map((function(e){return e.trim()})),"completed"===n.select(f.a).getUserInputState()){e.next=7;break}return e.next=7,{type:"SET_CACHED_USER_INPUT_SETTING",payload:{settingID:t,values:i}};case 7:return e.abrupt("return",{type:"SET_USER_INPUT_SETTING",payload:{settingID:t,values:i}});case 8:case"end":return e.stop()}}),e)})),saveUserInputSettings:c.a.mark((function e(){var t,r,n,i,o,s,l,d;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.a.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,Pt("saveUserInputSettings",[]);case 5:return r=function(e){return e.trim()},n=function(e){return e.length>0},i=t.select(f.a).getUserInputSettings(),o=Object.keys(i).reduce((function(e,t){var a;return xt(xt({},e),{},u()({},t,((null===(a=i[t])||void 0===a?void 0:a.values)||[]).map(r).filter(n)))}),{}),e.next=11,{type:"SET_USER_INPUT_SETTINGS_SAVING_FLAG",payload:{isSaving:!0}};case 11:return e.next=13,Mt.actions.fetchSaveUserInputSettings(o);case 13:if(s=e.sent,l=s.response,!(d=s.error)){e.next=19;break}return e.next=19,At(d,"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:d});case 24:case"end":return e.stop()}}),e)}))},Gt=(mt={},u()(mt,"DELETE_CACHED_USER_INPUT_SETTINGS",(function(){return Object(De.a)("userInputSettings")})),u()(mt,"GET_CACHED_USER_INPUT_SETTINGS",(function(){return Object(De.b)("userInputSettings")})),u()(mt,"SET_CACHED_USER_INPUT_SETTING",Nt((function(e){return function(){var t=oe()(c.a.mark((function t(r){var n,a,i,o;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.payload,a=n.settingID,i=n.values,(o=e.select(f.a).getUserInputSettings()||{})[a]={values:i},t.abrupt("return",Object(De.d)("userInputSettings",o));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),mt),Ht={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,Rt.getRegistry();case 2:if(t=e.sent,(r=t.select)(f.a).getUserInputSettings()){e.next=7;break}return e.next=7,Vt.actions.fetchGetUserInputSettings();case 7:if("completed"===r(f.a).getUserInputState()){e.next=10;break}return e.next=10,qt.setUserInputSettingsFromCache();case 10:case"end":return e.stop()}}),e)}))},Bt={isSavingUserInputSettings:function(e){return!!(null==e?void 0:e.isSavingInputSettings)},getUserInputSettings:function(e){return e.inputSettings},getUserInputSetting:Ct((function(e){return function(t,r){var n,a=null===(n=(e(f.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.values;return Array.isArray(a)?a:[]}})),getUserInputSettingScope:Ct((function(e){return function(t,r){var n;return null===(n=(e(f.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.scope}})),getUserInputSettingAuthor:Ct((function(e){return function(t,r){var n;return null===(n=(e(f.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.author}}))},zt=a.a.combineStores(Vt,Mt,{initialState:Ft,actions:qt,controls:Gt,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_USER_INPUT_SETTING":return xt(xt({},e),{},{inputSettings:xt(xt({},e.inputSettings),{},u()({},n.settingID,xt(xt({},(e.inputSettings||{})[n.settingID]||{}),{},{values:n.values})))});case"SET_USER_INPUT_SETTINGS_SAVING_FLAG":return xt(xt({},e),{},{isSavingInputSettings:n.isSaving});default:return e}},resolvers:Ht,selectors:Bt}),Kt=(zt.initialState,zt.actions,zt.controls,zt.reducer,zt.resolvers,zt.selectors,zt),$t=a.a.combineStores(a.a.commonStore,Object(i.b)(f.a),k,N,q,ae,Xe,et,tt.a,pt,Tt,It.a,Kt);$t.initialState,$t.actions,$t.controls,$t.reducer,$t.resolvers,$t.selectors;a.a.registerStore(f.a,$t)},11:function(e,t,r){"use strict";r.d(t,"f",(function(){return n})),r.d(t,"a",(function(){return a})),r.d(t,"h",(function(){return i})),r.d(t,"g",(function(){return o})),r.d(t,"d",(function(){return c})),r.d(t,"e",(function(){return s})),r.d(t,"k",(function(){return u})),r.d(t,"c",(function(){return l})),r.d(t,"b",(function(){return d})),r.d(t,"s",(function(){return f})),r.d(t,"r",(function(){return g})),r.d(t,"t",(function(){return p})),r.d(t,"p",(function(){return b})),r.d(t,"q",(function(){return v})),r.d(t,"n",(function(){return m})),r.d(t,"o",(function(){return h})),r.d(t,"l",(function(){return y})),r.d(t,"m",(function(){return _})),r.d(t,"j",(function(){return O})),r.d(t,"i",(function(){return S}));var n="modules/analytics",a="account_create",i="property_create",o="profile_create",c="analyticsAccountCreate",s="analyticsSetup",u="https://www.googleapis.com/auth/analytics.provision",l="https://www.googleapis.com/auth/analytics.edit",d=1,f="dashboardAllTrafficWidgetDimensionName",g="dashboardAllTrafficWidgetDimensionColor",p="dashboardAllTrafficWidgetDimensionValue",b="dashboardAllTrafficWidgetActiveRowIndex",v="dashboardAllTrafficWidgetLoaded",m="legacy",h="ua",y="ga4",_="ga4-transitional",O="ua",S="ga4"},12:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return i})),r.d(t,"h",(function(){return o})),r.d(t,"i",(function(){return c})),r.d(t,"f",(function(){return s})),r.d(t,"g",(function(){return u})),r.d(t,"e",(function(){return l})),r.d(t,"d",(function(){return d}));var n="core/user",a="connected_url_mismatch",i="googlesitekit_authenticate",o="googlesitekit_setup",c="googlesitekit_view_dashboard",s="googlesitekit_manage_options",u="googlesitekit_read_shared_module_data",l="googlesitekit_manage_module_sharing_options",d="googlesitekit_delegate_module_sharing_management"},131:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(436),a=function(e,t,r){Object(n.a)((function(r){return e.includes(r.keyCode)&&t.current.contains(r.target)}),r)}},136:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a}));var n="editing-user-role-select-slug-key",a=["idea-hub","thank-with-google"]},142:function(e,t,r){"use strict";var n=r(2);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return n.createElement("svg",a({viewBox:"0 0 14 14",fill:"none"},e),i)}},145:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return ModuleIcon}));var n=r(17),a=r.n(n),i=r(19),o=r.n(i),c=r(0),s=r.n(c),u=r(4),l=r.n(u),d=r(16),f=l.a.useSelect;function ModuleIcon(t){var r=t.slug,n=t.size,i=o()(t,["slug","size"]),c=f((function(e){return e(d.a).getModuleIcon(r)}));return c?e.createElement(c,a()({width:n,height:n},i)):null}ModuleIcon.propTypes={slug:s.a.string.isRequired,size:s.a.number},ModuleIcon.defaultProps={size:33}}).call(this,r(3))},15:function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return i}));var n="core/site",a="primary",i="secondary"},16:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a}));var n="core/modules",a="insufficient_module_dependencies"},18:function(e,t,r){"use strict";(function(e){var n=r(17),a=r.n(n),i=r(19),o=r.n(i),c=r(8),s=r.n(c),u=r(0),l=r.n(u),d=r(124),f=r(210),g=r(2),p=r(1),b=r(9),v=Object(g.forwardRef)((function(t,r){var n=t.children,i=t.href,c=t.text,u=t.className,l=t.danger,v=t.disabled,m=t.target,h=t.icon,y=t.trailingIcon,_=t["aria-label"],O=t.title,S=t.tooltip,E=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","tooltip"]),k=Object(g.useCallback)((function(e){null!==e&&b.l.attachTo(e)}),[]),w=Object(d.a)(r,k),j=i&&!v?"a":"button",T=e.createElement(j,a()({className:s()("mdc-button",u,{"mdc-button--raised":!c,"mdc-button--danger":l}),href:v?void 0:i,ref:w,disabled:!!v,"aria-label":function(){var e=_;if("_blank"!==m)return e;var t=Object(p._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof n&&(e=e||n),e?"".concat(e," ").concat(t):t}(),target:m||"_self",role:"a"===j?"button":void 0},E),h,n&&e.createElement("span",{className:"mdc-button__label"},n),y);return S&&(O||_)||h&&(O||_)&&void 0===n?e.createElement(f.a,{title:O||_,classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},T):T}));v.displayName="Button",v.propTypes={onClick:l.a.func,children:l.a.node,href:l.a.string,text:l.a.bool,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,icon:l.a.element,trailingIcon:l.a.element,title:l.a.string,tooltip:l.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,r(3))},20:function(e,t,r){"use strict";var n=r(2),a=r(67);t.a=function(){return Object(n.useContext)(a.b)}},22:function(e,t,r){"use strict";(function(e){var n=r(17),a=r.n(n),i=r(19),o=r.n(i),c=r(0),s=r.n(c),u=r(8),l=r.n(u),d=r(122),f=r(1),g=r(2),p=Object(g.forwardRef)((function(t,r){var n,i=t["aria-label"],c=t.arrow,s=t.back,u=t.caps,g=t.children,p=t.className,b=t.danger,v=t.disabled,m=t.external,h=t.hideExternalIndicator,y=t.href,_=t.inverse,O=t.onClick,S=t.small,E=t.to,k=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","onClick","small","to"]),w=y||E||!O?E?"ROUTER_LINK":m?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",j="BUTTON"===w||"BUTTON_DISABLED"===w?"button":"ROUTER_LINK"===w?d.b:"a",T=("EXTERNAL_LINK"===w&&(n=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===w&&(n=Object(f._x)("(disabled)","screen reader text","google-site-kit")),n?i?"".concat(i," ").concat(n):"string"==typeof g?"".concat(g," ").concat(n):void 0:i);return e.createElement(j,a()({"aria-label":T,className:l()("googlesitekit-cta-link",p,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":m&&!h,"googlesitekit-cta-link--inverse":_,"googlesitekit-cta-link--back":s,"googlesitekit-cta-link--small":S,"googlesitekit-cta-link--caps":u,"googlesitekit-cta-link--danger":b,"googlesitekit-cta-link--disabled":v}),disabled:v,href:"LINK"===w||"EXTERNAL_LINK"===w?y:void 0,onClick:O,rel:"EXTERNAL_LINK"===w?"noopener noreferrer":void 0,ref:r,target:"EXTERNAL_LINK"===w?"_blank":void 0,to:E},k),g)}));p.propTypes={arrow:s.a.bool,back:s.a.bool,caps:s.a.bool,children:s.a.node,className:s.a.string,danger:s.a.bool,disabled:s.a.bool,external:s.a.bool,hideExternalIndicator:s.a.bool,href:s.a.string,inverse:s.a.bool,onClick:s.a.func,small:s.a.bool,to:s.a.string},p.defaultProps={arrow:!1,back:!1,caps:!1,className:"",danger:!1,disabled:!1,external:!1,hideExternalIndicator:!1,href:"",inverse:!1,small:!1},t.a=p}).call(this,r(3))},23:function(e,t,r){"use strict";r.d(t,"g",(function(){return n})),r.d(t,"k",(function(){return a})),r.d(t,"i",(function(){return i})),r.d(t,"l",(function(){return o})),r.d(t,"m",(function(){return c})),r.d(t,"o",(function(){return s})),r.d(t,"e",(function(){return u})),r.d(t,"h",(function(){return l})),r.d(t,"f",(function(){return d})),r.d(t,"n",(function(){return f})),r.d(t,"p",(function(){return g})),r.d(t,"j",(function(){return p})),r.d(t,"d",(function(){return b})),r.d(t,"a",(function(){return v})),r.d(t,"c",(function(){return m})),r.d(t,"b",(function(){return h}));var n="dashboard",a="pageDashboard",i="dashboardViewOnly",o="pageDashboardViewOnly",c="postsList",s="userInput",u="activation",l="splash",d="adminBar",f="settings",g="wpDashboard",p="moduleSetup",b="traffic",v="content",m="speed",h="monetization"},253:function(e,t,r){"use strict";var n=r(2);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("path",{d:"M16.666 7.5V5H15v2.5h-2.5v1.666H15v2.5h1.666v-2.5h2.5V7.5h-2.5zM7.5 10a3.332 3.332 0 100-6.667A3.332 3.332 0 107.5 10zm0-5c.916 0 1.666.75 1.666 1.666 0 .917-.75 1.667-1.666 1.667-.917 0-1.667-.75-1.667-1.667C5.833 5.75 6.583 5 7.5 5zm5.325 7.133c-1.4-.717-3.217-1.3-5.325-1.3-2.109 0-3.925.583-5.325 1.3A2.476 2.476 0 00.833 14.35v2.316h13.333V14.35c0-.934-.508-1.792-1.341-2.217zM12.5 15h-10v-.65c0-.317.166-.6.433-.734A10.09 10.09 0 017.5 12.5c1.975 0 3.575.608 4.566 1.116a.81.81 0 01.434.734V15z",fill:"currentColor"});t.a=function SvgShare(e){return n.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},29:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a}));var n="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},31:function(e,t){e.exports=googlesitekit.api},32:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return y})),r.d(t,"b",(function(){return h}));var n=r(86),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,s=a.trackingEnabled,u=a.trackingID,l=a.referenceSiteURL,d=a.userIDHash,f=a.isAuthenticated,g={activeModules:o,trackingEnabled:s,trackingID:u,referenceSiteURL:l,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:f,pluginVersion:"1.79.0"},p=Object(n.a)(g),b=p.enableTracking,v=p.disableTracking,m=(p.isTrackingEnabled,p.initializeSnippet),h=p.trackEvent;function y(e){e?b():v()}c&&s&&m()}).call(this,r(21))},326:function(e,t,r){"use strict";(function(e){var n=r(1),a=r(33),i=(e._googlesitekitUserData||{}).hasMultipleAdmins,o=[{target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--view",title:Object(n.__)("Manage view access for other roles","google-site-kit"),content:Object(n.__)("Grant access to the view-only dashboard for each service for the specific roles you want. Users will see the Site Kit dashboard with only the services that have been shared with them without needing to sign-in with Google.","google-site-kit"),placement:"auto"}];i&&o.push({target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--manage",title:Object(n.__)("Share management with other admins","google-site-kit"),content:Object(n.__)("By default only the user who connects a service can control who it is shared with. This setting optionally lets these users allow any other admin signed in with Google to manage the roles a service is shared with.","google-site-kit"),placement:"auto"}),t.a={slug:"dashboardSharingSettings",gaEventCategory:function(e){return"".concat(e,"_dashboard-sharing")},checkRequirements:function(){return Object(a.b)("dashboardSharing")},steps:o}}).call(this,r(21))},33:function(e,t,r){"use strict";(function(e){var n,a;r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return o}));var i=new Set((null===(n=e)||void 0===n||null===(a=n._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,r(21))},335:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return D})),r.d(t,"b",(function(){return DashboardSharingSettingsButton}));var n=r(478),a=r(1),i=r(162),o=r(613),c=r(2),s=r(76),u=r(4),l=r.n(u),d=r(22),f=r(18),g=r(95),p=r(253),b=r(363),v=r(20),m=r(365),h=r(10),y=r(34),_=r(15),O=r(16),S=r(43),E=r(9),k=r(136),w=r(12),j=r(326),T=l.a.useSelect,I=l.a.useDispatch,D="dashboardSharingDialogOpen";function DashboardSharingSettingsButton(){var t=Object(v.a)(),r=Object(S.e)(),u=Object(n.a)().y,l=I(y.b).setValue,x=T((function(e){return!!e(y.b).getValue(D)})),R=T((function(e){return e(_.c).hasMultipleAdmins()})),N=T((function(e){return e(O.a).haveSharingSettingsChanged()})),C=T((function(e){return e(y.b).getValue(k.a)})),A=Object(c.useCallback)((function(){Object(h.y)("".concat(t,"_headerbar"),"open_sharing",R?"advanced":"simple"),l(D,!0)}),[l,t,R]),P=Object(c.useCallback)((function(){l(D,!1),l(k.a,void 0)}),[l]),U=I(O.a).rollbackSharingSettings;Object(c.useEffect)((function(){!x&&N&&U()}),[x,N,U]);var L=Object(c.useRef)(),V=I(w.a).triggerOnDemandTour;Object(c.useEffect)((function(){x&&!L.current&&(L.current=!0,V(j.a))}),[x,V]);var M={};return r===S.b&&(M.top="".concat(u<46?46-u:0,"px"),M.height="calc(100% - 46px + ".concat(u<46?u:46,"px)")),e.createElement(c.Fragment,null,e.createElement(f.a,{"aria-label":Object(a.__)("Open sharing settings","google-site-kit"),className:"googlesitekit-sharing-settings__button googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon",onClick:A,icon:e.createElement(p.a,{width:20,height:20})}),e.createElement(g.a,null,e.createElement(E.b,{open:x,onClose:P,className:"googlesitekit-dialog googlesitekit-sharing-settings-dialog",style:M,escapeKeyAction:void 0===C?"close":""},e.createElement("div",{className:"googlesitekit-dialog__back-wrapper","aria-hidden":r!==S.b},e.createElement(f.a,{"aria-label":Object(a.__)("Back","google-site-kit"),className:"googlesitekit-dialog__back",onClick:P},e.createElement(i.a,{icon:o.a}))),e.createElement(E.c,{className:"googlesitekit-dialog__content"},e.createElement("div",{className:"googlesitekit-dialog__header"},e.createElement("div",{className:"googlesitekit-dialog__header-icon","aria-hidden":r===S.b},e.createElement("span",null,e.createElement(p.a,{width:20,height:20}))),e.createElement("div",{className:"googlesitekit-dialog__header-titles"},e.createElement("h2",{className:"googlesitekit-dialog__title"},Object(a.__)("Dashboard sharing & permissions","google-site-kit")),e.createElement("p",{className:"googlesitekit-dialog__subtitle"},Object(s.a)(Object(a.__)("Share a view-only version of your Site Kit dashboard with other WordPress roles. <a>Learn more</a>","google-site-kit"),{a:e.createElement(d.a,{"aria-label":Object(a.__)("Learn more about dashboard sharing","google-site-kit"),href:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",external:!0})})))),e.createElement("div",{className:"googlesitekit-dialog__main"},e.createElement(m.a,null))),e.createElement(E.d,{className:"googlesitekit-dialog__footer"},e.createElement(b.a,{closeDialog:P})))))}}).call(this,r(3))},34:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return a}));var n="core/ui",a="activeContextID"},35:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(e){return e instanceof Date&&!isNaN(e)}},362:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return v}));var n=r(5),a=r.n(n),i=r(6),o=r.n(i),c=r(7),s=r.n(c),u=r(31),l=r.n(u),d=r(4),f=r.n(d),g=r(42);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 b(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=function(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=i.client,u=void 0===c||c,d=i.server,p=void 0===d||d,v=i.storeName,m=void 0===v?void 0:v;s()(t,"type is required."),s()(r,"identifier is required."),s()(n,"datapoint is required.");var h=m||"".concat(t,"/").concat(r),y={serverNotifications:p?void 0:{},clientNotifications:u?void 0:{}},_=Object(g.a)({baseName:"getNotifications",controlCallback:function(){return l.a.get(t,r,n)},reducerCallback:function(e,t){return b(b({},e),{},{serverNotifications:t.reduce((function(e,t){return b(b({},e),{},o()({},t.id,t))}),{})})}}),O={addNotification:function(e){return s()(e,"notification is required."),{payload:{notification:e},type:"ADD_NOTIFICATION"}},removeNotification:function(e){return s()(e,"id is required."),{payload:{id:e},type:"REMOVE_NOTIFICATION"}}},S={},E=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y,r=arguments.length>1?arguments[1]:void 0,n=r.type,a=r.payload;switch(n){case"ADD_NOTIFICATION":var i=a.notification;return b(b({},t),{},{clientNotifications:b(b({},t.clientNotifications||{}),{},o()({},i.id,i))});case"REMOVE_NOTIFICATION":var c=a.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 s=b({},t.clientNotifications);return delete s[c],b(b({},t),{},{clientNotifications:s});default:return t}},k={getNotifications:a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_.actions.fetchGetNotifications();case 2:case"end":return e.stop()}}),e)}))};p||delete k.getNotifications;var w={getNotifications:function(e){var t=e.serverNotifications,r=e.clientNotifications;return void 0===t&&void 0===r?t:Object.values(b(b({},t||{}),r||{}))}},j=f.a.combineStores(_,{initialState:y,actions:O,controls:S,reducer:E,resolvers:k,selectors:w});return b(b({},j),{},{STORE_NAME:h})}}).call(this,r(21))},363:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return Footer}));var n=r(5),a=r.n(n),i=r(14),o=r.n(i),c=r(13),s=r.n(c),u=r(0),l=r.n(u),d=r(1),f=r(2),g=r(4),p=r.n(g),b=r(22),v=r(18),m=r(364),h=r(16),y=r(34),_=r(81),O=r(136),S=r(90),E=r(10),k=r(20),w=p.a.useSelect,j=p.a.useDispatch;function Footer(t){var r=t.closeDialog,n=Object(k.a)(),i=Object(f.useState)(null),c=s()(i,2),u=c[0],l=c[1],g=w((function(e){return e(h.a).canSubmitSharingChanges()})),p=w((function(e){return e(h.a).isDoingSubmitSharingChanges()})),T=j(h.a).saveSharingSettings,I=j(y.b).setValue,D=Object(f.useCallback)(o()(a.a.mark((function e(){var t,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l(null),e.next=3,T();case 3:if(t=e.sent,!(i=t.error)){e.next=8;break}return l(i.message),e.abrupt("return");case 8:Object(E.y)("".concat(n,"_sharing"),"settings_confirm"),I(O.a,void 0),r();case 11:case"end":return e.stop()}}),e)}))),[n,T,I,r]),x=Object(f.useCallback)((function(){Object(E.y)("".concat(n,"_sharing"),"settings_cancel"),r()}),[r,n]);return e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer"},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-notice"},u&&e.createElement(S.a,{message:u}),!u&&e.createElement(m.a,null)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions"},e.createElement(b.a,{onClick:x},Object(d.__)("Cancel","google-site-kit")),e.createElement(v.a,{onClick:D,disabled:p||!g},Object(d.__)("Apply","google-site-kit"),p&&e.createElement(_.a,{isSaving:p}))))}Footer.propTypes={closeDialog:l.a.func.isRequired}}).call(this,r(3))},364:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return Notice}));var n=r(1),a=r(76),i=r(4),o=r.n(i),c=r(16),s=o.a.useSelect;function Notice(){var t=s((function(e){return e(c.a).canSubmitSharingChanges()})),r=s((function(e){return e(c.a).haveSharingSettingsExpanded("management")})),i=s((function(e){return e(c.a).haveSharingSettingsExpanded("sharedRoles")}));return e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__notice"},r&&t&&Object(a.a)(Object(n.__)("By clicking <strong>Apply</strong>, you will give other authenticated admins of your site permission to manage view-only access to Site Kit Dashboard data from the chosen Google service.","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),!r&&t&&i&&Object(a.a)(Object(n.__)("By clicking <strong>Apply</strong>, you’re granting the selected roles view-only access to data from the Google services you’ve connected via your account.","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}))}}).call(this,r(3))},365:function(e,t,r){"use strict";(function(e,n){r.d(t,"a",(function(){return DashboardSharingSettings}));var a=r(8),i=r.n(a),o=r(1),c=r(4),s=r.n(c),u=r(366),l=r(16),d=r(15),f=r(12);function g(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 p(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 p(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw i}}}}function p(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 b=s.a.useSelect;function DashboardSharingSettings(){var t=b((function(e){return e(d.c).hasMultipleAdmins()})),r=b((function(t){var r=t(l.a).getModules();if(void 0!==r){var n,a=t(f.a).getID(),i=[],o=[],c=[],s=g(Object.values(r).filter((function(e){return e.shareable})));try{for(s.s();!(n=s.n()).done;){var u;(null===(u=(e=n.value).owner)||void 0===u?void 0:u.id)===a?i.push(e):t(f.a).hasCapability(f.e,e.slug)?o.push(e):c.push(e)}}catch(e){s.e(e)}finally{s.f()}return[].concat(i,o,c)}}));return void 0===r?null:n.createElement("div",{className:i()("googlesitekit-dashboard-sharing-settings",{"googlesitekit-dashboard-sharing-settings--has-multiple-admins":t})},n.createElement("header",{className:"googlesitekit-dashboard-sharing-settings__header googlesitekit-dashboard-sharing-settings__row"},n.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},Object(o.__)("Product","google-site-kit")),n.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},Object(o.__)("Who can view","google-site-kit")),t&&n.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},Object(o.__)("Who can manage view access","google-site-kit"))),n.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__main"},r.map((function(e){var t=e.slug,r=e.name,a=e.owner;return n.createElement(u.a,{key:t,moduleSlug:t,moduleName:r,ownerUsername:null==a?void 0:a.login})}))))}}).call(this,r(483)(e),r(3))},366:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return Module}));var n=r(13),a=r.n(n),i=r(0),o=r.n(i),c=r(8),s=r.n(c),u=r(210),l=r(1),d=r(162),f=r(435),g=r(2),p=r(76),b=r(4),v=r.n(b),m=r(145),h=r(367),y=r(9),_=r(20),O=r(16),S=r(15),E=r(34),k=r(136),w=r(10),j=r(12),T=v.a.useSelect,I=v.a.useDispatch,D=[{value:"owner",label:Object(l.__)("Only me","google-site-kit")},{value:"all_admins",label:Object(l.__)("Any admin signed in with Google","google-site-kit")}];function Module(t){var r=t.moduleSlug,n=t.moduleName,i=t.ownerUsername,o=Object(_.a)(),c=Object(g.useRef)(),b=Object(g.useState)(void 0),v=a()(b,2),x=v[0],R=v[1],N=T((function(e){return e(S.c).hasMultipleAdmins()})),C=T((function(e){var t;return null!==(t=e(O.a).getSharingManagement(r))&&void 0!==t?t:"owner"})),A=T((function(e){return e(j.a).hasCapability(j.d,r)})),P=T((function(e){return e(j.a).hasCapability(j.e,r)})),U=T((function(e){return e(O.a).getSharedOwnershipModules()})),L=T((function(e){return e(E.b).getValue(k.a)})),V=T((function(e){return e(O.a).isDoingSubmitSharingChanges()})),M=I(O.a).setSharingManagement,F=U&&Object.keys(U).includes(r);Object(g.useEffect)((function(){R(F?"all_admins":C)}),[C,F]);var q=Object(g.useCallback)((function(e){var t=e.target.value;R(t),M(r,t),Object(w.y)("".concat(o,"_sharing"),"change_management_".concat(t),r)}),[M,R,r,o]),G=r===L,H=!G&&void 0!==L||V;return e.createElement("div",{className:s()("googlesitekit-dashboard-sharing-settings__module","googlesitekit-dashboard-sharing-settings__row",{"googlesitekit-dashboard-sharing-settings__row--editing":G,"googlesitekit-dashboard-sharing-settings__row--disabled":H}),ref:c},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},e.createElement(m.a,{slug:r,size:48}),e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__module-name"},n)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},P&&e.createElement(h.a,{moduleSlug:r,isLocked:H,ref:c}),!P&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(l.__)("Contact managing user to manage view access","google-site-kit"))),N&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},F&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},e.createElement("span",null,Object(l.__)("Any admin signed in with Google","google-site-kit")),e.createElement(u.a,{title:Object(l.__)("This service requires general access to Google APIs rather than access to a specific user-owned property/entity, so view access is manageable by any admin signed in with Google.","google-site-kit"),classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(d.a,{icon:f.a,size:18})))),!F&&A&&e.createElement(y.p,{className:"googlesitekit-dashboard-sharing-settings__select",value:x,options:D,onChange:q,onClick:q,outlined:!0}),!F&&!A&&i&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(p.a)(Object(l.sprintf)(
2
  /* translators: %s: user who manages the module. */
3
  Object(l.__)("<span>Managed by</span> <strong>%s</strong>","google-site-kit"),i),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),e.createElement(u.a,{title:P?Object(l.sprintf)(
4
  /* translators: %s: name of the user who manages the module. */
5
  Object(l.__)("%s has connected this and given managing permissions to all admins. You can change who can view this on the dashboard.","google-site-kit"),i):Object(l.sprintf)(
6
  /* translators: %s: name of the user who manages the module. */
7
- Object(l.__)("Contact %s to change who can manage view access for this module.","google-site-kit"),i),classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(d.a,{icon:f.a,size:18}))))))}Module.propTypes={moduleSlug:o.a.string.isRequired,moduleName:o.a.string.isRequired,ownerUsername:o.a.string}}).call(this,r(3))},367:function(e,t,r){"use strict";(function(e){var n=r(24),a=r.n(n),i=r(13),o=r.n(i),c=r(0),s=r.n(c),u=r(8),l=r.n(u),d=r(141),f=r(127),g=r.n(f),p=r(1),b=r(57),v=r(2),m=r(4),h=r.n(m),y=r(18),_=r(22),O=r(253),S=r(142),E=r(20),k=r(131),w=r(10),j=r(16),T=r(34),I=r(136),D=h.a.useSelect,x=h.a.useDispatch,R=Object(p.__)("All","google-site-kit"),N=Object(v.forwardRef)((function(t,r){var n=t.moduleSlug,i=t.isLocked,c=void 0!==i&&i,s=Object(E.a)(),u=Object(v.useRef)(),f=Object(v.useState)([]),m=o()(f,2),h=m[0],N=m[1],C=x(j.a).setSharedRoles,A=x(T.b).setValue,P=D((function(e){return e(j.a).getShareableRoles()})),U=D((function(e){return e(j.a).getSharedRoles(n)})),L=D((function(e){return e(T.b).getValue(I.a)}))===n;Object(k.a)([b.d],r,(function(){L&&(A(I.a,void 0),u.current.focus())}));var V=Object(v.useCallback)((function(){L?(N(a()(U||[]).sort()),A(I.a,void 0)):(g()(a()(U||[]).sort(),h)||Object(w.y)("".concat(s,"_sharing"),"change_shared_roles",n),A(I.a,n))}),[L,U,h,s,n,A]),M=Object(v.useCallback)((function(e){var t,r=e.type,i=e.target,o=e.keyCode;if("keyup"!==r||o===b.c){var c,s=i.closest(".mdc-chip"),u=null==s||null===(t=s.dataset)||void 0===t?void 0:t.chipId;if(u)c="all"===u?(null==U?void 0:U.length)===(null==P?void 0:P.length)?[]:P.map((function(e){return e.id})):null===U?[u]:U.includes(u)?U.filter((function(e){return e!==u})):[].concat(a()(U),[u]),C(n,c)}}),[n,C,U,P]);return P?e.createElement("div",{className:l()("googlesitekit-user-role-select",{"googlesitekit-user-role-select--open":L})},e.createElement(y.a,{"aria-label":L?Object(p.__)("Close","google-site-kit"):Object(p.__)("Edit roles","google-site-kit"),className:"googlesitekit-user-role-select__button",onClick:V,icon:L?e.createElement(S.a,{width:18,height:18}):e.createElement(O.a,{width:23,height:23}),tabIndex:c?-1:void 0,ref:u}),!L&&(null==U?void 0:U.length)>0&&e.createElement("span",{className:"googlesitekit-user-role-select__current-roles"},(null==P?void 0:P.reduce((function(e,t){return U.includes(t.id)&&e.push(t.displayName),e}),[])).join(", ")),!L&&(!U||0===(null==U?void 0:U.length))&&e.createElement("span",{className:"googlesitekit-user-role-select__add-roles"},e.createElement(_.a,{onClick:function(){u.current.focus(),V()},tabIndex:c?-1:void 0},Object(p.__)("Add roles","google-site-kit"))),L&&e.createElement("div",{className:"googlesitekit-user-role-select__chipset"},e.createElement(d.Chip,{chipCheckmark:e.createElement(d.ChipCheckmark,null),"data-chip-id":"all",id:"all",label:R,onClick:M,onKeyUp:M,selected:(null==U?void 0:U.length)===(null==P?void 0:P.length),className:"googlesitekit-user-role-select__chip googlesitekit-user-role-select__chip--all"}),P.map((function(t,r){var n=t.id,a=t.displayName;return e.createElement(d.Chip,{chipCheckmark:e.createElement(d.ChipCheckmark,null),"data-chip-id":n,id:n,key:r,label:a,onClick:M,onKeyUp:M,selected:null==U?void 0:U.includes(n),className:"googlesitekit-user-role-select__chip"})})))):null}));N.propTypes={moduleSlug:s.a.string.isRequired,isLocked:s.a.bool},t.a=N}).call(this,r(3))},37:function(e,t,r){"use strict";r.d(t,"t",(function(){return a})),r.d(t,"i",(function(){return i})),r.d(t,"m",(function(){return o})),r.d(t,"k",(function(){return c})),r.d(t,"l",(function(){return s})),r.d(t,"j",(function(){return u})),r.d(t,"p",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"c",(function(){return f})),r.d(t,"d",(function(){return g})),r.d(t,"b",(function(){return p})),r.d(t,"e",(function(){return b})),r.d(t,"g",(function(){return v})),r.d(t,"f",(function(){return m})),r.d(t,"h",(function(){return h})),r.d(t,"o",(function(){return y})),r.d(t,"n",(function(){return _})),r.d(t,"r",(function(){return O})),r.d(t,"s",(function(){return S})),r.d(t,"q",(function(){return E}));var n=r(23),a="modules/idea-hub",i="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",s="IDEA_HUB_BUTTON_UNPIN",u="IDEA_HUB_BUTTON_DELETE",l=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",g="IDEA_HUB_ACTIVITY_IS_DELETING",p="IDEA_HUB_ACTIVITY_DELETED",b="IDEA_HUB_ACTIVITY_IS_PINNING",v="IDEA_HUB_ACTIVITY_PINNED",m="IDEA_HUB_ACTIVITY_IS_UNPINNING",h="IDEA_HUB_ACTIVITY_UNPINNED",y="".concat(n.p,"_idea-hub-saved-ideas-notification"),_="".concat(n.m,"_idea-hub"),O="new-ideas",S="saved-ideas",E="draft-ideas"},4:function(e,t){e.exports=googlesitekit.data},41:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(35),a=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))}},42:function(e,t,r){"use strict";r.d(t,"a",(function(){return O}));var n=r(5),a=r.n(n),i=r(6),o=r.n(i),c=r(7),s=r.n(c),u=r(54),l=r.n(u),d=r(49),f=r(74),g=r(10);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 b(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=function(e){return e},m=function(){return{}},h=function(){},y=d.a.clearError,_=d.a.receiveError,O=function(e){var t,r,n=a.a.mark(P),i=e.baseName,c=e.controlCallback,u=e.reducerCallback,d=void 0===u?v:u,p=e.argsToParams,O=void 0===p?m:p,S=e.validateParams,E=void 0===S?h:S;s()(i,"baseName is required."),s()("function"==typeof c,"controlCallback is required and must be a function."),s()("function"==typeof d,"reducerCallback must be a function."),s()("function"==typeof O,"argsToParams must be a function."),s()("function"==typeof E,"validateParams must be a function.");try{E(O()),r=!1}catch(e){r=!0}var k=Object(f.b)(i),w=Object(f.a)(i),j="FETCH_".concat(w),T="START_".concat(j),I="FINISH_".concat(j),D="CATCH_".concat(j),x="RECEIVE_".concat(w),R="fetch".concat(k),N="receive".concat(k),C="isFetching".concat(k),A=o()({},C,{});function P(e,t){var r,o;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,{payload:{params:e},type:T};case 2:return n.next=4,y(i,t);case 4:return n.prev=4,n.next=7,{payload:{params:e},type:j};case 7:return r=n.sent,n.next=10,U[N](r,e);case 10:return n.next=12,{payload:{params:e},type:I};case 12:n.next=23;break;case 14:return n.prev=14,n.t0=n.catch(4),o=n.t0,n.next=19,_(o,i,t);case 19:return n.next=21,_(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=O.apply(void 0,t);return E(n),P(n,t)})),o()(t,N,(function(e,t){return s()(void 0!==e,"response is required."),r?(s()(l()(t),"params is required."),E(t)):t={},{payload:{response:e,params:t},type:x}})),t),L=o()({},j,(function(e){var t=e.payload;return c(t.params)})),V=o()({},C,(function(e){if(void 0===e[C])return!1;var t;try{for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];t=O.apply(void 0,n),E(t)}catch(e){return!1}return!!e[C][Object(g.x)(t)]}));return{initialState:A,actions:U,controls:L,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case T:var a=n.params;return b(b({},e),{},o()({},C,b(b({},e[C]),{},o()({},Object(g.x)(a),!0))));case x:var i=n.response,c=n.params;return d(e,i,c);case I:var s=n.params;return b(b({},e),{},o()({},C,b(b({},e[C]),{},o()({},Object(g.x)(s),!1))));case D:var u=n.params;return b(b({},e),{},o()({},C,b(b({},e[C]),{},o()({},Object(g.x)(u),!1))));default:return e}},resolvers:{},selectors:V}}},43:function(e,t,r){"use strict";r.d(t,"d",(function(){return a})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"b",(function(){return c})),r.d(t,"e",(function(){return s}));var n=r(129),a="xlarge",i="desktop",o="tablet",c="small";function s(){var e=Object(n.a)();return e>1280?a:e>960?i:e>600?o:c}},44:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return m})),r.d(t,"d",(function(){return h})),r.d(t,"a",(function(){return y})),r.d(t,"c",(function(){return _}));var n=r(5),a=r.n(n),i=r(14),o=r.n(i),c=(r(24),r(10));function s(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,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw i}}}}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 l,d="googlesitekit_".concat("1.79.0","_"),f=["sessionStorage","localStorage"],g=[].concat(f),p=function(){var t=o()(a.a.mark((function t(r){var n,i;return a.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,i="__storage_test__",n.setItem(i,i),n.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!==n.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function b(){return v.apply(this,arguments)}function v(){return(v=o()(a.a.mark((function t(){var r,n,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:r=s(g),t.prev=3,r.s();case 5:if((n=r.n()).done){t.next=15;break}if(i=n.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),r.e(t.t0);case 20:return t.prev=20,r.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 m=function(){var e=o()(a.a.mark((function e(t){var r,n,i,o,c,s,u;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!(r=e.sent)){e.next=10;break}if(!(n=r.getItem("".concat(d).concat(t)))){e.next=10;break}if(i=JSON.parse(n),o=i.timestamp,c=i.ttl,s=i.value,u=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:u});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)}}(),h=function(){var t=o()(a.a.mark((function t(r,n){var i,o,s,u,l,f,g,p,v=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},o=i.ttl,s=void 0===o?c.b:o,u=i.timestamp,l=void 0===u?Math.round(Date.now()/1e3):u,f=i.isError,g=void 0!==f&&f,t.next=3,b();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(d).concat(r),JSON.stringify({timestamp:l,ttl:s,value:n,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,r){return t.apply(this,arguments)}}(),y=function(){var t=o()(a.a.mark((function t(r){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(n=t.sent)){t.next=13;break}return t.prev=4,n.removeItem("".concat(d).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)}}(),_=function(){var t=o()(a.a.mark((function t(){var r,n,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(r=t.sent)){t.next=14;break}for(t.prev=4,n=[],i=0;i<r.length;i++)0===(o=r.key(i)).indexOf(d)&&n.push(o.substring(d.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(21))},48:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(29);function a(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},49:function(e,t,r){"use strict";r.d(t,"a",(function(){return b})),r.d(t,"b",(function(){return v}));var n=r(6),a=r.n(n),i=r(28),o=r.n(i),c=r(7),s=r.n(c),u=r(77),l=r.n(u),d=r(10);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 g(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 p(e,t){if(t&&Array.isArray(t)){var r=t.map((function(e){return"object"===o()(e)?Object(d.x)(e):e}));return"".concat(e,"::").concat(l()(JSON.stringify(r)))}return e}var b={receiveError:function(e,t,r){return s()(e,"error is required."),t&&s()(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&&s()(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 v(e){s()(e,"storeName must be defined.");var t={getErrorForSelector:function(r,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];s()(n,"selectorName is required.");var i=t.getError(r,n,a);if(i)return g(g({},i),{},{selectorData:{storeName:e,name:n,args:a}})},getErrorForAction:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(r,"actionName is required."),t.getError(e,r,n)},getError:function(e,t,r){var n=e.error,a=e.errors;return t||r?(s()(t,"baseName is required."),a[p(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(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},error:void 0},actions:b,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_ERROR":var i=n.baseName,o=n.args,c=n.error;return g(g({},e),{},i?{errors:g(g({},e.errors||{}),{},a()({},p(i,o),c))}:{error:c});case"CLEAR_ERROR":var s=n.baseName,u=n.args,l=g({},e);if(s){var d=p(s,u);l.errors=g({},e.errors||{}),delete l.errors[d]}else l.error=void 0;return l;case"CLEAR_ERRORS":var f=n.baseName,b=g({},e);if(f)for(var v in b.errors=g({},e.errors||{}),b.errors)(v===f||v.startsWith("".concat(f,"::")))&&delete b.errors[v];else b.errors={},b.error=void 0;return b;default:return e}},resolvers:{},selectors:t}}},50:function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return i})),r.d(t,"d",(function(){return o})),r.d(t,"c",(function(){return c})),r.d(t,"e",(function(){return s}));var n=r(111);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(n.a)(e))return e;if(e.length<=t)return e;var r=new URL(e),a=e.replace(r.origin,"");if(a.length<t)return a;var i=a.length-Math.floor(t)+1;return"…"+a.substr(i)}},58:function(e,t,r){"use strict";r.d(t,"d",(function(){return n})),r.d(t,"c",(function(){return a})),r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return o})),r.d(t,"e",(function(){return c})),r.d(t,"g",(function(){return d})),r.d(t,"h",(function(){return v})),r.d(t,"i",(function(){return m})),r.d(t,"j",(function(){return p.a})),r.d(t,"f",(function(){return y})),r.d(t,"k",(function(){return b}));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".',i=3600,o=86400,c=604800,s=r(7),u=r.n(s),l=r(35),d=function(e){var t=new Date(e);u()(Object(l.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("-")},f=r(13),g=r.n(f),p=r(41),b=function(e){u()(Object(p.a)(e),n);var t=e.split("-"),r=g()(t,3),a=r[0],i=r[1],o=r[2];return new Date(a,i-1,o)},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r=b(e);return r.setDate(r.getDate()-t),d(r)},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]};var h=r(1);function y(){var e=function(e){return Object(h.sprintf)(
8
  /* translators: %s: number of days */
9
  Object(h._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}}}},61:function(e,t,r){"use strict";(function(e){var n=r(0),a=r.n(n),i=r(8),o=r.n(i);function ChangeArrow(t){var r=t.direction,n=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),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,r(3))},63:function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return c}));var n=r(28),a=r.n(n),i=r(73),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,r="object"===a()(e)?e.toString():e;return null==r||null===(t=r.replace)||void 0===t?void 0:t.call(r,/\/+$/,"")}},67:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(2),a=Object(n.createContext)(""),i=(a.Consumer,a.Provider);t.b=a},69:function(e,t,r){"use strict";r.d(t,"a",(function(){return T})),r.d(t,"b",(function(){return I})),r.d(t,"c",(function(){return D})),r.d(t,"d",(function(){return R})),r.d(t,"e",(function(){return N})),r.d(t,"g",(function(){return A})),r.d(t,"f",(function(){return P}));var n,a=r(5),i=r.n(a),o=r(24),c=r.n(o),s=r(6),u=r.n(s),l=r(7),d=r.n(l),f=r(207),g=r.n(f),p=r(70),b=r.n(p),v=r(100);function m(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?m(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y=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 h(h({},e),t)}),{}),a=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),i=x(a);return d()(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},_=y,O=y,S=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,a=[].concat(t);return"function"!=typeof a[0]&&(n=a.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 a.reduce((function(e,r){return r(e,t)}),e)}},E=y,k=y,w=y,j=function(e){return e},T=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=w.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:n,controls:O.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:_.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:S.apply(void 0,[n].concat(c()(t.map((function(e){return e.reducer||j}))))),resolvers:E.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:k.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},I={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={},u()(n,"GET_REGISTRY",Object(v.d)((function(e){return function(){return e}}))),u()(n,"AWAIT",(function(e){return e.payload.value})),n),x=function(e){for(var t=[],r={},n=0;n<e.length;n++){var a=e[n];r[a]=r[a]>=1?r[a]+1:1,r[a]>1&&t.push(a)}return t},R={actions:I,controls:D,reducer:j},N=function(e){return function(t){return C(e(t))}},C=b()((function(e){return g()(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return d()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.negate,n=void 0!==r&&r,a=Object(v.e)((function(t){return function(r){var a=!n,i=!!n;try{for(var o=arguments.length,c=new Array(o>1?o-1:0),s=1;s<o;s++)c[s-1]=arguments[s];return e.apply(void 0,[t,r].concat(c)),a}catch(e){return i}}})),i=Object(v.e)((function(t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];e.apply(void 0,[t,r].concat(a))}}));return{safeSelector:a,dangerousSelector:i}}function P(e,t){return d()("function"==typeof e,"a validator function is required."),d()("function"==typeof t,"an action creator function is required."),d()("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)}}},719:function(e,t,r){"use strict";(function(e){var n,a=r(5),i=r.n(a),o=r(14),c=r.n(o),s=r(30),u=r(1),l=r(23),d=r(16),f=r(37),g={slug:"ideaHubModule",contexts:[l.g,l.i],version:"1.43.0",checkRequirements:(n=c()(i.a.mark((function e(t){var r,n,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.__experimentalResolveSelect(d.a).getModules();case 2:if(r=t.select(d.a).isModuleActive("idea-hub"),n=t.select(d.a).isModuleConnected("idea-hub"),r&&n){e.next=6;break}return e.abrupt("return",!1);case 6:return e.next=8,t.__experimentalResolveSelect(f.t).getNewIdeas();case 8:return a=e.sent,e.abrupt("return",!!a.length);case 10:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)}),steps:[{target:".googlesitekit-widget--ideaHubIdeas",title:Object(u.__)("Get inspiration for new topics to write about!","google-site-kit"),content:Object(u.__)("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(u.__)("Start a draft","google-site-kit"),content:Object(u.__)("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(u.__)("Save for later or dismiss","google-site-kit"),content:Object(u.__)('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:function(e){return"".concat(e,"_idea-hub-widget")},callback:function(t){var r=t.type,n=t.index;if([s.b.STEP_BEFORE,s.b.STEP_AFTER].includes(r)&&2===n){var a="googlesitekit-idea-hub__actions--unhide",i=e.document.querySelector(".googlesitekit-idea-hub__actions--pin"),o=e.document.querySelector(".googlesitekit-idea-hub__actions--delete");i&&o&&(r===s.b.STEP_BEFORE&&(i.classList.add(a),o.classList.add(a)),r===s.b.STEP_AFTER&&(i.classList.remove(a),o.classList.remove(a)))}}};t.a=g}).call(this,r(21))},72:function(e,t,r){"use strict";(function(e){r.d(t,"c",(function(){return O})),r.d(t,"d",(function(){return E})),r.d(t,"b",(function(){return k})),r.d(t,"a",(function(){return w}));var n=r(13),a=r.n(n),i=r(28),o=r.n(i),c=r(6),s=r.n(c),u=r(19),l=r.n(u),d=r(25),f=r(70),g=r.n(f),p=r(1);function b(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?b(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=h(e,t),n=r.formatUnit,a=r.formatDecimal;try{return n()}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 r=Math.floor(e/60/60),n=Math.floor(e/60%60),a=Math.floor(e%60);return{hours:r,minutes:n,seconds:a,formatUnit:function(){var i=t.unitDisplay,o=v(v({unitDisplay:void 0===i?"short":i},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?E(a,v(v({},o),{},{unit:"second"})):Object(p.sprintf)(
10
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
1
+ (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[14],{1:function(e,t){e.exports=googlesitekit.i18n},10:function(e,t,r){"use strict";r.d(t,"y",(function(){return c.b})),r.d(t,"v",(function(){return s.a})),r.d(t,"z",(function(){return s.b})),r.d(t,"x",(function(){return g})),r.d(t,"f",(function(){return p.a})),r.d(t,"m",(function(){return p.b})),r.d(t,"t",(function(){return b.c})),r.d(t,"u",(function(){return b.d})),r.d(t,"q",(function(){return b.b})),r.d(t,"l",(function(){return b.a})),r.d(t,"r",(function(){return y})),r.d(t,"g",(function(){return _})),r.d(t,"b",(function(){return O.b})),r.d(t,"a",(function(){return O.a})),r.d(t,"c",(function(){return O.e})),r.d(t,"i",(function(){return O.f})),r.d(t,"w",(function(){return O.k})),r.d(t,"j",(function(){return S.b})),r.d(t,"p",(function(){return S.c})),r.d(t,"e",(function(){return S.a})),r.d(t,"o",(function(){return E.b})),r.d(t,"k",(function(){return E.a})),r.d(t,"s",(function(){return E.d})),r.d(t,"n",(function(){return k})),r.d(t,"d",(function(){return w})),r.d(t,"A",(function(){return j})),r.d(t,"h",(function(){return T}));var n=r(120),a=r.n(n),i=r(115),o=r.n(i),c=r(32),s=r(63),u=r(28),l=r.n(u),d=r(77),f=r.n(d),g=function(e){return f()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var a=t[n];a&&"object"===l()(a)&&!Array.isArray(a)&&(a=e(a)),r[n]=a})),r}(e)))};var p=r(78),b=(r(84),r(72));function v(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function m(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,r=0,n=[v,m,h];r<n.length;r++){t=(0,n[r])(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)]},O=r(58),S=r(85),E=r(50),k=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 r=(t-e)/e;return isNaN(r)||!a()(r)?null:r},j=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},T=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},101:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return Cell}));var n=r(17),a=r.n(n),i=r(6),o=r.n(i),c=r(19),s=r.n(c),u=r(0),l=r.n(u),d=r(8),f=r.n(d);function Cell(t){var r,n=t.className,i=t.alignTop,c=t.alignMiddle,u=t.alignBottom,l=t.alignRight,d=t.alignLeft,g=t.smAlignRight,p=t.mdAlignRight,b=t.lgAlignRight,v=t.smSize,m=t.smStart,h=t.smOrder,y=t.mdSize,_=t.mdStart,O=t.mdOrder,S=t.lgSize,E=t.lgStart,k=t.lgOrder,w=t.size,j=t.children,T=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",a()({},T,{className:f()(n,"mdc-layout-grid__cell",(r={"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":u,"mdc-layout-grid__cell--align-right":l,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":g,"mdc-layout-grid__cell--align-right-tablet":p,"mdc-layout-grid__cell--align-right-desktop":b},o()(r,"mdc-layout-grid__cell--span-".concat(w),12>=w&&w>0),o()(r,"mdc-layout-grid__cell--span-".concat(S,"-desktop"),12>=S&&S>0),o()(r,"mdc-layout-grid__cell--start-".concat(E,"-desktop"),12>=E&&E>0),o()(r,"mdc-layout-grid__cell--order-".concat(k,"-desktop"),12>=k&&k>0),o()(r,"mdc-layout-grid__cell--span-".concat(y,"-tablet"),8>=y&&y>0),o()(r,"mdc-layout-grid__cell--start-".concat(_,"-tablet"),8>=_&&_>0),o()(r,"mdc-layout-grid__cell--order-".concat(O,"-tablet"),8>=O&&O>0),o()(r,"mdc-layout-grid__cell--span-".concat(v,"-phone"),4>=v&&v>0),o()(r,"mdc-layout-grid__cell--start-".concat(m,"-phone"),4>=m&&m>0),o()(r,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),r))}),j)}Cell.propTypes={smSize:l.a.number,smStart:l.a.number,smOrder:l.a.number,mdSize:l.a.number,mdStart:l.a.number,mdOrder:l.a.number,lgSize:l.a.number,lgStart:l.a.number,lgOrder:l.a.number,size:l.a.number,alignTop:l.a.bool,alignMiddle:l.a.bool,alignBottom:l.a.bool,alignRight:l.a.bool,alignLeft:l.a.bool,smAlignRight:l.a.bool,mdAlignRight:l.a.bool,lgAlignRight:l.a.bool,className:l.a.string,children:l.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,r(3))},102:function(e,t,r){"use strict";(function(e){var n=r(17),a=r.n(n),i=r(19),o=r.n(i),c=r(0),s=r.n(c),u=r(8),l=r.n(u),d=r(2),f=Object(d.forwardRef)((function(t,r){var n=t.className,i=t.children,c=o()(t,["className","children"]);return e.createElement("div",a()({ref:r,className:l()("mdc-layout-grid__inner",n)},c),i)}));f.propTypes={className:s.a.string,children:s.a.node},f.defaultProps={className:""},t.a=f}).call(this,r(3))},103:function(e,t,r){"use strict";(function(e){var n=r(17),a=r.n(n),i=r(19),o=r.n(i),c=r(0),s=r.n(c),u=r(8),l=r.n(u),d=r(2),f=Object(d.forwardRef)((function(t,r){var n=t.alignLeft,i=t.fill,c=t.className,s=t.children,u=o()(t,["alignLeft","fill","className","children"]);return e.createElement("div",a()({className:l()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":n,"mdc-layout-grid--fill":i})},u,{ref:r}),s)}));f.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,children:s.a.node},f.defaultProps={className:""},t.a=f}).call(this,r(3))},1073:function(e,t,r){"use strict";r.r(t);var n=r(4),a=r.n(n),i=r(49),o=r(5),c=r.n(o),s=r(6),u=r.n(s),l=r(31),d=r.n(l),f=r(12),g=r(42);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 b(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){u()(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=a.a.createRegistrySelector;function m(e){return v((function(t){return function(){return(t(f.a).getAuthentication()||{})[e]}}))}var h=Object(g.a)({baseName:"getAuthentication",controlCallback:function(){return d.a.get("core","user","authentication",void 0,{useCache:!1})},reducerCallback:function(e,t){return b(b({},e),{},{authentication:t})}}),y={authentication:void 0,authError:null},_={setAuthError:function(e){return{payload:{error:e},type:"SET_AUTH_ERROR"}},clearAuthError:function(){return{payload:{},type:"CLEAR_AUTH_ERROR"}}},O={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,a.a.commonActions.getRegistry();case 2:if(t=e.sent,(0,t.select)(f.a).getAuthentication()){e.next=7;break}return e.next=7,h.actions.fetchGetAuthentication();case 7:case"end":return e.stop()}}),e)}))},S={getAuthentication:function(e){return e.authentication},hasScope:v((function(e){return function(t,r){var n=e(f.a).getGrantedScopes(t);if(void 0!==n)return n.includes(r)}})),isAuthenticated:m("authenticated"),getGrantedScopes:m("grantedScopes"),getRequiredScopes:m("requiredScopes"),getUnsatisfiedScopes:m("unsatisfiedScopes"),needsReauthentication:m("needsReauthentication"),getDisconnectedReason:m("disconnectedReason"),getConnectedProxyURL:m("connectedProxyURL"),getPreviousConnectedProxyURL:m("previousConnectedProxyURL"),getAuthError:function(e){return e.authError}},E=a.a.combineStores(h,{initialState:y,actions:_,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_AUTH_ERROR":return b(b({},e),{},{authError:n.error});case"CLEAR_AUTH_ERROR":return b(b({},e),{},{authError:null});default:return e}},resolvers:O,selectors:S}),k=(E.initialState,E.actions,E.controls,E.reducer,E.resolvers,E.selectors,E),w=r(7),j=r.n(w),T=r(58);function I(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?I(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var x={dateRange:"last-28-days",referenceDate:Object(T.g)(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,a=t.offsetDays,i=void 0===a?0:a,o=t.referenceDate,c=void 0===o?e.referenceDate:o,s=R.getDateRange(e),u=Object(T.h)(c,i),l=s.match("-(.*)-"),d=Number(l?l[1]:28),f=Object(T.h)(u,d-1),g={startDate:f,endDate:u};if(n){var p=Object(T.h)(f,1),b=Object(T.h)(p,d-1);g.compareStartDate=b,g.compareEndDate=p}return g},getDateRangeNumberOfDays:function(e){var t=R.getDateRange(e).match(/-(\d+)-/);return parseInt(t?t[1]:28,10)},getReferenceDate:function(e){return e.referenceDate}},N={initialState:x,actions:{setDateRange:function(e){return j()(e,"Date range slug is required."),j()(Object(T.i)(e),T.c),{type:"SET_DATE_RANGE",payload:{slug:e}}},setReferenceDate:function(e){return j()(e,"Date string is required."),j()(Object(T.j)(e),T.d),{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 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 A(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){u()(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 P=a.a.createRegistrySelector,U=Object(g.a)({baseName:"disconnect",controlCallback:function(){return d.a.set("core","user","disconnect")},reducerCallback:function(e,t){return A(A({},e),{},{disconnected:t})}}),L={disconnected:void 0},V={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)}))},M={isDoingDisconnect:P((function(e){return function(){return e(f.a).isFetchingDisconnect()}}))},F=a.a.combineStores(U,{initialState:L,actions:V,selectors:M}),q=(F.initialState,F.actions,F.controls,F.reducer,F.resolvers,F.selectors,F),G=r(69);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){u()(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 z=a.a.createRegistrySelector,K=a.a.commonActions.getRegistry;function $(e,t){return B(B({},e),{},{dismissedItems:Array.isArray(t)?t:[]})}var Y,W,J,Q=Object(g.a)({baseName:"getDismissedItems",controlCallback:function(){return d.a.get("core","user","dismissed-items",{},{useCache:!1})},reducerCallback:$}),X=Object(g.a)({baseName:"dismissItem",controlCallback:function(e){var t=e.slug,r=e.expiresInSeconds;return d.a.set("core","user","dismiss-item",{slug:t,expiration:r})},reducerCallback:$,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;j()(t,"slug is required."),j()(Number.isInteger(r),"expiresInSeconds must be an integer.")}}),Z={dismissedItems:void 0},ee={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;j()(e,"A tour slug is required to dismiss a tour."),j()(Number.isInteger(n),"expiresInSeconds must be an integer.")}),c.a.mark((function e(t){var r,n,a,i=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},n=r.expiresInSeconds,a=void 0===n?0:n,e.next=4,X.actions.fetchDismissItem(t,a);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))},te={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,K();case 2:if(t=e.sent,r=t.select,void 0!==r(f.a).getDismissedItems()){e.next=8;break}return e.next=8,Q.actions.fetchGetDismissedItems();case 8:case"end":return e.stop()}}),e)}))},re={getDismissedItems:function(e){return e.dismissedItems},isItemDismissed:z((function(e){return function(t,r){var n;return null===(n=e(f.a).getDismissedItems())||void 0===n?void 0:n.includes(r)}})),isDismissingItem:z((function(e){return function(t,r){return e(f.a).isFetchingDismissItem(r)}}))},ne=a.a.combineStores({initialState:Z,actions:ee,resolvers:te,selectors:re},X,Q),ae={actions:ne.actions,controls:ne.controls,initialState:ne.initialState,reducer:ne.reducer,resolvers:ne.resolvers,selectors:ne.selectors},ie=r(14),oe=r.n(ie),ce=r(718),se=r.n(ce),ue=r(54),le=r.n(ue),de=r(1),fe=r(23),ge=r(34),pe=r(16),be=r(11),ve={slug:"helpVisibility",contexts:[fe.g,fe.i,fe.k,fe.l],version:"1.29.0",gaEventCategory:function(e){return"".concat(e,"_headerbar_helpmenu")},steps:[{target:".googlesitekit-help-menu",title:Object(de.__)("Need help?","google-site-kit"),content:Object(de.__)("Access the Site Kit docs or ask a question in our support forum from here.","google-site-kit"),placement:"bottom-start"}]},me=r(719),he=r(37),ye={slug:"ideaHubPostsTable",contexts:[fe.m],version:"1.43.0",gaEventCategory:he.n,checkRequirements:(Y=oe()(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(pe.a).getModules();case 4:return e.abrupt("return",t.select(pe.a).isModuleConnected("idea-hub"));case 5:case"end":return e.stop()}}),e)}))),function(e){return Y.apply(this,arguments)}),steps:[{target:".googlesitekit-idea-hub__post",title:Object(de.__)("Get started writing about your saved ideas","google-site-kit"),content:Object(de.__)("Drafts you created from Idea Hub within Site Kit appear here for easy access.","google-site-kit")}]},_e=r(723),Oe=r(24),Se=r.n(Oe),Ee=r(30),ke=r(33),we=r(326),je=r(335),Te={slug:"dashboardSharing",contexts:[fe.g],version:"1.85.0",gaEventCategory:function(e){return"".concat(e,"_dashboard-sharing")},steps:[{target:".googlesitekit-sharing-settings__button",title:Object(de.__)("New! Dashboard sharing","google-site-kit"),content:Object(de.__)("Share a view-only version of your dashboard with other WordPress roles","google-site-kit"),placement:"bottom-start"}].concat(Se()(we.a.steps)),checkRequirements:function(){return Object(ke.b)("dashboardSharing")},callback:function(e,t){var r=t.select,n=t.dispatch,a=e.action,i=e.index,o=e.size,c=e.type,s=r(ge.b).getValue(je.a);Ee.a.NEXT===a&&0===i&&n(ge.b).setValue(je.a,!0),(Ee.a.STOP===a||0===i&&s)&&n(ge.b).setValue(je.a,!1),i+1!==o||Ee.b.TOOLTIP!==c||W||(W=!0,n(f.a).dismissTour(we.a.slug))}},Ie=[{slug:"allTrafficWidget",contexts:[fe.g,fe.i],version:"1.25.0",gaEventCategory:function(e){return"".concat(e,"_all-traffic-widget")},checkRequirements:function(){var e=oe()(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(pe.a).getModules();case 2:if(t.select(pe.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(ge.b).getValue(be.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(de.__)("It’s now easier to see your site’s traffic at a glance","google-site-kit"),content:Object(de.__)("Check the trend graph to see how your traffic changed over time","google-site-kit"),placement:"top"},{target:".googlesitekit-widget--analyticsAllTraffic__dimensions",title:Object(de.__)("See where your visitors come from","google-site-kit"),content:Object(de.__)("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(de.__)("Check how your traffic changed since you last looked","google-site-kit"),content:Object(de.__)("Select a time frame to see the comparison with the previous time period","google-site-kit")}]},ve,me.a,ye,_e.a,Te],De=r(44);function xe(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 Re(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 Re(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw i}}}}function Re(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 Ne(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 Ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ne(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ae,Pe=a.a.createRegistrySelector,Ue=a.a.createRegistryControl,Le=a.a.commonActions.getRegistry,Ve=Object(g.a)({baseName:"getDismissedTours",controlCallback:function(){return d.a.get("core","user","dismissed-tours",{},{useCache:!1})},reducerCallback:function(e,t){return Ce(Ce({},e),{},{dismissedTourSlugs:t})}}),Me=Object(g.a)({baseName:"dismissTour",controlCallback:function(e){var t=e.slug;return d.a.set("core","user","dismiss-tour",{slug:t})},reducerCallback:function(e,t){return Ce(Ce({},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;j()(t,"slug is required.")}}),Fe={lastDismissedAt:void 0,dismissedTourSlugs:void 0,tours:Ie,currentTour:null},qe={dismissTour:Object(G.f)((function(e){j()(e,"A tour slug is required to dismiss a tour.")}),c.a.mark((function e(t){var r,n,a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Le();case 2:if(r=e.sent,!(n=r.select)(f.a).isFetchingDismissTour(t)){e.next=7;break}return a=n(f.a).getDismissedFeatureTourSlugs(),e.abrupt("return",{response:a,error:void 0});case 7:return e.next=9,{type:"DISMISS_TOUR",payload:{slug:t}};case 9:return e.next=11,Ke.setLastDismissedAt(Date.now());case 11:return e.next=13,Me.actions.fetchDismissTour(t);case 13:return e.abrupt("return",e.sent);case 14:case"end":return e.stop()}}),e)}))),receiveCurrentTour:function(e){return j()(le()(e),"tour must be a plain object."),{payload:{tour:e},type:"RECEIVE_CURRENT_TOUR"}},receiveFeatureToursForView:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.viewContext;return j()(Array.isArray(e),"viewTours must be an array."),j()(r,"viewContext is required."),{payload:{viewTours:e,viewContext:r},type:"RECEIVE_READY_TOURS"}},receiveAllFeatureTours:function(e){return j()(Array.isArray(e),"tours must be an array."),{payload:{tours:e},type:"RECEIVE_TOURS"}},receiveLastDismissedAt:function(e){return j()(void 0!==e,"A timestamp is required."),{type:"RECEIVE_LAST_DISMISSED_AT",payload:{timestamp:e}}},setLastDismissedAt:Object(G.f)((function(e){j()(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)}))),triggerTour:c.a.mark((function e(t){var r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Le();case 2:if(r=e.sent,(0,r.select)(f.a).getCurrentTour()){e.next=7;break}return e.next=7,qe.receiveCurrentTour(t);case 7:case"end":return e.stop()}}),e)})),triggerOnDemandTour:c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{tour:t},type:"CHECK_ON_DEMAND_TOUR_REQUIREMENTS"};case 2:if(!e.sent){e.next=6;break}return e.next=6,qe.triggerTour(t);case 6:case"end":return e.stop()}}),e)})),triggerTourForView:c.a.mark((function e(t){var r,n,i,o,s,u,l;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Le();case 2:return r=e.sent,n=r.select,i=r.__experimentalResolveSelect,e.next=7,a.a.commonActions.await(i(f.a).getLastDismissedAt());case 7:if(!n(f.a).areFeatureToursOnCooldown()){e.next=9;break}return e.abrupt("return",{});case 9:o=n(f.a).getAllFeatureTours(),s=xe(o),e.prev=11,s.s();case 13:if((u=s.n()).done){e.next=24;break}return l=u.value,e.next=17,{payload:{tour:l,viewContext:t},type:"CHECK_TOUR_REQUIREMENTS"};case 17:if(!e.sent){e.next=22;break}return e.next=21,qe.triggerTour(l);case 21:return e.abrupt("return",e.sent);case 22:e.next=13;break;case 24:e.next=29;break;case 26:e.prev=26,e.t0=e.catch(11),s.e(e.t0);case 29:return e.prev=29,s.f(),e.finish(29);case 32:case"end":return e.stop()}}),e,null,[[11,26,29,32]])}))},Ge=(J={},u()(J,"CHECK_TOUR_REQUIREMENTS",Ue((function(e){return function(){var t=oe()(c.a.mark((function t(r){var n,a,i,o;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=r.payload,a=n.tour,i=n.viewContext,a.contexts.includes(i)){t.next=4;break}return t.abrupt("return",!1);case 4:if(o=e.select(f.a).getInitialSiteKitVersion()){t.next=9;break}return t.abrupt("return",!1);case 9:if(!se.a.compare(o,a.version,">=")){t.next=11;break}return t.abrupt("return",!1);case 11:return t.next=13,e.__experimentalResolveSelect(f.a).getDismissedFeatureTourSlugs();case 13:if(!e.select(f.a).isTourDismissed(a.slug)){t.next=15;break}return t.abrupt("return",!1);case 15:if(!a.checkRequirements){t.next=19;break}return t.next=18,a.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)}}()}))),u()(J,"CHECK_ON_DEMAND_TOUR_REQUIREMENTS",Ue((function(e){return function(){var t=oe()(c.a.mark((function t(r){var n,a;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.payload,a=n.tour,t.next=4,e.__experimentalResolveSelect(f.a).getDismissedFeatureTourSlugs();case 4:if(!e.select(f.a).isTourDismissed(a.slug)){t.next=6;break}return t.abrupt("return",!1);case 6:if(!a.checkRequirements){t.next=10;break}return t.next=9,a.checkRequirements(e);case 9:return t.abrupt("return",!!t.sent);case 10:return t.abrupt("return",!0);case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),u()(J,"CACHE_LAST_DISMISSED_AT",(Ae=oe()(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(De.d)("feature_tour_last_dismissed_at",n,{ttl:7200});case 4:case"end":return e.stop()}}),e)}))),function(e){return Ae.apply(this,arguments)})),J),He={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,Le();case 2:if(t=e.sent,r=t.select,void 0!==r(f.a).getDismissedFeatureTourSlugs()){e.next=8;break}return e.next=8,Ve.actions.fetchGetDismissedTours();case 8:case"end":return e.stop()}}),e)})),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,a.a.commonActions.await(Object(De.b)("feature_tour_last_dismissed_at"));case 2:return t=e.sent,r=t.value,e.next=6,Ke.receiveLastDismissedAt(r||null);case 6:case"end":return e.stop()}}),e)}))},Be={getCurrentTour:function(e){return e.currentTour},getDismissedFeatureTourSlugs:function(e){return e.dismissedTourSlugs},getAllFeatureTours:function(e){return e.tours},isTourDismissed:Pe((function(e){return function(t,r){var n=e(f.a).getDismissedFeatureTourSlugs();if(void 0!==n)return n.includes(r)}})),getLastDismissedAt:function(e){return e.lastDismissedAt},areFeatureToursOnCooldown:Pe((function(e){return function(){var t=e(f.a).getLastDismissedAt();if(void 0!==t){if(null===t)return!1;var r=t+72e5;return Date.now()<r}}}))},ze=a.a.combineStores({initialState:Fe,actions:qe,controls:Ge,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"DISMISS_TOUR":var a,i=n.slug,o=e.dismissedTourSlugs,c=void 0===o?[]:o;return c.includes(i)?e:Ce(Ce({},e),{},{currentTour:(null===(a=e.currentTour)||void 0===a?void 0:a.slug)===i?null:e.currentTour,dismissedTourSlugs:c.concat(i)});case"RECEIVE_CURRENT_TOUR":return Ce(Ce({},e),{},{currentTour:n.tour});case"RECEIVE_READY_TOURS":var s=n.viewContext,l=n.viewTours;return Ce(Ce({},e),{},{viewTours:Ce(Ce({},e.viewTours),{},u()({},s,l))});case"RECEIVE_TOURS":return Ce(Ce({},e),{},{tours:n.tours});case"RECEIVE_LAST_DISMISSED_AT":return Ce(Ce({},e),{},{lastDismissedAt:n.timestamp});default:return e}},resolvers:He,selectors:Be},Me,Ve),Ke=ze.actions,$e=ze.controls,Ye=ze.initialState,We=ze.reducer,Je=ze.resolvers,Qe=ze.selectors,Xe={actions:Ke,controls:$e,initialState:Ye,reducer:We,resolvers:Je,selectors:Qe},Ze=r(362),et=Object(Ze.a)("core","user","notifications",{server:!1}),tt=r(729);function rt(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 nt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rt(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var at=a.a.createRegistrySelector,it=Object(g.a)({baseName:"triggerSurvey",controlCallback:function(e){var t=e.triggerID;return d.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 ft.getCurrentSurvey(e)?e:nt(nt({},e),{},{currentSurvey:r,currentSurveySession:n})},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.triggerID;j()("string"==typeof t&&t.length,"triggerID is required and must be a string")}}),ot=Object(g.a)({baseName:"sendSurveyEvent",controlCallback:function(e){var t=e.event,r=e.session;return d.a.set("core","user","survey-event",{event:t,session:r})},argsToParams:function(e,t){return{event:e,session:t}}}),ct=Object(g.a)({baseName:"getSurveyTimeouts",controlCallback:function(){return d.a.get("core","user","survey-timeouts",{},{useCache:!1})},reducerCallback:function(e,t){return nt(nt({},e),{},{surveyTimeouts:Array.isArray(t)?t:[]})}}),st=Object(g.a)({baseName:"setSurveyTimeout",controlCallback:function(e){var t=e.slug,r=e.timeout;return d.a.set("core","user","survey-timeout",{slug:t,timeout:r})},reducerCallback:function(e,t){return nt(nt({},e),{},{surveyTimeouts:Array.isArray(t)?t:[]})},argsToParams:function(e,t){return{slug:e,timeout:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug,r=e.timeout;j()(t,"slug is required."),j()(Number.isInteger(r),"timeout must be an integer.")}}),ut={currentSurvey:null,currentSurveySession:null,surveyTimeouts:void 0},lt={setSurveyTimeout:Object(G.f)((function(e,t){j()("string"==typeof e&&e.length,"triggerID is required and must be a string"),j()("number"==typeof t,"timeout must be a number")}),c.a.mark((function e(t,r){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,st.actions.fetchSetSurveyTimeout(t,r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),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;j()("string"==typeof e&&e.length,"triggerID is required and must be a string"),j()(le()(t),"options must be an object"),j()("number"==typeof n,"options.ttl must be a number")}),c.a.mark((function e(t){var r,n,i,o,s,u,l,d,g,p,b,v,m=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=m.length>1&&void 0!==m[1]?m[1]:{},n=r.ttl,i=void 0===n?0:n,e.next=4,a.a.commonActions.getRegistry();case 4:if(o=e.sent,s=o.select,u=o.dispatch,l=o.__experimentalResolveSelect,!s(f.a).getCurrentSurvey()){e.next=10;break}return e.abrupt("return",{});case 10:return e.next=12,a.a.commonActions.await(l(f.a).getAuthentication());case 12:if(s(f.a).isAuthenticated()){e.next=14;break}return e.abrupt("return",{});case 14:return e.next=16,a.a.commonActions.await(l(f.a).getSurveyTimeouts());case 16:if(d=s(f.a).isSurveyTimedOut(t),g=s(f.a).isTimingOutSurvey(t,i),d||g){e.next=31;break}return e.next=21,it.actions.fetchTriggerSurvey(t);case 21:if(p=e.sent,b=p.response,!(v=p.error)){e.next=26;break}return e.abrupt("return",{response:b,error:v});case 26:if(!(i>0)){e.next=31;break}return e.next=29,new Promise((function(e){setTimeout(e,3e4)}));case 29:return e.next=31,u(f.a).setSurveyTimeout(t,i);case 31:return e.abrupt("return",{response:{},error:!1});case 32:case"end":return e.stop()}}),e)}))),sendSurveyEvent:Object(G.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};j()("string"==typeof e&&e.length,"eventID is required and must be a string"),j()(le()(t),"eventData must be an object")}),c.a.mark((function e(t){var r,n,i,o,s,l,d,g,p=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},n=u()({},t,r),e.next=4,a.a.commonActions.getRegistry();case 4:if(i=e.sent,o=i.select,!(s=o(f.a).getCurrentSurveySession())){e.next=14;break}return e.next=10,ot.actions.fetchSendSurveyEvent(n,s);case 10:return l=e.sent,d=l.response,g=l.error,e.abrupt("return",{response:d,error:g});case 14:case"end":return e.stop()}}),e)})))},dt={getSurveyTimeouts: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,a.a.commonActions.getRegistry();case 2:if(t=e.sent,r=t.select,void 0!==r(f.a).getSurveyTimeouts()){e.next=8;break}return e.next=8,ct.actions.fetchGetSurveyTimeouts();case 8:case"end":return e.stop()}}),e)}))},ft={getCurrentSurvey:function(e){return e.currentSurvey},getCurrentSurveySession:function(e){return e.currentSurveySession},getCurrentSurveyCompletions:at((function(e){return function(){var t=e(f.a).getCurrentSurvey();return(null==t?void 0:t.completion)||null}})),getCurrentSurveyQuestions:at((function(e){return function(){var t=e(f.a).getCurrentSurvey();return(null==t?void 0:t.question)||null}})),getSurveyTimeouts:function(e){return e.surveyTimeouts},isSurveyTimedOut:at((function(e){return function(t,r){var n=e(f.a).getSurveyTimeouts();return void 0===n?void 0:n.includes(r)}})),isTimingOutSurvey:at((function(e){return function(t,r,n){return e(f.a).isFetchingSetSurveyTimeout(r,n)}}))},gt=a.a.combineStores(it,ot,ct,st,{initialState:ut,actions:lt,resolvers:dt,selectors:ft}),pt=(gt.initialState,gt.actions,gt.resolvers,gt.selectors,gt);function bt(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 vt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var mt,ht=i.a.receiveError,yt=i.a.clearError,_t=function(e,t){return vt(vt({},e),{},{tracking:t})},Ot=Object(g.a)({baseName:"getTracking",controlCallback:function(){return d.a.get("core","user","tracking")},reducerCallback:_t}),St=Object(g.a)({baseName:"setTracking",controlCallback:function(e){return d.a.set("core","user","tracking",{enabled:!!e})},reducerCallback:_t,argsToParams:function(e){return e}}),Et={tracking:void 0,isSavingTrackingEnabled:!1},kt={setTrackingEnabled:c.a.mark((function e(t){var r,n,a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,yt("setTrackingEnabled",[t]);case 2:return e.next=4,{type:"SET_TRACKING_ENABLED_SAVING_ACTION",payload:{isSaving:!0}};case 4:return e.next=6,St.actions.fetchSetTracking(t);case 6:if(r=e.sent,n=r.response,!(a=r.error)){e.next=12;break}return e.next=12,ht(a,"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:a});case 15:case"end":return e.stop()}}),e)}))},wt={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,a.a.commonActions.getRegistry();case 2:if(t=e.sent,void 0!==(0,t.select)(f.a).isTrackingEnabled()){e.next=7;break}return e.next=7,Ot.actions.fetchGetTracking();case 7:case"end":return e.stop()}}),e)}))},jt=a.a.combineStores(Ot,St,{initialState:Et,actions:kt,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_TRACKING_ENABLED_SAVING_ACTION":return vt(vt({},e),{},{isSavingTrackingEnabled:n.isSaving});default:return e}},resolvers:wt,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}}}),Tt=(jt.initialState,jt.actions,jt.controls,jt.reducer,jt.resolvers,jt.selectors,jt),It=r(731);function Dt(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 xt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Rt=a.a.commonActions,Nt=a.a.createRegistryControl,Ct=a.a.createRegistrySelector,At=i.a.receiveError,Pt=i.a.clearError;function Ut(e,t){return xt(xt({},e),{},{inputSettings:t})}var Lt,Vt=Object(g.a)({baseName:"getUserInputSettings",controlCallback:(Lt=oe()(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",d.a.get("core","user","user-input-settings",void 0,{useCache:!1}));case 1:case"end":return e.stop()}}),e)}))),function(){return Lt.apply(this,arguments)}),reducerCallback:Ut}),Mt=Object(g.a)({baseName:"saveUserInputSettings",controlCallback:function(e){return d.a.set("core","user","user-input-settings",{settings:e})},reducerCallback:Ut,argsToParams:function(e){return e},validateParams:function(e){j()(le()(e),"valid settings are required.")}}),Ft={inputSettings:void 0,isSavingInputSettings:!1},qt={setUserInputSettingsFromCache:c.a.mark((function e(){var t,r,n,a;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 a=n[r],e.next=9,qt.setUserInputSetting(a,t.value[a].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,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.a.commonActions.getRegistry();case 2:if(n=e.sent,i=r.map((function(e){return e.trim()})),"completed"===n.select(f.a).getUserInputState()){e.next=7;break}return e.next=7,{type:"SET_CACHED_USER_INPUT_SETTING",payload:{settingID:t,values:i}};case 7:return e.abrupt("return",{type:"SET_USER_INPUT_SETTING",payload:{settingID:t,values:i}});case 8:case"end":return e.stop()}}),e)})),saveUserInputSettings:c.a.mark((function e(){var t,r,n,i,o,s,l,d;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.a.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,Pt("saveUserInputSettings",[]);case 5:return r=function(e){return e.trim()},n=function(e){return e.length>0},i=t.select(f.a).getUserInputSettings(),o=Object.keys(i).reduce((function(e,t){var a;return xt(xt({},e),{},u()({},t,((null===(a=i[t])||void 0===a?void 0:a.values)||[]).map(r).filter(n)))}),{}),e.next=11,{type:"SET_USER_INPUT_SETTINGS_SAVING_FLAG",payload:{isSaving:!0}};case 11:return e.next=13,Mt.actions.fetchSaveUserInputSettings(o);case 13:if(s=e.sent,l=s.response,!(d=s.error)){e.next=19;break}return e.next=19,At(d,"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:d});case 24:case"end":return e.stop()}}),e)}))},Gt=(mt={},u()(mt,"DELETE_CACHED_USER_INPUT_SETTINGS",(function(){return Object(De.a)("userInputSettings")})),u()(mt,"GET_CACHED_USER_INPUT_SETTINGS",(function(){return Object(De.b)("userInputSettings")})),u()(mt,"SET_CACHED_USER_INPUT_SETTING",Nt((function(e){return function(){var t=oe()(c.a.mark((function t(r){var n,a,i,o;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.payload,a=n.settingID,i=n.values,(o=e.select(f.a).getUserInputSettings()||{})[a]={values:i},t.abrupt("return",Object(De.d)("userInputSettings",o));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),mt),Ht={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,Rt.getRegistry();case 2:if(t=e.sent,(r=t.select)(f.a).getUserInputSettings()){e.next=7;break}return e.next=7,Vt.actions.fetchGetUserInputSettings();case 7:if("completed"===r(f.a).getUserInputState()){e.next=10;break}return e.next=10,qt.setUserInputSettingsFromCache();case 10:case"end":return e.stop()}}),e)}))},Bt={isSavingUserInputSettings:function(e){return!!(null==e?void 0:e.isSavingInputSettings)},getUserInputSettings:function(e){return e.inputSettings},getUserInputSetting:Ct((function(e){return function(t,r){var n,a=null===(n=(e(f.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.values;return Array.isArray(a)?a:[]}})),getUserInputSettingScope:Ct((function(e){return function(t,r){var n;return null===(n=(e(f.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.scope}})),getUserInputSettingAuthor:Ct((function(e){return function(t,r){var n;return null===(n=(e(f.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.author}}))},zt=a.a.combineStores(Vt,Mt,{initialState:Ft,actions:qt,controls:Gt,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_USER_INPUT_SETTING":return xt(xt({},e),{},{inputSettings:xt(xt({},e.inputSettings),{},u()({},n.settingID,xt(xt({},(e.inputSettings||{})[n.settingID]||{}),{},{values:n.values})))});case"SET_USER_INPUT_SETTINGS_SAVING_FLAG":return xt(xt({},e),{},{isSavingInputSettings:n.isSaving});default:return e}},resolvers:Ht,selectors:Bt}),Kt=(zt.initialState,zt.actions,zt.controls,zt.reducer,zt.resolvers,zt.selectors,zt),$t=a.a.combineStores(a.a.commonStore,Object(i.b)(f.a),k,N,q,ae,Xe,et,tt.a,pt,Tt,It.a,Kt);$t.initialState,$t.actions,$t.controls,$t.reducer,$t.resolvers,$t.selectors;a.a.registerStore(f.a,$t)},11:function(e,t,r){"use strict";r.d(t,"f",(function(){return n})),r.d(t,"a",(function(){return a})),r.d(t,"h",(function(){return i})),r.d(t,"g",(function(){return o})),r.d(t,"d",(function(){return c})),r.d(t,"e",(function(){return s})),r.d(t,"k",(function(){return u})),r.d(t,"c",(function(){return l})),r.d(t,"b",(function(){return d})),r.d(t,"s",(function(){return f})),r.d(t,"r",(function(){return g})),r.d(t,"t",(function(){return p})),r.d(t,"p",(function(){return b})),r.d(t,"q",(function(){return v})),r.d(t,"n",(function(){return m})),r.d(t,"o",(function(){return h})),r.d(t,"l",(function(){return y})),r.d(t,"m",(function(){return _})),r.d(t,"j",(function(){return O})),r.d(t,"i",(function(){return S}));var n="modules/analytics",a="account_create",i="property_create",o="profile_create",c="analyticsAccountCreate",s="analyticsSetup",u="https://www.googleapis.com/auth/analytics.provision",l="https://www.googleapis.com/auth/analytics.edit",d=1,f="dashboardAllTrafficWidgetDimensionName",g="dashboardAllTrafficWidgetDimensionColor",p="dashboardAllTrafficWidgetDimensionValue",b="dashboardAllTrafficWidgetActiveRowIndex",v="dashboardAllTrafficWidgetLoaded",m="legacy",h="ua",y="ga4",_="ga4-transitional",O="ua",S="ga4"},12:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return i})),r.d(t,"h",(function(){return o})),r.d(t,"i",(function(){return c})),r.d(t,"f",(function(){return s})),r.d(t,"g",(function(){return u})),r.d(t,"e",(function(){return l})),r.d(t,"d",(function(){return d}));var n="core/user",a="connected_url_mismatch",i="googlesitekit_authenticate",o="googlesitekit_setup",c="googlesitekit_view_dashboard",s="googlesitekit_manage_options",u="googlesitekit_read_shared_module_data",l="googlesitekit_manage_module_sharing_options",d="googlesitekit_delegate_module_sharing_management"},131:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(436),a=function(e,t,r){Object(n.a)((function(r){return e.includes(r.keyCode)&&t.current.contains(r.target)}),r)}},136:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a}));var n="editing-user-role-select-slug-key",a=["idea-hub","thank-with-google"]},142:function(e,t,r){"use strict";var n=r(2);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return n.createElement("svg",a({viewBox:"0 0 14 14",fill:"none"},e),i)}},145:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return ModuleIcon}));var n=r(17),a=r.n(n),i=r(19),o=r.n(i),c=r(0),s=r.n(c),u=r(4),l=r.n(u),d=r(16),f=l.a.useSelect;function ModuleIcon(t){var r=t.slug,n=t.size,i=o()(t,["slug","size"]),c=f((function(e){return e(d.a).getModuleIcon(r)}));return c?e.createElement(c,a()({width:n,height:n},i)):null}ModuleIcon.propTypes={slug:s.a.string.isRequired,size:s.a.number},ModuleIcon.defaultProps={size:33}}).call(this,r(3))},15:function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return i}));var n="core/site",a="primary",i="secondary"},16:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a}));var n="core/modules",a="insufficient_module_dependencies"},18:function(e,t,r){"use strict";(function(e){var n=r(17),a=r.n(n),i=r(19),o=r.n(i),c=r(8),s=r.n(c),u=r(0),l=r.n(u),d=r(124),f=r(210),g=r(2),p=r(1),b=r(9),v=Object(g.forwardRef)((function(t,r){var n=t.children,i=t.href,c=t.text,u=t.className,l=t.danger,v=t.disabled,m=t.target,h=t.icon,y=t.trailingIcon,_=t["aria-label"],O=t.title,S=t.tooltip,E=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","tooltip"]),k=Object(g.useCallback)((function(e){null!==e&&b.l.attachTo(e)}),[]),w=Object(d.a)(r,k),j=i&&!v?"a":"button",T=e.createElement(j,a()({className:s()("mdc-button",u,{"mdc-button--raised":!c,"mdc-button--danger":l}),href:v?void 0:i,ref:w,disabled:!!v,"aria-label":function(){var e=_;if("_blank"!==m)return e;var t=Object(p._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof n&&(e=e||n),e?"".concat(e," ").concat(t):t}(),target:m||"_self",role:"a"===j?"button":void 0},E),h,n&&e.createElement("span",{className:"mdc-button__label"},n),y);return S&&(O||_)||h&&(O||_)&&void 0===n?e.createElement(f.a,{title:O||_,classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},T):T}));v.displayName="Button",v.propTypes={onClick:l.a.func,children:l.a.node,href:l.a.string,text:l.a.bool,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,icon:l.a.element,trailingIcon:l.a.element,title:l.a.string,tooltip:l.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,r(3))},20:function(e,t,r){"use strict";var n=r(2),a=r(67);t.a=function(){return Object(n.useContext)(a.b)}},22:function(e,t,r){"use strict";(function(e){var n=r(17),a=r.n(n),i=r(19),o=r.n(i),c=r(0),s=r.n(c),u=r(8),l=r.n(u),d=r(122),f=r(1),g=r(2),p=Object(g.forwardRef)((function(t,r){var n,i=t["aria-label"],c=t.arrow,s=t.back,u=t.caps,g=t.children,p=t.className,b=t.danger,v=t.disabled,m=t.external,h=t.hideExternalIndicator,y=t.href,_=t.inverse,O=t.onClick,S=t.small,E=t.to,k=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","onClick","small","to"]),w=y||E||!O?E?"ROUTER_LINK":m?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",j="BUTTON"===w||"BUTTON_DISABLED"===w?"button":"ROUTER_LINK"===w?d.b:"a",T=("EXTERNAL_LINK"===w&&(n=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===w&&(n=Object(f._x)("(disabled)","screen reader text","google-site-kit")),n?i?"".concat(i," ").concat(n):"string"==typeof g?"".concat(g," ").concat(n):void 0:i);return e.createElement(j,a()({"aria-label":T,className:l()("googlesitekit-cta-link",p,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":m&&!h,"googlesitekit-cta-link--inverse":_,"googlesitekit-cta-link--back":s,"googlesitekit-cta-link--small":S,"googlesitekit-cta-link--caps":u,"googlesitekit-cta-link--danger":b,"googlesitekit-cta-link--disabled":v}),disabled:v,href:"LINK"===w||"EXTERNAL_LINK"===w?y:void 0,onClick:O,rel:"EXTERNAL_LINK"===w?"noopener noreferrer":void 0,ref:r,target:"EXTERNAL_LINK"===w?"_blank":void 0,to:E},k),g)}));p.propTypes={arrow:s.a.bool,back:s.a.bool,caps:s.a.bool,children:s.a.node,className:s.a.string,danger:s.a.bool,disabled:s.a.bool,external:s.a.bool,hideExternalIndicator:s.a.bool,href:s.a.string,inverse:s.a.bool,onClick:s.a.func,small:s.a.bool,to:s.a.string},p.defaultProps={arrow:!1,back:!1,caps:!1,className:"",danger:!1,disabled:!1,external:!1,hideExternalIndicator:!1,href:"",inverse:!1,small:!1},t.a=p}).call(this,r(3))},23:function(e,t,r){"use strict";r.d(t,"g",(function(){return n})),r.d(t,"k",(function(){return a})),r.d(t,"i",(function(){return i})),r.d(t,"l",(function(){return o})),r.d(t,"m",(function(){return c})),r.d(t,"o",(function(){return s})),r.d(t,"e",(function(){return u})),r.d(t,"h",(function(){return l})),r.d(t,"f",(function(){return d})),r.d(t,"n",(function(){return f})),r.d(t,"p",(function(){return g})),r.d(t,"j",(function(){return p})),r.d(t,"d",(function(){return b})),r.d(t,"a",(function(){return v})),r.d(t,"c",(function(){return m})),r.d(t,"b",(function(){return h}));var n="dashboard",a="pageDashboard",i="dashboardViewOnly",o="pageDashboardViewOnly",c="postsList",s="userInput",u="activation",l="splash",d="adminBar",f="settings",g="wpDashboard",p="moduleSetup",b="traffic",v="content",m="speed",h="monetization"},253:function(e,t,r){"use strict";var n=r(2);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=n.createElement("path",{d:"M16.666 7.5V5H15v2.5h-2.5v1.666H15v2.5h1.666v-2.5h2.5V7.5h-2.5zM7.5 10a3.332 3.332 0 100-6.667A3.332 3.332 0 107.5 10zm0-5c.916 0 1.666.75 1.666 1.666 0 .917-.75 1.667-1.666 1.667-.917 0-1.667-.75-1.667-1.667C5.833 5.75 6.583 5 7.5 5zm5.325 7.133c-1.4-.717-3.217-1.3-5.325-1.3-2.109 0-3.925.583-5.325 1.3A2.476 2.476 0 00.833 14.35v2.316h13.333V14.35c0-.934-.508-1.792-1.341-2.217zM12.5 15h-10v-.65c0-.317.166-.6.433-.734A10.09 10.09 0 017.5 12.5c1.975 0 3.575.608 4.566 1.116a.81.81 0 01.434.734V15z",fill:"currentColor"});t.a=function SvgShare(e){return n.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},29:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a}));var n="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},31:function(e,t){e.exports=googlesitekit.api},32:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return y})),r.d(t,"b",(function(){return h}));var n=r(86),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,s=a.trackingEnabled,u=a.trackingID,l=a.referenceSiteURL,d=a.userIDHash,f=a.isAuthenticated,g={activeModules:o,trackingEnabled:s,trackingID:u,referenceSiteURL:l,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:f,pluginVersion:"1.79.1"},p=Object(n.a)(g),b=p.enableTracking,v=p.disableTracking,m=(p.isTrackingEnabled,p.initializeSnippet),h=p.trackEvent;function y(e){e?b():v()}c&&s&&m()}).call(this,r(21))},326:function(e,t,r){"use strict";(function(e){var n=r(1),a=r(33),i=(e._googlesitekitUserData||{}).hasMultipleAdmins,o=[{target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--view",title:Object(n.__)("Manage view access for other roles","google-site-kit"),content:Object(n.__)("Grant access to the view-only dashboard for each service for the specific roles you want. Users will see the Site Kit dashboard with only the services that have been shared with them without needing to sign-in with Google.","google-site-kit"),placement:"auto"}];i&&o.push({target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--manage",title:Object(n.__)("Share management with other admins","google-site-kit"),content:Object(n.__)("By default only the user who connects a service can control who it is shared with. This setting optionally lets these users allow any other admin signed in with Google to manage the roles a service is shared with.","google-site-kit"),placement:"auto"}),t.a={slug:"dashboardSharingSettings",gaEventCategory:function(e){return"".concat(e,"_dashboard-sharing")},checkRequirements:function(){return Object(a.b)("dashboardSharing")},steps:o}}).call(this,r(21))},33:function(e,t,r){"use strict";(function(e){var n,a;r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return o}));var i=new Set((null===(n=e)||void 0===n||null===(a=n._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,r(21))},335:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return D})),r.d(t,"b",(function(){return DashboardSharingSettingsButton}));var n=r(478),a=r(1),i=r(162),o=r(613),c=r(2),s=r(76),u=r(4),l=r.n(u),d=r(22),f=r(18),g=r(95),p=r(253),b=r(363),v=r(20),m=r(365),h=r(10),y=r(34),_=r(15),O=r(16),S=r(43),E=r(9),k=r(136),w=r(12),j=r(326),T=l.a.useSelect,I=l.a.useDispatch,D="dashboardSharingDialogOpen";function DashboardSharingSettingsButton(){var t=Object(v.a)(),r=Object(S.e)(),u=Object(n.a)().y,l=I(y.b).setValue,x=T((function(e){return!!e(y.b).getValue(D)})),R=T((function(e){return e(_.c).hasMultipleAdmins()})),N=T((function(e){return e(O.a).haveSharingSettingsChanged()})),C=T((function(e){return e(y.b).getValue(k.a)})),A=Object(c.useCallback)((function(){Object(h.y)("".concat(t,"_headerbar"),"open_sharing",R?"advanced":"simple"),l(D,!0)}),[l,t,R]),P=Object(c.useCallback)((function(){l(D,!1),l(k.a,void 0)}),[l]),U=I(O.a).rollbackSharingSettings;Object(c.useEffect)((function(){!x&&N&&U()}),[x,N,U]);var L=Object(c.useRef)(),V=I(w.a).triggerOnDemandTour;Object(c.useEffect)((function(){x&&!L.current&&(L.current=!0,V(j.a))}),[x,V]);var M={};return r===S.b&&(M.top="".concat(u<46?46-u:0,"px"),M.height="calc(100% - 46px + ".concat(u<46?u:46,"px)")),e.createElement(c.Fragment,null,e.createElement(f.a,{"aria-label":Object(a.__)("Open sharing settings","google-site-kit"),className:"googlesitekit-sharing-settings__button googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon",onClick:A,icon:e.createElement(p.a,{width:20,height:20})}),e.createElement(g.a,null,e.createElement(E.b,{open:x,onClose:P,className:"googlesitekit-dialog googlesitekit-sharing-settings-dialog",style:M,escapeKeyAction:void 0===C?"close":""},e.createElement("div",{className:"googlesitekit-dialog__back-wrapper","aria-hidden":r!==S.b},e.createElement(f.a,{"aria-label":Object(a.__)("Back","google-site-kit"),className:"googlesitekit-dialog__back",onClick:P},e.createElement(i.a,{icon:o.a}))),e.createElement(E.c,{className:"googlesitekit-dialog__content"},e.createElement("div",{className:"googlesitekit-dialog__header"},e.createElement("div",{className:"googlesitekit-dialog__header-icon","aria-hidden":r===S.b},e.createElement("span",null,e.createElement(p.a,{width:20,height:20}))),e.createElement("div",{className:"googlesitekit-dialog__header-titles"},e.createElement("h2",{className:"googlesitekit-dialog__title"},Object(a.__)("Dashboard sharing & permissions","google-site-kit")),e.createElement("p",{className:"googlesitekit-dialog__subtitle"},Object(s.a)(Object(a.__)("Share a view-only version of your Site Kit dashboard with other WordPress roles. <a>Learn more</a>","google-site-kit"),{a:e.createElement(d.a,{"aria-label":Object(a.__)("Learn more about dashboard sharing","google-site-kit"),href:"https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/",external:!0})})))),e.createElement("div",{className:"googlesitekit-dialog__main"},e.createElement(m.a,null))),e.createElement(E.d,{className:"googlesitekit-dialog__footer"},e.createElement(b.a,{closeDialog:P})))))}}).call(this,r(3))},34:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return a}));var n="core/ui",a="activeContextID"},35:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(e){return e instanceof Date&&!isNaN(e)}},362:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return v}));var n=r(5),a=r.n(n),i=r(6),o=r.n(i),c=r(7),s=r.n(c),u=r(31),l=r.n(u),d=r(4),f=r.n(d),g=r(42);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 b(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=function(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=i.client,u=void 0===c||c,d=i.server,p=void 0===d||d,v=i.storeName,m=void 0===v?void 0:v;s()(t,"type is required."),s()(r,"identifier is required."),s()(n,"datapoint is required.");var h=m||"".concat(t,"/").concat(r),y={serverNotifications:p?void 0:{},clientNotifications:u?void 0:{}},_=Object(g.a)({baseName:"getNotifications",controlCallback:function(){return l.a.get(t,r,n)},reducerCallback:function(e,t){return b(b({},e),{},{serverNotifications:t.reduce((function(e,t){return b(b({},e),{},o()({},t.id,t))}),{})})}}),O={addNotification:function(e){return s()(e,"notification is required."),{payload:{notification:e},type:"ADD_NOTIFICATION"}},removeNotification:function(e){return s()(e,"id is required."),{payload:{id:e},type:"REMOVE_NOTIFICATION"}}},S={},E=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y,r=arguments.length>1?arguments[1]:void 0,n=r.type,a=r.payload;switch(n){case"ADD_NOTIFICATION":var i=a.notification;return b(b({},t),{},{clientNotifications:b(b({},t.clientNotifications||{}),{},o()({},i.id,i))});case"REMOVE_NOTIFICATION":var c=a.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 s=b({},t.clientNotifications);return delete s[c],b(b({},t),{},{clientNotifications:s});default:return t}},k={getNotifications:a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_.actions.fetchGetNotifications();case 2:case"end":return e.stop()}}),e)}))};p||delete k.getNotifications;var w={getNotifications:function(e){var t=e.serverNotifications,r=e.clientNotifications;return void 0===t&&void 0===r?t:Object.values(b(b({},t||{}),r||{}))}},j=f.a.combineStores(_,{initialState:y,actions:O,controls:S,reducer:E,resolvers:k,selectors:w});return b(b({},j),{},{STORE_NAME:h})}}).call(this,r(21))},363:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return Footer}));var n=r(5),a=r.n(n),i=r(14),o=r.n(i),c=r(13),s=r.n(c),u=r(0),l=r.n(u),d=r(1),f=r(2),g=r(4),p=r.n(g),b=r(22),v=r(18),m=r(364),h=r(16),y=r(34),_=r(81),O=r(136),S=r(90),E=r(10),k=r(20),w=p.a.useSelect,j=p.a.useDispatch;function Footer(t){var r=t.closeDialog,n=Object(k.a)(),i=Object(f.useState)(null),c=s()(i,2),u=c[0],l=c[1],g=w((function(e){return e(h.a).canSubmitSharingChanges()})),p=w((function(e){return e(h.a).isDoingSubmitSharingChanges()})),T=j(h.a).saveSharingSettings,I=j(y.b).setValue,D=Object(f.useCallback)(o()(a.a.mark((function e(){var t,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l(null),e.next=3,T();case 3:if(t=e.sent,!(i=t.error)){e.next=8;break}return l(i.message),e.abrupt("return");case 8:Object(E.y)("".concat(n,"_sharing"),"settings_confirm"),I(O.a,void 0),r();case 11:case"end":return e.stop()}}),e)}))),[n,T,I,r]),x=Object(f.useCallback)((function(){Object(E.y)("".concat(n,"_sharing"),"settings_cancel"),r()}),[r,n]);return e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer"},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-notice"},u&&e.createElement(S.a,{message:u}),!u&&e.createElement(m.a,null)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions"},e.createElement(b.a,{onClick:x},Object(d.__)("Cancel","google-site-kit")),e.createElement(v.a,{onClick:D,disabled:p||!g},Object(d.__)("Apply","google-site-kit"),p&&e.createElement(_.a,{isSaving:p}))))}Footer.propTypes={closeDialog:l.a.func.isRequired}}).call(this,r(3))},364:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return Notice}));var n=r(1),a=r(76),i=r(4),o=r.n(i),c=r(16),s=o.a.useSelect;function Notice(){var t=s((function(e){return e(c.a).canSubmitSharingChanges()})),r=s((function(e){return e(c.a).haveSharingSettingsExpanded("management")})),i=s((function(e){return e(c.a).haveSharingSettingsExpanded("sharedRoles")}));return e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__notice"},r&&t&&Object(a.a)(Object(n.__)("By clicking <strong>Apply</strong>, you will give other authenticated admins of your site permission to manage view-only access to Site Kit Dashboard data from the chosen Google service.","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),!r&&t&&i&&Object(a.a)(Object(n.__)("By clicking <strong>Apply</strong>, you’re granting the selected roles view-only access to data from the Google services you’ve connected via your account.","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}))}}).call(this,r(3))},365:function(e,t,r){"use strict";(function(e,n){r.d(t,"a",(function(){return DashboardSharingSettings}));var a=r(8),i=r.n(a),o=r(1),c=r(4),s=r.n(c),u=r(366),l=r(16),d=r(15),f=r(12);function g(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 p(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 p(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw i}}}}function p(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 b=s.a.useSelect;function DashboardSharingSettings(){var t=b((function(e){return e(d.c).hasMultipleAdmins()})),r=b((function(t){var r=t(l.a).getModules();if(void 0!==r){var n,a=t(f.a).getID(),i=[],o=[],c=[],s=g(Object.values(r).filter((function(e){return e.shareable})));try{for(s.s();!(n=s.n()).done;){var u;(null===(u=(e=n.value).owner)||void 0===u?void 0:u.id)===a?i.push(e):t(f.a).hasCapability(f.e,e.slug)?o.push(e):c.push(e)}}catch(e){s.e(e)}finally{s.f()}return[].concat(i,o,c)}}));return void 0===r?null:n.createElement("div",{className:i()("googlesitekit-dashboard-sharing-settings",{"googlesitekit-dashboard-sharing-settings--has-multiple-admins":t})},n.createElement("header",{className:"googlesitekit-dashboard-sharing-settings__header googlesitekit-dashboard-sharing-settings__row"},n.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},Object(o.__)("Product","google-site-kit")),n.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},Object(o.__)("Who can view","google-site-kit")),t&&n.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},Object(o.__)("Who can manage view access","google-site-kit"))),n.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__main"},r.map((function(e){var t=e.slug,r=e.name,a=e.owner;return n.createElement(u.a,{key:t,moduleSlug:t,moduleName:r,ownerUsername:null==a?void 0:a.login})}))))}}).call(this,r(483)(e),r(3))},366:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return Module}));var n=r(13),a=r.n(n),i=r(0),o=r.n(i),c=r(8),s=r.n(c),u=r(210),l=r(1),d=r(162),f=r(435),g=r(2),p=r(76),b=r(4),v=r.n(b),m=r(145),h=r(367),y=r(9),_=r(20),O=r(16),S=r(15),E=r(34),k=r(136),w=r(10),j=r(12),T=v.a.useSelect,I=v.a.useDispatch,D=[{value:"owner",label:Object(l.__)("Only me","google-site-kit")},{value:"all_admins",label:Object(l.__)("Any admin signed in with Google","google-site-kit")}];function Module(t){var r=t.moduleSlug,n=t.moduleName,i=t.ownerUsername,o=Object(_.a)(),c=Object(g.useRef)(),b=Object(g.useState)(void 0),v=a()(b,2),x=v[0],R=v[1],N=T((function(e){return e(S.c).hasMultipleAdmins()})),C=T((function(e){var t;return null!==(t=e(O.a).getSharingManagement(r))&&void 0!==t?t:"owner"})),A=T((function(e){return e(j.a).hasCapability(j.d,r)})),P=T((function(e){return e(j.a).hasCapability(j.e,r)})),U=T((function(e){return e(O.a).getSharedOwnershipModules()})),L=T((function(e){return e(E.b).getValue(k.a)})),V=T((function(e){return e(O.a).isDoingSubmitSharingChanges()})),M=I(O.a).setSharingManagement,F=U&&Object.keys(U).includes(r);Object(g.useEffect)((function(){R(F?"all_admins":C)}),[C,F]);var q=Object(g.useCallback)((function(e){var t=e.target.value;R(t),M(r,t),Object(w.y)("".concat(o,"_sharing"),"change_management_".concat(t),r)}),[M,R,r,o]),G=r===L,H=!G&&void 0!==L||V;return e.createElement("div",{className:s()("googlesitekit-dashboard-sharing-settings__module","googlesitekit-dashboard-sharing-settings__row",{"googlesitekit-dashboard-sharing-settings__row--editing":G,"googlesitekit-dashboard-sharing-settings__row--disabled":H}),ref:c},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},e.createElement(m.a,{slug:r,size:48}),e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__module-name"},n)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},P&&e.createElement(h.a,{moduleSlug:r,isLocked:H,ref:c}),!P&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(l.__)("Contact managing user to manage view access","google-site-kit"))),N&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},F&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},e.createElement("span",null,Object(l.__)("Any admin signed in with Google","google-site-kit")),e.createElement(u.a,{title:Object(l.__)("This service requires general access to Google APIs rather than access to a specific user-owned property/entity, so view access is manageable by any admin signed in with Google.","google-site-kit"),classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(d.a,{icon:f.a,size:18})))),!F&&A&&e.createElement(y.p,{className:"googlesitekit-dashboard-sharing-settings__select",value:x,options:D,onChange:q,onClick:q,outlined:!0}),!F&&!A&&i&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(p.a)(Object(l.sprintf)(
2
  /* translators: %s: user who manages the module. */
3
  Object(l.__)("<span>Managed by</span> <strong>%s</strong>","google-site-kit"),i),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),e.createElement(u.a,{title:P?Object(l.sprintf)(
4
  /* translators: %s: name of the user who manages the module. */
5
  Object(l.__)("%s has connected this and given managing permissions to all admins. You can change who can view this on the dashboard.","google-site-kit"),i):Object(l.sprintf)(
6
  /* translators: %s: name of the user who manages the module. */
7
+ Object(l.__)("Contact %s to change who can manage view access for this module.","google-site-kit"),i),classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(d.a,{icon:f.a,size:18}))))))}Module.propTypes={moduleSlug:o.a.string.isRequired,moduleName:o.a.string.isRequired,ownerUsername:o.a.string}}).call(this,r(3))},367:function(e,t,r){"use strict";(function(e){var n=r(24),a=r.n(n),i=r(13),o=r.n(i),c=r(0),s=r.n(c),u=r(8),l=r.n(u),d=r(141),f=r(127),g=r.n(f),p=r(1),b=r(57),v=r(2),m=r(4),h=r.n(m),y=r(18),_=r(22),O=r(253),S=r(142),E=r(20),k=r(131),w=r(10),j=r(16),T=r(34),I=r(136),D=h.a.useSelect,x=h.a.useDispatch,R=Object(p.__)("All","google-site-kit"),N=Object(v.forwardRef)((function(t,r){var n=t.moduleSlug,i=t.isLocked,c=void 0!==i&&i,s=Object(E.a)(),u=Object(v.useRef)(),f=Object(v.useState)([]),m=o()(f,2),h=m[0],N=m[1],C=x(j.a).setSharedRoles,A=x(T.b).setValue,P=D((function(e){return e(j.a).getShareableRoles()})),U=D((function(e){return e(j.a).getSharedRoles(n)})),L=D((function(e){return e(T.b).getValue(I.a)}))===n;Object(k.a)([b.d],r,(function(){L&&(A(I.a,void 0),u.current.focus())}));var V=Object(v.useCallback)((function(){L?(N(a()(U||[]).sort()),A(I.a,void 0)):(g()(a()(U||[]).sort(),h)||Object(w.y)("".concat(s,"_sharing"),"change_shared_roles",n),A(I.a,n))}),[L,U,h,s,n,A]),M=Object(v.useCallback)((function(e){var t,r=e.type,i=e.target,o=e.keyCode;if("keyup"!==r||o===b.c){var c,s=i.closest(".mdc-chip"),u=null==s||null===(t=s.dataset)||void 0===t?void 0:t.chipId;if(u)c="all"===u?(null==U?void 0:U.length)===(null==P?void 0:P.length)?[]:P.map((function(e){return e.id})):null===U?[u]:U.includes(u)?U.filter((function(e){return e!==u})):[].concat(a()(U),[u]),C(n,c)}}),[n,C,U,P]);return P?e.createElement("div",{className:l()("googlesitekit-user-role-select",{"googlesitekit-user-role-select--open":L})},e.createElement(y.a,{"aria-label":L?Object(p.__)("Close","google-site-kit"):Object(p.__)("Edit roles","google-site-kit"),className:"googlesitekit-user-role-select__button",onClick:V,icon:L?e.createElement(S.a,{width:18,height:18}):e.createElement(O.a,{width:23,height:23}),tabIndex:c?-1:void 0,ref:u}),!L&&(null==U?void 0:U.length)>0&&e.createElement("span",{className:"googlesitekit-user-role-select__current-roles"},(null==P?void 0:P.reduce((function(e,t){return U.includes(t.id)&&e.push(t.displayName),e}),[])).join(", ")),!L&&(!U||0===(null==U?void 0:U.length))&&e.createElement("span",{className:"googlesitekit-user-role-select__add-roles"},e.createElement(_.a,{onClick:function(){u.current.focus(),V()},tabIndex:c?-1:void 0},Object(p.__)("Add roles","google-site-kit"))),L&&e.createElement("div",{className:"googlesitekit-user-role-select__chipset"},e.createElement(d.Chip,{chipCheckmark:e.createElement(d.ChipCheckmark,null),"data-chip-id":"all",id:"all",label:R,onClick:M,onKeyUp:M,selected:(null==U?void 0:U.length)===(null==P?void 0:P.length),className:"googlesitekit-user-role-select__chip googlesitekit-user-role-select__chip--all"}),P.map((function(t,r){var n=t.id,a=t.displayName;return e.createElement(d.Chip,{chipCheckmark:e.createElement(d.ChipCheckmark,null),"data-chip-id":n,id:n,key:r,label:a,onClick:M,onKeyUp:M,selected:null==U?void 0:U.includes(n),className:"googlesitekit-user-role-select__chip"})})))):null}));N.propTypes={moduleSlug:s.a.string.isRequired,isLocked:s.a.bool},t.a=N}).call(this,r(3))},37:function(e,t,r){"use strict";r.d(t,"t",(function(){return a})),r.d(t,"i",(function(){return i})),r.d(t,"m",(function(){return o})),r.d(t,"k",(function(){return c})),r.d(t,"l",(function(){return s})),r.d(t,"j",(function(){return u})),r.d(t,"p",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"c",(function(){return f})),r.d(t,"d",(function(){return g})),r.d(t,"b",(function(){return p})),r.d(t,"e",(function(){return b})),r.d(t,"g",(function(){return v})),r.d(t,"f",(function(){return m})),r.d(t,"h",(function(){return h})),r.d(t,"o",(function(){return y})),r.d(t,"n",(function(){return _})),r.d(t,"r",(function(){return O})),r.d(t,"s",(function(){return S})),r.d(t,"q",(function(){return E}));var n=r(23),a="modules/idea-hub",i="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",s="IDEA_HUB_BUTTON_UNPIN",u="IDEA_HUB_BUTTON_DELETE",l=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",g="IDEA_HUB_ACTIVITY_IS_DELETING",p="IDEA_HUB_ACTIVITY_DELETED",b="IDEA_HUB_ACTIVITY_IS_PINNING",v="IDEA_HUB_ACTIVITY_PINNED",m="IDEA_HUB_ACTIVITY_IS_UNPINNING",h="IDEA_HUB_ACTIVITY_UNPINNED",y="".concat(n.p,"_idea-hub-saved-ideas-notification"),_="".concat(n.m,"_idea-hub"),O="new-ideas",S="saved-ideas",E="draft-ideas"},4:function(e,t){e.exports=googlesitekit.data},41:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(35),a=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))}},42:function(e,t,r){"use strict";r.d(t,"a",(function(){return O}));var n=r(5),a=r.n(n),i=r(6),o=r.n(i),c=r(7),s=r.n(c),u=r(54),l=r.n(u),d=r(49),f=r(74),g=r(10);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 b(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=function(e){return e},m=function(){return{}},h=function(){},y=d.a.clearError,_=d.a.receiveError,O=function(e){var t,r,n=a.a.mark(P),i=e.baseName,c=e.controlCallback,u=e.reducerCallback,d=void 0===u?v:u,p=e.argsToParams,O=void 0===p?m:p,S=e.validateParams,E=void 0===S?h:S;s()(i,"baseName is required."),s()("function"==typeof c,"controlCallback is required and must be a function."),s()("function"==typeof d,"reducerCallback must be a function."),s()("function"==typeof O,"argsToParams must be a function."),s()("function"==typeof E,"validateParams must be a function.");try{E(O()),r=!1}catch(e){r=!0}var k=Object(f.b)(i),w=Object(f.a)(i),j="FETCH_".concat(w),T="START_".concat(j),I="FINISH_".concat(j),D="CATCH_".concat(j),x="RECEIVE_".concat(w),R="fetch".concat(k),N="receive".concat(k),C="isFetching".concat(k),A=o()({},C,{});function P(e,t){var r,o;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,{payload:{params:e},type:T};case 2:return n.next=4,y(i,t);case 4:return n.prev=4,n.next=7,{payload:{params:e},type:j};case 7:return r=n.sent,n.next=10,U[N](r,e);case 10:return n.next=12,{payload:{params:e},type:I};case 12:n.next=23;break;case 14:return n.prev=14,n.t0=n.catch(4),o=n.t0,n.next=19,_(o,i,t);case 19:return n.next=21,_(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=O.apply(void 0,t);return E(n),P(n,t)})),o()(t,N,(function(e,t){return s()(void 0!==e,"response is required."),r?(s()(l()(t),"params is required."),E(t)):t={},{payload:{response:e,params:t},type:x}})),t),L=o()({},j,(function(e){var t=e.payload;return c(t.params)})),V=o()({},C,(function(e){if(void 0===e[C])return!1;var t;try{for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];t=O.apply(void 0,n),E(t)}catch(e){return!1}return!!e[C][Object(g.x)(t)]}));return{initialState:A,actions:U,controls:L,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case T:var a=n.params;return b(b({},e),{},o()({},C,b(b({},e[C]),{},o()({},Object(g.x)(a),!0))));case x:var i=n.response,c=n.params;return d(e,i,c);case I:var s=n.params;return b(b({},e),{},o()({},C,b(b({},e[C]),{},o()({},Object(g.x)(s),!1))));case D:var u=n.params;return b(b({},e),{},o()({},C,b(b({},e[C]),{},o()({},Object(g.x)(u),!1))));default:return e}},resolvers:{},selectors:V}}},43:function(e,t,r){"use strict";r.d(t,"d",(function(){return a})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"b",(function(){return c})),r.d(t,"e",(function(){return s}));var n=r(129),a="xlarge",i="desktop",o="tablet",c="small";function s(){var e=Object(n.a)();return e>1280?a:e>960?i:e>600?o:c}},44:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return m})),r.d(t,"d",(function(){return h})),r.d(t,"a",(function(){return y})),r.d(t,"c",(function(){return _}));var n=r(5),a=r.n(n),i=r(14),o=r.n(i),c=(r(24),r(10));function s(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,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw i}}}}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 l,d="googlesitekit_".concat("1.79.1","_"),f=["sessionStorage","localStorage"],g=[].concat(f),p=function(){var t=o()(a.a.mark((function t(r){var n,i;return a.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,i="__storage_test__",n.setItem(i,i),n.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!==n.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function b(){return v.apply(this,arguments)}function v(){return(v=o()(a.a.mark((function t(){var r,n,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:r=s(g),t.prev=3,r.s();case 5:if((n=r.n()).done){t.next=15;break}if(i=n.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),r.e(t.t0);case 20:return t.prev=20,r.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 m=function(){var e=o()(a.a.mark((function e(t){var r,n,i,o,c,s,u;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!(r=e.sent)){e.next=10;break}if(!(n=r.getItem("".concat(d).concat(t)))){e.next=10;break}if(i=JSON.parse(n),o=i.timestamp,c=i.ttl,s=i.value,u=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:u});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)}}(),h=function(){var t=o()(a.a.mark((function t(r,n){var i,o,s,u,l,f,g,p,v=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},o=i.ttl,s=void 0===o?c.b:o,u=i.timestamp,l=void 0===u?Math.round(Date.now()/1e3):u,f=i.isError,g=void 0!==f&&f,t.next=3,b();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(d).concat(r),JSON.stringify({timestamp:l,ttl:s,value:n,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,r){return t.apply(this,arguments)}}(),y=function(){var t=o()(a.a.mark((function t(r){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(n=t.sent)){t.next=13;break}return t.prev=4,n.removeItem("".concat(d).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)}}(),_=function(){var t=o()(a.a.mark((function t(){var r,n,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(r=t.sent)){t.next=14;break}for(t.prev=4,n=[],i=0;i<r.length;i++)0===(o=r.key(i)).indexOf(d)&&n.push(o.substring(d.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(21))},48:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(29);function a(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},49:function(e,t,r){"use strict";r.d(t,"a",(function(){return b})),r.d(t,"b",(function(){return v}));var n=r(6),a=r.n(n),i=r(28),o=r.n(i),c=r(7),s=r.n(c),u=r(77),l=r.n(u),d=r(10);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 g(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 p(e,t){if(t&&Array.isArray(t)){var r=t.map((function(e){return"object"===o()(e)?Object(d.x)(e):e}));return"".concat(e,"::").concat(l()(JSON.stringify(r)))}return e}var b={receiveError:function(e,t,r){return s()(e,"error is required."),t&&s()(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&&s()(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 v(e){s()(e,"storeName must be defined.");var t={getErrorForSelector:function(r,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];s()(n,"selectorName is required.");var i=t.getError(r,n,a);if(i)return g(g({},i),{},{selectorData:{storeName:e,name:n,args:a}})},getErrorForAction:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(r,"actionName is required."),t.getError(e,r,n)},getError:function(e,t,r){var n=e.error,a=e.errors;return t||r?(s()(t,"baseName is required."),a[p(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(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},error:void 0},actions:b,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_ERROR":var i=n.baseName,o=n.args,c=n.error;return g(g({},e),{},i?{errors:g(g({},e.errors||{}),{},a()({},p(i,o),c))}:{error:c});case"CLEAR_ERROR":var s=n.baseName,u=n.args,l=g({},e);if(s){var d=p(s,u);l.errors=g({},e.errors||{}),delete l.errors[d]}else l.error=void 0;return l;case"CLEAR_ERRORS":var f=n.baseName,b=g({},e);if(f)for(var v in b.errors=g({},e.errors||{}),b.errors)(v===f||v.startsWith("".concat(f,"::")))&&delete b.errors[v];else b.errors={},b.error=void 0;return b;default:return e}},resolvers:{},selectors:t}}},50:function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return i})),r.d(t,"d",(function(){return o})),r.d(t,"c",(function(){return c})),r.d(t,"e",(function(){return s}));var n=r(111);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(n.a)(e))return e;if(e.length<=t)return e;var r=new URL(e),a=e.replace(r.origin,"");if(a.length<t)return a;var i=a.length-Math.floor(t)+1;return"…"+a.substr(i)}},58:function(e,t,r){"use strict";r.d(t,"d",(function(){return n})),r.d(t,"c",(function(){return a})),r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return o})),r.d(t,"e",(function(){return c})),r.d(t,"g",(function(){return d})),r.d(t,"h",(function(){return v})),r.d(t,"i",(function(){return m})),r.d(t,"j",(function(){return p.a})),r.d(t,"f",(function(){return y})),r.d(t,"k",(function(){return b}));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".',i=3600,o=86400,c=604800,s=r(7),u=r.n(s),l=r(35),d=function(e){var t=new Date(e);u()(Object(l.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("-")},f=r(13),g=r.n(f),p=r(41),b=function(e){u()(Object(p.a)(e),n);var t=e.split("-"),r=g()(t,3),a=r[0],i=r[1],o=r[2];return new Date(a,i-1,o)},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r=b(e);return r.setDate(r.getDate()-t),d(r)},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]};var h=r(1);function y(){var e=function(e){return Object(h.sprintf)(
8
  /* translators: %s: number of days */
9
  Object(h._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}}}},61:function(e,t,r){"use strict";(function(e){var n=r(0),a=r.n(n),i=r(8),o=r.n(i);function ChangeArrow(t){var r=t.direction,n=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),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,r(3))},63:function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return c}));var n=r(28),a=r.n(n),i=r(73),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,r="object"===a()(e)?e.toString():e;return null==r||null===(t=r.replace)||void 0===t?void 0:t.call(r,/\/+$/,"")}},67:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(2),a=Object(n.createContext)(""),i=(a.Consumer,a.Provider);t.b=a},69:function(e,t,r){"use strict";r.d(t,"a",(function(){return T})),r.d(t,"b",(function(){return I})),r.d(t,"c",(function(){return D})),r.d(t,"d",(function(){return R})),r.d(t,"e",(function(){return N})),r.d(t,"g",(function(){return A})),r.d(t,"f",(function(){return P}));var n,a=r(5),i=r.n(a),o=r(24),c=r.n(o),s=r(6),u=r.n(s),l=r(7),d=r.n(l),f=r(207),g=r.n(f),p=r(70),b=r.n(p),v=r(100);function m(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?m(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y=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 h(h({},e),t)}),{}),a=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),i=x(a);return d()(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},_=y,O=y,S=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,a=[].concat(t);return"function"!=typeof a[0]&&(n=a.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 a.reduce((function(e,r){return r(e,t)}),e)}},E=y,k=y,w=y,j=function(e){return e},T=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=w.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:n,controls:O.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:_.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:S.apply(void 0,[n].concat(c()(t.map((function(e){return e.reducer||j}))))),resolvers:E.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:k.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},I={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={},u()(n,"GET_REGISTRY",Object(v.d)((function(e){return function(){return e}}))),u()(n,"AWAIT",(function(e){return e.payload.value})),n),x=function(e){for(var t=[],r={},n=0;n<e.length;n++){var a=e[n];r[a]=r[a]>=1?r[a]+1:1,r[a]>1&&t.push(a)}return t},R={actions:I,controls:D,reducer:j},N=function(e){return function(t){return C(e(t))}},C=b()((function(e){return g()(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return d()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.negate,n=void 0!==r&&r,a=Object(v.e)((function(t){return function(r){var a=!n,i=!!n;try{for(var o=arguments.length,c=new Array(o>1?o-1:0),s=1;s<o;s++)c[s-1]=arguments[s];return e.apply(void 0,[t,r].concat(c)),a}catch(e){return i}}})),i=Object(v.e)((function(t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];e.apply(void 0,[t,r].concat(a))}}));return{safeSelector:a,dangerousSelector:i}}function P(e,t){return d()("function"==typeof e,"a validator function is required."),d()("function"==typeof t,"an action creator function is required."),d()("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)}}},719:function(e,t,r){"use strict";(function(e){var n,a=r(5),i=r.n(a),o=r(14),c=r.n(o),s=r(30),u=r(1),l=r(23),d=r(16),f=r(37),g={slug:"ideaHubModule",contexts:[l.g,l.i],version:"1.43.0",checkRequirements:(n=c()(i.a.mark((function e(t){var r,n,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.__experimentalResolveSelect(d.a).getModules();case 2:if(r=t.select(d.a).isModuleActive("idea-hub"),n=t.select(d.a).isModuleConnected("idea-hub"),r&&n){e.next=6;break}return e.abrupt("return",!1);case 6:return e.next=8,t.__experimentalResolveSelect(f.t).getNewIdeas();case 8:return a=e.sent,e.abrupt("return",!!a.length);case 10:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)}),steps:[{target:".googlesitekit-widget--ideaHubIdeas",title:Object(u.__)("Get inspiration for new topics to write about!","google-site-kit"),content:Object(u.__)("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(u.__)("Start a draft","google-site-kit"),content:Object(u.__)("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(u.__)("Save for later or dismiss","google-site-kit"),content:Object(u.__)('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:function(e){return"".concat(e,"_idea-hub-widget")},callback:function(t){var r=t.type,n=t.index;if([s.b.STEP_BEFORE,s.b.STEP_AFTER].includes(r)&&2===n){var a="googlesitekit-idea-hub__actions--unhide",i=e.document.querySelector(".googlesitekit-idea-hub__actions--pin"),o=e.document.querySelector(".googlesitekit-idea-hub__actions--delete");i&&o&&(r===s.b.STEP_BEFORE&&(i.classList.add(a),o.classList.add(a)),r===s.b.STEP_AFTER&&(i.classList.remove(a),o.classList.remove(a)))}}};t.a=g}).call(this,r(21))},72:function(e,t,r){"use strict";(function(e){r.d(t,"c",(function(){return O})),r.d(t,"d",(function(){return E})),r.d(t,"b",(function(){return k})),r.d(t,"a",(function(){return w}));var n=r(13),a=r.n(n),i=r(28),o=r.n(i),c=r(6),s=r.n(c),u=r(19),l=r.n(u),d=r(25),f=r(70),g=r.n(f),p=r(1);function b(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?b(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=h(e,t),n=r.formatUnit,a=r.formatDecimal;try{return n()}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 r=Math.floor(e/60/60),n=Math.floor(e/60%60),a=Math.floor(e%60);return{hours:r,minutes:n,seconds:a,formatUnit:function(){var i=t.unitDisplay,o=v(v({unitDisplay:void 0===i?"short":i},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?E(a,v(v({},o),{},{unit:"second"})):Object(p.sprintf)(
10
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
dist/assets/js/{googlesitekit-idea-hub-post-list-20c70744c72fde65021d.js → googlesitekit-idea-hub-post-list-585ce45e340f2535a00e.js} RENAMED
@@ -6,7 +6,7 @@ Object(p.__)("Text input for option %s","google-site-kit"),r))),e.createElement(
6
  /* translators: %s: the number of answers. */
7
  Object(p.__)("Choose at least %s answers","google-site-kit"),u)),e.createElement(v.a,{onClick:function(){var e=Object.values(N).filter((function(e){return e.selected})).map((function(e){var t=e.answer_ordinal,n=e.answer_text;return n?{answer_ordinal:t,answer_text:n}:{answer_ordinal:t}}));i({answer:e})},disabled:P},k)))};E.propTypes={question:u.a.string.isRequired,choices:u.a.arrayOf(u.a.shape({answer_ordinal:u.a.oneOfType([u.a.string,u.a.number]),text:u.a.string,write_in:u.a.bool})).isRequired,answerQuestion:u.a.func.isRequired,dismissSurvey:u.a.func.isRequired,minChoices:u.a.number,maxChoices:u.a.number,submitButtonText:u.a.string.isRequired},t.a=E}).call(this,n(3))},195:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(13),o=n.n(i),c=n(0),l=n.n(c),s=n(2),u=n(18),d=n(64),f=n(196);function g(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function SurveyQuestionSingleSelect(t){var n=t.question,r=t.choices,a=t.answerQuestion,i=t.dismissSurvey,c=t.submitButtonText,l=Object(s.useState)(""),g=o()(l,2),p=g[0],v=g[1],b=Object(s.useState)(""),h=o()(b,2),y=h[0],O=h[1],k=r.map((function(e){return m(m({},e),{},{answer_ordinal:"".concat(e.answer_ordinal)})})),_=!!p&&k.filter((function(e){var t=e.answer_ordinal,n=e.write_in;return t===p&&n})).length>0,E=""===p||_&&""===y;return e.createElement("div",{className:"googlesitekit-single-select"},e.createElement(d.a,{title:n,dismissSurvey:i}),e.createElement("div",{className:"googlesitekit-survey__body"},k.map((function(t,n){return e.createElement(f.a,{key:n,value:p,setValue:v,writeIn:y,setWriteIn:O,choice:t})}))),e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(u.a,{onClick:function(){var e=_?{answer_text:y}:{};a({answer:m({answer_ordinal:Number(p)},e)})},disabled:E},c)))};p.propTypes={question:l.a.string.isRequired,choices:l.a.arrayOf(l.a.shape({answer_ordinal:l.a.oneOfType([l.a.string,l.a.number]),text:l.a.string,write_in:l.a.bool})).isRequired,answerQuestion:l.a.func.isRequired,dismissSurvey:l.a.func.isRequired},t.a=p}).call(this,n(3))},196:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(2),o=n(1),c=n(169),l=n(9),s=n(62),u=function SurveyQuestionSingleSelectChoice(t){var n=t.value,r=t.setValue,a=t.writeIn,u=t.setWriteIn,d=t.choice,f=d.answer_ordinal,g=d.text,m=d.write_in,p=n===f,v="googlesitekit-survey__multi-select-".concat(f,"-").concat(g);return e.createElement("div",{className:"googlesitekit-single-select__choice"},e.createElement(c.a,{id:g.replace(/ /g,"-"),value:f,checked:p,name:g,onClick:function(){return r(f)}},g),m&&e.createElement(i.Fragment,null,e.createElement(s.a,null,e.createElement("label",{htmlFor:v},Object(o.sprintf)(
8
  /* translators: %s: Option name */
9
- Object(o.__)("Text input for option %s","google-site-kit"),g))),e.createElement(l.q,null,e.createElement(l.g,{id:v,onChange:function(e){return u(e.target.value.slice(0,100))},value:a,disabled:!p}))))};u.propTypes={choice:a.a.shape({answer_ordinal:a.a.oneOfType([a.a.string,a.a.number]),text:a.a.string,write_in:a.a.bool}),value:a.a.string.isRequired,setValue:a.a.func.isRequired,writeIn:a.a.string.isRequired,setWriteIn:a.a.func.isRequired},t.a=u}).call(this,n(3))},197:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SurveyTerms}));var r=n(1),a=n(76),i=n(4),o=n.n(i),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(a.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,external:!0}),terms:e.createElement(l.a,{href:n,external:!0})}))}}).call(this,n(3))},20:function(e,t,n){"use strict";var r=n(2),a=n(67);t.a=function(){return Object(r.useContext)(a.b)}},22:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),u=n.n(s),d=n(122),f=n(1),g=n(2),m=Object(g.forwardRef)((function(t,n){var r,i=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,O=t.inverse,k=t.onClick,_=t.small,E=t.to,w=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","onClick","small","to"]),S=y||E||!k?E?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",j="BUTTON"===S||"BUTTON_DISABLED"===S?"button":"ROUTER_LINK"===S?d.b:"a",x=("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(j,a()({"aria-label":x,className:u()("googlesitekit-cta-link",m,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":O,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":_,"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:k,rel:"EXTERNAL_LINK"===S?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===S?"_blank":void 0,to:E},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,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:"",inverse:!1,small:!1},t.a=m}).call(this,n(3))},23:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"k",(function(){return a})),n.d(t,"i",(function(){return i})),n.d(t,"l",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"n",(function(){return f})),n.d(t,"p",(function(){return g})),n.d(t,"j",(function(){return m})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return h}));var r="dashboard",a="pageDashboard",i="dashboardViewOnly",o="pageDashboardViewOnly",c="postsList",l="userInput",s="activation",u="splash",d="adminBar",f="settings",g="wpDashboard",m="moduleSetup",p="traffic",v="content",b="speed",h="monetization"},29: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"},32:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return h}));var r=n(86),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,f=a.isAuthenticated,g={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:f,pluginVersion:"1.79.0"},m=Object(r.a)(g),p=m.enableTracking,v=m.disableTracking,b=(m.isTrackingEnabled,m.initializeSnippet),h=m.trackEvent;function y(e){e?p():v()}c&&l&&b()}).call(this,n(21))},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(21))},34:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},4:function(e,t){e.exports=googlesitekit.data},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),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))}},43:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(129),a="xlarge",i="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},44:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return h})),n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return O}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=(n(24),n(10));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,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 u,d="googlesitekit_".concat("1.79.0","_"),f=["sessionStorage","localStorage"],g=[].concat(f),m=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 v.apply(this,arguments)}function v(){return(v=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===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(g),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,m(i);case 11:if(!t.sent){t.next=13;break}u=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===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=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(d).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)}}(),h=function(){var t=o()(a.a.mark((function t(n,r){var i,o,l,s,u,f,g,m,v=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},o=i.ttl,l=void 0===o?c.b:o,s=i.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,f=i.isError,g=void 0!==f&&f,t.next=3,p();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(d).concat(n),JSON.stringify({timestamp:u,ttl:l,value:r,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),y=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(d).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()(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(d)&&r.push(o.substring(d.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(21))},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(29);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},50: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(111);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)}},52:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(23),a=n(20);function i(){var e=Object(a.a)();return e===r.i||e===r.l}},56:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return q}));var a=n(17),i=n.n(a),o=n(6),c=n.n(o),l=n(5),s=n.n(l),u=n(14),d=n.n(u),f=n(13),g=n.n(f),m=n(0),p=n.n(m),v=n(8),b=n.n(v),h=n(241),y=n.n(h),O=n(98),k=n(2),_=n(104),E=n(9),w=n(132),S=n(50),j=n(63),x=n(112),N=n(18),C=n(168),T=n(151),R=n(22),D=n(128),P=n(145),L=n(44),A=n(43),I=n(114),q={EXTERNAL:"external",INTERNAL:"internal"};function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,l=t.badgeLabel,u=t.blockData,f=t.children,m=t.className,p=t.ctaLabel,v=t.ctaLink,h=t.ctaTarget,z=t.description,M=t.dismiss,B=t.dismissExpires,F=t.format,U=t.id,H=t.isDismissible,V=t.learnMoreDescription,K=t.learnMoreLabel,Q=t.learnMoreURL,G=t.learnMoreTarget,$=t.logo,W=t.module,X=t.moduleName,J=t.noBottomPadding,Y=t.onCTAClick,Z=t.onDismiss,ee=t.onLearnMoreClick,te=t.pageIndex,ne=t.showOnce,re=t.SmallImageSVG,ae=t.title,ie=t.type,oe=t.WinImageSVG,ce=t.rounded,le=void 0!==ce&&ce,se=Object(k.useState)(!1),ue=g()(se,2),de=ue[0],fe=ue[1],ge=Object(k.useState)(!1),me=g()(ge,2),pe=me[0],ve=me[1],be="notification::dismissed::".concat(U),he=function(){return Object(L.d)(be,new Date,{ttl:null})},ye=Object(A.e)();function Oe(){return(Oe=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!Z){e.next=5;break}return e.next=5,Z(t);case 5:ke();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ke(){fe(!0),setTimeout(d()(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,he();case 2:ve(!0),t=new Event("notificationDismissed"),document.dispatchEvent(t);case 5:case"end":return e.stop()}}),e)}))),350)}function _e(){return(_e=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),!Y){e.next=4;break}return e.next=4,Y(t);case 4:H&&ke();case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(O.a)(d()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(B>0)){e.next=3;break}return e.next=3,Se();case 3:if(!H){e.next=9;break}return e.next=6,Object(L.b)(be);case 6:t=e.sent,n=t.cacheHit,ve(n);case 9:if(!ne){e.next=12;break}return e.next=12,he();case 12:case"end":return e.stop()}}),e)}))));var Ee=Object(k.useCallback)((function(t){Object(S.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(w.a)(a,ye),behavior:"smooth"}))}),[a,ye]);function we(){return(we=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.persist(),null==ee||ee();case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Se(){return je.apply(this,arguments)}function je(){return(je=d()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(L.b)(be);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(B,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(L.a)(be);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(H&&(void 0===pe||pe))return null;var xe,Ne=de?"is-closed":"is-open",Ce="large"===F&&"win-stats-increase"===ie,Te=Object(I.d)(F),Re=Object(I.c)(F),De=Object(I.a)(F),Pe=Object(I.b)({format:F,inlineLayout:Ce,hasErrorOrWarning:"win-error"===ie||"win-warning"===ie,hasSmallImageSVG:!!re,hasWinImageSVG:!!oe});xe="win-warning"===ie?r.createElement(C.a,{width:34}):"win-error"===ie?r.createElement(T.a,{width:28}):"";var Le=r.createElement(k.Fragment,null,u&&r.createElement(E.o,null,y()(u,(function(e,t){return r.createElement(E.a,{key:t,lgSize:Ce?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(x.a,e)))})))),Ae=r.createElement(k.Fragment,null,ae&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},ae,l&&r.createElement(D.a,{label:l})),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(R.a,{href:a,onClick:Ee},o)),z&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(k.isValidElement)(z)?z:r.createElement("span",{dangerouslySetInnerHTML:Object(j.a)(z,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),K&&r.createElement(k.Fragment,null," ",r.createElement(R.a,{onClick:function(e){return we.apply(this,arguments)},href:Q,external:G===q.EXTERNAL},K),V),te&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},te))),f),Ie=W?r.createElement(P.a,{slug:W,size:19}):r.createElement(_.a,{height:"34",width:"32"}),qe=Ce?{size:12,smOrder:2,mdOrder:1}:{size:12},ze=v?R.a:N.a;return r.createElement("section",{id:U,className:b()(m,"googlesitekit-publisher-win",(n={},c()(n,"googlesitekit-publisher-win--".concat(F),F),c()(n,"googlesitekit-publisher-win--".concat(ie),ie),c()(n,"googlesitekit-publisher-win--".concat(Ne),Ne),c()(n,"googlesitekit-publisher-win--rounded",le),c()(n,"googlesitekit-publisher-win--no-bottom-padding",J),n))},r.createElement(E.e,{className:b()({"googlesitekit-padding-bottom-0":J})},r.createElement(E.o,null,$&&r.createElement(E.a,qe,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},Ie),X&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},X)),re&&r.createElement(E.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(re,null)),r.createElement(E.a,i()({},Pe,De,{className:"googlesitekit-publisher-win__content"}),Ce?r.createElement(E.o,null,r.createElement(E.a,{mdSize:8,lgSize:5},Ae),r.createElement(E.a,{alignBottom:!0,mdSize:8,lgSize:7},Le)):r.createElement(k.Fragment,null,Ae,Le),v&&r.createElement(N.a,{className:"googlesitekit-notification__cta",href:v,target:h,onClick:function(e){return _e.apply(this,arguments)}},p),H&&M&&r.createElement(ze,{onClick:function(e){return Oe.apply(this,arguments)}},M)),oe&&r.createElement(E.a,i()({},Te,Re,{alignBottom:"larger"===F&&J}),r.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(F)},r.createElement(oe,null))),("win-error"===ie||"win-warning"===ie)&&r.createElement(E.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},xe)))))}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,learnMoreTarget:p.a.oneOf(Object.values(q)),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,onLearnMoreClick:p.a.func,anchorLink:p.a.string,anchorLinkLabel:p.a.string,badgeLabel:p.a.string,noBottomPadding:p.a.bool,rounded:p.a.bool},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1,noBottomPadding:!1,learnMoreTarget:q.EXTERNAL},t.b=BannerNotification}).call(this,n(21),n(3))},58:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return v})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return m.a})),n.d(t,"f",(function(){return y})),n.d(t,"k",(function(){return p}));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=3600,o=86400,c=604800,l=n(7),s=n.n(l),u=n(35),d=function(e){var t=new Date(e);s()(Object(u.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("-")},f=n(13),g=n.n(f),m=n(41),p=function(e){s()(Object(m.a)(e),r);var t=e.split("-"),n=g()(t,3),a=n[0],i=n[1],o=n[2];return new Date(a,i-1,o)},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=p(e);return n.setDate(n.getDate()-t),d(n)},b=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]};var h=n(1);function y(){var e=function(e){return Object(h.sprintf)(
10
  /* translators: %s: number of days */
11
  Object(h._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}}}},61:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(8),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))},62:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),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))},63: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(73),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,/\/+$/,"")}},64:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(162),c=n(348),l=n(18),s=n(104),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))},65: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(0),o=n.n(i),c=n(8),l=n.n(c),s=n(1),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:l()("googlesitekit-gathering-data-notice",a()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(s.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(3))},67: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},72: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 w})),n.d(t,"a",(function(){return S}));var r=n(13),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(19),u=n.n(s),d=n(25),f=n(70),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,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(m.sprintf)(
12
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
6
  /* translators: %s: the number of answers. */
7
  Object(p.__)("Choose at least %s answers","google-site-kit"),u)),e.createElement(v.a,{onClick:function(){var e=Object.values(N).filter((function(e){return e.selected})).map((function(e){var t=e.answer_ordinal,n=e.answer_text;return n?{answer_ordinal:t,answer_text:n}:{answer_ordinal:t}}));i({answer:e})},disabled:P},k)))};E.propTypes={question:u.a.string.isRequired,choices:u.a.arrayOf(u.a.shape({answer_ordinal:u.a.oneOfType([u.a.string,u.a.number]),text:u.a.string,write_in:u.a.bool})).isRequired,answerQuestion:u.a.func.isRequired,dismissSurvey:u.a.func.isRequired,minChoices:u.a.number,maxChoices:u.a.number,submitButtonText:u.a.string.isRequired},t.a=E}).call(this,n(3))},195:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(13),o=n.n(i),c=n(0),l=n.n(c),s=n(2),u=n(18),d=n(64),f=n(196);function g(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function SurveyQuestionSingleSelect(t){var n=t.question,r=t.choices,a=t.answerQuestion,i=t.dismissSurvey,c=t.submitButtonText,l=Object(s.useState)(""),g=o()(l,2),p=g[0],v=g[1],b=Object(s.useState)(""),h=o()(b,2),y=h[0],O=h[1],k=r.map((function(e){return m(m({},e),{},{answer_ordinal:"".concat(e.answer_ordinal)})})),_=!!p&&k.filter((function(e){var t=e.answer_ordinal,n=e.write_in;return t===p&&n})).length>0,E=""===p||_&&""===y;return e.createElement("div",{className:"googlesitekit-single-select"},e.createElement(d.a,{title:n,dismissSurvey:i}),e.createElement("div",{className:"googlesitekit-survey__body"},k.map((function(t,n){return e.createElement(f.a,{key:n,value:p,setValue:v,writeIn:y,setWriteIn:O,choice:t})}))),e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(u.a,{onClick:function(){var e=_?{answer_text:y}:{};a({answer:m({answer_ordinal:Number(p)},e)})},disabled:E},c)))};p.propTypes={question:l.a.string.isRequired,choices:l.a.arrayOf(l.a.shape({answer_ordinal:l.a.oneOfType([l.a.string,l.a.number]),text:l.a.string,write_in:l.a.bool})).isRequired,answerQuestion:l.a.func.isRequired,dismissSurvey:l.a.func.isRequired},t.a=p}).call(this,n(3))},196:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(2),o=n(1),c=n(169),l=n(9),s=n(62),u=function SurveyQuestionSingleSelectChoice(t){var n=t.value,r=t.setValue,a=t.writeIn,u=t.setWriteIn,d=t.choice,f=d.answer_ordinal,g=d.text,m=d.write_in,p=n===f,v="googlesitekit-survey__multi-select-".concat(f,"-").concat(g);return e.createElement("div",{className:"googlesitekit-single-select__choice"},e.createElement(c.a,{id:g.replace(/ /g,"-"),value:f,checked:p,name:g,onClick:function(){return r(f)}},g),m&&e.createElement(i.Fragment,null,e.createElement(s.a,null,e.createElement("label",{htmlFor:v},Object(o.sprintf)(
8
  /* translators: %s: Option name */
9
+ Object(o.__)("Text input for option %s","google-site-kit"),g))),e.createElement(l.q,null,e.createElement(l.g,{id:v,onChange:function(e){return u(e.target.value.slice(0,100))},value:a,disabled:!p}))))};u.propTypes={choice:a.a.shape({answer_ordinal:a.a.oneOfType([a.a.string,a.a.number]),text:a.a.string,write_in:a.a.bool}),value:a.a.string.isRequired,setValue:a.a.func.isRequired,writeIn:a.a.string.isRequired,setWriteIn:a.a.func.isRequired},t.a=u}).call(this,n(3))},197:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SurveyTerms}));var r=n(1),a=n(76),i=n(4),o=n.n(i),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(a.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,external:!0}),terms:e.createElement(l.a,{href:n,external:!0})}))}}).call(this,n(3))},20:function(e,t,n){"use strict";var r=n(2),a=n(67);t.a=function(){return Object(r.useContext)(a.b)}},22:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),u=n.n(s),d=n(122),f=n(1),g=n(2),m=Object(g.forwardRef)((function(t,n){var r,i=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,O=t.inverse,k=t.onClick,_=t.small,E=t.to,w=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","onClick","small","to"]),S=y||E||!k?E?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",j="BUTTON"===S||"BUTTON_DISABLED"===S?"button":"ROUTER_LINK"===S?d.b:"a",x=("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(j,a()({"aria-label":x,className:u()("googlesitekit-cta-link",m,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":O,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":_,"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:k,rel:"EXTERNAL_LINK"===S?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===S?"_blank":void 0,to:E},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,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:"",inverse:!1,small:!1},t.a=m}).call(this,n(3))},23:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"k",(function(){return a})),n.d(t,"i",(function(){return i})),n.d(t,"l",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"n",(function(){return f})),n.d(t,"p",(function(){return g})),n.d(t,"j",(function(){return m})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return h}));var r="dashboard",a="pageDashboard",i="dashboardViewOnly",o="pageDashboardViewOnly",c="postsList",l="userInput",s="activation",u="splash",d="adminBar",f="settings",g="wpDashboard",m="moduleSetup",p="traffic",v="content",b="speed",h="monetization"},29: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"},32:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return h}));var r=n(86),a=e._googlesitekitTrackingData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s=a.trackingID,u=a.referenceSiteURL,d=a.userIDHash,f=a.isAuthenticated,g={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:f,pluginVersion:"1.79.1"},m=Object(r.a)(g),p=m.enableTracking,v=m.disableTracking,b=(m.isTrackingEnabled,m.initializeSnippet),h=m.trackEvent;function y(e){e?p():v()}c&&l&&b()}).call(this,n(21))},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(21))},34:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="core/ui",a="activeContextID"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},4:function(e,t){e.exports=googlesitekit.data},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),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))}},43:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(129),a="xlarge",i="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?a:e>960?i:e>600?o:c}},44:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return h})),n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return O}));var r=n(5),a=n.n(r),i=n(14),o=n.n(i),c=(n(24),n(10));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,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 u,d="googlesitekit_".concat("1.79.1","_"),f=["sessionStorage","localStorage"],g=[].concat(f),m=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 v.apply(this,arguments)}function v(){return(v=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===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(g),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,m(i);case 11:if(!t.sent){t.next=13;break}u=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===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=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(d).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)}}(),h=function(){var t=o()(a.a.mark((function t(n,r){var i,o,l,s,u,f,g,m,v=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},o=i.ttl,l=void 0===o?c.b:o,s=i.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,f=i.isError,g=void 0!==f&&f,t.next=3,p();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(d).concat(n),JSON.stringify({timestamp:u,ttl:l,value:r,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),y=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(d).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()(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(d)&&r.push(o.substring(d.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(21))},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(29);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},50: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(111);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)}},52:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(23),a=n(20);function i(){var e=Object(a.a)();return e===r.i||e===r.l}},56:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return q}));var a=n(17),i=n.n(a),o=n(6),c=n.n(o),l=n(5),s=n.n(l),u=n(14),d=n.n(u),f=n(13),g=n.n(f),m=n(0),p=n.n(m),v=n(8),b=n.n(v),h=n(241),y=n.n(h),O=n(98),k=n(2),_=n(104),E=n(9),w=n(132),S=n(50),j=n(63),x=n(112),N=n(18),C=n(168),T=n(151),R=n(22),D=n(128),P=n(145),L=n(44),A=n(43),I=n(114),q={EXTERNAL:"external",INTERNAL:"internal"};function BannerNotification(t){var n,a=t.anchorLink,o=t.anchorLinkLabel,l=t.badgeLabel,u=t.blockData,f=t.children,m=t.className,p=t.ctaLabel,v=t.ctaLink,h=t.ctaTarget,z=t.description,M=t.dismiss,B=t.dismissExpires,F=t.format,U=t.id,H=t.isDismissible,V=t.learnMoreDescription,K=t.learnMoreLabel,Q=t.learnMoreURL,G=t.learnMoreTarget,$=t.logo,W=t.module,X=t.moduleName,J=t.noBottomPadding,Y=t.onCTAClick,Z=t.onDismiss,ee=t.onLearnMoreClick,te=t.pageIndex,ne=t.showOnce,re=t.SmallImageSVG,ae=t.title,ie=t.type,oe=t.WinImageSVG,ce=t.rounded,le=void 0!==ce&&ce,se=Object(k.useState)(!1),ue=g()(se,2),de=ue[0],fe=ue[1],ge=Object(k.useState)(!1),me=g()(ge,2),pe=me[0],ve=me[1],be="notification::dismissed::".concat(U),he=function(){return Object(L.d)(be,new Date,{ttl:null})},ye=Object(A.e)();function Oe(){return(Oe=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!Z){e.next=5;break}return e.next=5,Z(t);case 5:ke();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ke(){fe(!0),setTimeout(d()(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,he();case 2:ve(!0),t=new Event("notificationDismissed"),document.dispatchEvent(t);case 5:case"end":return e.stop()}}),e)}))),350)}function _e(){return(_e=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),!Y){e.next=4;break}return e.next=4,Y(t);case 4:H&&ke();case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(O.a)(d()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(B>0)){e.next=3;break}return e.next=3,Se();case 3:if(!H){e.next=9;break}return e.next=6,Object(L.b)(be);case 6:t=e.sent,n=t.cacheHit,ve(n);case 9:if(!ne){e.next=12;break}return e.next=12,he();case 12:case"end":return e.stop()}}),e)}))));var Ee=Object(k.useCallback)((function(t){Object(S.c)(a)&&(t.preventDefault(),e.history.replaceState({},"",a),e.scrollTo({top:Object(w.a)(a,ye),behavior:"smooth"}))}),[a,ye]);function we(){return(we=d()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.persist(),null==ee||ee();case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Se(){return je.apply(this,arguments)}function je(){return(je=d()(s.a.mark((function e(){var t,n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(L.b)(be);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(B,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(L.a)(be);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(H&&(void 0===pe||pe))return null;var xe,Ne=de?"is-closed":"is-open",Ce="large"===F&&"win-stats-increase"===ie,Te=Object(I.d)(F),Re=Object(I.c)(F),De=Object(I.a)(F),Pe=Object(I.b)({format:F,inlineLayout:Ce,hasErrorOrWarning:"win-error"===ie||"win-warning"===ie,hasSmallImageSVG:!!re,hasWinImageSVG:!!oe});xe="win-warning"===ie?r.createElement(C.a,{width:34}):"win-error"===ie?r.createElement(T.a,{width:28}):"";var Le=r.createElement(k.Fragment,null,u&&r.createElement(E.o,null,y()(u,(function(e,t){return r.createElement(E.a,{key:t,lgSize:Ce?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(x.a,e)))})))),Ae=r.createElement(k.Fragment,null,ae&&r.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},ae,l&&r.createElement(D.a,{label:l})),a&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(R.a,{href:a,onClick:Ee},o)),z&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},r.createElement("p",null,Object(k.isValidElement)(z)?z:r.createElement("span",{dangerouslySetInnerHTML:Object(j.a)(z,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),K&&r.createElement(k.Fragment,null," ",r.createElement(R.a,{onClick:function(e){return we.apply(this,arguments)},href:Q,external:G===q.EXTERNAL},K),V),te&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},te))),f),Ie=W?r.createElement(P.a,{slug:W,size:19}):r.createElement(_.a,{height:"34",width:"32"}),qe=Ce?{size:12,smOrder:2,mdOrder:1}:{size:12},ze=v?R.a:N.a;return r.createElement("section",{id:U,className:b()(m,"googlesitekit-publisher-win",(n={},c()(n,"googlesitekit-publisher-win--".concat(F),F),c()(n,"googlesitekit-publisher-win--".concat(ie),ie),c()(n,"googlesitekit-publisher-win--".concat(Ne),Ne),c()(n,"googlesitekit-publisher-win--rounded",le),c()(n,"googlesitekit-publisher-win--no-bottom-padding",J),n))},r.createElement(E.e,{className:b()({"googlesitekit-padding-bottom-0":J})},r.createElement(E.o,null,$&&r.createElement(E.a,qe,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},Ie),X&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},X)),re&&r.createElement(E.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(re,null)),r.createElement(E.a,i()({},Pe,De,{className:"googlesitekit-publisher-win__content"}),Ce?r.createElement(E.o,null,r.createElement(E.a,{mdSize:8,lgSize:5},Ae),r.createElement(E.a,{alignBottom:!0,mdSize:8,lgSize:7},Le)):r.createElement(k.Fragment,null,Ae,Le),v&&r.createElement(N.a,{className:"googlesitekit-notification__cta",href:v,target:h,onClick:function(e){return _e.apply(this,arguments)}},p),H&&M&&r.createElement(ze,{onClick:function(e){return Oe.apply(this,arguments)}},M)),oe&&r.createElement(E.a,i()({},Te,Re,{alignBottom:"larger"===F&&J}),r.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(F)},r.createElement(oe,null))),("win-error"===ie||"win-warning"===ie)&&r.createElement(E.a,{size:1},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},xe)))))}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,learnMoreTarget:p.a.oneOf(Object.values(q)),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,onLearnMoreClick:p.a.func,anchorLink:p.a.string,anchorLinkLabel:p.a.string,badgeLabel:p.a.string,noBottomPadding:p.a.bool,rounded:p.a.bool},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1,noBottomPadding:!1,learnMoreTarget:q.EXTERNAL},t.b=BannerNotification}).call(this,n(21),n(3))},58:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return v})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return m.a})),n.d(t,"f",(function(){return y})),n.d(t,"k",(function(){return p}));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=3600,o=86400,c=604800,l=n(7),s=n.n(l),u=n(35),d=function(e){var t=new Date(e);s()(Object(u.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("-")},f=n(13),g=n.n(f),m=n(41),p=function(e){s()(Object(m.a)(e),r);var t=e.split("-"),n=g()(t,3),a=n[0],i=n[1],o=n[2];return new Date(a,i-1,o)},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=p(e);return n.setDate(n.getDate()-t),d(n)},b=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]};var h=n(1);function y(){var e=function(e){return Object(h.sprintf)(
10
  /* translators: %s: number of days */
11
  Object(h._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}}}},61:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(8),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))},62:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(19),o=n.n(i),c=n(0),l=n.n(c),s=n(8),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))},63: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(73),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,/\/+$/,"")}},64:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(162),c=n(348),l=n(18),s=n(104),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))},65: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(0),o=n.n(i),c=n(8),l=n.n(c),s=n(1),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:l()("googlesitekit-gathering-data-notice",a()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(s.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(3))},67: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},72: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 w})),n.d(t,"a",(function(){return S}));var r=n(13),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(19),u=n.n(s),d=n(25),f=n(70),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,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(m.sprintf)(
12
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
dist/assets/js/{googlesitekit-modules-adsense-f39025790f0d7ed403e2.js → googlesitekit-modules-adsense-785d1a2a5444d762f572.js} RENAMED
@@ -28,7 +28,7 @@ Object(i.__)("The data for the following modules was previously shared by an adm
28
  /* translators: 1: date for user stats, 2: previous date for user stats comparison */
29
  Object(o._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),m.toLocaleDateString(p,y),g.toLocaleDateString(p,y)),I=Object(c.t)(E,null==r?void 0:r.currencyCode);"METRIC_RATIO"===(null==r?void 0:r.type)&&(I=Object(c.t)(E,"%"));var j=Object(o.sprintf)(
30
  /* translators: 1: selected stat label, 2: numeric value of selected stat, 3: up or down arrow , 4: different change in percentage, %%: percent symbol */
31
- Object(o._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s%%</em>","Stat information for chart tooltip","google-site-kit"),n,I,k,Math.abs(O).toFixed(2).replace(/(.00|0)$/,""));u.push([m,'<div class="'.concat(i()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":O>0,"googlesitekit-visualization-tooltip--down":O<0}),'">\n\t\t\t\t<p>').concat(N,"</p>\n\t\t\t\t<p>").concat(j,"</p>\n\t\t\t</div>"),E,T]),m=l(m),g=l(g)}return u}n(119);var l=n(503);n(395)},249:function(e,t,n){"use strict";(function(e){var a=n(55),r=n.n(a),i=n(250),o=e._googlesitekitAPIFetchData||{},c=o.nonce,s=o.nonceEndpoint,u=o.preloadedData,l=o.rootURL;r.a.nonceEndpoint=s,r.a.nonceMiddleware=r.a.createNonceMiddleware(c),r.a.rootURLMiddleware=r.a.createRootURLMiddleware(l),r.a.preloadingMiddleware=Object(i.a)(u),r.a.use(r.a.nonceMiddleware),r.a.use(r.a.mediaUploadMiddleware),r.a.use(r.a.rootURLMiddleware),r.a.use(r.a.preloadingMiddleware),t.default=r.a}).call(this,n(21))},250:function(e,t,n){"use strict";var a=n(227);t.a=function(e){var t=Object.keys(e).reduce((function(t,n){return t[Object(a.getStablePath)(n)]=e[n],t}),{}),n=!1;return function(e,r){if(n)return r(e);setTimeout((function(){n=!0}),1e3);var i=e.parse,o=void 0===i||i,c=e.path;if("string"==typeof e.path){var s,u=(null===(s=e.method)||void 0===s?void 0:s.toUpperCase())||"GET",l=Object(a.getStablePath)(c);if(o&&"GET"===u&&t[l]){var d=Promise.resolve(t[l].body);return delete t[l],d}if("OPTIONS"===u&&t[u]&&t[u][l]){var m=Promise.resolve(t[u][l]);return delete t[u][l],m}}return r(e)}}},255:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GA4PropertyNotice}));var a=n(0),r=n.n(a),i=n(1),o=n(154),c=n(22);function GA4PropertyNotice(t){var n=t.notice,a=t.children;return e.createElement(o.b,{type:o.a,LearnMore:function LearnMore(){return e.createElement(c.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/ga4/",external:!0},Object(i.__)("Learn more","google-site-kit"))},notice:n},a)}GA4PropertyNotice.propTypes={children:r.a.node,notice:r.a.string.isRequired}}).call(this,n(3))},257:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(7),r=n.n(a),i=n(41),o=function(e){var t=e.startDate,n=e.endDate,a=e.compareStartDate,o=e.compareEndDate;r()(Object(i.a)(t),"A valid startDate is required."),r()(Object(i.a)(n),"A valid endDate is required.");var c={"_u.date00":t.replace(/-/g,""),"_u.date01":n.replace(/-/g,"")};return(a||o)&&(r()(Object(i.a)(a)&&Object(i.a)(o),"Valid compareStartDate and compareEndDate values are required."),c["_u.date10"]=a.replace(/-/g,""),c["_u.date11"]=o.replace(/-/g,"")),c}},258:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return s}));var a=n(28),r=n.n(a);function i(e,t){return"string"==typeof e||(!("object"!==r()(e)||!t(e))||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e||"object"===r()(e)&&t(e)})))}function o(e){var t=e.dateRange,n=e.startDate,a=e.endDate,r=n&&n.match(/^\d{4}-\d{2}-\d{2}$/),i=a&&a.match(/^\d{4}-\d{2}-\d{2}$/),o=t&&t.match(/^last-\d+-days$/);return r&&i||o}function c(e){var t=function(e){var t=e.hasOwnProperty("fieldName")&&!!e.fieldName,n=e.hasOwnProperty("sortOrder")&&e.sortOrder.toString().match(/(ASCENDING|DESCENDING)/i);return t&&n};return Array.isArray(e)?e.every((function(e){return"object"===r()(e)&&t(e)})):"object"===r()(e)&&t(e)}function s(e){return"string"==typeof e||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}},26:function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"e",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return s}));var a="modules/adsense",r=1,i="READY",o="NEEDS_ATTENTION",c="REQUIRES_REVIEW",s="GETTING_READY"},269:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GA4Notice}));var a=n(1),r=n(154),i=n(22);function GA4Notice(){return e.createElement(r.b,{type:r.a,LearnMore:function LearnMore(){return e.createElement(i.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/ga4/",external:!0},Object(a.__)("Learn more here.","google-site-kit"))},notice:Object(a.__)("Got a Google Analytics 4 (GA4) property and want to find out how to use it with Site Kit?","google-site-kit")})}}).call(this,n(3))},27:function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"h",(function(){return l}));var a="modules/tagmanager",r="account_create",i="container_create",o="web",c="amp",s="tagmanagerSetup",u="https://www.googleapis.com/auth/tagmanager.edit.containers",l="SETUP_WITH_ANALYTICS"},270:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return p})),n.d(t,"d",(function(){return y})),n.d(t,"c",(function(){return TrackingExclusionSwitches}));var a,r=n(6),i=n.n(r),o=n(2),c=n(1),s=n(4),u=n.n(s),l=n(11),d=n(133),m=u.a.useSelect,g=u.a.useDispatch,f="loggedinUsers",p="contentCreators",y=(a={},i()(a,f,Object(c.__)("All logged-in users","google-site-kit")),i()(a,p,Object(c.__)("Users that can write posts","google-site-kit")),a);function TrackingExclusionSwitches(){var t,n=m((function(e){return e(l.f).getTrackingDisabled()})),a=g(l.f).setTrackingDisabled;t=n&&n.includes(f)?Object(c.__)("All logged-in users will be excluded from Analytics tracking","google-site-kit"):n&&n.includes(p)?Object(c.__)("Users that can write posts will be excluded from Analytics tracking","google-site-kit"):Object(c.__)("All logged-in users will be included in Analytics tracking","google-site-kit");var r=Object(o.useCallback)((function(e,t){var r=t?n.concat(e):n.filter((function(t){return t!==e}));a(r)}),[n,a]),i=Object(o.useCallback)((function(e){var t=e.target.checked;r(p,t)}),[r]),s=Object(o.useCallback)((function(e){var t=e.target.checked;r(f,t)}),[r]);return Array.isArray(n)?e.createElement("fieldset",{className:"googlesitekit-analytics-trackingdisabled"},e.createElement("legend",{className:"googlesitekit-setup-module__text"},Object(c.__)("Exclude from Analytics","google-site-kit")),e.createElement("div",{className:"googlesitekit-settings-module__inline-items"},e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(d.a,{label:y[f],checked:n.includes(f),onClick:s,hideLabel:!1})),!n.includes(f)&&e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(d.a,{label:y[p],checked:n.includes(p),onClick:i,hideLabel:!1}))),e.createElement("p",{className:"googlesitekit-margin-top-0"},t)):null}}).call(this,n(3))},271:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UseSnippetSwitch}));var a=n(0),r=n.n(a),i=n(2),o=n(1),c=n(4),s=n.n(c),u=n(11),l=n(133),d=n(10),m=n(20),g=s.a.useSelect,f=s.a.useDispatch;function UseSnippetSwitch(t){var n=t.description,a=Object(m.a)(),r=g((function(e){return e(u.f).getUseSnippet()})),c=g((function(e){return e(u.f).getCanUseSnippet()})),s=g((function(e){return e(u.f).hasExistingTag()})),p=f(u.f).setUseSnippet,y=Object(i.useCallback)((function(){var e=!r;p(e),Object(d.y)("".concat(a,"_analytics"),e?"enable_tag":"disable_tag","ua")}),[r,p,a]);return void 0===r||void 0===s?null:e.createElement("div",{className:"googlesitekit-analytics-usesnippet"},e.createElement(l.a,{label:Object(o.__)("Place Universal Analytics code","google-site-kit"),checked:!1!==c&&r,onClick:y,hideLabel:!1,disabled:!1===c}),n)}UseSnippetSwitch.propTypes={description:r.a.node}}).call(this,n(3))},277:function(e,t){e.exports=googlesitekit.widgets},278:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var a=n(0),r=n.n(a),i=n(2);function SettingsNoticeSingleRow(t){var n=t.notice,a=t.LearnMore;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),a&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(a,null)))}SettingsNoticeSingleRow.propTypes={notice:r.a.node.isRequired,LearnMore:r.a.elementType}}).call(this,n(3))},279:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var a=n(0),r=n.n(a),i=n(2);function SettingsNoticeMultiRow(t){var n=t.notice,a=t.LearnMore,r=t.children;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),e.createElement("div",{className:"googlesitekit-settings-notice__inner-row"},e.createElement("div",{className:"googlesitekit-settings-notice__children-container"},r),a&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(a,null))))}SettingsNoticeMultiRow.propTypes={children:r.a.node.isRequired,notice:r.a.node.isRequired,LearnMore:r.a.elementType}}).call(this,n(3))},29:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a="_googlesitekitDataLayer",r="data-googlesitekit-gtag"},301:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GoogleChart}));var a=n(6),r=n.n(a),i=n(17),o=n.n(i),c=n(24),s=n.n(c),u=n(13),l=n.n(u),d=n(19),m=n.n(d),g=(n(442),n(8)),f=n.n(g),p=n(0),y=n.n(p),b=n(342),v=n(267),h=n.n(v),_=n(318),S=n.n(_),A=n(382),E=n.n(A),T=n(2),O=n(96),k=n(60),N=n(12),I=n(65),j=n(4);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function w(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){r()(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 R=n.n(j).a.useSelect;function GoogleChart(t){var n=t.chartEvents,a=t.chartType,r=t.children,i=t.className,c=t.data,u=t.getChartWrapper,d=t.height,g=t.loaded,p=t.loadingHeight,y=t.loadingWidth,v=t.onMouseOver,_=t.onMouseOut,A=t.onReady,j=t.onSelect,C=t.selectedStats,w=t.width,D=t.options,M=t.gatheringData,P=void 0!==M&&M,Z=m()(t,["chartEvents","chartType","children","className","data","getChartWrapper","height","loaded","loadingHeight","loadingWidth","onMouseOver","onMouseOut","onReady","onSelect","selectedStats","width","options","gatheringData"]),L=Object(k.a)("zeroDataStates"),G=R((function(e){return e(N.a).getDateRangeDates()})),x=G.startDate,U=G.endDate,B=Object(T.useState)(!1),F=l()(B,2),W=F[0],q=F[1],H=[];(null==c?void 0:c.length)&&(H=c[0].reduce((function(e,t,n){return(null==t?void 0:t.role)?[].concat(s()(e),[n]):e}),[]));var z=c;(null==C?void 0:C.length)>0&&(z=c.map((function(e){return e.filter((function(e,t){return 0===t||C.includes(t-1)||H.includes(t-1)}))})));var V=p||d,K=y||w;V&&!K&&(K="100%"),K&&!V&&(V="100%");var Y="PieChart"===a?"circular":"square",$=e.createElement("div",{className:"googlesitekit-chart-loading"},e.createElement(O.a,{className:"googlesitekit-chart-loading__wrapper",height:V,shape:Y,width:K})),J=Object(T.useRef)(),Q=Object(T.useRef)();if(Object(T.useEffect)((function(){return function(){if(Q.current&&J.current){var e=Q.current.visualization.events;e.removeAllListeners(J.current.getChart()),e.removeAllListeners(J.current)}}}),[]),Object(T.useLayoutEffect)((function(){var e,t;v&&(null===(e=Q.current)||void 0===e||e.visualization.events.addListener(J.current.getChart(),"onmouseover",(function(e){v(e,{chartWrapper:J.current,google:Q.current})})));_&&(null===(t=Q.current)||void 0===t||t.visualization.events.addListener(J.current.getChart(),"onmouseout",(function(e){_(e,{chartWrapper:J.current,google:Q.current})})))}),[v,_]),!g)return e.createElement("div",{className:f()("googlesitekit-chart","googlesitekit-chart-loading__forced",i)},$);var X=s()(n||[]);A&&X.push({eventName:"ready",callback:A}),j&&X.push({eventName:"select",callback:j});var ee,te,ne,ae,re,ie,oe,ce,se=S()(D);L&&P&&"LineChart"===a&&((null==D||null===(ee=D.vAxis)||void 0===ee||null===(te=ee.viewWindow)||void 0===te?void 0:te.min)||h()(se,"vAxis.viewWindow.min",0),(null==D||null===(ne=D.vAxis)||void 0===ne||null===(ae=ne.viewWindow)||void 0===ae?void 0:ae.max)||h()(se,"vAxis.viewWindow.max",100),(null==D||null===(re=D.hAxis)||void 0===re||null===(ie=re.viewWindow)||void 0===ie?void 0:ie.min)||(h()(se,"hAxis.viewWindow.min",new Date(x)),delete se.hAxis.ticks),(null==D||null===(oe=D.hAxis)||void 0===oe||null===(ce=oe.viewWindow)||void 0===ce?void 0:ce.max)||(h()(se,"hAxis.viewWindow.max",new Date(U)),delete se.hAxis.ticks));return E()(se,{hAxis:{textStyle:{fontName:"Google Sans Text",fontSize:10,color:"#5f6561"}},vAxis:{textStyle:{fontName:"Google Sans Text",color:"#5f6561",fontSize:10}},legend:{textStyle:{fontName:"Google Sans Text",color:"#131418",fontSize:12}}}),e.createElement("div",{className:f()("googlesitekit-chart","googlesitekit-chart--".concat(a),i),tabIndex:-1},e.createElement(b.a,o()({className:"googlesitekit-chart__inner",chartEvents:X,chartType:a,chartVersion:"49",data:z,loader:$,height:d,getChartWrapper:function(e,t){var n,a,r;(W||q(!0),e!==J.current)&&(null===(n=Q.current)||void 0===n||n.visualization.events.removeAllListeners(null===(a=J.current)||void 0===a?void 0:a.getChart()),null===(r=Q.current)||void 0===r||r.visualization.events.removeAllListeners(J.current));J.current=e,Q.current=t,u&&u(e,t)},width:w,options:se},Z)),L&&P&&W&&e.createElement(I.b,{style:I.a.OVERLAY}),r)}GoogleChart.propTypes={className:y.a.string,children:y.a.node,chartEvents:y.a.arrayOf(y.a.shape({eventName:y.a.string,callback:y.a.func})),chartType:y.a.oneOf(["LineChart","PieChart"]).isRequired,data:y.a.array,getChartWrapper:y.a.func,height:y.a.string,loaded:y.a.bool,loadingHeight:y.a.string,loadingWidth:y.a.string,onMouseOut:y.a.func,onMouseOver:y.a.func,onReady:y.a.func,onSelect:y.a.func,selectedStats:y.a.arrayOf(y.a.number),width:y.a.string,options:y.a.object,gatheringData:y.a.bool},GoogleChart.defaultProps=w(w({},b.a.defaultProps),{},{loaded:!0})}).call(this,n(3))},307:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(503);function r(e){if(Object(a.b)(e))return e.match(/pub-\d+$/)[0]}},31:function(e,t){e.exports=googlesitekit.api},32:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return v}));var a=n(86),r=e._googlesitekitTrackingData||{},i=r.activeModules,o=void 0===i?[]:i,c=r.isSiteKitScreen,s=r.trackingEnabled,u=r.trackingID,l=r.referenceSiteURL,d=r.userIDHash,m=r.isAuthenticated,g={activeModules:o,trackingEnabled:s,trackingID:u,referenceSiteURL:l,userIDHash:d,isSiteKitScreen:c,userRoles:r.userRoles,isAuthenticated:m,pluginVersion:"1.79.0"},f=Object(a.a)(g),p=f.enableTracking,y=f.disableTracking,b=(f.isTrackingEnabled,f.initializeSnippet),v=f.trackEvent;function h(e){e?p():y()}c&&s&&b()}).call(this,n(21))},321:function(e,t,n){"use strict";(function(e,a){var r=n(13),i=n.n(r),o=n(0),c=n.n(o),s=n(25),u=n(8),l=n.n(u),d=n(2);function TableOverflowContainer(t){var n=t.children,r=Object(d.useState)(!1),o=i()(r,2),c=o[0],u=o[1],m=Object(d.useRef)();Object(d.useEffect)((function(){g();var t=Object(s.debounce)(g,100);return e.addEventListener("resize",t),function(){return e.removeEventListener("resize",t)}}),[]);var g=function(){if(m.current){var e=m.current,t=e.scrollLeft,n=e.scrollWidth-e.offsetWidth;u(t<n-16&&0<n-16)}};return a.createElement("div",{onScroll:Object(s.debounce)(g,100),className:l()("googlesitekit-table-overflow",{"googlesitekit-table-overflow--gradient":c})},a.createElement("div",{ref:m,className:"googlesitekit-table-overflow__container"},n))}TableOverflowContainer.propTypes={children:c.a.element},t.a=TableOverflowContainer}).call(this,n(21),n(3))},322:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportTable}));var a=n(8),r=n.n(a),i=n(341),o=n.n(i),c=n(7),s=n.n(c),u=n(0),l=n.n(u),d=n(60),m=n(65);function ReportTable(t){var n=t.rows,a=t.columns,i=t.className,c=t.limit,u=t.zeroState,l=t.gatheringData,g=void 0!==l&&l,f=Object(d.a)("zeroDataStates");s()(Array.isArray(n),"rows must be an array."),s()(Array.isArray(a),"columns must be an array."),a.forEach((function(e){var t=e.Component,n=e.field,a=void 0===n?null:n;s()(t||null!==a,"each column must define a Component and/or a field.")})),s()(Number.isInteger(c)||void 0===c,"limit must be an integer, if provided.");var p=a.filter((function(e){return!e.hideOnMobile}));return e.createElement("div",{className:r()("googlesitekit-table","googlesitekit-table--with-list",{"googlesitekit-table--gathering-data":g},i)},e.createElement("table",{className:r()("googlesitekit-table__wrapper","googlesitekit-table__wrapper--".concat(a.length,"-col"),"googlesitekit-table__wrapper--mobile-".concat(p.length,"-col"))},e.createElement("thead",{className:"googlesitekit-table__head"},e.createElement("tr",{className:"googlesitekit-table__head-row"},a.map((function(t,n){var a=t.title,i=t.description,o=t.primary,c=t.hideOnMobile,s=t.className;return e.createElement("th",{className:r()("googlesitekit-table__head-item",{"googlesitekit-table__head-item--primary":o},{"hidden-on-mobile":c},s),"data-tooltip":i,key:"googlesitekit-table__head-row-".concat(n)},a)})))),e.createElement("tbody",{className:"googlesitekit-table__body"},f&&g&&e.createElement("tr",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("td",{className:"googlesitekit-table__body-item",colSpan:a.length},e.createElement(m.b,null))),(!f||!g)&&!(null==n?void 0:n.length)&&u&&e.createElement("tr",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("td",{className:"googlesitekit-table__body-item",colSpan:a.length},e.createElement(u,null))),!g&&n.slice(0,c).map((function(t,n){return e.createElement("tr",{className:"googlesitekit-table__body-row",key:"googlesitekit-table__body-row-".concat(n)},a.map((function(n,a){var i=n.Component,c=n.field,s=n.hideOnMobile,u=n.className,l=void 0!==c?o()(t,c):void 0;return e.createElement("td",{key:"googlesitekit-table__body-item-".concat(a),className:r()("googlesitekit-table__body-item",{"hidden-on-mobile":s},u)},e.createElement("div",{className:"googlesitekit-table__body-item-content"},i&&e.createElement(i,{row:t,fieldValue:l}),!i&&l))})))})))))}ReportTable.propTypes={rows:l.a.arrayOf(l.a.oneOfType([l.a.array,l.a.object])).isRequired,columns:l.a.arrayOf(l.a.shape({title:l.a.string,description:l.a.string,primary:l.a.bool,className:l.a.string,field:l.a.string,hideOnMobile:l.a.bool,Component:l.a.componentType})).isRequired,className:l.a.string,limit:l.a.number,zeroState:l.a.func,gatheringData:l.a.bool}}).call(this,n(3))},323:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var a=n(6),r=n.n(a),i=n(14),o=n.n(i),c=n(5),s=n.n(c),u=n(7),l=n.n(u),d=n(4),m=n.n(d),g=n(15),f=n(238);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function y(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){r()(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}function b(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 v(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 v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}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 v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var h=m.a.createRegistryControl,_=m.a.createRegistrySelector,S=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.storeName,a=t.isValidTag,i=t.tagMatchers;l()("string"==typeof n&&n,"storeName is required."),l()("function"==typeof a,"isValidTag must be a function."),l()(Array.isArray(i),"tagMatchers must be an Array.");var c={existingTag:void 0},u={fetchGetExistingTag:function(){return{payload:{},type:"FETCH_GET_EXISTING_TAG"}},receiveGetExistingTag:function(e){return l()(null===e||"string"==typeof e,"existingTag must be a tag string or null."),{payload:{existingTag:a(e)?e:null},type:"RECEIVE_GET_EXISTING_TAG"}},waitForExistingTag:s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"WAIT_FOR_EXISTING_TAG"};case 2:case"end":return e.stop()}}),e)}))},d=(e={},r()(e,"FETCH_GET_EXISTING_TAG",h((function(e){return o()(s.a.mark((function t(){var n,a,r,o,c,u,l,d;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.select(g.c).getHomeURL(),a=e.select(g.c).getAMPMode(),t.next=4,Object(f.b)({homeURL:n,ampMode:a});case 4:r=t.sent,o=b(r),t.prev=6,o.s();case 8:if((c=o.n()).done){t.next=18;break}return u=c.value,t.next=12,e.dispatch(g.c).waitForHTMLForURL(u);case 12:if(l=e.select(g.c).getHTMLForURL(u),!(d=Object(f.a)(l,i))){t.next=16;break}return t.abrupt("return",d);case 16:t.next=8;break;case 18:t.next=23;break;case 20:t.prev=20,t.t0=t.catch(6),o.e(t.t0);case 23:return t.prev=23,o.f(),t.finish(23);case 26:return t.abrupt("return",null);case 27:case"end":return t.stop()}}),t,null,[[6,20,23,26]])})))}))),r()(e,"WAIT_FOR_EXISTING_TAG",h((function(e){return function(){var t=function(){return void 0!==e.select(n).getExistingTag()};return!!t()||new Promise((function(n){var a=e.subscribe((function(){t()&&(a(),n())}))}))}}))),e),p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0,n=t.type,a=t.payload;switch(n){case"RECEIVE_GET_EXISTING_TAG":var r=a.existingTag;return y(y({},e),{},{existingTag:r});default:return e}},v={getExistingTag:s.a.mark((function e(){var t,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.a.commonActions.getRegistry();case 2:if(void 0!==(t=e.sent).select(n).getExistingTag()){e.next=8;break}return e.next=6,u.fetchGetExistingTag();case 6:a=e.sent,t.dispatch(n).receiveGetExistingTag(a);case 8:case"end":return e.stop()}}),e)}))},S={getExistingTag:function(e){return e.existingTag},hasExistingTag:_((function(e){return function(){var t=e(n).getExistingTag();if(void 0!==t)return!!t}}))},A={initialState:c,actions:u,controls:d,reducer:p,resolvers:v,selectors:S};return y(y({},A),{},{STORE_NAME:n})}},329:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return p})),n.d(t,"d",(function(){return y})),n.d(t,"c",(function(){return AutoAdExclusionSwitches}));var a,r=n(6),i=n.n(r),o=n(2),c=n(1),s=n(4),u=n.n(s),l=n(26),d=n(133),m=u.a.useSelect,g=u.a.useDispatch,f="loggedinUsers",p="contentCreators",y=(a={},i()(a,f,Object(c.__)("All logged-in users","google-site-kit")),i()(a,p,Object(c.__)("Users who can write posts","google-site-kit")),a);function AutoAdExclusionSwitches(){var t,n=m((function(e){return e(l.f).getAutoAdsDisabled()})),a=g(l.f).setAutoAdsDisabled;t=n&&n.includes(f)?Object(c.__)("Ads will not be displayed for all logged-in users","google-site-kit"):n&&n.includes(p)?Object(c.__)("Ads will not be displayed for users that can write posts","google-site-kit"):Object(c.__)("Ads will be displayed for all users","google-site-kit");var r=Object(o.useCallback)((function(e,t){var r=t?n.concat(e):n.filter((function(t){return t!==e}));a(r)}),[n,a]),i=Object(o.useCallback)((function(e){var t=e.target.checked;r(p,t)}),[r]),s=Object(o.useCallback)((function(e){var t=e.target.checked;r(f,t)}),[r]);return Array.isArray(n)?e.createElement("fieldset",{className:"googlesitekit-analytics-auto-ads-disabled"},e.createElement("legend",{className:"googlesitekit-setup-module__text"},Object(c.__)("Exclude from Ads","google-site-kit")),e.createElement("div",{className:"googlesitekit-settings-module__inline-items"},e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(d.a,{label:y[f],checked:n.includes(f),onClick:s,hideLabel:!1})),!n.includes(f)&&e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(d.a,{label:y[p],checked:n.includes(p),onClick:i,hideLabel:!1}))),e.createElement("p",{className:"googlesitekit-margin-top-0"},t)):null}}).call(this,n(3))},33:function(e,t,n){"use strict";(function(e){var a,r;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(a=e)||void 0===a||null===(r=a._googlesitekitBaseData)||void 0===r?void 0:r.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(21))},334:function(e,t,n){"use strict";(function(e){var a=n(0),r=function WidgetHeaderTitle(t){var n=t.title;return e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-widget__header-title"},n)};r.propTypes={title:n.n(a).a.string.isRequired},t.a=r}).call(this,n(3))},34:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r}));var a="core/ui",r="activeContextID"},344:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var a="adblocker_active",r="moduleAdsenseMain",i="adsense-connect-cta",o="adsense-connect-cta-tooltip-state"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a=function(e){return e instanceof Date&&!isNaN(e)}},350:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountCreate}));var a=n(5),r=n.n(a),i=n(14),o=n.n(i),c=n(13),s=n.n(c),u=n(1),l=n(2),d=n(4),m=n.n(d),g=n(11),f=n(15),p=n(12),y=n(36),b=n(39),v=n(66),h=n(10),_=n(370),S=n(9),A=n(18),E=n(22),T=n(45),O=n(113),k=n(255),N=n(371),I=n(372),j=n(373),C=n(374),w=n(375),R=n(20),D=m.a.useDispatch,M=m.a.useSelect;function AccountCreate(){var t=Object(l.useState)(!1),n=s()(t,2),a=n[0],i=n[1],c=M((function(e){return{accounts:e(g.f).getAccounts(),hasResolvedAccounts:e(g.f).hasFinishedResolution("getAccounts")}})),d=c.accounts,m=c.hasResolvedAccounts,P=M((function(e){return e(g.f).getAccountTicketTermsOfServiceURL()})),Z=M((function(e){return e(g.f).canSubmitAccountCreate()})),L=M((function(e){return e(g.f).isDoingCreateAccount()})),G=M((function(e){return e(p.a).hasScope(g.k)})),x=M((function(e){return e(p.a).hasScope(g.c)})),U=M((function(e){return e(y.a).hasForm(g.d)})),B=M((function(e){return e(y.a).getValue(g.d,"autoSubmit")})),F=M((function(e){return e(f.c).getReferenceSiteURL()})),W=M((function(e){return e(f.c).getSiteName()})),q=M((function(e){return e(f.c).getTimezone()})),H=Object(R.a)(),z=D(y.a).setValues,V=D(b.a).navigateTo,K=D(g.f).createAccount,Y=D(p.a).setPermissionScopeError;Object(l.useEffect)((function(){P&&V(P)}),[P,V]),Object(l.useEffect)((function(){U||z(g.d,Object(_.a)({siteName:W,siteURL:F,timezone:q}))}),[U,W,F,q,z]);var $=Object(l.useCallback)(o()(r.a.mark((function e(){var t,n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],G&&x||(t.push(g.k),t.push(g.c)),!(t.length>0)){e.next=6;break}return z(g.d,{autoSubmit:!0}),Y({code:v.a,message:Object(u.__)("Additional permissions are required to create a new Analytics account.","google-site-kit"),data:{status:403,scopes:t,skipModal:!0}}),e.abrupt("return");case 6:return z(g.d,{autoSubmit:!1}),e.next=9,Object(h.y)("".concat(H,"_analytics"),"create_account","proxy");case 9:return e.next=11,K();case 11:n=e.sent,n.error||i(!0);case 14:case"end":return e.stop()}}),e)}))),[K,i,G,x,Y,z,H]);Object(l.useEffect)((function(){G&&B&&$()}),[G,B,$]);var J=D(g.f).rollbackSettings,Q=Object(l.useCallback)((function(){return J()}),[J]);return L||a||!m||void 0===G?e.createElement(T.a,null):e.createElement("div",null,e.createElement(O.a,{moduleSlug:"analytics",storeName:g.f}),e.createElement("h3",{className:"googlesitekit-heading-4"},Object(u.__)("Create your Analytics account","google-site-kit")),e.createElement("p",null,Object(u.__)("We’ve pre-filled the required information for your new account. Confirm or edit any details:","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(S.a,{size:6},e.createElement(I.a,null)),e.createElement(S.a,{size:6},e.createElement(j.a,null)),e.createElement(S.a,{size:6},e.createElement(C.a,null))),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(w.a,null),e.createElement(N.a,null)),e.createElement("p",null,G&&e.createElement("span",null,Object(u.__)("You will be redirected to Google Analytics to accept the terms of service.","google-site-kit")),!G&&e.createElement("span",null,Object(u.__)("You will need to give Site Kit permission to create an Analytics account on your behalf and also accept the Google Analytics terms of service.","google-site-kit"))),e.createElement(k.a,{notice:Object(u.__)("This will create both a Google Analytics 4 and Universal Analytics property.","google-site-kit")}),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(A.a,{disabled:!Z,onClick:$},Object(u.__)("Create Account","google-site-kit")),d&&!!d.length&&e.createElement(E.a,{className:"googlesitekit-setup-module__sub-action",onClick:Q},Object(u.__)("Back","google-site-kit"))))}}).call(this,n(3))},351:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return AccountCreateLegacy}));var r=n(5),i=n.n(r),o=n(14),c=n.n(o),s=n(2),u=n(1),l=n(4),d=n.n(l),m=n(18),g=n(22),f=n(45),p=n(10),y=n(11),b=n(113),v=n(269),h=n(20),_=d.a.useSelect,S=d.a.useDispatch;function AccountCreateLegacy(){var t=_((function(e){return{accounts:e(y.f).getAccounts(),hasResolvedAccounts:e(y.f).hasFinishedResolution("getAccounts")}})),n=t.accounts,r=t.hasResolvedAccounts,o=_((function(e){return e(y.f).getAccountID()})),l=y.a===o,d=_((function(e){return e(y.f).getServiceURL({path:"/provision/SignUp"})})),A=Object(h.a)(),E=Object(s.useCallback)(function(){var t=c()(i.a.mark((function t(n){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),t.next=3,Object(p.y)("".concat(A,"_analytics"),"create_account","custom-oauth");case 3:e.open(d,"_blank");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[d,A]),T=S(y.f).resetAccounts,O=Object(s.useCallback)((function(){T()}),[T]);return r?a.createElement("div",null,a.createElement(v.a,null),a.createElement(b.a,{moduleSlug:"analytics",storeName:y.f}),!l&&n&&0===n.length&&a.createElement("p",null,Object(u.__)('Looks like you don\'t have an Analytics account yet. Once you create it, click on "Re-fetch my account" and Site Kit will locate it.',"google-site-kit")),l&&a.createElement(s.Fragment,null,a.createElement("p",null,Object(u.__)("To create a new account, click the button below which will open the Google Analytics account creation screen in a new window.","google-site-kit")),a.createElement("p",null,Object(u.__)("Once completed, click the link below to re-fetch your accounts to continue.","google-site-kit"))),a.createElement("div",{className:"googlesitekit-setup-module__action"},a.createElement(m.a,{onClick:E},Object(u.__)("Create an account","google-site-kit")),a.createElement("div",{className:"googlesitekit-setup-module__sub-action"},a.createElement(g.a,{onClick:O},Object(u.__)("Re-fetch My Account","google-site-kit"))))):a.createElement(f.a,null)}}).call(this,n(21),n(3))},352:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountSelect}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(45),s=n(9),u=n(11),l=n(10),d=n(20),m=o.a.useSelect,g=o.a.useDispatch;function AccountSelect(t){var n=t.hasModuleAccess,i=Object(d.a)(),o=m((function(e){return e(u.f).getAccountID()})),f=m((function(e){return{accounts:e(u.f).getAccounts(),hasResolvedAccounts:e(u.f).hasFinishedResolution("getAccounts")}})),p=f.accounts,y=f.hasResolvedAccounts,b=g(u.f).selectAccount,v=Object(a.useCallback)((function(e,t){var n=t.dataset.value;if(o!==n){b(n);var a=n===u.a?"change_account_new":"change_account";Object(l.y)("".concat(i,"_analytics"),a)}}),[o,b,i]);return y?!1===n?e.createElement(s.p,{className:"googlesitekit-analytics__select-account",label:Object(r.__)("Account","google-site-kit"),value:o,enhanced:!0,outlined:!0,disabled:!0},e.createElement(s.n,{value:o},o)):e.createElement(s.p,{className:"googlesitekit-analytics__select-account",label:Object(r.__)("Account","google-site-kit"),value:o,onEnhancedChange:v,enhanced:!0,outlined:!0},(p||[]).concat({id:u.a,name:Object(r.__)("Set up a new account","google-site-kit")}).map((function(t,n){var a=t.id,r=t.name;return e.createElement(s.n,{key:n,value:a},r)}))):e.createElement(c.a,{small:!0})}}).call(this,n(3))},353:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdsConversionIDTextField}));var a=n(8),r=n.n(a),i=n(2),o=n(1),c=n(4),s=n.n(c),u=n(9),l=n(11),d=n(62),m=n(71),g=s.a.useSelect,f=s.a.useDispatch;function AdsConversionIDTextField(){var t=g((function(e){return e(l.f).getAdsConversionID()})),n=g((function(e){return e(l.f).getCanUseSnippet()&&e(l.f).getUseSnippet()})),a=f(l.f).setAdsConversionID,c=Object(i.useCallback)((function(e){var n=e.currentTarget.value.trim().toUpperCase();"AW-".length<n.length&&!/^AW-/.test(n)&&(n="AW-".concat(n)),n!==t&&a(n)}),[t,a]),s=Boolean(!t||Object(m.e)(t));return s&&!n?null:e.createElement("div",null,e.createElement(u.q,{label:Object(o.__)("Ads Conversion ID","google-site-kit"),className:r()({"mdc-text-field--error":!s}),helperText:!s&&e.createElement(u.f,{persistent:!0},Object(o.__)("Conversion IDs must be in the format: AW-XXXXX","google-site-kit")),trailingIcon:!s&&e.createElement("span",{className:"googlesitekit-text-field-icon--error"},e.createElement(d.a,null,Object(o.__)("Error","google-site-kit"))),outlined:!0},e.createElement(u.g,{value:t,onChange:c})),e.createElement("p",null,Object(o.__)("If you’re using Google Ads, insert your Ads conversion ID if you’d like Site Kit to place the snippet on your site","google-site-kit")))}}).call(this,n(3))},354:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdSenseLinkCTA}));var a=n(1),r=n(4),i=n.n(r),o=n(75),c=n(15),s=i.a.useSelect;function AdSenseLinkCTA(){var t=s((function(e){return e(c.c).getGoogleSupportURL({path:"/adsense/answer/6084409"})}));return e.createElement(o.a,{title:Object(a.__)("Link Analytics and AdSense","google-site-kit"),description:Object(a.__)("Get reports for your top earning pages by linking your Analytics and AdSense accounts","google-site-kit"),ctaLink:t,ctaLabel:Object(a.__)("Learn more","google-site-kit"),ctaLinkExternal:!0})}}).call(this,n(3))},355:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AnonymizeIPSwitch}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(11),s=n(15),u=n(133),l=n(22),d=o.a.useSelect,m=o.a.useDispatch;function AnonymizeIPSwitch(){var t=d((function(e){return e(c.f).getAnonymizeIP()})),n=d((function(e){return e(c.f).getUseSnippet()})),i=d((function(e){return e(s.c).getAMPMode()})),o=d((function(e){return e(s.c).getGoogleSupportURL({path:"/analytics/answer/2763052"})})),g=m(c.f).setAnonymizeIP,f=Object(a.useCallback)((function(){g(!t)}),[t,g]);return n&&"primary"!==i&&void 0!==t?e.createElement("div",{className:"googlesitekit-analytics-anonymizeip"},e.createElement(u.a,{label:Object(r.__)("Anonymize IP addresses","google-site-kit"),onClick:f,checked:t,hideLabel:!1}),e.createElement("p",null,t?Object(r.__)("IP addresses will be anonymized.","google-site-kit"):Object(r.__)("IP addresses will not be anonymized.","google-site-kit")," ",e.createElement(l.a,{href:o,external:!0,"aria-label":Object(r.__)("Learn more about IP anonymization.","google-site-kit")},Object(r.__)("Learn more","google-site-kit")))):null}}).call(this,n(3))},356:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ExistingGTMPropertyNotice}));var a=n(1),r=n(4),i=n.n(r),o=n(11),c=n(27),s=i.a.useSelect;function ExistingGTMPropertyNotice(){var t=s((function(e){return e(o.f).getPropertyID()})),n=s((function(e){return e(c.g).getSingleAnalyticsPropertyID()}));return n?n===t?e.createElement("p",null,Object(a.sprintf)(
32
  /* translators: %s: GTM property ID */
33
  Object(a.__)("An existing Google Tag Manager property was found on your site with the ID %s. Since it refers to the same property selected here, Site Kit will not place its own tag and rely on the existing one. If later on you decide to remove this property, Site Kit can place a new tag for you.","google-site-kit"),n)):e.createElement("p",null,Object(a.sprintf)(
34
  /* translators: %s: GTM property ID */
28
  /* translators: 1: date for user stats, 2: previous date for user stats comparison */
29
  Object(o._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),m.toLocaleDateString(p,y),g.toLocaleDateString(p,y)),I=Object(c.t)(E,null==r?void 0:r.currencyCode);"METRIC_RATIO"===(null==r?void 0:r.type)&&(I=Object(c.t)(E,"%"));var j=Object(o.sprintf)(
30
  /* translators: 1: selected stat label, 2: numeric value of selected stat, 3: up or down arrow , 4: different change in percentage, %%: percent symbol */
31
+ Object(o._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s%%</em>","Stat information for chart tooltip","google-site-kit"),n,I,k,Math.abs(O).toFixed(2).replace(/(.00|0)$/,""));u.push([m,'<div class="'.concat(i()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":O>0,"googlesitekit-visualization-tooltip--down":O<0}),'">\n\t\t\t\t<p>').concat(N,"</p>\n\t\t\t\t<p>").concat(j,"</p>\n\t\t\t</div>"),E,T]),m=l(m),g=l(g)}return u}n(119);var l=n(503);n(395)},249:function(e,t,n){"use strict";(function(e){var a=n(55),r=n.n(a),i=n(250),o=e._googlesitekitAPIFetchData||{},c=o.nonce,s=o.nonceEndpoint,u=o.preloadedData,l=o.rootURL;r.a.nonceEndpoint=s,r.a.nonceMiddleware=r.a.createNonceMiddleware(c),r.a.rootURLMiddleware=r.a.createRootURLMiddleware(l),r.a.preloadingMiddleware=Object(i.a)(u),r.a.use(r.a.nonceMiddleware),r.a.use(r.a.mediaUploadMiddleware),r.a.use(r.a.rootURLMiddleware),r.a.use(r.a.preloadingMiddleware),t.default=r.a}).call(this,n(21))},250:function(e,t,n){"use strict";var a=n(227);t.a=function(e){var t=Object.keys(e).reduce((function(t,n){return t[Object(a.getStablePath)(n)]=e[n],t}),{}),n=!1;return function(e,r){if(n)return r(e);setTimeout((function(){n=!0}),1e3);var i=e.parse,o=void 0===i||i,c=e.path;if("string"==typeof e.path){var s,u=(null===(s=e.method)||void 0===s?void 0:s.toUpperCase())||"GET",l=Object(a.getStablePath)(c);if(o&&"GET"===u&&t[l]){var d=Promise.resolve(t[l].body);return delete t[l],d}if("OPTIONS"===u&&t[u]&&t[u][l]){var m=Promise.resolve(t[u][l]);return delete t[u][l],m}}return r(e)}}},255:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GA4PropertyNotice}));var a=n(0),r=n.n(a),i=n(1),o=n(154),c=n(22);function GA4PropertyNotice(t){var n=t.notice,a=t.children;return e.createElement(o.b,{type:o.a,LearnMore:function LearnMore(){return e.createElement(c.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/ga4/",external:!0},Object(i.__)("Learn more","google-site-kit"))},notice:n},a)}GA4PropertyNotice.propTypes={children:r.a.node,notice:r.a.string.isRequired}}).call(this,n(3))},257:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(7),r=n.n(a),i=n(41),o=function(e){var t=e.startDate,n=e.endDate,a=e.compareStartDate,o=e.compareEndDate;r()(Object(i.a)(t),"A valid startDate is required."),r()(Object(i.a)(n),"A valid endDate is required.");var c={"_u.date00":t.replace(/-/g,""),"_u.date01":n.replace(/-/g,"")};return(a||o)&&(r()(Object(i.a)(a)&&Object(i.a)(o),"Valid compareStartDate and compareEndDate values are required."),c["_u.date10"]=a.replace(/-/g,""),c["_u.date11"]=o.replace(/-/g,"")),c}},258:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return s}));var a=n(28),r=n.n(a);function i(e,t){return"string"==typeof e||(!("object"!==r()(e)||!t(e))||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e||"object"===r()(e)&&t(e)})))}function o(e){var t=e.dateRange,n=e.startDate,a=e.endDate,r=n&&n.match(/^\d{4}-\d{2}-\d{2}$/),i=a&&a.match(/^\d{4}-\d{2}-\d{2}$/),o=t&&t.match(/^last-\d+-days$/);return r&&i||o}function c(e){var t=function(e){var t=e.hasOwnProperty("fieldName")&&!!e.fieldName,n=e.hasOwnProperty("sortOrder")&&e.sortOrder.toString().match(/(ASCENDING|DESCENDING)/i);return t&&n};return Array.isArray(e)?e.every((function(e){return"object"===r()(e)&&t(e)})):"object"===r()(e)&&t(e)}function s(e){return"string"==typeof e||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}},26:function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"e",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return s}));var a="modules/adsense",r=1,i="READY",o="NEEDS_ATTENTION",c="REQUIRES_REVIEW",s="GETTING_READY"},269:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GA4Notice}));var a=n(1),r=n(154),i=n(22);function GA4Notice(){return e.createElement(r.b,{type:r.a,LearnMore:function LearnMore(){return e.createElement(i.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/ga4/",external:!0},Object(a.__)("Learn more here.","google-site-kit"))},notice:Object(a.__)("Got a Google Analytics 4 (GA4) property and want to find out how to use it with Site Kit?","google-site-kit")})}}).call(this,n(3))},27:function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"h",(function(){return l}));var a="modules/tagmanager",r="account_create",i="container_create",o="web",c="amp",s="tagmanagerSetup",u="https://www.googleapis.com/auth/tagmanager.edit.containers",l="SETUP_WITH_ANALYTICS"},270:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return p})),n.d(t,"d",(function(){return y})),n.d(t,"c",(function(){return TrackingExclusionSwitches}));var a,r=n(6),i=n.n(r),o=n(2),c=n(1),s=n(4),u=n.n(s),l=n(11),d=n(133),m=u.a.useSelect,g=u.a.useDispatch,f="loggedinUsers",p="contentCreators",y=(a={},i()(a,f,Object(c.__)("All logged-in users","google-site-kit")),i()(a,p,Object(c.__)("Users that can write posts","google-site-kit")),a);function TrackingExclusionSwitches(){var t,n=m((function(e){return e(l.f).getTrackingDisabled()})),a=g(l.f).setTrackingDisabled;t=n&&n.includes(f)?Object(c.__)("All logged-in users will be excluded from Analytics tracking","google-site-kit"):n&&n.includes(p)?Object(c.__)("Users that can write posts will be excluded from Analytics tracking","google-site-kit"):Object(c.__)("All logged-in users will be included in Analytics tracking","google-site-kit");var r=Object(o.useCallback)((function(e,t){var r=t?n.concat(e):n.filter((function(t){return t!==e}));a(r)}),[n,a]),i=Object(o.useCallback)((function(e){var t=e.target.checked;r(p,t)}),[r]),s=Object(o.useCallback)((function(e){var t=e.target.checked;r(f,t)}),[r]);return Array.isArray(n)?e.createElement("fieldset",{className:"googlesitekit-analytics-trackingdisabled"},e.createElement("legend",{className:"googlesitekit-setup-module__text"},Object(c.__)("Exclude from Analytics","google-site-kit")),e.createElement("div",{className:"googlesitekit-settings-module__inline-items"},e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(d.a,{label:y[f],checked:n.includes(f),onClick:s,hideLabel:!1})),!n.includes(f)&&e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(d.a,{label:y[p],checked:n.includes(p),onClick:i,hideLabel:!1}))),e.createElement("p",{className:"googlesitekit-margin-top-0"},t)):null}}).call(this,n(3))},271:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UseSnippetSwitch}));var a=n(0),r=n.n(a),i=n(2),o=n(1),c=n(4),s=n.n(c),u=n(11),l=n(133),d=n(10),m=n(20),g=s.a.useSelect,f=s.a.useDispatch;function UseSnippetSwitch(t){var n=t.description,a=Object(m.a)(),r=g((function(e){return e(u.f).getUseSnippet()})),c=g((function(e){return e(u.f).getCanUseSnippet()})),s=g((function(e){return e(u.f).hasExistingTag()})),p=f(u.f).setUseSnippet,y=Object(i.useCallback)((function(){var e=!r;p(e),Object(d.y)("".concat(a,"_analytics"),e?"enable_tag":"disable_tag","ua")}),[r,p,a]);return void 0===r||void 0===s?null:e.createElement("div",{className:"googlesitekit-analytics-usesnippet"},e.createElement(l.a,{label:Object(o.__)("Place Universal Analytics code","google-site-kit"),checked:!1!==c&&r,onClick:y,hideLabel:!1,disabled:!1===c}),n)}UseSnippetSwitch.propTypes={description:r.a.node}}).call(this,n(3))},277:function(e,t){e.exports=googlesitekit.widgets},278:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var a=n(0),r=n.n(a),i=n(2);function SettingsNoticeSingleRow(t){var n=t.notice,a=t.LearnMore;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),a&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(a,null)))}SettingsNoticeSingleRow.propTypes={notice:r.a.node.isRequired,LearnMore:r.a.elementType}}).call(this,n(3))},279:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var a=n(0),r=n.n(a),i=n(2);function SettingsNoticeMultiRow(t){var n=t.notice,a=t.LearnMore,r=t.children;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),e.createElement("div",{className:"googlesitekit-settings-notice__inner-row"},e.createElement("div",{className:"googlesitekit-settings-notice__children-container"},r),a&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(a,null))))}SettingsNoticeMultiRow.propTypes={children:r.a.node.isRequired,notice:r.a.node.isRequired,LearnMore:r.a.elementType}}).call(this,n(3))},29:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a="_googlesitekitDataLayer",r="data-googlesitekit-gtag"},301:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GoogleChart}));var a=n(6),r=n.n(a),i=n(17),o=n.n(i),c=n(24),s=n.n(c),u=n(13),l=n.n(u),d=n(19),m=n.n(d),g=(n(442),n(8)),f=n.n(g),p=n(0),y=n.n(p),b=n(342),v=n(267),h=n.n(v),_=n(318),S=n.n(_),A=n(382),E=n.n(A),T=n(2),O=n(96),k=n(60),N=n(12),I=n(65),j=n(4);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function w(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){r()(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 R=n.n(j).a.useSelect;function GoogleChart(t){var n=t.chartEvents,a=t.chartType,r=t.children,i=t.className,c=t.data,u=t.getChartWrapper,d=t.height,g=t.loaded,p=t.loadingHeight,y=t.loadingWidth,v=t.onMouseOver,_=t.onMouseOut,A=t.onReady,j=t.onSelect,C=t.selectedStats,w=t.width,D=t.options,M=t.gatheringData,P=void 0!==M&&M,Z=m()(t,["chartEvents","chartType","children","className","data","getChartWrapper","height","loaded","loadingHeight","loadingWidth","onMouseOver","onMouseOut","onReady","onSelect","selectedStats","width","options","gatheringData"]),L=Object(k.a)("zeroDataStates"),G=R((function(e){return e(N.a).getDateRangeDates()})),x=G.startDate,U=G.endDate,B=Object(T.useState)(!1),F=l()(B,2),W=F[0],q=F[1],H=[];(null==c?void 0:c.length)&&(H=c[0].reduce((function(e,t,n){return(null==t?void 0:t.role)?[].concat(s()(e),[n]):e}),[]));var z=c;(null==C?void 0:C.length)>0&&(z=c.map((function(e){return e.filter((function(e,t){return 0===t||C.includes(t-1)||H.includes(t-1)}))})));var V=p||d,K=y||w;V&&!K&&(K="100%"),K&&!V&&(V="100%");var Y="PieChart"===a?"circular":"square",$=e.createElement("div",{className:"googlesitekit-chart-loading"},e.createElement(O.a,{className:"googlesitekit-chart-loading__wrapper",height:V,shape:Y,width:K})),J=Object(T.useRef)(),Q=Object(T.useRef)();if(Object(T.useEffect)((function(){return function(){if(Q.current&&J.current){var e=Q.current.visualization.events;e.removeAllListeners(J.current.getChart()),e.removeAllListeners(J.current)}}}),[]),Object(T.useLayoutEffect)((function(){var e,t;v&&(null===(e=Q.current)||void 0===e||e.visualization.events.addListener(J.current.getChart(),"onmouseover",(function(e){v(e,{chartWrapper:J.current,google:Q.current})})));_&&(null===(t=Q.current)||void 0===t||t.visualization.events.addListener(J.current.getChart(),"onmouseout",(function(e){_(e,{chartWrapper:J.current,google:Q.current})})))}),[v,_]),!g)return e.createElement("div",{className:f()("googlesitekit-chart","googlesitekit-chart-loading__forced",i)},$);var X=s()(n||[]);A&&X.push({eventName:"ready",callback:A}),j&&X.push({eventName:"select",callback:j});var ee,te,ne,ae,re,ie,oe,ce,se=S()(D);L&&P&&"LineChart"===a&&((null==D||null===(ee=D.vAxis)||void 0===ee||null===(te=ee.viewWindow)||void 0===te?void 0:te.min)||h()(se,"vAxis.viewWindow.min",0),(null==D||null===(ne=D.vAxis)||void 0===ne||null===(ae=ne.viewWindow)||void 0===ae?void 0:ae.max)||h()(se,"vAxis.viewWindow.max",100),(null==D||null===(re=D.hAxis)||void 0===re||null===(ie=re.viewWindow)||void 0===ie?void 0:ie.min)||(h()(se,"hAxis.viewWindow.min",new Date(x)),delete se.hAxis.ticks),(null==D||null===(oe=D.hAxis)||void 0===oe||null===(ce=oe.viewWindow)||void 0===ce?void 0:ce.max)||(h()(se,"hAxis.viewWindow.max",new Date(U)),delete se.hAxis.ticks));return E()(se,{hAxis:{textStyle:{fontSize:10,color:"#5f6561"}},vAxis:{textStyle:{color:"#5f6561",fontSize:10}},legend:{textStyle:{color:"#131418",fontSize:12}}}),e.createElement("div",{className:f()("googlesitekit-chart","googlesitekit-chart--".concat(a),i),tabIndex:-1},e.createElement(b.a,o()({className:"googlesitekit-chart__inner",chartEvents:X,chartType:a,chartVersion:"49",data:z,loader:$,height:d,getChartWrapper:function(e,t){var n,a,r;(W||q(!0),e!==J.current)&&(null===(n=Q.current)||void 0===n||n.visualization.events.removeAllListeners(null===(a=J.current)||void 0===a?void 0:a.getChart()),null===(r=Q.current)||void 0===r||r.visualization.events.removeAllListeners(J.current));J.current=e,Q.current=t,u&&u(e,t)},width:w,options:se},Z)),L&&P&&W&&e.createElement(I.b,{style:I.a.OVERLAY}),r)}GoogleChart.propTypes={className:y.a.string,children:y.a.node,chartEvents:y.a.arrayOf(y.a.shape({eventName:y.a.string,callback:y.a.func})),chartType:y.a.oneOf(["LineChart","PieChart"]).isRequired,data:y.a.array,getChartWrapper:y.a.func,height:y.a.string,loaded:y.a.bool,loadingHeight:y.a.string,loadingWidth:y.a.string,onMouseOut:y.a.func,onMouseOver:y.a.func,onReady:y.a.func,onSelect:y.a.func,selectedStats:y.a.arrayOf(y.a.number),width:y.a.string,options:y.a.object,gatheringData:y.a.bool},GoogleChart.defaultProps=w(w({},b.a.defaultProps),{},{loaded:!0})}).call(this,n(3))},307:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(503);function r(e){if(Object(a.b)(e))return e.match(/pub-\d+$/)[0]}},31:function(e,t){e.exports=googlesitekit.api},32:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return v}));var a=n(86),r=e._googlesitekitTrackingData||{},i=r.activeModules,o=void 0===i?[]:i,c=r.isSiteKitScreen,s=r.trackingEnabled,u=r.trackingID,l=r.referenceSiteURL,d=r.userIDHash,m=r.isAuthenticated,g={activeModules:o,trackingEnabled:s,trackingID:u,referenceSiteURL:l,userIDHash:d,isSiteKitScreen:c,userRoles:r.userRoles,isAuthenticated:m,pluginVersion:"1.79.1"},f=Object(a.a)(g),p=f.enableTracking,y=f.disableTracking,b=(f.isTrackingEnabled,f.initializeSnippet),v=f.trackEvent;function h(e){e?p():y()}c&&s&&b()}).call(this,n(21))},321:function(e,t,n){"use strict";(function(e,a){var r=n(13),i=n.n(r),o=n(0),c=n.n(o),s=n(25),u=n(8),l=n.n(u),d=n(2);function TableOverflowContainer(t){var n=t.children,r=Object(d.useState)(!1),o=i()(r,2),c=o[0],u=o[1],m=Object(d.useRef)();Object(d.useEffect)((function(){g();var t=Object(s.debounce)(g,100);return e.addEventListener("resize",t),function(){return e.removeEventListener("resize",t)}}),[]);var g=function(){if(m.current){var e=m.current,t=e.scrollLeft,n=e.scrollWidth-e.offsetWidth;u(t<n-16&&0<n-16)}};return a.createElement("div",{onScroll:Object(s.debounce)(g,100),className:l()("googlesitekit-table-overflow",{"googlesitekit-table-overflow--gradient":c})},a.createElement("div",{ref:m,className:"googlesitekit-table-overflow__container"},n))}TableOverflowContainer.propTypes={children:c.a.element},t.a=TableOverflowContainer}).call(this,n(21),n(3))},322:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportTable}));var a=n(8),r=n.n(a),i=n(341),o=n.n(i),c=n(7),s=n.n(c),u=n(0),l=n.n(u),d=n(60),m=n(65);function ReportTable(t){var n=t.rows,a=t.columns,i=t.className,c=t.limit,u=t.zeroState,l=t.gatheringData,g=void 0!==l&&l,f=Object(d.a)("zeroDataStates");s()(Array.isArray(n),"rows must be an array."),s()(Array.isArray(a),"columns must be an array."),a.forEach((function(e){var t=e.Component,n=e.field,a=void 0===n?null:n;s()(t||null!==a,"each column must define a Component and/or a field.")})),s()(Number.isInteger(c)||void 0===c,"limit must be an integer, if provided.");var p=a.filter((function(e){return!e.hideOnMobile}));return e.createElement("div",{className:r()("googlesitekit-table","googlesitekit-table--with-list",{"googlesitekit-table--gathering-data":g},i)},e.createElement("table",{className:r()("googlesitekit-table__wrapper","googlesitekit-table__wrapper--".concat(a.length,"-col"),"googlesitekit-table__wrapper--mobile-".concat(p.length,"-col"))},e.createElement("thead",{className:"googlesitekit-table__head"},e.createElement("tr",{className:"googlesitekit-table__head-row"},a.map((function(t,n){var a=t.title,i=t.description,o=t.primary,c=t.hideOnMobile,s=t.className;return e.createElement("th",{className:r()("googlesitekit-table__head-item",{"googlesitekit-table__head-item--primary":o},{"hidden-on-mobile":c},s),"data-tooltip":i,key:"googlesitekit-table__head-row-".concat(n)},a)})))),e.createElement("tbody",{className:"googlesitekit-table__body"},f&&g&&e.createElement("tr",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("td",{className:"googlesitekit-table__body-item",colSpan:a.length},e.createElement(m.b,null))),(!f||!g)&&!(null==n?void 0:n.length)&&u&&e.createElement("tr",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("td",{className:"googlesitekit-table__body-item",colSpan:a.length},e.createElement(u,null))),!g&&n.slice(0,c).map((function(t,n){return e.createElement("tr",{className:"googlesitekit-table__body-row",key:"googlesitekit-table__body-row-".concat(n)},a.map((function(n,a){var i=n.Component,c=n.field,s=n.hideOnMobile,u=n.className,l=void 0!==c?o()(t,c):void 0;return e.createElement("td",{key:"googlesitekit-table__body-item-".concat(a),className:r()("googlesitekit-table__body-item",{"hidden-on-mobile":s},u)},e.createElement("div",{className:"googlesitekit-table__body-item-content"},i&&e.createElement(i,{row:t,fieldValue:l}),!i&&l))})))})))))}ReportTable.propTypes={rows:l.a.arrayOf(l.a.oneOfType([l.a.array,l.a.object])).isRequired,columns:l.a.arrayOf(l.a.shape({title:l.a.string,description:l.a.string,primary:l.a.bool,className:l.a.string,field:l.a.string,hideOnMobile:l.a.bool,Component:l.a.componentType})).isRequired,className:l.a.string,limit:l.a.number,zeroState:l.a.func,gatheringData:l.a.bool}}).call(this,n(3))},323:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var a=n(6),r=n.n(a),i=n(14),o=n.n(i),c=n(5),s=n.n(c),u=n(7),l=n.n(u),d=n(4),m=n.n(d),g=n(15),f=n(238);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function y(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){r()(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}function b(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 v(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 v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}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 v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var h=m.a.createRegistryControl,_=m.a.createRegistrySelector,S=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.storeName,a=t.isValidTag,i=t.tagMatchers;l()("string"==typeof n&&n,"storeName is required."),l()("function"==typeof a,"isValidTag must be a function."),l()(Array.isArray(i),"tagMatchers must be an Array.");var c={existingTag:void 0},u={fetchGetExistingTag:function(){return{payload:{},type:"FETCH_GET_EXISTING_TAG"}},receiveGetExistingTag:function(e){return l()(null===e||"string"==typeof e,"existingTag must be a tag string or null."),{payload:{existingTag:a(e)?e:null},type:"RECEIVE_GET_EXISTING_TAG"}},waitForExistingTag:s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"WAIT_FOR_EXISTING_TAG"};case 2:case"end":return e.stop()}}),e)}))},d=(e={},r()(e,"FETCH_GET_EXISTING_TAG",h((function(e){return o()(s.a.mark((function t(){var n,a,r,o,c,u,l,d;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.select(g.c).getHomeURL(),a=e.select(g.c).getAMPMode(),t.next=4,Object(f.b)({homeURL:n,ampMode:a});case 4:r=t.sent,o=b(r),t.prev=6,o.s();case 8:if((c=o.n()).done){t.next=18;break}return u=c.value,t.next=12,e.dispatch(g.c).waitForHTMLForURL(u);case 12:if(l=e.select(g.c).getHTMLForURL(u),!(d=Object(f.a)(l,i))){t.next=16;break}return t.abrupt("return",d);case 16:t.next=8;break;case 18:t.next=23;break;case 20:t.prev=20,t.t0=t.catch(6),o.e(t.t0);case 23:return t.prev=23,o.f(),t.finish(23);case 26:return t.abrupt("return",null);case 27:case"end":return t.stop()}}),t,null,[[6,20,23,26]])})))}))),r()(e,"WAIT_FOR_EXISTING_TAG",h((function(e){return function(){var t=function(){return void 0!==e.select(n).getExistingTag()};return!!t()||new Promise((function(n){var a=e.subscribe((function(){t()&&(a(),n())}))}))}}))),e),p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0,n=t.type,a=t.payload;switch(n){case"RECEIVE_GET_EXISTING_TAG":var r=a.existingTag;return y(y({},e),{},{existingTag:r});default:return e}},v={getExistingTag:s.a.mark((function e(){var t,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.a.commonActions.getRegistry();case 2:if(void 0!==(t=e.sent).select(n).getExistingTag()){e.next=8;break}return e.next=6,u.fetchGetExistingTag();case 6:a=e.sent,t.dispatch(n).receiveGetExistingTag(a);case 8:case"end":return e.stop()}}),e)}))},S={getExistingTag:function(e){return e.existingTag},hasExistingTag:_((function(e){return function(){var t=e(n).getExistingTag();if(void 0!==t)return!!t}}))},A={initialState:c,actions:u,controls:d,reducer:p,resolvers:v,selectors:S};return y(y({},A),{},{STORE_NAME:n})}},329:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return p})),n.d(t,"d",(function(){return y})),n.d(t,"c",(function(){return AutoAdExclusionSwitches}));var a,r=n(6),i=n.n(r),o=n(2),c=n(1),s=n(4),u=n.n(s),l=n(26),d=n(133),m=u.a.useSelect,g=u.a.useDispatch,f="loggedinUsers",p="contentCreators",y=(a={},i()(a,f,Object(c.__)("All logged-in users","google-site-kit")),i()(a,p,Object(c.__)("Users who can write posts","google-site-kit")),a);function AutoAdExclusionSwitches(){var t,n=m((function(e){return e(l.f).getAutoAdsDisabled()})),a=g(l.f).setAutoAdsDisabled;t=n&&n.includes(f)?Object(c.__)("Ads will not be displayed for all logged-in users","google-site-kit"):n&&n.includes(p)?Object(c.__)("Ads will not be displayed for users that can write posts","google-site-kit"):Object(c.__)("Ads will be displayed for all users","google-site-kit");var r=Object(o.useCallback)((function(e,t){var r=t?n.concat(e):n.filter((function(t){return t!==e}));a(r)}),[n,a]),i=Object(o.useCallback)((function(e){var t=e.target.checked;r(p,t)}),[r]),s=Object(o.useCallback)((function(e){var t=e.target.checked;r(f,t)}),[r]);return Array.isArray(n)?e.createElement("fieldset",{className:"googlesitekit-analytics-auto-ads-disabled"},e.createElement("legend",{className:"googlesitekit-setup-module__text"},Object(c.__)("Exclude from Ads","google-site-kit")),e.createElement("div",{className:"googlesitekit-settings-module__inline-items"},e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(d.a,{label:y[f],checked:n.includes(f),onClick:s,hideLabel:!1})),!n.includes(f)&&e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(d.a,{label:y[p],checked:n.includes(p),onClick:i,hideLabel:!1}))),e.createElement("p",{className:"googlesitekit-margin-top-0"},t)):null}}).call(this,n(3))},33:function(e,t,n){"use strict";(function(e){var a,r;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(a=e)||void 0===a||null===(r=a._googlesitekitBaseData)||void 0===r?void 0:r.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(21))},334:function(e,t,n){"use strict";(function(e){var a=n(0),r=function WidgetHeaderTitle(t){var n=t.title;return e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-widget__header-title"},n)};r.propTypes={title:n.n(a).a.string.isRequired},t.a=r}).call(this,n(3))},34:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r}));var a="core/ui",r="activeContextID"},344:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var a="adblocker_active",r="moduleAdsenseMain",i="adsense-connect-cta",o="adsense-connect-cta-tooltip-state"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a=function(e){return e instanceof Date&&!isNaN(e)}},350:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountCreate}));var a=n(5),r=n.n(a),i=n(14),o=n.n(i),c=n(13),s=n.n(c),u=n(1),l=n(2),d=n(4),m=n.n(d),g=n(11),f=n(15),p=n(12),y=n(36),b=n(39),v=n(66),h=n(10),_=n(370),S=n(9),A=n(18),E=n(22),T=n(45),O=n(113),k=n(255),N=n(371),I=n(372),j=n(373),C=n(374),w=n(375),R=n(20),D=m.a.useDispatch,M=m.a.useSelect;function AccountCreate(){var t=Object(l.useState)(!1),n=s()(t,2),a=n[0],i=n[1],c=M((function(e){return{accounts:e(g.f).getAccounts(),hasResolvedAccounts:e(g.f).hasFinishedResolution("getAccounts")}})),d=c.accounts,m=c.hasResolvedAccounts,P=M((function(e){return e(g.f).getAccountTicketTermsOfServiceURL()})),Z=M((function(e){return e(g.f).canSubmitAccountCreate()})),L=M((function(e){return e(g.f).isDoingCreateAccount()})),G=M((function(e){return e(p.a).hasScope(g.k)})),x=M((function(e){return e(p.a).hasScope(g.c)})),U=M((function(e){return e(y.a).hasForm(g.d)})),B=M((function(e){return e(y.a).getValue(g.d,"autoSubmit")})),F=M((function(e){return e(f.c).getReferenceSiteURL()})),W=M((function(e){return e(f.c).getSiteName()})),q=M((function(e){return e(f.c).getTimezone()})),H=Object(R.a)(),z=D(y.a).setValues,V=D(b.a).navigateTo,K=D(g.f).createAccount,Y=D(p.a).setPermissionScopeError;Object(l.useEffect)((function(){P&&V(P)}),[P,V]),Object(l.useEffect)((function(){U||z(g.d,Object(_.a)({siteName:W,siteURL:F,timezone:q}))}),[U,W,F,q,z]);var $=Object(l.useCallback)(o()(r.a.mark((function e(){var t,n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],G&&x||(t.push(g.k),t.push(g.c)),!(t.length>0)){e.next=6;break}return z(g.d,{autoSubmit:!0}),Y({code:v.a,message:Object(u.__)("Additional permissions are required to create a new Analytics account.","google-site-kit"),data:{status:403,scopes:t,skipModal:!0}}),e.abrupt("return");case 6:return z(g.d,{autoSubmit:!1}),e.next=9,Object(h.y)("".concat(H,"_analytics"),"create_account","proxy");case 9:return e.next=11,K();case 11:n=e.sent,n.error||i(!0);case 14:case"end":return e.stop()}}),e)}))),[K,i,G,x,Y,z,H]);Object(l.useEffect)((function(){G&&B&&$()}),[G,B,$]);var J=D(g.f).rollbackSettings,Q=Object(l.useCallback)((function(){return J()}),[J]);return L||a||!m||void 0===G?e.createElement(T.a,null):e.createElement("div",null,e.createElement(O.a,{moduleSlug:"analytics",storeName:g.f}),e.createElement("h3",{className:"googlesitekit-heading-4"},Object(u.__)("Create your Analytics account","google-site-kit")),e.createElement("p",null,Object(u.__)("We’ve pre-filled the required information for your new account. Confirm or edit any details:","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(S.a,{size:6},e.createElement(I.a,null)),e.createElement(S.a,{size:6},e.createElement(j.a,null)),e.createElement(S.a,{size:6},e.createElement(C.a,null))),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(w.a,null),e.createElement(N.a,null)),e.createElement("p",null,G&&e.createElement("span",null,Object(u.__)("You will be redirected to Google Analytics to accept the terms of service.","google-site-kit")),!G&&e.createElement("span",null,Object(u.__)("You will need to give Site Kit permission to create an Analytics account on your behalf and also accept the Google Analytics terms of service.","google-site-kit"))),e.createElement(k.a,{notice:Object(u.__)("This will create both a Google Analytics 4 and Universal Analytics property.","google-site-kit")}),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(A.a,{disabled:!Z,onClick:$},Object(u.__)("Create Account","google-site-kit")),d&&!!d.length&&e.createElement(E.a,{className:"googlesitekit-setup-module__sub-action",onClick:Q},Object(u.__)("Back","google-site-kit"))))}}).call(this,n(3))},351:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return AccountCreateLegacy}));var r=n(5),i=n.n(r),o=n(14),c=n.n(o),s=n(2),u=n(1),l=n(4),d=n.n(l),m=n(18),g=n(22),f=n(45),p=n(10),y=n(11),b=n(113),v=n(269),h=n(20),_=d.a.useSelect,S=d.a.useDispatch;function AccountCreateLegacy(){var t=_((function(e){return{accounts:e(y.f).getAccounts(),hasResolvedAccounts:e(y.f).hasFinishedResolution("getAccounts")}})),n=t.accounts,r=t.hasResolvedAccounts,o=_((function(e){return e(y.f).getAccountID()})),l=y.a===o,d=_((function(e){return e(y.f).getServiceURL({path:"/provision/SignUp"})})),A=Object(h.a)(),E=Object(s.useCallback)(function(){var t=c()(i.a.mark((function t(n){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),t.next=3,Object(p.y)("".concat(A,"_analytics"),"create_account","custom-oauth");case 3:e.open(d,"_blank");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[d,A]),T=S(y.f).resetAccounts,O=Object(s.useCallback)((function(){T()}),[T]);return r?a.createElement("div",null,a.createElement(v.a,null),a.createElement(b.a,{moduleSlug:"analytics",storeName:y.f}),!l&&n&&0===n.length&&a.createElement("p",null,Object(u.__)('Looks like you don\'t have an Analytics account yet. Once you create it, click on "Re-fetch my account" and Site Kit will locate it.',"google-site-kit")),l&&a.createElement(s.Fragment,null,a.createElement("p",null,Object(u.__)("To create a new account, click the button below which will open the Google Analytics account creation screen in a new window.","google-site-kit")),a.createElement("p",null,Object(u.__)("Once completed, click the link below to re-fetch your accounts to continue.","google-site-kit"))),a.createElement("div",{className:"googlesitekit-setup-module__action"},a.createElement(m.a,{onClick:E},Object(u.__)("Create an account","google-site-kit")),a.createElement("div",{className:"googlesitekit-setup-module__sub-action"},a.createElement(g.a,{onClick:O},Object(u.__)("Re-fetch My Account","google-site-kit"))))):a.createElement(f.a,null)}}).call(this,n(21),n(3))},352:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountSelect}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(45),s=n(9),u=n(11),l=n(10),d=n(20),m=o.a.useSelect,g=o.a.useDispatch;function AccountSelect(t){var n=t.hasModuleAccess,i=Object(d.a)(),o=m((function(e){return e(u.f).getAccountID()})),f=m((function(e){return{accounts:e(u.f).getAccounts(),hasResolvedAccounts:e(u.f).hasFinishedResolution("getAccounts")}})),p=f.accounts,y=f.hasResolvedAccounts,b=g(u.f).selectAccount,v=Object(a.useCallback)((function(e,t){var n=t.dataset.value;if(o!==n){b(n);var a=n===u.a?"change_account_new":"change_account";Object(l.y)("".concat(i,"_analytics"),a)}}),[o,b,i]);return y?!1===n?e.createElement(s.p,{className:"googlesitekit-analytics__select-account",label:Object(r.__)("Account","google-site-kit"),value:o,enhanced:!0,outlined:!0,disabled:!0},e.createElement(s.n,{value:o},o)):e.createElement(s.p,{className:"googlesitekit-analytics__select-account",label:Object(r.__)("Account","google-site-kit"),value:o,onEnhancedChange:v,enhanced:!0,outlined:!0},(p||[]).concat({id:u.a,name:Object(r.__)("Set up a new account","google-site-kit")}).map((function(t,n){var a=t.id,r=t.name;return e.createElement(s.n,{key:n,value:a},r)}))):e.createElement(c.a,{small:!0})}}).call(this,n(3))},353:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdsConversionIDTextField}));var a=n(8),r=n.n(a),i=n(2),o=n(1),c=n(4),s=n.n(c),u=n(9),l=n(11),d=n(62),m=n(71),g=s.a.useSelect,f=s.a.useDispatch;function AdsConversionIDTextField(){var t=g((function(e){return e(l.f).getAdsConversionID()})),n=g((function(e){return e(l.f).getCanUseSnippet()&&e(l.f).getUseSnippet()})),a=f(l.f).setAdsConversionID,c=Object(i.useCallback)((function(e){var n=e.currentTarget.value.trim().toUpperCase();"AW-".length<n.length&&!/^AW-/.test(n)&&(n="AW-".concat(n)),n!==t&&a(n)}),[t,a]),s=Boolean(!t||Object(m.e)(t));return s&&!n?null:e.createElement("div",null,e.createElement(u.q,{label:Object(o.__)("Ads Conversion ID","google-site-kit"),className:r()({"mdc-text-field--error":!s}),helperText:!s&&e.createElement(u.f,{persistent:!0},Object(o.__)("Conversion IDs must be in the format: AW-XXXXX","google-site-kit")),trailingIcon:!s&&e.createElement("span",{className:"googlesitekit-text-field-icon--error"},e.createElement(d.a,null,Object(o.__)("Error","google-site-kit"))),outlined:!0},e.createElement(u.g,{value:t,onChange:c})),e.createElement("p",null,Object(o.__)("If you’re using Google Ads, insert your Ads conversion ID if you’d like Site Kit to place the snippet on your site","google-site-kit")))}}).call(this,n(3))},354:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdSenseLinkCTA}));var a=n(1),r=n(4),i=n.n(r),o=n(75),c=n(15),s=i.a.useSelect;function AdSenseLinkCTA(){var t=s((function(e){return e(c.c).getGoogleSupportURL({path:"/adsense/answer/6084409"})}));return e.createElement(o.a,{title:Object(a.__)("Link Analytics and AdSense","google-site-kit"),description:Object(a.__)("Get reports for your top earning pages by linking your Analytics and AdSense accounts","google-site-kit"),ctaLink:t,ctaLabel:Object(a.__)("Learn more","google-site-kit"),ctaLinkExternal:!0})}}).call(this,n(3))},355:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AnonymizeIPSwitch}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(11),s=n(15),u=n(133),l=n(22),d=o.a.useSelect,m=o.a.useDispatch;function AnonymizeIPSwitch(){var t=d((function(e){return e(c.f).getAnonymizeIP()})),n=d((function(e){return e(c.f).getUseSnippet()})),i=d((function(e){return e(s.c).getAMPMode()})),o=d((function(e){return e(s.c).getGoogleSupportURL({path:"/analytics/answer/2763052"})})),g=m(c.f).setAnonymizeIP,f=Object(a.useCallback)((function(){g(!t)}),[t,g]);return n&&"primary"!==i&&void 0!==t?e.createElement("div",{className:"googlesitekit-analytics-anonymizeip"},e.createElement(u.a,{label:Object(r.__)("Anonymize IP addresses","google-site-kit"),onClick:f,checked:t,hideLabel:!1}),e.createElement("p",null,t?Object(r.__)("IP addresses will be anonymized.","google-site-kit"):Object(r.__)("IP addresses will not be anonymized.","google-site-kit")," ",e.createElement(l.a,{href:o,external:!0,"aria-label":Object(r.__)("Learn more about IP anonymization.","google-site-kit")},Object(r.__)("Learn more","google-site-kit")))):null}}).call(this,n(3))},356:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ExistingGTMPropertyNotice}));var a=n(1),r=n(4),i=n.n(r),o=n(11),c=n(27),s=i.a.useSelect;function ExistingGTMPropertyNotice(){var t=s((function(e){return e(o.f).getPropertyID()})),n=s((function(e){return e(c.g).getSingleAnalyticsPropertyID()}));return n?n===t?e.createElement("p",null,Object(a.sprintf)(
32
  /* translators: %s: GTM property ID */
33
  Object(a.__)("An existing Google Tag Manager property was found on your site with the ID %s. Since it refers to the same property selected here, Site Kit will not place its own tag and rely on the existing one. If later on you decide to remove this property, Site Kit can place a new tag for you.","google-site-kit"),n)):e.createElement("p",null,Object(a.sprintf)(
34
  /* translators: %s: GTM property ID */
dist/assets/js/{googlesitekit-modules-analytics-4-4a8f9ab6da96b64f8af4.js → googlesitekit-modules-analytics-4-048acbf4fdf6e10ecf44.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[19],{1:function(t,e){t.exports=googlesitekit.i18n},10:function(t,e,r){"use strict";r.d(e,"y",(function(){return c.b})),r.d(e,"v",(function(){return u.a})),r.d(e,"z",(function(){return u.b})),r.d(e,"x",(function(){return d})),r.d(e,"f",(function(){return g.a})),r.d(e,"m",(function(){return g.b})),r.d(e,"t",(function(){return v.c})),r.d(e,"u",(function(){return v.d})),r.d(e,"q",(function(){return v.b})),r.d(e,"l",(function(){return v.a})),r.d(e,"r",(function(){return h})),r.d(e,"g",(function(){return O})),r.d(e,"b",(function(){return w.b})),r.d(e,"a",(function(){return w.a})),r.d(e,"c",(function(){return w.e})),r.d(e,"i",(function(){return w.f})),r.d(e,"w",(function(){return w.k})),r.d(e,"j",(function(){return S.b})),r.d(e,"p",(function(){return S.c})),r.d(e,"e",(function(){return S.a})),r.d(e,"o",(function(){return j.b})),r.d(e,"k",(function(){return j.a})),r.d(e,"s",(function(){return j.d})),r.d(e,"n",(function(){return x})),r.d(e,"d",(function(){return k})),r.d(e,"A",(function(){return D})),r.d(e,"h",(function(){return A}));var n=r(120),a=r.n(n),o=r(115),i=r.n(o),c=r(32),u=r(63),s=r(28),l=r.n(s),f=r(77),p=r.n(f),d=function(t){return p()(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 g=r(78),v=(r(84),r(72));function b(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function y(t){return"<p>".concat(t.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(t){return t.replace(/\n/gi,"<br>")}function h(t){for(var e=t,r=0,n=[b,y,m];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(58),S=r(85),j=r(50),x=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},D=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},A=function(t){if(!t)return"";var e=t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/(\\)/g,"");return i()(e)}},1076:function(t,e,r){"use strict";r.r(e);var n=r(4),a=r.n(n),o=r(38),i=r(5),c=r.n(i),u=r(6),s=r.n(u),l=r(31),f=r.n(l),p=r(42);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 g(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){s()(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}var v=Object(p.a)({baseName:"getAccountSummaries",controlCallback:function(){return f.a.get("modules","analytics-4","account-summaries",{},{useCache:!1})},reducerCallback:function(t,e){return g(g({},t),{},{accountSummaries:e})}}),b={accountSummaries:void 0},y={getAccountSummaries:c.a.mark((function t(){var e;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.a.commonActions.getRegistry();case 2:if(e=t.sent,void 0!==e.select(o.b).getAccountSummaries()){t.next=7;break}return t.next=7,v.actions.fetchGetAccountSummaries();case 7:case"end":return t.stop()}}),t)}))},m=a.a.combineStores(v,{initialState:b,actions:{},controls:{},reducer:function(t,e){e.type;return t},resolvers:y,selectors:{getAccountSummaries:function(t){return t.accountSummaries}}}),h=(m.initialState,m.actions,m.controls,m.reducer,m.resolvers,m.selectors,m),O={isAdminAPIWorking:function(t){for(var e in t.errors)if(e.startsWith("getProperties::")||e.startsWith("getWebDataStreams::")||e.startsWith("getAccountSummaries::"))return!1;if(Object.keys(t.properties).length>0)return!0}},w=a.a.combineStores({selectors:O}),S=(w.initialState,w.actions,w.controls,w.reducer,w.resolvers,w.selectors,w),j=r(137),x=r.n(j),k=r(14),D=r.n(k),A=r(7),P=r.n(A),E=r(69),I=r(264),_=r(157),R=r(36),T=r(11);function C(){return(C=D()(c.a.mark((function t(e){var r,n,a,i,u,s,l,p,d,g,v,b,y;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.select,n=e.dispatch,(a=r(o.b).getPropertyID())!==o.c){t.next=15;break}return i=r(T.f).getAccountID(),t.next=6,n(o.b).createProperty(i);case 6:if(u=t.sent,s=u.response,!(l=u.error)){t.next=11;break}return t.abrupt("return",{error:l});case 11:a=s._id,n(o.b).setPropertyID(a),n(o.b).setWebDataStreamID(o.d),n(o.b).setMeasurementID("");case 15:if(p=r(o.b).getWebDataStreamID(),!a||p!==o.d&&Object(I.d)(p)){t.next=26;break}return t.next=19,n(o.b).createWebDataStream(a);case 19:if(d=t.sent,g=d.response,!(v=d.error)){t.next=24;break}return t.abrupt("return",{error:v});case 24:n(o.b).setWebDataStreamID(g._id),n(o.b).setMeasurementID(g.webStreamData.measurementId);case 26:if(!r(o.b).haveSettingsChanged()){t.next=33;break}return t.next=29,n(o.b).saveSettings();case 29:if(b=t.sent,!(y=b.error)){t.next=33;break}return t.abrupt("return",{error:y});case 33:return t.next=35,f.a.invalidateCache("modules","analytics-4");case 35:return t.abrupt("return",{});case 36:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var N=x.a.createModuleStore("analytics-4",{ownedSettingsSlugs:["propertyID","webDataStreamID","measurementID"],storeName:o.b,settingSlugs:["propertyID","webDataStreamID","measurementID","useSnippet","ownerID"],submitChanges:function(t){return C.apply(this,arguments)},rollbackChanges:function(t){var e=t.select,r=t.dispatch;r(R.a).setValues(T.e,{enableGA4:void 0}),e(o.b).haveSettingsChanged()&&r(o.b).rollbackSettings()},validateCanSubmitChanges:function(t){if(!1!==t(o.b).isAdminAPIWorking()){var e=Object(E.e)(t)(o.b),r=e.haveSettingsChanged,n=e.isDoingSubmitChanges,a=e.getPropertyID,i=e.getWebDataStreamID;(0,Object(E.e)(t)(T.f).haveSettingsChanged)()||P()(r(),_.b),P()(!n(),_.a);var c=a();P()(Object(I.c)(c),"a valid propertyID is required to submit changes"),c!==o.c&&P()(Object(I.e)(i()),"a valid webDataStreamID is required to submit changes")}}}),M=r(24),L=r.n(M),W=r(15),G=r(10),U=r(165),F=r.n(U),q=r(769),$=r.n(q);function B(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 H(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 H(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 H(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}function z(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 V(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?z(Object(r),!0).forEach((function(e){s()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Z=a.a.createRegistryControl,J=a.a.createRegistrySelector,K=Object(p.a)({baseName:"getWebDataStreams",controlCallback:function(t){var e=t.propertyID;return f.a.get("modules","analytics-4","webdatastreams",{propertyID:e},{useCache:!1})},reducerCallback:function(t,e,r){var n=r.propertyID;return V(V({},t),{},{webdatastreams:V(V({},t.webdatastreams),{},s()({},n,Array.isArray(e)?e:[]))})},argsToParams:function(t){return{propertyID:t}},validateParams:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.propertyID;P()(Object(I.b)(e),"A valid GA4 propertyID is required.")}}),X=Object(p.a)({baseName:"getWebDataStreamsBatch",controlCallback:function(t){var e=t.propertyIDs;return f.a.get("modules","analytics-4","webdatastreams-batch",{propertyIDs:e},{useCache:!1})},reducerCallback:function(t,e){return V(V({},t),{},{webdatastreams:V(V({},t.webdatastreams),e||{})})},argsToParams:function(t){return{propertyIDs:t}},validateParams:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.propertyIDs;P()(Array.isArray(e),"GA4 propertyIDs must be an array."),e.forEach((function(t){P()(Object(I.b)(t),"A valid GA4 propertyID is required.")}))}}),Y=Object(p.a)({baseName:"createWebDataStream",controlCallback:function(t){var e=t.propertyID;return f.a.set("modules","analytics-4","create-webdatastream",{propertyID:e})},reducerCallback:function(t,e,r){var n=r.propertyID;return V(V({},t),{},{webdatastreams:V(V({},t.webdatastreams),{},s()({},n,[].concat(L()(t.webdatastreams[n]||[]),[e])))})},argsToParams:function(t){return{propertyID:t}},validateParams:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.propertyID;P()(Object(I.b)(e),"A valid GA4 propertyID is required.")}}),Q={createWebDataStream:Object(E.f)((function(t){P()(t,"GA4 propertyID is required.")}),c.a.mark((function t(e){var r,n,a;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Y.actions.fetchCreateWebDataStream(e);case 2:return r=t.sent,n=r.response,a=r.error,t.abrupt("return",{response:n,error:a});case 6:case"end":return t.stop()}}),t)}))),matchWebDataStream:c.a.mark((function t(e){var r;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Q.waitForWebDataStreams(e);case 2:return t.next=4,a.a.commonActions.getRegistry();case 4:return r=t.sent,t.abrupt("return",r.select(o.b).getMatchingWebDataStream(e));case 6:case"end":return t.stop()}}),t)})),waitForWebDataStreams:c.a.mark((function t(e){return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{propertyID:e},type:"WAIT_FOR_WEBDATASTREAMS"};case 2:case"end":return t.stop()}}),t)}))},tt=s()({},"WAIT_FOR_WEBDATASTREAMS",Z((function(t){var e=t.__experimentalResolveSelect;return function(){var t=D()(c.a.mark((function t(r){var n,a;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.payload,a=n.propertyID,t.next=4,e(o.b).getWebDataStreams(a);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),et={getWebDataStreams:c.a.mark((function t(e){var r;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.a.commonActions.getRegistry();case 2:if(r=t.sent,void 0!==r.select(o.b).getWebDataStreams(e)){t.next=7;break}return t.next=7,K.actions.fetchGetWebDataStreams(e);case 7:case"end":return t.stop()}}),t)})),getWebDataStreamsBatch:c.a.mark((function t(e){var r,n,i,u,s,l;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.a.commonActions.getRegistry();case 2:if(r=t.sent,n=r.select(o.b).getWebDataStreamsBatch(e)||{},i=Object.keys(n),!((u=$()(e,i)).length>0)){t.next=15;break}s=0;case 8:if(!(s<u.length)){t.next=15;break}return l=u.slice(s,s+o.a),t.next=12,X.actions.fetchGetWebDataStreamsBatch(l);case 12:s+=o.a,t.next=8;break;case 15:case"end":return t.stop()}}),t)}))},rt={getWebDataStreams:function(t,e){return t.webdatastreams[e]},getMatchingWebDataStream:J((function(t){return function(e,r){var n=t(o.b).getWebDataStreams(r);if(void 0!==n){var a,i=B(n);try{for(i.s();!(a=i.n()).done;){var c,u=a.value;if(t(W.c).isSiteURLMatch(null===(c=u.webStreamData)||void 0===c?void 0:c.defaultUri))return u}}catch(t){i.e(t)}finally{i.f()}return null}}})),getWebDataStreamsBatch:function(t,e){return F()(t.webdatastreams,e)}},nt=a.a.combineStores(K,X,Y,{initialState:{webdatastreams:{}},actions:Q,controls:tt,reducer:function(t,e){e.type;return t},resolvers:et,selectors:rt}),at=(nt.initialState,nt.actions),ot=(nt.controls,nt.reducer,nt.resolvers,nt.selectors,nt),it=r(71);function ct(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 ut(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 ut(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 ut(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}function st(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 lt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?st(Object(r),!0).forEach((function(e){s()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var ft=a.a.commonActions,pt=a.a.createRegistryControl,dt=Object(p.a)({baseName:"getProperty",controlCallback:function(t){var e=t.propertyID;return f.a.get("modules","analytics-4","property",{propertyID:e},{useCache:!1})},reducerCallback:function(t,e,r){var n=r.propertyID;return lt(lt({},t),{},{propertiesByID:lt(lt({},t.propertiesByID),{},s()({},n,e))})},argsToParams:function(t){return{propertyID:t}},validateParams:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.propertyID;P()(e,"propertyID is required.")}}),gt=Object(p.a)({baseName:"getProperties",controlCallback:function(t){var e=t.accountID;return f.a.get("modules","analytics-4","properties",{accountID:e},{useCache:!1})},reducerCallback:function(t,e,r){var n=r.accountID;return lt(lt({},t),{},{properties:lt(lt({},t.properties),{},s()({},n,e)),propertiesByID:e.reduce((function(t,e){return lt(lt({},t),{},s()({},e._id,e))}),t.propertiesByID||{})})},argsToParams:function(t){return{accountID:t}},validateParams:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.accountID;P()(e,"accountID is required.")}}),vt=Object(p.a)({baseName:"createProperty",controlCallback:function(t){var e=t.accountID;return f.a.set("modules","analytics-4","create-property",{accountID:e})},reducerCallback:function(t,e,r){var n=r.accountID;return lt(lt({},t),{},{properties:lt(lt({},t.properties),{},s()({},n,[].concat(L()(t.properties[n]||[]),[e])))})},argsToParams:function(t){return{accountID:t}},validateParams:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.accountID;P()(e,"accountID is required.")}}),bt={createProperty:function(t){return P()(t,"accountID is required."),c.a.mark((function e(){var r,n,a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,vt.actions.fetchCreateProperty(t);case 2:return r=e.sent,n=r.response,a=r.error,e.abrupt("return",{response:n,error:a});case 6:case"end":return e.stop()}}),e)}))()},selectProperty:Object(E.f)((function(t){P()(Object(I.c)(t),"A valid propertyID selection is required.")}),c.a.mark((function t(e){var r,n;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.a.commonActions.getRegistry();case 2:if((r=t.sent).dispatch(o.b).setPropertyID(e),r.dispatch(o.b).setWebDataStreamID(o.d),r.dispatch(o.b).setMeasurementID(""),o.c!==e){t.next=8;break}return t.abrupt("return");case 8:return t.next=10,at.waitForWebDataStreams(e);case 10:(n=r.select(o.b).getMatchingWebDataStream(e))&&(r.dispatch(o.b).setWebDataStreamID(n._id),r.dispatch(o.b).setMeasurementID(n.webStreamData.measurementId));case 12:case"end":return t.stop()}}),t)}))),findMatchedProperty:c.a.mark((function t(){var e,r,n,i;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ft.getRegistry();case 2:return e=t.sent,t.next=5,a.a.commonActions.await(e.__experimentalResolveSelect(o.b).getAccountSummaries());case 5:if(r=t.sent,Array.isArray(r)&&0!==r.length){t.next=8;break}return t.abrupt("return",null);case 8:return n=e.select(W.c).getReferenceSiteURL(),i=r.reduce((function(t,e){var r=e.propertySummaries;return[].concat(L()(t),L()((r||[]).map((function(t){return t._id}))))}),[]),t.next=12,a.a.commonActions.await(e.dispatch(o.b).matchPropertyByURL(i,n));case 12:return t.abrupt("return",t.sent);case 13:case"end":return t.stop()}}),t)})),matchAccountProperty:c.a.mark((function t(e){var r,n,i,u;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.a.commonActions.getRegistry();case 2:return r=t.sent,t.next=5,bt.waitForProperties(e);case 5:return n=r.select(W.c).getReferenceSiteURL(),i=r.select(o.b).getProperties(e),t.next=9,bt.matchPropertyByURL((i||[]).map((function(t){return t._id})),n);case 9:return u=t.sent,t.abrupt("return",u);case 11:case"end":return t.stop()}}),t)})),matchAndSelectProperty:c.a.mark((function t(e){var r,n,a,o=arguments;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=o.length>1&&void 0!==o[1]?o[1]:"",t.next=3,bt.matchAccountProperty(e);case 3:if(n=t.sent,!(a=(null==n?void 0:n._id)||r)){t.next=8;break}return t.next=8,bt.selectProperty(a);case 8:return t.abrupt("return",n);case 9:case"end":return t.stop()}}),t)})),matchPropertyByURL:c.a.mark((function t(e,r){var n,a,i,u,s,l,f,p,d,g,v,b;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ft.getRegistry();case 2:n=t.sent,a=(Array.isArray(r)?r:[r]).filter((function(t){return"string"==typeof t})).map(G.s),i=0;case 5:if(!(i<e.length)){t.next=52;break}return u=e.slice(i,i+o.a),t.next=9,ft.await(n.__experimentalResolveSelect(o.b).getWebDataStreamsBatch(u));case 9:s=t.sent,t.t0=c.a.keys(s);case 11:if((t.t1=t.t0()).done){t.next=49;break}l=t.t1.value,f=ct(s[l]),t.prev=14,f.s();case 16:if((p=f.n()).done){t.next=39;break}d=p.value,g=ct(a),t.prev=19,g.s();case 21:if((v=g.n()).done){t.next=29;break}if(v.value!==Object(G.s)(null===(b=d.webStreamData)||void 0===b?void 0:b.defaultUri)){t.next=27;break}return t.next=26,ft.await(n.__experimentalResolveSelect(o.b).getProperty(l));case 26:return t.abrupt("return",t.sent);case 27:t.next=21;break;case 29:t.next=34;break;case 31:t.prev=31,t.t2=t.catch(19),g.e(t.t2);case 34:return t.prev=34,g.f(),t.finish(34);case 37:t.next=16;break;case 39:t.next=44;break;case 41:t.prev=41,t.t3=t.catch(14),f.e(t.t3);case 44:return t.prev=44,f.f(),t.finish(44);case 47:t.next=11;break;case 49:i+=o.a,t.next=5;break;case 52:return t.abrupt("return",null);case 53:case"end":return t.stop()}}),t,null,[[14,41,44,47],[19,31,34,37]])})),matchPropertyByMeasurementID:c.a.mark((function t(e,r){var n,a,i,u,s,l,f,p,d,g,v,b;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ft.getRegistry();case 2:n=t.sent,a=Array.isArray(r)?r:[r],i=0;case 5:if(!(i<e.length)){t.next=52;break}return u=e.slice(i,i+o.a),t.next=9,ft.await(n.__experimentalResolveSelect(o.b).getWebDataStreamsBatch(u));case 9:s=t.sent,t.t0=c.a.keys(s);case 11:if((t.t1=t.t0()).done){t.next=49;break}l=t.t1.value,f=ct(s[l]),t.prev=14,f.s();case 16:if((p=f.n()).done){t.next=39;break}d=p.value,g=ct(a),t.prev=19,g.s();case 21:if((v=g.n()).done){t.next=29;break}if(v.value!==(null===(b=d.webStreamData)||void 0===b?void 0:b.measurementId)){t.next=27;break}return t.next=26,ft.await(n.__experimentalResolveSelect(o.b).getProperty(l));case 26:return t.abrupt("return",t.sent);case 27:t.next=21;break;case 29:t.next=34;break;case 31:t.prev=31,t.t2=t.catch(19),g.e(t.t2);case 34:return t.prev=34,g.f(),t.finish(34);case 37:t.next=16;break;case 39:t.next=44;break;case 41:t.prev=41,t.t3=t.catch(14),f.e(t.t3);case 44:return t.prev=44,f.f(),t.finish(44);case 47:t.next=11;break;case 49:i+=o.a,t.next=5;break;case 52:return t.abrupt("return",null);case 53:case"end":return t.stop()}}),t,null,[[14,41,44,47],[19,31,34,37]])})),waitForProperties:c.a.mark((function t(e){return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{accountID:e},type:"WAIT_FOR_PROPERTIES"};case 2:case"end":return t.stop()}}),t)}))},yt=s()({},"WAIT_FOR_PROPERTIES",pt((function(t){var e=t.__experimentalResolveSelect;return function(){var t=D()(c.a.mark((function t(r){var n,a;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.payload,a=n.accountID,t.next=4,e(o.b).getProperties(a);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()})));var mt={getProperties:c.a.mark((function t(e){var r;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Object(it.c)(e)){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,a.a.commonActions.getRegistry();case 4:if(r=t.sent,void 0!==r.select(o.b).getProperties(e)){t.next=9;break}return t.next=9,gt.actions.fetchGetProperties(e);case 9:case"end":return t.stop()}}),t)})),getProperty:c.a.mark((function t(e){var r;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.a.commonActions.getRegistry();case 2:if(r=t.sent,void 0!==r.select(o.b).getProperty(e)){t.next=7;break}return t.next=7,dt.actions.fetchGetProperty(e);case 7:case"end":return t.stop()}}),t)}))},ht=a.a.combineStores(vt,gt,dt,{initialState:{properties:{},propertiesByID:{}},actions:bt,controls:yt,reducer:function(t,e){return e.type,t},resolvers:mt,selectors:{getProperties:function(t,e){return t.properties[e]},getProperty:function(t,e){return t.propertiesByID[e]}}}),Ot=(ht.initialState,ht.actions,ht.controls,ht.reducer,ht.resolvers,ht.selectors,ht),wt=r(323);var St=Object(wt.a)({storeName:o.b,tagMatchers:function(){for(var t=[/__gaTracker\s*\(\s*['|"]create['|"]\s*,\s*['|"](G-[a-zA-Z0-9]+)['|"], ?['|"]auto['|"]\s*\)/i,/_gaq\.push\s*\(\s*\[\s*['|"][^_]*_setAccount['|"]\s*,\s*['|"](G-[a-zA-Z0-9]+)['|"]\s*],?\s*\)/i,/<amp-analytics\s+[^>]*type="gtag"[^>]*>[^<]*<script\s+type="application\/json">[^<]*"gtag_id"\s*:\s*"(G-[a-zA-Z0-9]+)"/i,/<amp-analytics\s+[^>]*type="googleanalytics"[^>]*>[^<]*<script\s+type="application\/json">[^<]*"account"\s*:\s*"(G-[a-zA-Z0-9]+)"/i],e=0,r=["","www\\."];e<r.length;e++){var n=r[e];t.push(new RegExp("<script\\s+[^>]*src=['|\"]https?://".concat(n,"googletagmanager\\.com/gtag/js\\?id=(G-[a-zA-Z0-9]+)['|\"][^>]*><\/script>"),"i"),new RegExp("<script\\s+[^>]*src=['|\"]https?://".concat(n,"googletagmanager\\.com/gtag/js\\?id=(G-[a-zA-Z0-9]+)['|\"][^/]*/>"),"i"))}for(var a=0,o=["__gaTracker","ga","gtag"];a<o.length;a++){var i=o[a];t.push(new RegExp("".concat(i,"\\s*\\(\\s*['|\"]create['|\"]\\s*,\\s*['|\"](G-[a-zA-Z0-9]+)['|\"],\\s*['|\"]auto['|\"]\\s*\\)"),"i"),new RegExp("".concat(i,"\\s*\\(\\s*['|\"]config['|\"]\\s*,\\s*['|\"](G-[a-zA-Z0-9]+)['|\"]\\s*\\)"),"i"))}return t}(),isValidTag:I.a}),jt=a.a.combineStores(St),xt=(jt.initialState,jt.actions,jt.controls,jt.reducer,jt.resolvers,jt.selectors,jt),kt=r(99),Dt=a.a.combineStores(h,S,N,Object(kt.a)(o.b),Ot,xt,ot);Dt.initialState,Dt.actions,Dt.controls,Dt.reducer,Dt.resolvers,Dt.selectors;a.a.registerStore(o.b,Dt)},11:function(t,e,r){"use strict";r.d(e,"f",(function(){return n})),r.d(e,"a",(function(){return a})),r.d(e,"h",(function(){return o})),r.d(e,"g",(function(){return i})),r.d(e,"d",(function(){return c})),r.d(e,"e",(function(){return u})),r.d(e,"k",(function(){return s})),r.d(e,"c",(function(){return l})),r.d(e,"b",(function(){return f})),r.d(e,"s",(function(){return p})),r.d(e,"r",(function(){return d})),r.d(e,"t",(function(){return g})),r.d(e,"p",(function(){return v})),r.d(e,"q",(function(){return b})),r.d(e,"n",(function(){return y})),r.d(e,"o",(function(){return m})),r.d(e,"l",(function(){return h})),r.d(e,"m",(function(){return O})),r.d(e,"j",(function(){return w})),r.d(e,"i",(function(){return S}));var n="modules/analytics",a="account_create",o="property_create",i="profile_create",c="analyticsAccountCreate",u="analyticsSetup",s="https://www.googleapis.com/auth/analytics.provision",l="https://www.googleapis.com/auth/analytics.edit",f=1,p="dashboardAllTrafficWidgetDimensionName",d="dashboardAllTrafficWidgetDimensionColor",g="dashboardAllTrafficWidgetDimensionValue",v="dashboardAllTrafficWidgetActiveRowIndex",b="dashboardAllTrafficWidgetLoaded",y="legacy",m="ua",h="ga4",O="ga4-transitional",w="ua",S="ga4"},137:function(t,e){t.exports=googlesitekit.modules},15:function(t,e,r){"use strict";r.d(e,"c",(function(){return n})),r.d(e,"a",(function(){return a})),r.d(e,"b",(function(){return o}));var n="core/site",a="primary",o="secondary"},152:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(7),a=r.n(n),o=function(t,e){var r=e.dateRangeLength;a()(Array.isArray(t),"report must be an array to partition."),a()(Number.isInteger(r)&&r>0,"dateRangeLength must be a positive integer.");var n=-1*r;return{currentRange:t.slice(n),compareRange:t.slice(2*n,n)}}},157:function(t,e,r){"use strict";r.d(e,"a",(function(){return I})),r.d(e,"b",(function(){return _})),r.d(e,"c",(function(){return R})),r.d(e,"f",(function(){return T})),r.d(e,"e",(function(){return C})),r.d(e,"d",(function(){return N}));var n=r(14),a=r.n(n),o=r(5),i=r.n(o),c=r(6),u=r.n(c),s=r(7),l=r.n(s),f=r(54),p=r.n(f),d=r(127),g=r.n(d),v=r(165),b=r.n(v),y=r(31),m=r.n(y),h=r(4),O=r.n(h),w=r(69),S=r(74),j=r(42),x=r(49);function k(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?k(Object(r),!0).forEach((function(e){u()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var A=O.a.createRegistrySelector,P=x.a.clearError,E=x.a.receiveError,I="cannot submit changes while submitting changes",_="cannot submit changes if settings have not changed",R=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=n.ownedSettingsSlugs,o=void 0===a?void 0:a,c=n.storeName,s=void 0===c?void 0:c,f=n.settingSlugs,d=void 0===f?[]:f;l()(t,"type is required."),l()(e,"identifier is required."),l()(r,"datapoint is required.");var v=s||"".concat(t,"/").concat(e),y={ownedSettingsSlugs:o,settings:void 0,savedSettings:void 0},h=Object(j.a)({baseName:"getSettings",controlCallback:function(){return m.a.get(t,e,r,{},{useCache:!1})},reducerCallback:function(t,e){return D(D({},t),{},{savedSettings:D({},e),settings:D(D({},e),t.settings||{})})}}),w=Object(j.a)({baseName:"saveSettings",controlCallback:function(n){var a=n.values;return m.a.set(t,e,r,a)},reducerCallback:function(t,e){return D(D({},t),{},{savedSettings:D({},e),settings:D({},e)})},argsToParams:function(t){return{values:t}},validateParams:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.values;l()(p()(e),"values is required.")}}),x={},k={setSettings:function(t){return l()(p()(t),"values is required."),{payload:{values:t},type:"SET_SETTINGS"}},rollbackSettings:function(){return{payload:{},type:"ROLLBACK_SETTINGS"}},saveSettings:i.a.mark((function t(){var e,r,n,a,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,O.a.commonActions.getRegistry();case 2:return e=t.sent,t.next=5,P("saveSettings",[]);case 5:return r=e.select(v).getSettings(),t.next=8,w.actions.fetchSaveSettings(r);case 8:if(n=t.sent,a=n.response,!(o=n.error)){t.next=14;break}return t.next=14,E(o,"saveSettings",[]);case 14:return t.abrupt("return",{response:a,error:o});case 15:case"end":return t.stop()}}),t)}))},I={},_=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y,e=arguments.length>1?arguments[1]:void 0,r=e.type,n=e.payload;switch(r){case"SET_SETTINGS":var a=n.values;return D(D({},t),{},{settings:D(D({},t.settings||{}),a)});case"ROLLBACK_SETTINGS":return D(D({},t),{},{settings:t.savedSettings});default:return void 0!==x[r]?x[r](t,{type:r,payload:n}):t}},R={getSettings:i.a.mark((function t(){var e;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,O.a.commonActions.getRegistry();case 2:if(e=t.sent,e.select(v).getSettings()){t.next=7;break}return t.next=7,h.actions.fetchGetSettings();case 7:case"end":return t.stop()}}),t)}))},T={getSettings:function(t){return t.settings},haveSettingsChanged:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=t.settings,n=t.savedSettings;return e?!g()(b()(r,e),b()(n,e)):!g()(r,n)},hasSettingChanged:function(t,e){l()(e,"setting is required.");var r=t.settings,n=t.savedSettings;return!(!r||!n)&&!g()(r[e],n[e])},isDoingSaveSettings:function(t){return Object.values(t.isFetchingSaveSettings).some(Boolean)},getOwnedSettingsSlugs:function(t){return t.ownedSettingsSlugs},haveOwnedSettingsChanged:A((function(t){return function(){var e=t(v).getOwnedSettingsSlugs();return t(v).haveSettingsChanged(e)}}))};d.forEach((function(t){var e=Object(S.b)(t),r=Object(S.a)(t);k["set".concat(e)]=function(t){return l()(void 0!==t,"value is required for calls to set".concat(e,"().")),{payload:{value:t},type:"SET_".concat(r)}},x["SET_".concat(r)]=function(e,r){var n=r.payload.value;return D(D({},e),{},{settings:D(D({},e.settings||{}),{},u()({},t,n))})},T["get".concat(e)]=A((function(e){return function(){return(e(v).getSettings()||{})[t]}}))}));var C=O.a.combineStores(O.a.commonStore,h,w,{initialState:y,actions:k,controls:I,reducer:_,resolvers:R,selectors:T});return D(D({},C),{},{STORE_NAME:v})};function T(t,e){return function(){var r=a()(i.a.mark((function r(n){var a,o,c,u;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(a=n.select,o=n.dispatch,!a(e).haveSettingsChanged()){r.next=8;break}return r.next=4,o(e).saveSettings();case 4:if(c=r.sent,!(u=c.error)){r.next=8;break}return r.abrupt("return",{error:u});case 8:return r.next=10,m.a.invalidateCache("modules",t);case 10:return r.abrupt("return",{});case 11:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}()}function C(t){return function(e){var r=e.select,n=e.dispatch;return r(t).haveSettingsChanged()?n(t).rollbackSettings():{}}}function N(t){return function(e){var r=Object(w.e)(e)(t),n=r.haveSettingsChanged,a=r.isDoingSubmitChanges;l()(!a(),I),l()(n(),_)}}},175:function(t,e,r){"use strict";function n(t){var e,r,n,a,o,i,c,u;if(void 0!==t)return!(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.totals)||void 0===i||null===(c=i[0])||void 0===c||null===(u=c.values)||void 0===u?void 0:u.length)||!t[0].data.totals.some((function(t){return t.values.some((function(t){return t>0}))}))}r.d(e,"a",(function(){return n}))},213:function(t,e,r){"use strict";e.a=function(t){if("string"==typeof t&&t.match(/[0-9]{8}/)){var e=t.slice(0,4),r=Number(t.slice(4,6))-1,n=t.slice(6,8);return new Date(e,r.toString(),n)}return!1}},238:function(t,e,r){"use strict";r.d(e,"a",(function(){return v})),r.d(e,"b",(function(){return b}));var n=r(5),a=r.n(n),o=r(14),i=r.n(o),c=r(7),u=r.n(c),s=r(325),l=r.n(s),f=r(249),p=r(111),d=r(268),g=r(15),v=function(t,e){var r=e.find((function(e){return e.test(t)}));return!!r&&r.exec(t)[1]},b=l()(function(){var t=i()(a.a.mark((function t(e){var r,n,o,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.homeURL,n=e.ampMode,u()(Object(p.a)(r),"homeURL must be valid URL"),o=[r],g.b!==n){t.next=14;break}return t.prev=4,t.next=7,Object(f.default)({path:"/wp/v2/posts?per_page=1"}).then((function(t){return t.slice(0,1).map((function(t){return Object(d.a)(t.link,{amp:1})})).pop()}));case 7:(i=t.sent)&&o.push(i),t.next=14;break;case 11:return t.prev=11,t.t0=t.catch(4),t.abrupt("return",o);case 14:return t.abrupt("return",o);case 15:case"end":return t.stop()}}),t,null,[[4,11]])})));return function(e){return t.apply(this,arguments)}}())},249:function(t,e,r){"use strict";(function(t){var n=r(55),a=r.n(n),o=r(250),i=t._googlesitekitAPIFetchData||{},c=i.nonce,u=i.nonceEndpoint,s=i.preloadedData,l=i.rootURL;a.a.nonceEndpoint=u,a.a.nonceMiddleware=a.a.createNonceMiddleware(c),a.a.rootURLMiddleware=a.a.createRootURLMiddleware(l),a.a.preloadingMiddleware=Object(o.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,r(21))},250:function(t,e,r){"use strict";var n=r(227);e.a=function(t){var e=Object.keys(t).reduce((function(e,r){return e[Object(n.getStablePath)(r)]=t[r],e}),{}),r=!1;return function(t,a){if(r)return a(t);setTimeout((function(){r=!0}),1e3);var o=t.parse,i=void 0===o||o,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(n.getStablePath)(c);if(i&&"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 p=Promise.resolve(e[s][l]);return delete e[s][l],p}}return a(t)}}},264:function(t,e,r){"use strict";r.d(e,"b",(function(){return a})),r.d(e,"c",(function(){return o})),r.d(e,"d",(function(){return i})),r.d(e,"e",(function(){return c})),r.d(e,"a",(function(){return u}));var n=r(38);function a(t){return"string"==typeof t&&/^\w+$/.test(t)}function o(t){return t===n.c||a(t)}function i(t){return"string"==typeof t&&/^\d+$/.test(t)}function c(t){return t===n.d||i(t)}function u(t){return"string"==typeof t&&/^G-[a-zA-Z0-9]+$/.test(t)}},29: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"},31:function(t,e){t.exports=googlesitekit.api},32:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return h})),r.d(e,"b",(function(){return m}));var n=r(86),a=t._googlesitekitTrackingData||{},o=a.activeModules,i=void 0===o?[]:o,c=a.isSiteKitScreen,u=a.trackingEnabled,s=a.trackingID,l=a.referenceSiteURL,f=a.userIDHash,p=a.isAuthenticated,d={activeModules:i,trackingEnabled:u,trackingID:s,referenceSiteURL:l,userIDHash:f,isSiteKitScreen:c,userRoles:a.userRoles,isAuthenticated:p,pluginVersion:"1.79.0"},g=Object(n.a)(d),v=g.enableTracking,b=g.disableTracking,y=(g.isTrackingEnabled,g.initializeSnippet),m=g.trackEvent;function h(t){t?v():b()}c&&u&&y()}).call(this,r(21))},323:function(t,e,r){"use strict";r.d(e,"a",(function(){return w}));var n=r(6),a=r.n(n),o=r(14),i=r.n(o),c=r(5),u=r.n(c),s=r(7),l=r.n(s),f=r(4),p=r.n(f),d=r(15),g=r(238);function v(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?v(Object(r),!0).forEach((function(e){a()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function y(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 m(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Obje