Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-datastore-user-8525155abe6c24a6b6e4.js
Назад
(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[13],{100:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return s}));var n=r(58),i=r(37),o=r(44);function s(t,r){var s,a=Object(n.a)(r),c=t.activeModules,u=t.referenceSiteURL,l=t.userIDHash,f=t.userRoles,d=void 0===f?[]:f,g=t.isAuthenticated,p=t.pluginVersion;return function(){var r=e.document;if(void 0===s&&(s=!!r.querySelector("script[".concat(i.b,"]"))),!s){s=!0;var n=(null==d?void 0:d.length)?d.join(","):"";a("js",new Date),a("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:u,plugin_version:p||"",enabled_features:Array.from(o.a).join(","),active_modules:c.join(","),authenticated:g?"1":"0",user_properties:{user_roles:n,user_identifier:l}});var f=r.createElement("script");return f.setAttribute(i.b,""),f.async=!0,f.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),r.head.appendChild(f),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a)}}}}}).call(this,r(26))},101:function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(16),c=r.n(a),u=r(58);function l(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 f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r,n){var o=Object(u.a)(t);return function(){var t=c()(i.a.mark((function t(s,a,c,u){var l;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return r(),l={send_to:"site_kit",event_category:s,event_label:c,value:u},t.abrupt("return",new Promise((function(e){var t,r,i=setTimeout((function(){n.console.warn('Tracking event "'.concat(a,'" (category "').concat(s,'") took too long to fire.')),e()}),1e3),c=function(){clearTimeout(i),e()};o("event",a,f(f({},l),{},{event_callback:c})),(null===(t=n._gaUserPrefs)||void 0===t||null===(r=t.ioo)||void 0===r?void 0:r.call(t))&&c()})));case 6:case"end":return t.stop()}}),t)})));return function(e,r,n,i){return t.apply(this,arguments)}}()}},1150:function(e,t,r){"use strict";var n,i,o=r(16),s=r.n(o),a=r(5),c=r.n(a),u=r(7),l=r.n(u),f=r(931),d=r.n(f),g=r(11),p=r.n(g),v=r(13),b=r(42),m=r.n(b),y=r(3),h=r(47),O=r(14),S=r(6),j=r(27),_=r.n(j),k=r(2),E=r(31),w=r(22),A=r(531),I=r(24),T=r(147),D=[{slug:"dashboardSharing",contexts:[w.n],version:"1.85.0",gaEventCategory:function(e){return"".concat(e,"_dashboard-sharing")},steps:[{target:".googlesitekit-sharing-settings__button",title:Object(k.__)("New! Dashboard sharing","google-site-kit"),content:Object(k.__)("Share a view-only version of your dashboard with other WordPress roles","google-site-kit"),placement:"bottom-start"}].concat(_()(A.a.steps)),callback:function(e,t){var r=t.select,i=t.dispatch,o=e.action,s=e.index,a=e.size,c=e.type,u=e.status,l=r(I.b).getValue(T.c);E.a.NEXT===o&&0===s&&i(I.b).setValue(T.c,!0),(E.a.STOP===o||E.a.CLOSE===o||0===s&&l||o===E.a.NEXT&&u===E.d.FINISHED)&&i(I.b).setValue(T.c,!1),s+1!==a||E.b.TOOLTIP!==c||n||(n=!0,i(S.a).dismissTour(A.a.slug))}}],x=r(41),P=r(59);function C(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return R(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 R(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw o}}}}function R(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 N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function U(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){l()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var L=y.commonActions.getRegistry,M=Object(h.a)({baseName:"getDismissedTours",controlCallback:function(){return m.a.get("core","user","dismissed-tours",{},{useCache:!1})},reducerCallback:function(e,t){return U(U({},e),{},{dismissedTourSlugs:t})}}),G=Object(h.a)({baseName:"dismissTour",controlCallback:function(e){var t=e.slug;return m.a.set("core","user","dismiss-tour",{slug:t})},reducerCallback:function(e,t){return U(U({},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;p()(t,"slug is required.")}}),V={lastDismissedAt:void 0,dismissedTourSlugs:void 0,tours:D,currentTour:void 0,shownTour:void 0},F={dismissTour:Object(P.f)((function(e){p()(e,"A tour slug is required to dismiss a tour.")}),c.a.mark((function e(t){var r,n,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,L();case 2:if(r=e.sent,!(n=r.select)(S.a).isFetchingDismissTour(t)){e.next=7;break}return i=n(S.a).getDismissedFeatureTourSlugs(),e.abrupt("return",{response:i,error:void 0});case 7:return e.next=9,{type:"DISMISS_TOUR",payload:{slug:t}};case 9:return e.next=11,H.setLastDismissedAt(Date.now());case 11:return e.next=13,G.actions.fetchDismissTour(t);case 13:return e.abrupt("return",e.sent);case 14:case"end":return e.stop()}}),e)}))),receiveCurrentTour:function(e){return p()(Object(v.isPlainObject)(e)||Object(v.isNull)(e),"tour must be a plain object or null."),{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 p()(Array.isArray(e),"viewTours must be an array."),p()(r,"viewContext is required."),{payload:{viewTours:e,viewContext:r},type:"RECEIVE_READY_TOURS"}},receiveAllFeatureTours:function(e){return p()(Array.isArray(e),"tours must be an array."),{payload:{tours:e},type:"RECEIVE_TOURS"}},receiveLastDismissedAt:function(e){return p()(void 0!==e,"A timestamp is required."),{type:"RECEIVE_LAST_DISMISSED_AT",payload:{timestamp:e}}},setLastDismissedAt:Object(P.f)((function(e){p()(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,L();case 2:return e.sent.dispatch(O.c).setCacheItem("feature_tour_last_dismissed_at",t,{ttl:7200}),e.next=6,{type:"RECEIVE_LAST_DISMISSED_AT",payload:{timestamp:t}};case 6: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,L();case 2:if(r=e.sent,(0,r.select)(S.a).getCurrentTour()){e.next=7;break}return e.next=7,F.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,F.triggerTour(t);case 6:case"end":return e.stop()}}),e)})),triggerTourForView:c.a.mark((function e(t){var r,n,i,o,s,a,u;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,L();case 2:return r=e.sent,n=r.select,i=r.resolveSelect,e.next=7,y.commonActions.await(i(S.a).getLastDismissedAt());case 7:if(!n(S.a).areFeatureToursOnCooldown()){e.next=9;break}return e.abrupt("return",{});case 9:o=n(S.a).getAllFeatureTours(),s=C(o),e.prev=11,s.s();case 13:if((a=s.n()).done){e.next=24;break}return u=a.value,e.next=17,{payload:{tour:u,viewContext:t},type:"CHECK_TOUR_REQUIREMENTS"};case 17:if(!e.sent){e.next=22;break}return e.next=21,F.triggerTour(u);case 21:return e.abrupt("return",u);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:return e.next=34,F.triggerTour(null);case 34:return e.abrupt("return",null);case 35:case"end":return e.stop()}}),e,null,[[11,26,29,32]])}))},q=(i={},l()(i,"CHECK_TOUR_REQUIREMENTS",Object(y.createRegistryControl)((function(e){return function(){var t=s()(c.a.mark((function t(r){var n,i,o,s;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=r.payload,i=n.tour,o=n.viewContext,i.contexts.includes(o)){t.next=4;break}return t.abrupt("return",!1);case 4:return t.next=6,e.resolveSelect(S.a).getInitialSiteKitVersion();case 6:if(s=t.sent){t.next=11;break}return t.abrupt("return",!1);case 11:if(!d.a.compare(s,i.version,">=")){t.next=13;break}return t.abrupt("return",!1);case 13:return t.next=15,e.resolveSelect(S.a).getDismissedFeatureTourSlugs();case 15:if(!e.select(S.a).isTourDismissed(i.slug)){t.next=17;break}return t.abrupt("return",!1);case 17:if(!i.checkRequirements){t.next=21;break}return t.next=20,i.checkRequirements(e);case 20:return t.abrupt("return",!!t.sent);case 21:return t.abrupt("return",!0);case 22:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),l()(i,"CHECK_ON_DEMAND_TOUR_REQUIREMENTS",Object(y.createRegistryControl)((function(e){return function(){var t=s()(c.a.mark((function t(r){var n,i;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.payload,i=n.tour,t.next=4,e.resolveSelect(S.a).getDismissedFeatureTourSlugs();case 4:if(!e.select(S.a).isTourDismissed(i.slug)){t.next=6;break}return t.abrupt("return",!1);case 6:if(!i.checkRequirements){t.next=10;break}return t.next=9,i.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)}}()}))),i),K={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,L();case 2:if(t=e.sent,r=t.select,void 0!==r(S.a).getDismissedFeatureTourSlugs()){e.next=8;break}return e.next=8,M.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,y.commonActions.await(Object(x.d)("feature_tour_last_dismissed_at"));case 2:return t=e.sent,r=t.value,e.next=6,H.receiveLastDismissedAt(r||null);case 6:case"end":return e.stop()}}),e)}))},B={getCurrentTour:function(e){return e.currentTour},getShownTour:function(e){return e.shownTour},getDismissedFeatureTourSlugs:function(e){return e.dismissedTourSlugs},getAllFeatureTours:function(e){return e.tours},isTourDismissed:Object(y.createRegistrySelector)((function(e){return function(t,r){var n=e(S.a).getDismissedFeatureTourSlugs();if(void 0!==n)return n.includes(r)}})),getLastDismissedAt:function(e){return e.lastDismissedAt},areFeatureToursOnCooldown:Object(y.createRegistrySelector)((function(e){return function(){var t=e(S.a).getLastDismissedAt();if(void 0!==t){if(null===t)return!1;var r=t+72e5;return Date.now()<r}}}))},W=Object(y.combineStores)({initialState:V,actions:F,controls:q,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"DISMISS_TOUR":var i,o=n.slug,s=e.dismissedTourSlugs,a=void 0===s?[]:s;return a.includes(o)?e:U(U({},e),{},{currentTour:(null===(i=e.currentTour)||void 0===i?void 0:i.slug)===o?null:e.currentTour,dismissedTourSlugs:a.concat(o)});case"RECEIVE_CURRENT_TOUR":return U(U({},e),{},{currentTour:n.tour,shownTour:n.tour});case"RECEIVE_READY_TOURS":var c=n.viewContext,u=n.viewTours;return U(U({},e),{},{viewTours:U(U({},e.viewTours),{},l()({},c,u))});case"RECEIVE_TOURS":return U(U({},e),{},{tours:n.tours});case"RECEIVE_LAST_DISMISSED_AT":return U(U({},e),{},{lastDismissedAt:n.timestamp});default:return e}},resolvers:K,selectors:B},G,M),H=W.actions,$=W.controls,J=W.initialState,z=W.reducer,Q=W.resolvers,Y=W.selectors;t.a={actions:H,controls:$,initialState:J,reducer:z,resolvers:Q,selectors:Y}},1197:function(e,t,r){"use strict";r.r(t);var n=r(3),i=r.n(n),o=r(922);Object(o.a)(i.a)},14:function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return o}));var n="core/site",i="primary",o="secondary"},147:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"b",(function(){return o}));var n="editing-user-role-select-slug-key",i="dashboardSharingDialogOpen",o="resetSharingDialogOpen"},164:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(355);function i(e){return Object(n.a)(e)}},172:function(e,t,r){"use strict";r.d(t,"a",(function(){return v}));var n=r(7),i=r.n(n),o=r(2),s=r(6),a=r(14),c=r(9),u=r(44);function l(e,t,r){return!!Object(u.b)("conversionReporting")&&(e(c.p).hasConversionReportingEvents(this.requiredConversionEventName)||e(s.a).isKeyMetricActive(r))}var f,d=r(30);function g(e,t){return!t||!(!t||!e(c.p).getAdSenseLinked())}function p(e,t){return!t||e(c.p).hasCustomDimensions(this.requiredCustomDimensions)}var v=(f={},i()(f,s.f,{title:Object(o.__)("Top earning pages","google-site-kit"),description:Object(o.__)("Pages that generated the most AdSense revenue","google-site-kit"),infoTooltip:Object(o.__)("Pages that generated the most AdSense revenue","google-site-kit"),displayInSelectionPanel:g,displayInList:g,metadata:{group:d.d.SLUG}}),i()(f,s.y,{title:Object(o.__)("Top recent trending pages","google-site-kit"),description:Object(o.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),infoTooltip:Object(o.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_date"],displayInSelectionPanel:p,displayInWidgetArea:p,displayInList:p,metadata:{group:d.d.SLUG}}),i()(f,s.l,{title:Object(o.__)("Most popular authors by pageviews","google-site-kit"),description:Object(o.__)("Authors whose posts got the most visits","google-site-kit"),infoTooltip:Object(o.__)("Authors whose posts got the most visits","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_author"],displayInSelectionPanel:p,displayInWidgetArea:p,displayInList:p,metadata:{group:d.d.SLUG}}),i()(f,s.p,{title:Object(o.__)("Top categories by pageviews","google-site-kit"),description:Object(o.__)("Categories that your site visitors viewed the most","google-site-kit"),infoTooltip:Object(o.__)("Categories that your site visitors viewed the most","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_categories"],displayInSelectionPanel:p,displayInWidgetArea:p,displayInList:p,metadata:{group:d.d.SLUG}}),i()(f,s.m,{title:Object(o.__)("Most popular content by pageviews","google-site-kit"),description:Object(o.__)("Pages that brought in the most visitors","google-site-kit"),infoTooltip:Object(o.__)("Pages your visitors read the most","google-site-kit"),metadata:{group:d.d.SLUG}}),i()(f,s.n,{title:Object(o.__)("Most popular products by pageviews","google-site-kit"),description:Object(o.__)("Products that brought in the most visitors","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_type"],displayInSelectionPanel:function(e){return e(s.a).isKeyMetricActive(s.n)||e(a.c).getProductPostType()},displayInWidgetArea:p,metadata:{group:d.g.SLUG}}),i()(f,s.k,{title:Object(o.__)("Pages per visit","google-site-kit"),description:Object(o.__)("Number of pages visitors viewed per session on average","google-site-kit"),infoTooltip:Object(o.__)("Number of pages visitors viewed per session on average","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(f,s.F,{title:Object(o.__)("Visit length","google-site-kit"),description:Object(o.__)("Average duration of engaged visits","google-site-kit"),infoTooltip:Object(o.__)("Average duration of engaged visits","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(f,s.E,{title:Object(o.__)("Visits per visitor","google-site-kit"),description:Object(o.__)("Average number of sessions per site visitor","google-site-kit"),infoTooltip:Object(o.__)("Average number of sessions per site visitor","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(f,s.i,{title:Object(o.__)("Most engaging pages","google-site-kit"),description:Object(o.__)("Pages with the highest engagement rate","google-site-kit"),infoTooltip:Object(o.__)("Pages with the highest engagement rate","google-site-kit"),metadata:{group:d.d.SLUG}}),i()(f,s.h,{title:Object(o.__)("Least engaging pages","google-site-kit"),description:Object(o.__)("Pages with the highest percentage of visitors that left without engagement with your site","google-site-kit"),infoTooltip:Object(o.__)("Percentage of visitors that left without engagement with your site","google-site-kit"),metadata:{group:d.d.SLUG}}),i()(f,s.z,{title:Object(o.__)("Top pages by returning visitors","google-site-kit"),description:Object(o.__)("Pages that attracted the most returning visitors","google-site-kit"),infoTooltip:Object(o.__)("Pages that attracted the most returning visitors","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(f,s.j,{title:Object(o.__)("New visitors","google-site-kit"),description:Object(o.__)("How many new visitors you got and how the overall audience changed","google-site-kit"),infoTooltip:Object(o.__)("Portion of visitors who visited your site for the first time in this timeframe","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(f,s.o,{title:Object(o.__)("Returning visitors","google-site-kit"),description:Object(o.__)("Portion of people who visited your site more than once","google-site-kit"),infoTooltip:Object(o.__)("Portion of your site’s visitors that returned at least once in this timeframe","google-site-kit"),metadata:{group:d.h.SLUG}}),i()(f,s.A,{title:Object(o.__)("Top traffic source","google-site-kit"),description:Object(o.__)("Channel which brought in the most visitors to your site","google-site-kit"),infoTooltip:Object(o.__)("Channel (e.g. social, paid, search) that brought in the most visitors to your site","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(f,s.B,{title:Object(o.__)("Top traffic source driving add to cart","google-site-kit"),description:Object(o.__)("Traffic source that generates the most add to cart events","google-site-kit"),infoTooltip:Object(o.__)("Traffic source that generates the most add to cart events","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.g.SLUG}}),i()(f,s.C,{title:Object(o.__)("Top traffic source driving leads","google-site-kit"),description:Object(o.__)("Total number of leads for the top traffic source","google-site-kit"),infoTooltip:Object(o.__)("Total number of leads for the top traffic source","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.f.SLUG}}),i()(f,s.D,{title:Object(o.__)("Top traffic source driving purchases","google-site-kit"),description:Object(o.__)("Traffic source that generates the most purchases","google-site-kit"),infoTooltip:Object(o.__)("Traffic source that generates the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.g.SLUG}}),i()(f,s.g,{title:Object(o.__)("Most engaged traffic source","google-site-kit"),description:Object(o.__)("Visitors coming via this channel spent the most time on your site","google-site-kit"),infoTooltip:Object(o.__)("Channel (e.g. social, paid, search) that brought in the most visitors who had a meaningful engagement with your site","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(f,s.u,{title:Object(o.__)("Top converting traffic source","google-site-kit"),description:Object(o.__)("Channel which brought in the most visits that resulted in conversions","google-site-kit"),infoTooltip:Object(o.__)("Channel (e.g. social, paid, search) that brought in visitors who generated the most conversions","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(f,s.q,{title:Object(o.__)("Top cities driving traffic","google-site-kit"),description:Object(o.__)("Which cities you get the most visitors from","google-site-kit"),infoTooltip:Object(o.__)("The cities where most of your visitors came from","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(f,s.s,{title:Object(o.__)("Top cities driving leads","google-site-kit"),description:Object(o.__)("Cities driving the most contact form submissions","google-site-kit"),infoTooltip:Object(o.__)("Cities driving the most contact form submissions","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.f.SLUG}}),i()(f,s.r,{title:Object(o.__)("Top cities driving add to cart","google-site-kit"),description:Object(o.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),infoTooltip:Object(o.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.g.SLUG}}),i()(f,s.t,{title:Object(o.__)("Top cities driving purchases","google-site-kit"),description:Object(o.__)("Cities driving the most purchases","google-site-kit"),infoTooltip:Object(o.__)("Cities driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.g.SLUG}}),i()(f,s.w,{title:Object(o.__)("Top device driving purchases","google-site-kit"),description:Object(o.__)("Top device driving the most purchases","google-site-kit"),infoTooltip:Object(o.__)("Top device driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.g.SLUG}}),i()(f,s.v,{title:Object(o.__)("Top countries driving traffic","google-site-kit"),description:Object(o.__)("Which countries you get the most visitors from","google-site-kit"),infoTooltip:Object(o.__)("The countries where most of your visitors came from","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(f,s.G,{title:Object(o.__)("Top performing keywords","google-site-kit"),description:Object(o.__)("What people searched for before they came to your site","google-site-kit"),infoTooltip:Object(o.__)("The top search queries for your site by highest clickthrough rate","google-site-kit"),metadata:{group:d.e.SLUG}}),i()(f,s.x,{title:Object(o.__)("Top pages driving leads","google-site-kit"),description:Object(o.__)("Pages on which forms are most frequently submitted","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:l,displayInWidgetArea:function(){return Object(u.b)("conversionReporting")},displayInList:l,metadata:{group:d.f.SLUG}}),f)},19:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n="core/modules",i="insufficient_module_dependencies"},2:function(e,t){e.exports=googlesitekit.i18n},22:function(e,t,r){"use strict";r.d(t,"n",(function(){return n})),r.d(t,"l",(function(){return i})),r.d(t,"o",(function(){return o})),r.d(t,"m",(function(){return s})),r.d(t,"s",(function(){return a})),r.d(t,"h",(function(){return c})),r.d(t,"r",(function(){return u})),r.d(t,"i",(function(){return l})),r.d(t,"j",(function(){return f})),r.d(t,"q",(function(){return d})),r.d(t,"k",(function(){return g})),r.d(t,"t",(function(){return p})),r.d(t,"u",(function(){return v})),r.d(t,"p",(function(){return b})),r.d(t,"b",(function(){return m})),r.d(t,"e",(function(){return y})),r.d(t,"a",(function(){return h})),r.d(t,"d",(function(){return O})),r.d(t,"c",(function(){return S})),r.d(t,"f",(function(){return j})),r.d(t,"g",(function(){return _}));var n="mainDashboard",i="entityDashboard",o="mainDashboardViewOnly",s="entityDashboardViewOnly",a="userInput",c="activation",u="splash",l="adminBar",f="adminBarViewOnly",d="settings",g="adBlockingRecovery",p="wpDashboard",v="wpDashboardViewOnly",b="moduleSetup",m="key-metrics",y="traffic",h="content",O="speed",S="monetization",j=[n,i,o,s,a,u,d,b],_=[o,s,f,v]},24:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i}));var n="core/ui",i="activeContextID"},3:function(e,t){e.exports=googlesitekit.data},30:function(e,t,r){"use strict";r.d(t,"l",(function(){return i})),r.d(t,"a",(function(){return o})),r.d(t,"k",(function(){return s})),r.d(t,"j",(function(){return a})),r.d(t,"i",(function(){return c})),r.d(t,"o",(function(){return u})),r.d(t,"m",(function(){return l})),r.d(t,"n",(function(){return f})),r.d(t,"b",(function(){return d})),r.d(t,"h",(function(){return g})),r.d(t,"e",(function(){return p})),r.d(t,"f",(function(){return v})),r.d(t,"g",(function(){return b})),r.d(t,"d",(function(){return m})),r.d(t,"c",(function(){return y}));var n=r(2),i="key-metrics-setup-cta-widget",o="key-metrics-acr-subtle-notification",s="googlesitekit-key-metrics-selection-panel-opened",a="key-metrics-selection-form",c="key-metrics-selected",u=2,l=4,f=8,d="current-selection",g={SLUG:"visitors",LABEL:Object(n.__)("Visitors","google-site-kit")},p={SLUG:"driving-traffic",LABEL:Object(n.__)("Driving traffic","google-site-kit")},v={SLUG:"generating-leads",LABEL:Object(n.__)("Generating leads","google-site-kit")},b={SLUG:"selling-products",LABEL:Object(n.__)("Selling products","google-site-kit")},m={SLUG:"content-performance",LABEL:Object(n.__)("Content performance","google-site-kit")},y=[g,p,v,b,m]},36:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return O})),r.d(t,"b",(function(){return y})),r.d(t,"c",(function(){return h}));var n=r(99),i=e._googlesitekitTrackingData||{},o=i.activeModules,s=void 0===o?[]:o,a=i.isSiteKitScreen,c=i.trackingEnabled,u=i.trackingID,l=i.referenceSiteURL,f=i.userIDHash,d=i.isAuthenticated,g={activeModules:s,trackingEnabled:c,trackingID:u,referenceSiteURL:l,userIDHash:f,isSiteKitScreen:a,userRoles:i.userRoles,isAuthenticated:d,pluginVersion:"1.140.0"},p=Object(n.a)(g),v=p.enableTracking,b=p.disableTracking,m=(p.isTrackingEnabled,p.initializeSnippet),y=p.trackEvent,h=p.trackEventOnce;function O(e){e?v():b()}a&&c&&m()}).call(this,r(26))},37:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},404:function(e,t,r){"use strict";function n(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e.reduce((function(e,t,n){return e+t+encodeURIComponent(r[n]||"")}),"")}r.d(t,"a",(function(){return n}))},41:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return f})),r.d(t,"d",(function(){return y})),r.d(t,"f",(function(){return h})),r.d(t,"c",(function(){return O})),r.d(t,"e",(function(){return S})),r.d(t,"b",(function(){return j}));var n=r(5),i=r.n(n),o=r(16),s=r.n(o),a=(r(27),r(8));function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw o}}}}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,f="googlesitekit_",d="".concat(f).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),g=["sessionStorage","localStorage"],p=[].concat(g),v=function(){var t=s()(i.a.mark((function t(r){var n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e[r]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,o="__storage_test__",n.setItem(o,o),n.removeItem(o),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 m.apply(this,arguments)}function m(){return(m=s()(i.a.mark((function t(){var r,n,o;return i.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=c(p),t.prev=3,r.s();case 5:if((n=r.n()).done){t.next=15;break}if(o=n.value,!l){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,v(o);case 11:if(!t.sent){t.next=13;break}l=e[o];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 y=function(){var e=s()(i.a.mark((function e(t){var r,n,o,s,a,c,u;return i.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(o=JSON.parse(n),s=o.timestamp,a=o.ttl,c=o.value,u=o.isError,!s||a&&!(Math.round(Date.now()/1e3)-s<a)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:c,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=s()(i.a.mark((function t(r,n){var o,s,c,u,l,f,g,p,v=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=v.length>2&&void 0!==v[2]?v[2]:{},s=o.ttl,c=void 0===s?a.b:s,u=o.timestamp,l=void 0===u?Math.round(Date.now()/1e3):u,f=o.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:c,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)}}(),O=function(){var t=s()(i.a.mark((function t(r){var n,o;return i.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=14;break}return t.prev=4,o=r.startsWith(f)?r:"".concat(d).concat(r),n.removeItem(o),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),S=function(){var t=s()(i.a.mark((function t(){var r,n,o,s;return i.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=[],o=0;o<r.length;o++)0===(s=r.key(o)).indexOf(f)&&n.push(s);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)}}(),j=function(){var e=s()(i.a.mark((function e(){var t,r,n,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!e.sent){e.next=25;break}return e.next=6,S();case 6:t=e.sent,r=c(t),e.prev=8,r.s();case 10:if((n=r.n()).done){e.next=16;break}return o=n.value,e.next=14,O(o);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),r.e(e.t0);case 21:return e.prev=21,r.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,r(26))},42:function(e,t){e.exports=googlesitekit.api},44:function(e,t,r){"use strict";(function(e){var n,i;r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return s}));var o=new Set((null===(n=e)||void 0===n||null===(i=n._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return t instanceof Set&&t.has(e)}}).call(this,r(26))},46:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return o}));var n={BOXES:"boxes",COMPOSITE:"composite"},i={QUARTER:"quarter",HALF:"half",FULL:"full"},o="core/widgets"},47:function(e,t,r){"use strict";r.d(t,"a",(function(){return O}));var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(11),c=r.n(a),u=r(13),l=r(62),f=r(78),d=r(8);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 p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=function(e){return e},b=function(){return{}},m=function(){},y=l.a.clearError,h=l.a.receiveError,O=function(e){var t,r,n=i.a.mark(N),o=e.baseName,a=e.controlCallback,l=e.reducerCallback,g=void 0===l?v:l,O=e.argsToParams,S=void 0===O?b:O,j=e.validateParams,_=void 0===j?m:j;c()(o,"baseName is required."),c()("function"==typeof a,"controlCallback is required and must be a function."),c()("function"==typeof g,"reducerCallback must be a function."),c()("function"==typeof S,"argsToParams must be a function."),c()("function"==typeof _,"validateParams must be a function.");try{_(S()),r=!1}catch(e){r=!0}var k=Object(f.b)(o),E=Object(f.a)(o),w="FETCH_".concat(E),A="START_".concat(w),I="FINISH_".concat(w),T="CATCH_".concat(w),D="RECEIVE_".concat(E),x="fetch".concat(k),P="receive".concat(k),C="isFetching".concat(k),R=s()({},C,{});function N(e,t){var r,s;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,{payload:{params:e},type:A};case 2:return n.next=4,y(o,t);case 4:return n.prev=4,n.next=7,{payload:{params:e},type:w};case 7:return r=n.sent,n.next=10,U[P](r,e);case 10:return n.next=12,{payload:{params:e},type:I};case 12:n.next=21;break;case 14:return n.prev=14,n.t0=n.catch(4),s=n.t0,n.next=19,h(s,o,t);case 19:return n.next=21,{payload:{params:e},type:T};case 21:return n.abrupt("return",{response:r,error:s});case 22:case"end":return n.stop()}}),n,null,[[4,14]])}var U=(t={},s()(t,x,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=S.apply(void 0,t);return _(n),N(n,t)})),s()(t,P,(function(e,t){return c()(void 0!==e,"response is required."),r?(c()(Object(u.isPlainObject)(t),"params is required."),_(t)):t={},{payload:{response:e,params:t},type:D}})),t),L=s()({},w,(function(e){var t=e.payload;return a(t.params)})),M=s()({},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),i=1;i<r;i++)n[i-1]=arguments[i];t=S.apply(void 0,n),_(t)}catch(e){return!1}return!!e[C][Object(d.I)(t)]}));return{initialState:R,actions:U,controls:L,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case A:var i=n.params;return p(p({},e),{},s()({},C,p(p({},e[C]),{},s()({},Object(d.I)(i),!0))));case D:var o=n.response,a=n.params;return g(e,o,a);case I:var c=n.params;return p(p({},e),{},s()({},C,p(p({},e[C]),{},s()({},Object(d.I)(c),!1))));case T:var u=n.params;return p(p({},e),{},s()({},C,p(p({},e[C]),{},s()({},Object(d.I)(u),!1))));default:return e}},resolvers:{},selectors:M}}},531:function(e,t,r){"use strict";(function(e){var n=r(31),i=r(2),o=r(6),s=(e._googlesitekitUserData||{}).hasMultipleAdmins,a=[{target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--view",title:Object(i.__)("Manage view access for other roles","google-site-kit"),content:Object(i.__)("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"}];s&&a.push({target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--manage",title:Object(i.__)("Share management with other admins","google-site-kit"),content:Object(i.__)("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")},steps:a,callback:function(e,t){var r=e.type,i=t.select,s=t.dispatch;n.b.TOOLTIP===r&&!1===i(o.a).isTourDismissed("dashboardSharing")&&s(o.a).dismissTour("dashboardSharing")}}}).call(this,r(26))},545:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return v}));var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(11),c=r.n(a),u=r(42),l=r.n(u),f=r(3),d=r(47);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 p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=function(t,r,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=o.client,u=void 0===a||a,g=o.server,v=void 0===g||g,b=o.storeName,m=void 0===b?void 0:b;c()(t,"type is required."),c()(r,"identifier is required."),c()(n,"datapoint is required.");var y=m||"".concat(t,"/").concat(r),h={serverNotifications:v?void 0:{},clientNotifications:u?void 0:{}},O=Object(d.a)({baseName:"getNotifications",controlCallback:function(){return l.a.get(t,r,n)},reducerCallback:function(e,t){return p(p({},e),{},{serverNotifications:t.reduce((function(e,t){return p(p({},e),{},s()({},t.id,t))}),{})})}}),S={addNotification:function(e){return c()(e,"notification is required."),{payload:{notification:e},type:"ADD_NOTIFICATION"}},removeNotification:function(e){return c()(e,"id is required."),{payload:{id:e},type:"REMOVE_NOTIFICATION"}}},j={},_=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,r=arguments.length>1?arguments[1]:void 0,n=r.type,i=r.payload;switch(n){case"ADD_NOTIFICATION":var o=i.notification;return p(p({},t),{},{clientNotifications:p(p({},t.clientNotifications||{}),{},s()({},o.id,o))});case"REMOVE_NOTIFICATION":var a=i.id;if(void 0===t.clientNotifications||void 0===t.clientNotifications[a])return void 0!==t.serverNotifications&&void 0!==t.serverNotifications[a]&&e.console.warn('Cannot remove server-side notification with ID "'.concat(a,'"; this may be changed in a future release.')),t;var c=p({},t.clientNotifications);return delete c[a],p(p({},t),{},{clientNotifications:c});default:return t}},k={getNotifications:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.commonActions.getRegistry();case 2:if(t=e.sent,t.select(y).getNotifications()){e.next=7;break}return e.next=7,O.actions.fetchGetNotifications();case 7:case"end":return e.stop()}}),e)}))};v||delete k.getNotifications;var E={getNotifications:function(e){var t=e.serverNotifications,r=e.clientNotifications;return void 0===t&&void 0===r?t:Object.values(p(p({},t||{}),r||{}))}},w=Object(f.combineStores)(O,{initialState:h,actions:S,controls:j,reducer:_,resolvers:k,selectors:E});return p(p({},w),{},{STORE_NAME:y})}}).call(this,r(26))},58:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(37);function i(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},59:function(e,t,r){"use strict";r.d(t,"a",(function(){return w})),r.d(t,"b",(function(){return A})),r.d(t,"c",(function(){return I})),r.d(t,"d",(function(){return D})),r.d(t,"e",(function(){return x})),r.d(t,"g",(function(){return C})),r.d(t,"f",(function(){return R}));var n,i=r(5),o=r.n(i),s=r(27),a=r.n(s),c=r(7),u=r.n(c),l=r(11),f=r.n(l),d=r(57),g=r.n(d),p=r(13),v=r(111);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 m(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){u()(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 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 m(m({},e),t)}),{}),i=t.reduce((function(e,t){return[].concat(a()(e),a()(Object.keys(t)))}),[]),o=T(i);return f()(0===o.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(o.join(", "),". Check your data stores for duplicates.")),n},h=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,i=[].concat(t);return"function"!=typeof i[0]&&(n=i.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.reduce((function(e,r){return r(e,t)}),e)}},j=y,_=y,k=y,E=function(e){return e},w=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=k.apply(void 0,a()(t.map((function(e){return e.initialState||{}}))));return{initialState:n,controls:O.apply(void 0,a()(t.map((function(e){return e.controls||{}})))),actions:h.apply(void 0,a()(t.map((function(e){return e.actions||{}})))),reducer:S.apply(void 0,[n].concat(a()(t.map((function(e){return e.reducer||E}))))),resolvers:j.apply(void 0,a()(t.map((function(e){return e.resolvers||{}})))),selectors:_.apply(void 0,a()(t.map((function(e){return e.selectors||{}}))))}},A={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:o.a.mark((function e(t){return o.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)}))},I=(n={},u()(n,"GET_REGISTRY",Object(v.a)((function(e){return function(){return e}}))),u()(n,"AWAIT",(function(e){return e.payload.value})),n),T=function(e){for(var t=[],r={},n=0;n<e.length;n++){var i=e[n];r[i]=r[i]>=1?r[i]+1:1,r[i]>1&&t.push(i)}return t},D={actions:A,controls:I,reducer:E},x=function(e){return function(t){return P(e(t))}},P=g()((function(e){return Object(p.mapValues)(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return f()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.negate,n=void 0!==r&&r,i=Object(v.b)((function(t){return function(r){var i=!n,o=!!n;try{for(var s=arguments.length,a=new Array(s>1?s-1:0),c=1;c<s;c++)a[c-1]=arguments[c];return e.apply(void 0,[t,r].concat(a)),i}catch(e){return o}}})),o=Object(v.b)((function(t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];e.apply(void 0,[t,r].concat(i))}}));return{safeSelector:i,dangerousSelector:o}}function R(e,t){return f()("function"==typeof e,"a validator function is required."),f()("function"==typeof t,"an action creator function is required."),f()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},6:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"e",(function(){return o})),r.d(t,"d",(function(){return s})),r.d(t,"c",(function(){return a})),r.d(t,"H",(function(){return c})),r.d(t,"M",(function(){return u})),r.d(t,"O",(function(){return l})),r.d(t,"K",(function(){return f})),r.d(t,"L",(function(){return d})),r.d(t,"J",(function(){return g})),r.d(t,"I",(function(){return p})),r.d(t,"N",(function(){return v})),r.d(t,"f",(function(){return b})),r.d(t,"g",(function(){return m})),r.d(t,"h",(function(){return y})),r.d(t,"j",(function(){return h})),r.d(t,"l",(function(){return O})),r.d(t,"m",(function(){return S})),r.d(t,"n",(function(){return j})),r.d(t,"o",(function(){return _})),r.d(t,"q",(function(){return k})),r.d(t,"s",(function(){return E})),r.d(t,"r",(function(){return w})),r.d(t,"t",(function(){return A})),r.d(t,"w",(function(){return I})),r.d(t,"u",(function(){return T})),r.d(t,"v",(function(){return D})),r.d(t,"x",(function(){return x})),r.d(t,"y",(function(){return P})),r.d(t,"A",(function(){return C})),r.d(t,"B",(function(){return R})),r.d(t,"C",(function(){return N})),r.d(t,"D",(function(){return U})),r.d(t,"k",(function(){return L})),r.d(t,"F",(function(){return M})),r.d(t,"z",(function(){return G})),r.d(t,"G",(function(){return V})),r.d(t,"E",(function(){return F})),r.d(t,"i",(function(){return q})),r.d(t,"p",(function(){return K})),r.d(t,"Q",(function(){return B})),r.d(t,"P",(function(){return W}));var n="core/user",i="connected_url_mismatch",o="__global",s="temporary_persist_permission_error",a="adblocker_active",c="googlesitekit_authenticate",u="googlesitekit_setup",l="googlesitekit_view_dashboard",f="googlesitekit_manage_options",d="googlesitekit_read_shared_module_data",g="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",v="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",m="kmAnalyticsEngagedTrafficSource",y="kmAnalyticsLeastEngagingPages",h="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",S="kmAnalyticsPopularContent",j="kmAnalyticsPopularProducts",_="kmAnalyticsReturningVisitors",k="kmAnalyticsTopCities",E="kmAnalyticsTopCitiesDrivingLeads",w="kmAnalyticsTopCitiesDrivingAddToCart",A="kmAnalyticsTopCitiesDrivingPurchases",I="kmAnalyticsTopDeviceDrivingPurchases",T="kmAnalyticsTopConvertingTrafficSource",D="kmAnalyticsTopCountries",x="kmAnalyticsTopPagesDrivingLeads",P="kmAnalyticsTopRecentTrendingPages",C="kmAnalyticsTopTrafficSource",R="kmAnalyticsTopTrafficSourceDrivingAddToCart",N="kmAnalyticsTopTrafficSourceDrivingLeads",U="kmAnalyticsTopTrafficSourceDrivingPurchases",L="kmAnalyticsPagesPerVisit",M="kmAnalyticsVisitLength",G="kmAnalyticsTopReturningVisitorPages",V="kmSearchConsolePopularKeywords",F="kmAnalyticsVisitsPerVisitor",q="kmAnalyticsMostEngagingPages",K="kmAnalyticsTopCategories",B=[b,m,y,h,O,S,j,_,K,k,E,w,A,I,T,D,P,C,R,L,M,G,F,q,K],W=[].concat(B,[V])},62:function(e,t,r){"use strict";r.d(t,"a",(function(){return b})),r.d(t,"b",(function(){return m}));var n=r(7),i=r.n(n),o=r(33),s=r.n(o),a=r(111),c=r(11),u=r.n(c),l=r(94),f=r.n(l),d=r(8);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 p(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){i()(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}function v(e,t){if(t&&Array.isArray(t)){var r=t.map((function(e){return"object"===s()(e)?Object(d.I)(e):e}));return"".concat(e,"::").concat(f()(JSON.stringify(r)))}return e}var b={receiveError:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"error is required."),u()(t,"baseName is required."),u()(r&&Array.isArray(r),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:r}}},clearError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return u()(e,"baseName is required."),u()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function m(e){u()(e,"storeName must be defined.");var t={getErrorForSelector:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"selectorName is required."),t.getError(e,r,n)},getErrorForAction:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"actionName is required."),t.getError(e,r,n)},getError:function(e,t,r){var n=e.errors;return u()(t,"baseName is required."),n[v(t,r)]},getErrors:function(e){var t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError:function(e,t){var r=Object.keys(e.errors).find((function(r){return e.errors[r]===t}));return r?{baseName:r.substring(0,r.indexOf("::")),args:e.errorArgs[r]}:null},getSelectorDataForError:Object(a.b)((function(t){return function(r,n){var i=t(e).getMetaDataForError(n);if(i){var o=i.baseName,s=i.args;if(!!t(e)[o])return{storeName:e,name:o,args:s}}return null}})),hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:b,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_ERROR":var o=n.baseName,s=n.args,a=n.error,c=v(o,s);return p(p({},e),{},{errors:p(p({},e.errors||{}),{},i()({},c,a)),errorArgs:p(p({},e.errorArgs||{}),{},i()({},c,s))});case"CLEAR_ERROR":var u=n.baseName,l=n.args,f=p({},e),d=v(u,l);return f.errors=p({},e.errors||{}),f.errorArgs=p({},e.errorArgs||{}),delete f.errors[d],delete f.errorArgs[d],f;case"CLEAR_ERRORS":var g=n.baseName,b=p({},e);if(g)for(var m in b.errors=p({},e.errors||{}),b.errorArgs=p({},e.errorArgs||{}),b.errors)(m===g||m.startsWith("".concat(g,"::")))&&(delete b.errors[m],delete b.errorArgs[m]);else b.errors={},b.errorArgs={};return b;default:return e}},resolvers:{},selectors:t}}},72:function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return a}));var n=r(33),i=r.n(n),o=r(81),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:o.a.sanitize(e,t)}};function a(e){var t,r="object"===i()(e)?e.toString():e;return null==r||null===(t=r.replace)||void 0===t?void 0:t.call(r,/\/+$/,"")}},78:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return o}));var n=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function o(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},8:function(e,t,r){"use strict";r.d(t,"J",(function(){return i.b})),r.d(t,"K",(function(){return i.c})),r.d(t,"G",(function(){return o.a})),r.d(t,"L",(function(){return o.b})),r.d(t,"I",(function(){return l})),r.d(t,"n",(function(){return f.a})),r.d(t,"C",(function(){return f.d})),r.d(t,"D",(function(){return f.e})),r.d(t,"z",(function(){return f.c})),r.d(t,"s",(function(){return f.b})),r.d(t,"A",(function(){return v})),r.d(t,"k",(function(){return b})),r.d(t,"j",(function(){return m})),r.d(t,"d",(function(){return _})),r.d(t,"c",(function(){return k})),r.d(t,"e",(function(){return E})),r.d(t,"b",(function(){return w})),r.d(t,"a",(function(){return A})),r.d(t,"g",(function(){return I})),r.d(t,"f",(function(){return T})),r.d(t,"o",(function(){return D})),r.d(t,"x",(function(){return x})),r.d(t,"q",(function(){return P})),r.d(t,"H",(function(){return C})),r.d(t,"t",(function(){return R})),r.d(t,"w",(function(){return N})),r.d(t,"l",(function(){return U})),r.d(t,"p",(function(){return L.b})),r.d(t,"i",(function(){return L.a})),r.d(t,"u",(function(){return M.b})),r.d(t,"r",(function(){return M.a})),r.d(t,"B",(function(){return M.c})),r.d(t,"y",(function(){return G})),r.d(t,"v",(function(){return V})),r.d(t,"F",(function(){return K})),r.d(t,"E",(function(){return B.a})),r.d(t,"h",(function(){return W})),r.d(t,"M",(function(){return H})),r.d(t,"m",(function(){return $}));var n=r(13),i=r(36),o=r(72),s=r(33),a=r.n(s),c=r(94),u=r.n(c),l=function(e){return u()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var i=t[n];i&&"object"===a()(i)&&!Array.isArray(i)&&(i=e(i)),r[n]=i})),r}(e)))};r(97);var f=r(82);function d(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function g(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function v(e){for(var t=e,r=0,n=[d,g,p];r<n.length;r++){t=(0,n[r])(t)}return t}var b=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)]},m=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},y=r(15),h=r.n(y),O=r(11),S=r.n(O),j=r(2),_="Invalid dateString parameter, it must be a string.",k='Invalid date range, it must be a string with the format "last-x-days".',E=60,w=60*E,A=24*w,I=7*A,T=30*A;function D(){var e=function(e){return Object(j.sprintf)( /* translators: %s: number of days */ Object(j._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(n.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var r=new Date(e);return Object(n.isDate)(r)&&!isNaN(r)}function P(e){S()(Object(n.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),r="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,r.length<2?"0".concat(r):r].join("-")}function C(e){S()(x(e),_);var t=e.split("-"),r=h()(t,3),n=r[0],i=r[1],o=r[2];return new Date(n,i-1,o)}function R(e,t){return P(U(e,t*A))}function N(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function U(e,t){S()(x(e)||Object(n.isDate)(e)&&!isNaN(e),_);var r=x(e)?Date.parse(e):e.getTime();return new Date(r-1e3*t)}var L=r(98),M=r(83);function G(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function V(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var F=r(27),q=r.n(F),K=function(e){return Array.isArray(e)?q()(e).sort():e},B=r(88);function W(e,t){var r=function(e){return"0"===e||0===e};if(r(e)&&r(t))return 0;if(r(e)||Number.isNaN(e))return null;var n=(t-e)/e;return Number.isNaN(n)||!Number.isFinite(n)?null:n}var H=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},$=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(n.unescape)(t)}},81:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return i}));var n=r(145),i=r.n(n)()(e)}).call(this,r(26))},82:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return _})),r.d(t,"d",(function(){return k})),r.d(t,"e",(function(){return w})),r.d(t,"c",(function(){return A})),r.d(t,"b",(function(){return I}));var n=r(15),i=r.n(n),o=r(33),s=r.n(o),a=r(7),c=r.n(a),u=r(23),l=r.n(u),f=r(13),d=r(57),g=r.n(d),p=r(2);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){c()(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 m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=O(e,t),n=r.formatUnit,i=r.formatDecimal;try{return n()}catch(e){return i()}},y=function(e){var t=h(e),r=t.hours,n=t.minutes,i=t.seconds;return i=("0"+i).slice(-2),n=("0"+n).slice(-2),"00"===(r=("0"+r).slice(-2))?"".concat(n,":").concat(i):"".concat(r,":").concat(n,":").concat(i)},h=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=h(e),n=r.hours,i=r.minutes,o=r.seconds;return{hours:n,minutes:i,seconds:o,formatUnit:function(){var r=t.unitDisplay,s=b(b({unitDisplay:void 0===r?"short":r},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(o,b(b({},s),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?w(o,b(b({},s),{},{unit:"second"})):"",i?w(i,b(b({},s),{},{unit:"minute"})):"",n?w(n,b(b({},s),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),o);if(0===e)return t;var r=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),i),s=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),n);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?t:"",i?r:"",n?s:"").trim()}}},S=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},j=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),w(S(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),w(S(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),w(S(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function _(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(f.isPlainObject)(e)&&(t=b({},e)),t}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(f.isFinite)(e)?e:Number(e),Object(f.isFinite)(e)||(console.warn("Invalid number",e,s()(e)),e=0);var r=_(t),n=r.style,i=void 0===n?"metric":n;return"metric"===i?j(e):"duration"===i?m(e,r):"durationISO"===i?y(e):w(e,r)}var E=g()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?I():r,o=l()(t,["locale"]);try{return new Intl.NumberFormat(n,o).format(e)}catch(t){E("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(o)," ).format( ").concat(s()(e)," )"),t.message)}for(var a={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},c=["signDisplay","compactDisplay"],u={},f=0,d=Object.entries(o);f<d.length;f++){var g=i()(d[f],2),p=g[0],v=g[1];a[p]&&v===a[p]||(c.includes(p)||(u[p]=v))}try{return new Intl.NumberFormat(n,u).format(e)}catch(t){return new Intl.NumberFormat(n).format(e)}},A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?I():r,i=t.style,o=void 0===i?"long":i,s=t.type,a=void 0===s?"conjunction":s;if(Intl.ListFormat){var c=new Intl.ListFormat(n,{style:o,type:a});return c.format(e)} /* translators: used between list items, there is a space after the comma. */var u=Object(p.__)(", ","google-site-kit");return e.join(u)},I=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=Object(f.get)(t,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,r(26))},83:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return o})),r.d(t,"c",(function(){return s})),r.d(t,"d",(function(){return a}));var n=r(109);function i(e){try{return new URL(e).pathname}catch(e){}return null}function o(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function s(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function a(e,t){if(!Object(n.a)(e))return e;if(e.length<=t)return e;var r=new URL(e),i=e.replace(r.origin,"");if(i.length<t)return i;var o=i.length-Math.floor(t)+1;return"…"+i.substr(o)}},86:function(e,t,r){"use strict";(function(e){var n=r(1),i=r.n(n),o=r(12),s=r.n(o);function ChangeArrow(t){var r=t.direction,n=t.invertColor,i=t.width,o=t.height;return e.createElement("svg",{className:s()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),width:i,height:o,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,r(4))},88:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(11),i=r.n(n),o=function(e,t){var r=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(r)&&r>0,"dateRangeLength must be a positive integer.");var n=-1*r;return{currentRange:e.slice(n),compareRange:e.slice(2*n,n)}}},9:function(e,t,r){"use strict";r.d(t,"p",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"q",(function(){return o})),r.d(t,"x",(function(){return s})),r.d(t,"m",(function(){return a})),r.d(t,"o",(function(){return c})),r.d(t,"f",(function(){return u})),r.d(t,"n",(function(){return l})),r.d(t,"i",(function(){return f})),r.d(t,"h",(function(){return d})),r.d(t,"j",(function(){return g})),r.d(t,"k",(function(){return p})),r.d(t,"l",(function(){return v})),r.d(t,"g",(function(){return b})),r.d(t,"v",(function(){return m})),r.d(t,"u",(function(){return y})),r.d(t,"w",(function(){return h})),r.d(t,"s",(function(){return O})),r.d(t,"t",(function(){return S})),r.d(t,"e",(function(){return j})),r.d(t,"r",(function(){return _})),r.d(t,"c",(function(){return k})),r.d(t,"d",(function(){return E})),r.d(t,"b",(function(){return w}));var n="modules/analytics-4",i="account_create",o="property_create",s="webdatastream_create",a="analyticsSetup",c=10,u=1,l="https://www.googleapis.com/auth/tagmanager.readonly",f="enhanced-measurement-form",d="enhanced-measurement-enabled",g="enhanced-measurement-should-dismiss-activation-banner",p="analyticsAccountCreate",v="analyticsCustomDimensionsCreate",b="https://www.googleapis.com/auth/analytics.edit",m="dashboardAllTrafficWidgetDimensionName",y="dashboardAllTrafficWidgetDimensionColor",h="dashboardAllTrafficWidgetDimensionValue",O="dashboardAllTrafficWidgetActiveRowIndex",S="dashboardAllTrafficWidgetLoaded",j={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},_={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},k="audiencePermissionsSetup",E="audienceTileCustomDimensionCreate",w="audience-selection-panel-expirable-new-badge-"},922:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return k}));var n=r(3),i=r(62),o=r(923),s=r(925),a=r(926),c=r(6),u=r(927),l=r(928),f=r(929),d=r(930),g=r(1150),p=r(934),v=r(935),b=r(936),m=r(937),y=r(939),h=r(940),O=r(941),S=r(942),j=r(943),_=Object(n.combineStores)(n.commonStore,Object(i.b)(c.a),o.a,s.a,a.a,u.a,l.a,f.a,d.a,g.a,p.a,v.a,m.a,y.a,b.a,h.a,O.a,S.a,j.a),k=(_.initialState,_.actions,_.controls,_.reducer,_.resolvers,_.selectors,function(t){var r;t.registerStore(c.a,_),(null===(r=e._googlesitekitBaseData)||void 0===r?void 0:r.referenceDate)&&t.dispatch(c.a).setReferenceDate(e._googlesitekitBaseData.referenceDate)})}).call(this,r(26))},923:function(e,t,r){"use strict";var n=r(7),i=r.n(n),o=r(16),s=r.n(o),a=r(5),c=r.n(a),u=r(11),l=r.n(u),f=r(924),d=r(3),g=r(6);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 v(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){i()(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 b={isAdBlockerActive:void 0},m={checkAdBlocker:c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CHECK_ADBLOCKER"};case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})),receiveIsAdBlockerActive:function(e){return l()("boolean"==typeof e,"isAdBlockerActive must be boolean."),{payload:{isAdBlockerActive:e},type:"RECEIVE_IS_ADBLOCKER_ACTIVE"}}},y=i()({},"CHECK_ADBLOCKER",s()(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,Object(f.detectAnyAdblocker)();case 2:if(!e.sent){e.next=4;break}return e.abrupt("return",!0);case 4:return e.prev=4,t=["google-site-kit=/adsense/pagead2.googlesyndication.com/pagead/js/adsbygoogle.js","timestamp=".concat(Date.now())],e.next=8,fetch("/favicon.ico?".concat(t.join("&")),{credentials:"omit",redirect:"manual"});case 8:e.next=13;break;case 10:return e.prev=10,e.t0=e.catch(4),e.abrupt("return",!0);case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[4,10]])})))),h={isAdBlockerActive:c.a.mark((function(){var e,t,r;return c.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,d.commonActions.getRegistry();case 2:if(e=n.sent,t=e.select(g.a).isAdBlockerActive(),void 0===t){n.next=6;break}return n.abrupt("return");case 6:return n.next=8,m.checkAdBlocker();case 8:return r=n.sent,n.next=11,m.receiveIsAdBlockerActive(r);case 11:case"end":return n.stop()}}),t)}))};t.a={initialState:b,actions:m,controls:y,reducer:function(e,t){var r=t.payload;switch(t.type){case"RECEIVE_IS_ADBLOCKER_ACTIVE":var n=r.isAdBlockerActive;return v(v({},e),{},{isAdBlockerActive:n});default:return e}},resolvers:h,selectors:{isAdBlockerActive:function(e){var t=e.isAdBlockerActive;return t}}}},925:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(27),s=r.n(o),a=r(7),c=r.n(a),u=r(11),l=r.n(u),f=r(13),d=r(42),g=r.n(d),p=r(3),v=r(9),b=r(47),m=r(59),y=r(164),h=r(62),O=r(6);function S(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 j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var _=h.a.receiveError,k=h.a.clearError,E=Object(y.a)((function(e,t){e.audienceSettings||(e.audienceSettings={}),e.audienceSettings.settings=t,e.audienceSettings.savedSettings=t})),w=Object(b.a)({baseName:"getAudienceSettings",controlCallback:function(){return g.a.get("core","user","audience-settings",{},{useCache:!1})},reducerCallback:E}),A=Object(b.a)({baseName:"saveAudienceSettings",controlCallback:function(e){return g.a.set("core","user","audience-settings",{settings:e})},reducerCallback:E,argsToParams:function(e){return e},validateParams:function(e){l()(Object(f.isPlainObject)(e),"Audience settings should be an object."),l()(Array.isArray(e.configuredAudiences),"Configured audiences should be an array."),l()("boolean"==typeof e.isAudienceSegmentationWidgetHidden,"Audience segmentation widget visibility should be a boolean.")}}),I={audienceSettings:void 0},T={saveAudienceSettings:Object(m.f)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l()(Object(f.isPlainObject)(e),"audience settings should be an object to save.")}),i.a.mark((function e(){var t,r,n,o,a,c,u,l,f,d=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=d.length>0&&void 0!==d[0]?d[0]:{},e.next=3,k("saveAudienceSettings",[]);case 3:return e.next=5,p.commonActions.getRegistry();case 5:return r=e.sent,e.next=8,p.commonActions.await(r.resolveSelect(O.a).getAudienceSettings());case 8:return n=e.sent,o=j(j({},n),t),e.next=12,p.commonActions.await(r.resolveSelect(v.p).getAvailableAudiences());case 12:return a=e.sent,c=s()(o.configuredAudiences).sort((function(e,t){var r=a.findIndex((function(t){return t.name===e})),n=a.findIndex((function(e){return e.name===t}));return-1===r||-1===n?0:r-n})),o.configuredAudiences=c,e.next=17,A.actions.fetchSaveAudienceSettings(o);case 17:if(u=e.sent,l=u.response,!(f=u.error)){e.next=23;break}return e.next=23,_(f,"saveAudienceSettings",[]);case 23:return e.abrupt("return",{response:l,error:f});case 24:case"end":return e.stop()}}),e)}))),resetAudienceSettings:i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:return t=e.sent,r=t.dispatch,e.next=6,{payload:{},type:"RESET_AUDIENCE_SETTINGS"};case 6:return e.next=8,h.a.clearErrors("getAudienceSettings");case 8:return e.abrupt("return",r(O.a).invalidateResolutionForStoreSelector("getAudienceSettings"));case 9:case"end":return e.stop()}}),e)})),setConfiguredAudiences:function(e){return l()(Array.isArray(e),"Configured audiences should be an array."),{type:"SET_CONFIGURED_AUDIENCES",payload:{audienceResourceNames:e}}},setAudienceSegmentationWidgetHidden:function(e){return l()("boolean"==typeof e,"Audience segmentation widget visibility should be a boolean."),{type:"SET_AUDIENCE_SEGMENTATION_WIDGET_HIDDEN",payload:{isWidgetHidden:e}}}},D=Object(y.a)((function(e,t){var r=t.type,n=t.payload;switch(r){case"RESET_AUDIENCE_SETTINGS":e.audienceSettings=I.audienceSettings;break;case"SET_CONFIGURED_AUDIENCES":var i=n.audienceResourceNames;e.audienceSettings||(e.audienceSettings={}),e.audienceSettings.settings=j(j({},e.audienceSettings.settings),{},{configuredAudiences:i});break;case"SET_AUDIENCE_SEGMENTATION_WIDGET_HIDDEN":var o=n.isWidgetHidden;e.audienceSettings||(e.audienceSettings={}),e.audienceSettings.settings=j(j({},e.audienceSettings.settings),{},{isAudienceSegmentationWidgetHidden:o})}})),x={getAudienceSettings:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:if(t=e.sent,void 0!==t.select(O.a).getAudienceSettings()){e.next=7;break}return e.next=7,w.actions.fetchGetAudienceSettings();case 7:case"end":return e.stop()}}),e)}))},P={getAudienceSettings:function(e){var t;return null===(t=e.audienceSettings)||void 0===t?void 0:t.settings},getConfiguredAudiences:Object(p.createRegistrySelector)((function(e){return function(){var t=e(O.a).getAudienceSettings();return null==t?void 0:t.configuredAudiences}})),isAudienceSegmentationWidgetHidden:Object(p.createRegistrySelector)((function(e){return function(){var t=e(O.a).getAudienceSettings();return null==t?void 0:t.isAudienceSegmentationWidgetHidden}})),didSetAudiences:Object(p.createRegistrySelector)((function(e){return function(){var t=e(O.a).getAudienceSettings();return null==t?void 0:t.didSetAudiences}})),haveConfiguredAudiencesChanged:function(e){var t=e.audienceSettings||{},r=t.settings,n=t.savedSettings;return!Object(f.isEqual)(null==r?void 0:r.configuredAudiences,null==n?void 0:n.configuredAudiences)},isSavingAudienceSettings:function(e){return Object.values(e.isFetchingSaveAudienceSettings).some(Boolean)}},C=Object(p.combineStores)(w,A,{initialState:I,actions:T,controls:{},reducer:D,resolvers:x,selectors:P});C.initialState,C.actions,C.controls,C.reducer,C.resolvers,C.selectors;t.a=C},926:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(42),c=r.n(a),u=r(3),l=r(6),f=r(47);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 g(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){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e){return Object(u.createRegistrySelector)((function(t){return function(){return(t(l.a).getAuthentication()||{})[e]}}))}var v=Object(f.a)({baseName:"getAuthentication",controlCallback:function(){return c.a.get("core","user","authentication",void 0,{useCache:!1})},reducerCallback:function(e,t){return g(g({},e),{},{authentication:t})}}),b={authentication:void 0,authError:null},m={setAuthError:function(e){return{payload:{error:e},type:"SET_AUTH_ERROR"}},clearAuthError:function(){return{payload:{},type:"CLEAR_AUTH_ERROR"}}},y={getAuthentication:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.commonActions.getRegistry();case 2:if(t=e.sent,(0,t.select)(l.a).getAuthentication()){e.next=7;break}return e.next=7,v.actions.fetchGetAuthentication();case 7:case"end":return e.stop()}}),e)}))},h={getAuthentication:function(e){return e.authentication},hasScope:Object(u.createRegistrySelector)((function(e){return function(t,r){var n=e(l.a).getGrantedScopes(t);if(void 0!==n)return n.includes(r)}})),isAuthenticated:p("authenticated"),getGrantedScopes:p("grantedScopes"),getRequiredScopes:p("requiredScopes"),getUnsatisfiedScopes:p("unsatisfiedScopes"),needsReauthentication:p("needsReauthentication"),getDisconnectedReason:p("disconnectedReason"),getConnectedProxyURL:p("connectedProxyURL"),getPreviousConnectedProxyURL:p("previousConnectedProxyURL"),getAuthError:function(e){return e.authError}},O=Object(u.combineStores)(v,{initialState:b,actions:m,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_AUTH_ERROR":return g(g({},e),{},{authError:n.error});case"CLEAR_AUTH_ERROR":return g(g({},e),{},{authError:null});default:return e}},resolvers:y,selectors:h});O.initialState,O.actions,O.controls,O.reducer,O.resolvers,O.selectors;t.a=O},927:function(e,t,r){"use strict";(function(e){var n=r(7),i=r.n(n),o=r(11),s=r.n(o),a=r(8);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var l={dateRange:"last-28-days",referenceDate:Object(a.q)(new Date)},f={setDateRange:function(e){return s()(e,"Date range slug is required."),s()(Object(a.w)(e),a.c),{type:"SET_DATE_RANGE",payload:{slug:e}}},setReferenceDate:function(e){return s()(e,"Date string is required."),s()(Object(a.x)(e),a.d),{type:"SET_REFERENCE_DATE",payload:{dateString:e}}}};var d={getDateRange:function(e){return e.dateRange},getDateRangeDates:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.compare,i=void 0!==n&&n,o=r.offsetDays,s=r.referenceDate,c=void 0===s?t.referenceDate:s;void 0===o&&(e.console.warn("getDateRangeDates was called without offsetDays"),o=0);var u=d.getDateRange(t),l=Object(a.t)(c,o),f=u.match("-(.*)-"),g=Number(f?f[1]:28),p=Object(a.t)(l,g-1),v={startDate:p,endDate:l};if(i){var b=Object(a.t)(p,1),m=Object(a.t)(b,g-1);v.compareStartDate=m,v.compareEndDate=b}return v},getDateRangeNumberOfDays:function(e){var t=d.getDateRange(e).match(/-(\d+)-/);return parseInt(t?t[1]:28,10)},getReferenceDate:function(e){return e.referenceDate}};t.a={initialState:l,actions:f,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_DATE_RANGE":return u(u({},e),{},{dateRange:n.slug});case"SET_REFERENCE_DATE":return u(u({},e),{},{referenceDate:n.dateString});default:return e}},resolvers:{},selectors:d}}).call(this,r(26))},928:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(42),c=r.n(a),u=r(3),l=r(6),f=r(47);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 g(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){s()(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 p=Object(f.a)({baseName:"disconnect",controlCallback:function(){return c.a.set("core","user","disconnect")},reducerCallback:function(e,t){return g(g({},e),{},{disconnected:t})}}),v={disconnected:void 0},b={disconnect:i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.actions.fetchDisconnect();case 2:case"end":return e.stop()}}),e)}))},m={isDoingDisconnect:Object(u.createRegistrySelector)((function(e){return function(){return e(l.a).isFetchingDisconnect()}}))},y=Object(u.combineStores)(p,{initialState:v,actions:b,selectors:m});y.initialState,y.actions,y.controls,y.reducer,y.resolvers,y.selectors;t.a=y},929:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(11),c=r.n(a),u=r(42),l=r.n(u),f=r(3),d=r(6),g=r(47),p=r(59);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){s()(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 m=f.commonActions.getRegistry;function y(e,t){return b(b({},e),{},{dismissedItems:Array.isArray(t)?t:[]})}var h=Object(g.a)({baseName:"getDismissedItems",controlCallback:function(){return l.a.get("core","user","dismissed-items",{},{useCache:!1})},reducerCallback:y}),O=Object(g.a)({baseName:"removeDismissedItems",controlCallback:function(e){var t=e.slugs;return l.a.set("core","user","dismissed-items",{slugs:t},{method:"DELETE"})},reducerCallback:y,argsToParams:function(e){return{slugs:e}},validateParams:function(e){var t=e.slugs;c()(Array.isArray(t),"slugs must be an array."),c()(t.every((function(e){return"string"==typeof e})),"All slugs must be strings.")}}),S=Object(g.a)({baseName:"dismissItem",controlCallback:function(e){var t=e.slug,r=e.expiresInSeconds;return l.a.set("core","user","dismiss-item",{slug:t,expiration:r})},reducerCallback:y,argsToParams:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{slug:e,expiresInSeconds:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug,r=e.expiresInSeconds;c()(t,"slug is required."),c()(Number.isInteger(r),"expiresInSeconds must be an integer.")}}),j={dismissedItems:void 0},_={dismissItem:Object(p.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.expiresInSeconds,n=void 0===r?0:r;c()(e,"A tour slug is required to dismiss a tour."),c()(Number.isInteger(n),"expiresInSeconds must be an integer.")}),i.a.mark((function e(t){var r,n,o,s=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>1&&void 0!==s[1]?s[1]:{},n=r.expiresInSeconds,o=void 0===n?0:n,e.next=4,S.actions.fetchDismissItem(t,o);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)}))),removeDismissedItems:Object(p.f)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];c()(t.length>0,"At least one slug must be provided."),c()(t.every((function(e){return"string"==typeof e})),"All slugs must be strings.")}),(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return O.actions.fetchRemoveDismissedItems(t)}))},k={getDismissedItems:i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:if(t=e.sent,r=t.select,void 0!==r(d.a).getDismissedItems()){e.next=8;break}return e.next=8,h.actions.fetchGetDismissedItems();case 8:case"end":return e.stop()}}),e)}))},E={getDismissedItems:function(e){return e.dismissedItems},isItemDismissed:Object(f.createRegistrySelector)((function(e){return function(t,r){var n;return null===(n=e(d.a).getDismissedItems())||void 0===n?void 0:n.includes(r)}})),isDismissingItem:Object(f.createRegistrySelector)((function(e){return function(t,r){return e(d.a).isFetchingDismissItem(r)}}))},w=Object(f.combineStores)({initialState:j,actions:_,resolvers:k,selectors:E},S,h,O),A=w.actions,I=w.controls,T=w.initialState,D=w.reducer,x=w.resolvers,P=w.selectors;t.a={actions:A,controls:I,initialState:T,reducer:D,resolvers:x,selectors:P}},930:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(11),c=r.n(a),u=r(42),l=r.n(u),f=r(3),d=r(6),g=r(47),p=r(59);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){s()(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 m=f.commonActions.getRegistry;function y(e,t){return b(b({},e),{},{expirableItems:t})}var h=Object(g.a)({baseName:"getExpirableItems",controlCallback:function(){return l.a.get("core","user","expirable-items",{},{useCache:!1})},reducerCallback:y}),O=Object(g.a)({baseName:"setExpirableItemTimers",controlCallback:function(e){return l.a.set("core","user","set-expirable-item-timers",e)},reducerCallback:y,argsToParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){return{slug:e.slug,expiration:e.expiresInSeconds}}))},validateParams:function(e){c()(Array.isArray(e),"items are required."),e.forEach((function(e){var t=e.slug,r=e.expiresInSeconds,n=void 0===r?0:r;c()(t,"slug is required."),c()(Number.isInteger(n),"expiresInSeconds must be an integer.")}))}}),S={expirableItems:void 0},j={setExpirableItemTimers:Object(p.f)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach((function(e){var t=e.slug,r=e.expiresInSeconds;c()(t,"An item slug is required."),c()(Number.isInteger(r),"expiresInSeconds must be an integer.")}))}),(function(e){return O.actions.fetchSetExpirableItemTimers(e)}))},_={getExpirableItems:i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:if(t=e.sent,r=t.select,void 0!==r(d.a).getExpirableItems()){e.next=8;break}return e.next=8,h.actions.fetchGetExpirableItems();case 8:case"end":return e.stop()}}),e)}))},k={getExpirableItems:function(e){return e.expirableItems},hasExpirableItem:Object(f.createRegistrySelector)((function(e){return function(t,r){var n=e(d.a).getExpirableItems();if(void 0!==n)return n.hasOwnProperty(r)}})),isExpirableItemActive:Object(f.createRegistrySelector)((function(e){return function(t,r){var n=e(d.a).getExpirableItems();if(void 0!==n){var i=n[r];return void 0!==i&&i>Math.floor(Date.now()/1e3)}}}))},E=Object(f.combineStores)({initialState:S,actions:j,resolvers:_,selectors:k},h,O),w=E.actions,A=E.controls,I=E.initialState,T=E.reducer,D=E.resolvers,x=E.selectors;t.a={actions:w,controls:A,initialState:I,reducer:T,resolvers:D,selectors:x}},934:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(11),c=r.n(a),u=r(13),l=r(42),f=r.n(l),d=r(3),g=r(6),p=r(14),v=r(19),b=r(46),m=r(47),y=r(62),h=r(172),O=r(44);function S(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 j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var _=y.a.receiveError,k=y.a.clearError,E={keyMetricsSettings:void 0},w=Object(m.a)({baseName:"getKeyMetricsSettings",controlCallback:function(){return f.a.get("core","user","key-metrics",void 0,{useCache:!1})},reducerCallback:function(e,t){return j(j({},e),{},{keyMetricsSettings:t})}}),A=Object(m.a)({baseName:"saveKeyMetricsSettings",controlCallback:function(e){return f.a.set("core","user","key-metrics",{settings:e})},reducerCallback:function(e,t){return j(j({},e),{},{keyMetricsSettings:t})},argsToParams:function(e){return e},validateParams:function(e){c()(Object(u.isPlainObject)(e),"Settings should be an object.")}}),I={setKeyMetricsSetting:function(e,t){return{type:"SET_KEY_METRICS_SETTING",payload:{settingID:e,value:t}}},saveKeyMetricsSettings:i.a.mark((function e(){var t,r,n,o,s,a,l=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=l.length>0&&void 0!==l[0]?l[0]:{},c()(Object(u.isPlainObject)(t),"key metric settings should be an object to save."),e.next=4,k("saveKeyMetricsSettings",[]);case 4:return e.next=6,d.commonActions.getRegistry();case 6:return r=e.sent,n=r.select(g.a).getKeyMetricsSettings(),e.next=10,A.actions.fetchSaveKeyMetricsSettings(j(j({},n),t));case 10:if(o=e.sent,s=o.response,!(a=o.error)){e.next=18;break}return e.next=16,_(a,"saveKeyMetricsSettings",[]);case 16:e.next=19;break;case 18:(Object(u.isEmpty)(t)||t.widgetSlugs)&&r.dispatch(p.c).setKeyMetricsSetupCompletedBy(r.select(g.a).getID());case 19:return e.abrupt("return",{response:s,error:a});case 20:case"end":return e.stop()}}),e)}))},T={getKeyMetricsSettings:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:if(t=e.sent,!t.select(g.a).getKeyMetricsSettings()){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,w.actions.fetchGetKeyMetricsSettings();case 8:case"end":return e.stop()}}),e)}))},D={getKeyMetrics:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a),r=t.getAnswerBasedMetrics,n=(0,t.getUserPickedMetrics)();if(void 0!==n){if(n.length)return n;var i=r();if(void 0!==i)return i.length?i:e(p.c).isKeyMetricsSetupCompleted()?[g.j,g.A,g.g,g.G]:[]}}})),getAnswerBasedMetrics:Object(d.createRegistrySelector)((function(e){return function(t,r){var n,i,o=e(g.a).getUserInputSettings();if(void 0!==o){var s=null!=r?r:null==o||null===(n=o.purpose)||void 0===n||null===(i=n.values)||void 0===i?void 0:i[0],a=e(g.a).showConversionTailoredMetrics();switch(s){case"publish_blog":return a?[g.p,g.u,g.z,g.G,g.y,g.A,g.x,g.C]:[g.o,g.j,g.A,g.g];case"publish_news":return a?[g.g,g.l,g.q,g.G,g.y,g.A,g.x,g.C]:[g.k,g.F,g.E,g.i];case"monetize_content":return a?[g.i,g.m,g.j,g.f,g.F,g.E,g.g,g.G]:[g.m,g.g,g.j,g.A];case"sell_products_or_service":return a?[g.n,g.t,g.w,g.B,g.D,g.f,g.u,g.G]:[e(p.c).getPostTypes().some((function(e){return"product"===e.slug}))?g.n:g.m,g.g,g.G,g.A];case"share_portfolio":return a?[g.s,g.u,g.z,g.l,g.x,g.C,g.m,g.G]:[g.j,g.A,g.g,g.G];default:return[]}}}})),getUserPickedMetrics:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getKeyMetricsSettings();if(void 0!==t){if(!Array.isArray(t.widgetSlugs))return[];var r=!e(g.a).isAuthenticated(),n=t.widgetSlugs.filter((function(t){var n=h.a[t];return!!n&&(!n.displayInWidgetArea||"function"!=typeof n.displayInWidgetArea||n.displayInWidgetArea(e,r,t))}));return 1===n.length?[]:n}}})),isKeyMetricActive:Object(d.createRegistrySelector)((function(e){return function(t,r){var n=e(g.a).getKeyMetrics();if(void 0!==n)return n.includes(r)}})),isKeyMetricsWidgetHidden:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getKeyMetricsSettings();if(void 0!==t)return t.isWidgetHidden}})),getKeyMetricsSettings:function(e){var t=e.keyMetricsSettings;if(t)return t},isSavingKeyMetricsSettings:function(e){return Object.values(e.isFetchingSaveKeyMetricsSettings).some(Boolean)},isKeyMetricAvailable:Object(d.createRegistrySelector)((function(e){return function(t,r){c()(r,"Key metric widget slug required.");var n=e(g.a).isAuthenticated();if(void 0!==n){var i=e(b.a).getWidget(r);if(!i)return!1;var o=e(v.a).getModule,s=e(g.a).canViewSharedModule;return i.modules.every((function(e){var t=o(e);return!!t&&!(!n&&(null==t?void 0:t.shareable)&&!s(e))}))}}})),showConversionTailoredMetrics:Object(d.createRegistrySelector)((function(e){return function(){if(!Object(O.b)("conversionReporting"))return!1;var t=e(g.a).getKeyMetricsSettings(),r=e(g.a).isUserInputCompleted();return(null==t?void 0:t.includeConversionTailoredMetrics)||r}}))},x=Object(d.combineStores)(w,A,{initialState:E,actions:I,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_KEY_METRICS_SETTING":return j(j({},e),{},{keyMetricsSettings:j(j({},e.keyMetricsSettings),{},s()({},n.settingID,n.value))});default:return e}},resolvers:T,selectors:D});x.initialState,x.actions,x.controls,x.reducer,x.resolvers,x.selectors;t.a=x},935:function(e,t,r){"use strict";var n=r(545),i=Object(n.a)("core","user","notifications",{server:!1});t.a=i},936:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(42),c=r.n(a),u=r(3),l=r(6),f=r(47);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 g(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){s()(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 p=Object(f.a)({baseName:"getNonces",controlCallback:function(){return c.a.get("core","user","nonces",void 0,{useCache:!1})},reducerCallback:function(e,t){return g(g({},e),{},{nonces:t})}}),v={nonces:void 0},b={receiveNonces:function(e){return{type:"RECEIVE_NONCES",payload:{nonces:e}}}},m={getNonces:i.a.mark((function e(){var t,r,n,o,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,t.select(l.a).getNonces();case 5:if(!(r=e.sent)){e.next=8;break}return e.abrupt("return",r);case 8:return e.next=10,p.actions.fetchGetNonces();case 10:if(n=e.sent,o=n.error,s=n.response,o){e.next=16;break}return e.next=16,p.actions.receiveGetNonces(g({},s));case 16:case"end":return e.stop()}}),e)}))},y={getNonces:function(e){return e.nonces},getNonce:Object(u.createRegistrySelector)((function(e){return function(t,r){var n=e(l.a).getNonces();if(n)return n[r]}}))},h=Object(u.combineStores)(p,{initialState:v,actions:b,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_NONCES":var i=n.nonces;return g(g({},e),{},{nonces:i});default:return e}},resolvers:m,selectors:y});h.initialState,h.actions,h.controls,h.reducer,h.resolvers,h.selectors;t.a=h},937:function(e,t,r){"use strict";(function(e){var n=r(27),i=r.n(n),o=r(5),s=r.n(o),a=r(7),c=r.n(a),u=r(11),l=r.n(u),f=r(42),d=r.n(f),g=r(3),p=r(6),v=r(19),b=r(938),m=r(47);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 h(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){c()(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=Object(m.a)({baseName:"getCapabilities",controlCallback:function(){return d.a.get("core","user","permissions",void 0,{useCache:!1})},reducerCallback:function(e,t){return h(h({},e),{},{capabilities:t})}}),S={permissionError:null,capabilities:void 0},j={clearPermissionScopeError:function(){return{payload:{},type:"CLEAR_PERMISSION_SCOPE_ERROR"}},setPermissionScopeError:function(e){return l()(e,"permissionError is required."),{payload:{permissionError:e},type:"SET_PERMISSION_SCOPE_ERROR"}},receiveCapabilities:function(e){return{type:"RECEIVE_CAPABILITIES",payload:{capabilities:e}}},refreshCapabilities:s.a.mark((function e(){var t,r,n,i,o;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.commonActions.getRegistry();case 2:return t=e.sent,r=t.dispatch,e.next=6,O.actions.fetchGetCapabilities();case 6:return n=e.sent,i=n.response,(o=n.error)&&r(p.a).setPermissionScopeError(o),e.abrupt("return",{response:i,error:o});case 11:case"end":return e.stop()}}),e)}))},_={getCapabilities:s.a.mark((function t(){var r,n,i,o;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g.commonActions.getRegistry();case 2:if(!t.sent.select(p.a).getCapabilities()){t.next=5;break}return t.abrupt("return");case 5:if(!(o=null===(r=e._googlesitekitAPIFetchData)||void 0===r||null===(n=r.preloadedData)||void 0===n||null===(i=n["/google-site-kit/v1/core/user/data/permissions"])||void 0===i?void 0:i.body)){t.next=9;break}return t.next=9,O.actions.receiveGetCapabilities(h({},o));case 9:return t.next=11,O.actions.fetchGetCapabilities();case 11:case"end":return t.stop()}}),t)}))},k={getPermissionScopeError:function(e){return e.permissionError},getCapabilities:function(e){return e.capabilities},getViewableModules:Object(g.createRegistrySelector)((function(e){return function(){var t=e(v.a).getModules();if(void 0!==t)return Object.values(t).reduce((function(t,r){var n=e(p.a).hasCapability(p.L,r.slug);return r.shareable&&n?[].concat(i()(t),[r.slug]):t}),[])}})),hasCapability:Object(g.createRegistrySelector)((function(e){return function(t,r){for(var n=e(p.a).getCapabilities(),i=arguments.length,o=new Array(i>2?i-2:0),s=2;s<i;s++)o[s-2]=arguments[s];if(o.length>0&&(r=b.a.apply(void 0,[r].concat(o))),n)return!!n[r]}})),canViewSharedModule:Object(g.createRegistrySelector)((function(e){return function(t,r){var n=e(v.a).getModule(r);if(void 0!==n)return!(null===n||!n.shareable)&&e(p.a).hasCapability(p.L,n.slug)}})),hasAccessToShareableModule:Object(g.createRegistrySelector)((function(e){return function(t,r){var n=e(v.a).isModuleAvailable(r);if(void 0!==n)return!1!==n&&(!!e(p.a).isAuthenticated()||e(p.a).canViewSharedModule(r))}}))},E=Object(g.combineStores)(O,{initialState:S,actions:j,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"CLEAR_PERMISSION_SCOPE_ERROR":return h(h({},e),{},{permissionError:null});case"SET_PERMISSION_SCOPE_ERROR":var i=n.permissionError;return h(h({},e),{},{permissionError:i});case"RECEIVE_CAPABILITIES":var o=n.capabilities;return h(h({},e),{},{capabilities:o});default:return e}},resolvers:_,selectors:k});E.initialState,E.actions,E.controls,E.reducer,E.resolvers,E.selectors;t.a=E}).call(this,r(26))},938:function(e,t,r){"use strict";function n(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"".concat(e,"::").concat(JSON.stringify(r))}r.d(t,"a",(function(){return n}))},939:function(e,t,r){"use strict";var n=r(15),i=r.n(n),o=r(5),s=r.n(o),a=r(33),c=r.n(a),u=r(7),l=r.n(u),f=r(11),d=r.n(f),g=r(42),p=r.n(g),v=r(3),b=r(6),m=r(47),y=r(59);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 O(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){l()(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 S=v.commonActions.getRegistry;function j(e,t){return O(O({},e),{},{dismissedPrompts:"object"===c()(t)?t:{}})}var _=Object(m.a)({baseName:"getDismissedPrompts",controlCallback:function(){return p.a.get("core","user","dismissed-prompts",{},{useCache:!1})},reducerCallback:j}),k=Object(m.a)({baseName:"dismissPrompt",controlCallback:function(e){var t=e.slug,r=e.expiresInSeconds;return p.a.set("core","user","dismiss-prompt",{slug:t,expiration:r})},reducerCallback:j,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;d()(t,"slug is required."),d()(Number.isInteger(r),"expiresInSeconds must be an integer.")}}),E={dismissedPrompts:void 0},w={dismissPrompt:Object(y.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.expiresInSeconds,n=void 0===r?0:r;d()(e,"A tour slug is required to dismiss a tour."),d()(Number.isInteger(n),"expiresInSeconds must be an integer.")}),s.a.mark((function e(t){var r,n,i,o=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.length>1&&void 0!==o[1]?o[1]:{},n=r.expiresInSeconds,i=void 0===n?0:n,e.next=4,k.actions.fetchDismissPrompt(t,i);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))},A={getDismissedPrompts:s.a.mark((function e(){var t,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S();case 2:if(t=e.sent,r=t.select,void 0!==r(b.a).getDismissedPrompts()){e.next=8;break}return e.next=8,_.actions.fetchGetDismissedPrompts();case 8:case"end":return e.stop()}}),e)}))},I={getDismissedPrompts:function(e){if(void 0!==e.dismissedPrompts){var t=Math.floor(Date.now()/1e3);return Object.entries(e.dismissedPrompts).reduce((function(e,r){var n=i()(r,2),o=n[0],s=n[1].expires;return(0===s||s>t)&&e.push(o),e}),[])}},getPromptDismissCount:Object(v.createRegistrySelector)((function(){return function(e,t){var r;if(e.dismissedPrompts)return(null===(r=e.dismissedPrompts[t])||void 0===r?void 0:r.count)||0}})),isPromptDismissed:Object(v.createRegistrySelector)((function(e){return function(t,r){var n;return null===(n=e(b.a).getDismissedPrompts())||void 0===n?void 0:n.includes(r)}})),isDismissingPrompt:Object(v.createRegistrySelector)((function(e){return function(t,r){return e(b.a).isFetchingDismissPrompt(r)}}))},T=Object(v.combineStores)({initialState:E,actions:w,resolvers:A,selectors:I},k,_),D=T.actions,x=T.controls,P=T.initialState,C=T.reducer,R=T.resolvers,N=T.selectors;t.a={actions:D,controls:x,initialState:P,reducer:C,resolvers:R,selectors:N}},940:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(11),c=r.n(a),u=r(13),l=r(42),f=r.n(l),d=r(3),g=r(6),p=r(47),v=r(59);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 m(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 y=Object(p.a)({baseName:"triggerSurvey",controlCallback:function(e){var t=e.triggerID;return f.a.set("core","user","survey-trigger",{triggerID:t})},argsToParams:function(e){return{triggerID:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.triggerID;c()("string"==typeof t&&t.length,"triggerID is required and must be a string")}}),h=Object(p.a)({baseName:"sendSurveyEvent",controlCallback:function(e){var t=e.event,r=e.session;return f.a.set("core","user","survey-event",{event:t,session:r})},argsToParams:function(e,t){return{event:e,session:t}}}),O=Object(p.a)({baseName:"getSurveyTimeouts",controlCallback:function(){return f.a.get("core","user","survey-timeouts",{},{useCache:!1})},reducerCallback:function(e,t){return m(m({},e),{},{surveyTimeouts:Array.isArray(t)?t:[]})}}),S=Object(p.a)({baseName:"setSurveyTimeout",controlCallback:function(e){var t=e.slug,r=e.timeout;return f.a.set("core","user","survey-timeout",{slug:t,timeout:r})},reducerCallback:function(e,t){return m(m({},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;c()(t,"slug is required."),c()(Number.isInteger(r),"timeout must be an integer.")}}),j=Object(p.a)({baseName:"getSurvey",controlCallback:function(){return f.a.get("core","user","survey",{})},reducerCallback:function(e,t){var r=t.survey,n=r||{},i=n.survey_payload,o=void 0===i?null:i,s=n.session,a=void 0===s?null:s;return m(m({},e),{},{currentSurvey:o,currentSurveySession:a})}}),_={currentSurvey:void 0,currentSurveySession:void 0,surveyTimeouts:void 0},k={setSurveyTimeout:Object(v.f)((function(e,t){c()("string"==typeof e&&e.length,"triggerID is required and must be a string"),c()("number"==typeof t,"timeout must be a number")}),i.a.mark((function e(t,r){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S.actions.fetchSetSurveyTimeout(t,r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),triggerSurvey:Object(v.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.ttl,n=void 0===r?0:r;c()("string"==typeof e&&e.length,"triggerID is required and must be a string"),c()(Object(u.isPlainObject)(t),"options must be an object"),c()("number"==typeof n,"options.ttl must be a number")}),i.a.mark((function e(t){var r,n,o,s,a,c,u,l,f,p,v,b,m=arguments;return i.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,o=void 0===n?0:n,e.next=4,d.commonActions.getRegistry();case 4:return s=e.sent,a=s.select,c=s.dispatch,u=s.resolveSelect,e.next=10,d.commonActions.await(u(g.a).getAuthentication());case 10:if(a(g.a).isAuthenticated()){e.next=12;break}return e.abrupt("return",{});case 12:return e.next=14,d.commonActions.await(u(g.a).getSurveyTimeouts());case 14:if(l=a(g.a).isSurveyTimedOut(t),f=a(g.a).isTimingOutSurvey(t,o),l||f){e.next=29;break}return e.next=19,y.actions.fetchTriggerSurvey(t);case 19:if(p=e.sent,v=p.response,!(b=p.error)){e.next=24;break}return e.abrupt("return",{response:v,error:b});case 24:if(!(o>0)){e.next=29;break}return e.next=27,new Promise((function(e){setTimeout(e,3e4)}));case 27:return e.next=29,d.commonActions.await(c(g.a).setSurveyTimeout(t,o));case 29:return e.abrupt("return",{response:{},error:!1});case 30:case"end":return e.stop()}}),e)}))),sendSurveyEvent:Object(v.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c()("string"==typeof e&&e.length,"eventID is required and must be a string"),c()(Object(u.isPlainObject)(t),"eventData must be an object")}),i.a.mark((function e(t){var r,n,o,a,c,u,l,f,p=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},n=s()({},t,r),e.next=4,d.commonActions.getRegistry();case 4:if(o=e.sent,a=o.select,!(c=a(g.a).getCurrentSurveySession())){e.next=14;break}return e.next=10,h.actions.fetchSendSurveyEvent(n,c);case 10:return u=e.sent,l=u.response,f=u.error,e.abrupt("return",{response:l,error:f});case 14:case"end":return e.stop()}}),e)})))},E={getCurrentSurvey:i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:if(t=e.sent,r=t.select,void 0!==r(g.a).getCurrentSurvey()){e.next=8;break}return e.next=8,j.actions.fetchGetSurvey();case 8:case"end":return e.stop()}}),e)})),getSurveyTimeouts:i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:if(t=e.sent,r=t.select,void 0!==r(g.a).getSurveyTimeouts()){e.next=8;break}return e.next=8,O.actions.fetchGetSurveyTimeouts();case 8:case"end":return e.stop()}}),e)}))},w={getCurrentSurvey:function(e){return e.currentSurvey},getCurrentSurveySession:function(e){return e.currentSurveySession},getCurrentSurveyCompletions:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getCurrentSurvey();return(null==t?void 0:t.completion)||null}})),getCurrentSurveyQuestions:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getCurrentSurvey();return(null==t?void 0:t.question)||null}})),getSurveyTimeouts:function(e){return e.surveyTimeouts},isSurveyTimedOut:Object(d.createRegistrySelector)((function(e){return function(t,r){var n=e(g.a).getSurveyTimeouts();return void 0===n?void 0:n.includes(r)}})),isTimingOutSurvey:Object(d.createRegistrySelector)((function(e){return function(t,r,n){return e(g.a).isFetchingSetSurveyTimeout(r,n)}})),areSurveysOnCooldown:Object(d.createRegistrySelector)((function(e){return function(){return e(g.a).isSurveyTimedOut(g.e)}}))},A=Object(d.combineStores)(y,h,O,S,j,{initialState:_,actions:k,resolvers:E,selectors:w});A.initialState,A.actions,A.resolvers,A.selectors;t.a=A},941:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(42),c=r.n(a),u=r(3),l=r(6),f=r(47),d=r(62);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 p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=d.a.receiveError,b=d.a.clearError,m=function(e,t){return p(p({},e),{},{tracking:t})},y=Object(f.a)({baseName:"getTracking",controlCallback:function(){return c.a.get("core","user","tracking")},reducerCallback:m}),h=Object(f.a)({baseName:"setTracking",controlCallback:function(e){return c.a.set("core","user","tracking",{enabled:!!e})},reducerCallback:m,argsToParams:function(e){return e}}),O={tracking:void 0,isSavingTrackingEnabled:!1},S={setTrackingEnabled:i.a.mark((function e(t){var r,n,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b("setTrackingEnabled",[t]);case 2:return e.next=4,{type:"SET_TRACKING_ENABLED_SAVING_ACTION",payload:{isSaving:!0}};case 4:return e.next=6,h.actions.fetchSetTracking(t);case 6:if(r=e.sent,n=r.response,!(o=r.error)){e.next=12;break}return e.next=12,v(o,"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:o});case 15:case"end":return e.stop()}}),e)}))},j={isTrackingEnabled:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.commonActions.getRegistry();case 2:if(t=e.sent,void 0!==(0,t.select)(l.a).isTrackingEnabled()){e.next=7;break}return e.next=7,y.actions.fetchGetTracking();case 7:case"end":return e.stop()}}),e)}))},_=Object(u.combineStores)(y,h,{initialState:O,actions:S,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_TRACKING_ENABLED_SAVING_ACTION":return p(p({},e),{},{isSavingTrackingEnabled:n.isSaving});default:return e}},resolvers:j,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}}});_.initialState,_.actions,_.controls,_.reducer,_.resolvers,_.selectors;t.a=_},942:function(e,t,r){"use strict";(function(e){var n=r(266),i=r.n(n),o=r(5),s=r.n(o),a=r(7),c=r.n(a),u=r(11),l=r.n(u),f=r(157),d=r(3),g=r(6),p=r(404);function v(){var e=i()(["https://accounts.google.com/accountchooser?continue=","&Email=",""]);return v=function(){return e},e}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 m(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){c()(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 y={connectURL:void 0,initialVersion:void 0,user:void 0,verified:void 0,isUserInputCompleted:void 0},h={receiveConnectURL:function(e){return l()(e,"connectURL is required."),{payload:{connectURL:e},type:"RECEIVE_CONNECT_URL"}},receiveUserInfo:function(e){return l()(e,"userInfo is required."),{payload:{user:e},type:"RECEIVE_USER_INFO"}},receiveInitialSiteKitVersion:function(e){return l()(e,"initialVersion is required."),{payload:{initialVersion:e},type:"RECEIVE_USER_INITIAL_SITE_KIT_VERSION"}},receiveUserIsVerified:function(e){return l()(void 0!==e,"userIsVerified is required."),{payload:{verified:e},type:"RECEIVE_USER_IS_VERIFIED"}},receiveIsUserInputCompleted:function(e){return l()(void 0!==e,"The isUserInputCompleted param is required."),{payload:{isUserInputCompleted:e},type:"RECEIVE_IS_USER_INPUT_COMPLETED"}}},O={getConnectURL:s.a.mark((function t(){var r,n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.commonActions.getRegistry();case 2:if(r=t.sent,!(0,r.select)(g.a).getConnectURL()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.connectURL,t.next=12,h.receiveConnectURL(n);case 12:case"end":return t.stop()}}),t)})),getUser:s.a.mark((function t(){var r,n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(g.a).getUser()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.user,t.next=12,h.receiveUserInfo(n);case 12:case"end":return t.stop()}}),t)})),getInitialSiteKitVersion:s.a.mark((function t(){var r,n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(g.a).getInitialSiteKitVersion()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:if(!(n=e._googlesitekitUserData.initialVersion)){t.next=13;break}return t.next=13,h.receiveInitialSiteKitVersion(n);case 13:case"end":return t.stop()}}),t)})),isVerified:s.a.mark((function t(){var r,n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(g.a).isVerified()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.verified,t.next=12,h.receiveUserIsVerified(n);case 12:case"end":return t.stop()}}),t)})),isUserInputCompleted:s.a.mark((function(){var t,r;return s.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,d.commonActions.getRegistry();case 2:if(t=n.sent,void 0===(0,t.select)(g.a).isUserInputCompleted()){n.next=6;break}return n.abrupt("return");case 6:if(e._googlesitekitUserData){n.next=9;break}return e.console.error("Could not load core/user info."),n.abrupt("return");case 9:return r=e._googlesitekitUserData.isUserInputCompleted,n.next=12,h.receiveIsUserInputCompleted(r);case 12:case"end":return n.stop()}}),r)}))},S={getUser:function(e){return e.user},getConnectURL:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.additionalScopes,n=void 0===r?[]:r,i=t.redirectURL,o=void 0===i?void 0:i,s=t.errorRedirectURL,a=void 0===s?void 0:s,c=e.connectURL,u={redirect:o,errorRedirect:a};if(void 0!==c){if(null==n?void 0:n.length){var l=n.map((function(e){return e.replace(/^http(s)?:/,"gttp$1:")}));return Object(f.a)(c,m(m({},u),{},{additional_scopes:l}))}return Object(f.a)(c,u)}},getID:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getUser();return void 0!==t?t.id:t}})),getName:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getUser();return void 0!==t?t.name:t}})),getEmail:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getUser();return void 0!==t?t.email:t}})),getPicture:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getUser();return void 0!==t?t.picture:t}})),getFullName:Object(d.createRegistrySelector)((function(e){return function(){var t=e(g.a).getUser();if(void 0!==t)return t.full_name}})),getAccountChooserURL:Object(d.createRegistrySelector)((function(e){return function(t,r){l()(r,"destinationURL is required");var n=e(g.a).getEmail();if(void 0!==n)return Object(p.a)(v(),r,n)}})),getInitialSiteKitVersion:function(e){return e.initialVersion},isVerified:function(e){return e.verified},isUserInputCompleted:function(e){var t=e.isUserInputCompleted;return t}};t.a={initialState:y,actions:h,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_CONNECT_URL":var i=n.connectURL;return m(m({},e),{},{connectURL:i});case"RECEIVE_USER_INFO":var o=n.user;return m(m({},e),{},{user:o});case"RECEIVE_USER_INITIAL_SITE_KIT_VERSION":var s=n.initialVersion;return m(m({},e),{},{initialVersion:s});case"RECEIVE_USER_IS_VERIFIED":var a=n.verified;return m(m({},e),{},{verified:a});case"RECEIVE_IS_USER_INPUT_COMPLETED":var c=n.isUserInputCompleted;return m(m({},e),{},{isUserInputCompleted:c});default:return e}},resolvers:O,selectors:S}}).call(this,r(26))},943:function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(7),s=r.n(o),a=r(11),c=r.n(a),u=r(13),l=r(42),f=r.n(l),d=r(3),g=r(6),p=r(47),v=r(62);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 m(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 y=v.a.receiveError,h=v.a.clearError;function O(e,t){return m(m({},e),{},{inputSettings:t,savedInputSettings:t})}var S=Object(p.a)({baseName:"getUserInputSettings",controlCallback:function(){return f.a.get("core","user","user-input-settings",void 0,{useCache:!1})},reducerCallback:O}),j=Object(p.a)({baseName:"saveUserInputSettings",controlCallback:function(e){return f.a.set("core","user","user-input-settings",{settings:e})},reducerCallback:O,argsToParams:function(e){return e},validateParams:function(e){c()(Object(u.isPlainObject)(e),"valid settings are required.")}}),_={inputSettings:void 0,isSavingInputSettings:!1,savedInputSettings:void 0},k={setUserInputSetting:function(e,t){return{type:"SET_USER_INPUT_SETTING",payload:{settingID:e,values:t.map((function(e){return e.trim()}))}}},saveUserInputSettings:i.a.mark((function e(){var t,r,n,o,a,c,u,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,h("saveUserInputSettings",[]);case 5:return r=function(e){return e.trim()},n=function(e){return e.length>0},o=t.select(g.a).getUserInputSettings(),a=Object.keys(o).reduce((function(e,t){var i;return m(m({},e),{},s()({},t,((null===(i=o[t])||void 0===i?void 0:i.values)||[]).map(r).filter(n)))}),{}),e.next=11,{type:"SET_USER_INPUT_SETTINGS_SAVING_FLAG",payload:{isSaving:!0}};case 11:return e.next=13,j.actions.fetchSaveUserInputSettings(a);case 13:if(c=e.sent,u=c.response,!(l=c.error)){e.next=19;break}return e.next=19,y(l,"saveUserInputSettings",[]);case 19:if(l){e.next=22;break}return e.next=22,k.maybeTriggerUserInputSurvey();case 22:return e.next=24,{type:"SET_USER_INPUT_SETTINGS_SAVING_FLAG",payload:{isSaving:!1}};case 24:return e.abrupt("return",{response:u,error:l});case 25:case"end":return e.stop()}}),e)})),resetUserInputSettings:i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{type:"RESET_USER_INPUT_SETTINGS",payload:{}});case 1:case"end":return e.stop()}}),e)})),maybeTriggerUserInputSurvey:i.a.mark((function e(){var t,r,n,o,s,a,c,u,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:return t=e.sent,r=t.resolveSelect,n=t.dispatch,e.next=7,d.commonActions.await(r(g.a).getUserInputSettings());case 7:if(o=e.sent,!(!(s=Object.keys(o).filter((function(e){return o[e].values.includes("other")}))).length>0)){e.next=11;break}return e.abrupt("return");case 11:return a="userInput_answered_other__".concat(s.join("_")),e.next=14,d.commonActions.await(n(g.a).triggerSurvey(a));case 14:return c=e.sent,u=c.response,l=c.error,e.abrupt("return",{response:u,error:l});case 18:case"end":return e.stop()}}),e)}))},E={getUserInputSettings:i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:if(t=e.sent,(0,t.select)(g.a).getUserInputSettings()){e.next=7;break}return e.next=7,S.actions.fetchGetUserInputSettings();case 7:case"end":return e.stop()}}),e)}))},w={isSavingUserInputSettings:function(e){return!!(null==e?void 0:e.isSavingInputSettings)},getUserInputSettings:function(e){return e.inputSettings},getUserInputSetting:Object(d.createRegistrySelector)((function(e){return function(t,r){var n,i=null===(n=(e(g.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.values;return Array.isArray(i)?i:[]}})),getUserInputSettingScope:Object(d.createRegistrySelector)((function(e){return function(t,r){var n;return null===(n=(e(g.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.scope}})),getUserInputSettingAuthor:Object(d.createRegistrySelector)((function(e){return function(t,r){var n;return null===(n=(e(g.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.author}})),haveUserInputSettingsChanged:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=e.inputSettings,n=e.savedInputSettings;return t?!Object(u.isEqual)(Object(u.pick)(r,t),Object(u.pick)(n,t)):!Object(u.isEqual)(r,n)},hasUserInputSettingChanged:function(e,t){return c()(t,"setting is required."),w.haveUserInputSettingsChanged(e,[t])}},A=Object(d.combineStores)(S,j,{initialState:_,actions:k,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_USER_INPUT_SETTING":return m(m({},e),{},{inputSettings:m(m({},e.inputSettings),{},s()({},n.settingID,m(m({},(e.inputSettings||{})[n.settingID]||{}),{},{values:n.values})))});case"SET_USER_INPUT_SETTINGS_SAVING_FLAG":return m(m({},e),{},{isSavingInputSettings:n.isSaving});case"RESET_USER_INPUT_SETTINGS":return m(m({},e),{},{inputSettings:e.savedInputSettings});default:return e}},resolvers:E,selectors:w});A.initialState,A.actions,A.controls,A.reducer,A.resolvers,A.selectors;t.a=A},97:function(e,t,r){"use strict";(function(e){r(50),r(51)}).call(this,r(26))},98:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return s}));var n=r(220),i=r(86),o=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var o=r.invertColor,s=void 0!==o&&o;return Object(n.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:s}))},s=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,r(4))},99:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return f}));var n=r(7),i=r.n(n),o=r(13),s=r(100),a=r(101);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function f(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=u(u({},l),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(s.a)(i,r),f=Object(a.a)(i,r,c,n),d={},g=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=JSON.stringify(t);d[n]||(d[n]=Object(o.once)(f)),d[n].apply(d,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:f,trackEventOnce:g}}}).call(this,r(26))}},[[1197,1,0]]]);
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка