Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-datastore-site-b48fcdc028f30543c49a.js
Назад
(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[11],{100:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return a}));var n=r(58),o=r(37),i=r(44);function a(t,r){var a,c=Object(n.a)(r),s=t.activeModules,u=t.referenceSiteURL,l=t.userIDHash,f=t.userRoles,p=void 0===f?[]:f,d=t.isAuthenticated,g=t.pluginVersion;return function(){var r=e.document;if(void 0===a&&(a=!!r.querySelector("script[".concat(o.b,"]"))),!a){a=!0;var n=(null==p?void 0:p.length)?p.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:u,plugin_version:g||"",enabled_features:Array.from(i.a).join(","),active_modules:s.join(","),authenticated:d?"1":"0",user_properties:{user_roles:n,user_identifier:l}});var f=r.createElement("script");return f.setAttribute(o.b,""),f.async=!0,f.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(o.a),r.head.appendChild(f),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(o.a)}}}}}).call(this,r(26))},101:function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(5),o=r.n(n),i=r(7),a=r.n(i),c=r(16),s=r.n(c),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){a()(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 p(e,t,r,n){var i=Object(u.a)(t);return function(){var t=s()(o.a.mark((function t(a,c,s,u){var l;return o.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:a,event_label:s,value:u},t.abrupt("return",new Promise((function(e){var t,r,o=setTimeout((function(){n.console.warn('Tracking event "'.concat(c,'" (category "').concat(a,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(o),e()};i("event",c,f(f({},l),{},{event_callback:s})),(null===(t=n._gaUserPrefs)||void 0===t||null===(r=t.ioo)||void 0===r?void 0:r.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,r,n,o){return t.apply(this,arguments)}}()}},1230:function(e,t,r){"use strict";r.r(t);var n,o=r(3),i=r.n(o),a=r(7),c=r.n(a),s=r(16),u=r.n(s),l=r(5),f=r.n(l),p=r(11),d=r.n(p),g=r(41),v={setCacheItem:f.a.mark((function e(t,r,n){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d()(t,"key is required"),d()(void 0!==r,"value is required"),e.next=4,{type:"CACHE_SET_ITEM",payload:{key:t,value:r,args:n}};case 4:case"end":return e.stop()}}),e)}))},b=c()({},"CACHE_SET_ITEM",(n=u()(f.a.mark((function e(t){var r,n,o,i;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n=r.key,o=r.value,i=r.args,e.next=4,Object(g.f)(n,o,i);case 4:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})),m=Object(o.combineStores)({initialState:{},actions:v,controls:b}),y=(m.initialState,m.actions,m.controls,m.reducer,m.resolvers,m.selectors,m),O=r(42),h=r.n(O),S=r(14),E=r(47);function j(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 w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var k=Object(E.a)({baseName:"getConnection",controlCallback:function(){return h.a.get("core","site","connection",void 0,{useCache:!1})},reducerCallback:function(e,t){return w(w({},e),{},{connection:t})}}),R={connection:void 0},P={getConnection:f.a.mark((function e(){var t;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.commonActions.getRegistry();case 2:if(t=e.sent,t.select(S.c).getConnection()){e.next=7;break}return e.next=7,k.actions.fetchGetConnection();case 7:case"end":return e.stop()}}),e)}))},A={getConnection:function(e){return e.connection},getOwnerID:Object(o.createRegistrySelector)((function(e){return function(){return(e(S.c).getConnection()||{}).ownerID}})),hasConnectedAdmins:Object(o.createRegistrySelector)((function(e){return function(){return(e(S.c).getConnection()||{}).hasConnectedAdmins}})),isConnected:Object(o.createRegistrySelector)((function(e){return function(){var t=e(S.c).getConnection();return void 0!==t?t.connected:t}})),isResettable:Object(o.createRegistrySelector)((function(e){return function(){var t=e(S.c).getConnection();return void 0!==t?t.resettable:t}})),isSetupCompleted:Object(o.createRegistrySelector)((function(e){return function(){var t=e(S.c).getConnection();return void 0!==t?t.setupCompleted:t}})),hasMultipleAdmins:Object(o.createRegistrySelector)((function(e){return function(){var t;return null===(t=e(S.c).getConnection())||void 0===t?void 0:t.hasMultipleAdmins}}))},_=Object(o.combineStores)(k,{initialState:R,resolvers:P,selectors:A}),C=(_.initialState,_.actions,_.controls,_.reducer,_.resolvers,_.selectors,_),T=r(920),N=r(13),L=r(164),x=o.commonActions.getRegistry,I=Object(L.a)((function(e,t){e.conversionTracking.settings=t,e.conversionTracking.savedSettings=t})),D=Object(E.a)({baseName:"getConversionTrackingSettings",controlCallback:function(){return h.a.get("core","site","conversion-tracking",null,{useCache:!1})},reducerCallback:I}),U=Object(E.a)({baseName:"saveConversionTrackingSettings",controlCallback:function(e){var t=e.settings;return h.a.set("core","site","conversion-tracking",{settings:t})},reducerCallback:I,argsToParams:function(e){return{settings:e}},validateParams:function(e){var t=e.settings;d()(Object(N.isPlainObject)(t),"settings must be a plain object.")}}),M={conversionTracking:{settings:void 0,savedSettings:void 0}},F={saveConversionTrackingSettings:f.a.mark((function e(){var t,r,n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x();case 2:return t=e.sent,r=t.select,n=r(S.c).getConversionTrackingSettings(),e.next=7,U.actions.fetchSaveConversionTrackingSettings(n);case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e)})),setConversionTrackingEnabled:function(e){return{type:"SET_CONVERSION_TRACKING_ENABLED",payload:{enabled:e}}},resetConversionTrackingSettings:function(){return{payload:{},type:"RESET_CONVERSION_TRACKING_SETTINGS"}}},B=Object(L.a)((function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_CONVERSION_TRACKING_ENABLED":e.conversionTracking.settings=e.conversionTracking.settings||{},e.conversionTracking.settings.enabled=!!n.enabled;break;case"RESET_CONVERSION_TRACKING_SETTINGS":e.conversionTracking.settings=e.conversionTracking.savedSettings}})),V={getConversionTrackingSettings:function(e){return e.conversionTracking.settings},isConversionTrackingEnabled:Object(o.createRegistrySelector)((function(e){return function(){return(e(S.c).getConversionTrackingSettings()||{}).enabled}})),haveConversionTrackingSettingsChanged:function(e){var t=e.conversionTracking,r=t.settings,n=t.savedSettings;return!Object(N.isEqual)(r,n)}},G={getConversionTrackingSettings:f.a.mark((function e(){var t,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x();case 2:if(t=e.sent,r=t.select,!r(S.c).getConversionTrackingSettings()){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,D.actions.fetchGetConversionTrackingSettings();case 9:case"end":return e.stop()}}),e)}))},K=Object(o.combineStores)(D,U,{initialState:M,actions:F,controls:{},reducer:B,resolvers:G,selectors:V}),H=(K.initialState,K.actions,K.controls,K.reducer,K.resolvers,K.selectors,K),W=r(23),q=r.n(W),z=r(2);function $(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?$(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Y,X={internalServerError:void 0},Z={setInternalServerError:function(e){d()(Object(N.isPlainObject)(e),"internalServerError must be a plain object.");var t=e.title,r=void 0===t?Object(z.__)("Internal Server Error","google-site-kit"):t,n=e.format,o=void 0===n?"small":n,i=e.type;return{type:"SET_SERVER_ERROR",payload:{internalServerError:J({title:r,format:o,type:void 0===i?"win-error":i},q()(e,["title","format","type"]))}}},clearInternalServerError:function(){return{type:"CLEAR_SERVER_ERROR"}}},Q=Object(o.combineStores)({initialState:X,actions:Z,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_SERVER_ERROR":return J(J({},e),{},{internalServerError:n.internalServerError});case"CLEAR_SERVER_ERROR":return J(J({},e),{},{internalServerError:void 0});default:return e}},resolvers:{},selectors:{getInternalServerError:function(e){return e.internalServerError}}}),ee=(Q.initialState,Q.actions,Q.controls,Q.reducer,Q.resolvers,Q.selectors,Q),te=r(109),re=r(157),ne=r(351);function oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ae,ce=Object(E.a)({baseName:"getHTMLForURL",argsToParams:function(e){return{url:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url;d()(Object(te.a)(t),"a valid url is required to fetch HTML.")},controlCallback:(ae=u()(f.a.mark((function e(t){var r,n,o,i,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.url,n={credentials:"omit"},o={tagverify:1,timestamp:Date.now()},e.next=5,fetch(Object(re.a)(r,o),n);case 5:return i=e.sent,e.prev=6,e.next=9,i.text();case 9:if(""!==(a=e.sent)&&void 0!==a){e.next=12;break}return e.abrupt("return",null);case 12:return e.abrupt("return",a);case 15:return e.prev=15,e.t0=e.catch(6),e.abrupt("return",null);case 18:case"end":return e.stop()}}),e,null,[[6,15]])}))),function(e){return ae.apply(this,arguments)}),reducerCallback:function(e,t,r){var n=r.url;return ie(ie({},e),{},{htmlForURL:ie(ie({},e.htmlForURL),{},c()({},n,t))})}}),se={resetHTMLForURL:f.a.mark((function e(t){var r,n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.commonActions.getRegistry();case 2:return r=e.sent,n=r.dispatch,e.next=6,{payload:{url:t},type:"RESET_HTML_FOR_URL"};case 6:return e.abrupt("return",n(S.c).invalidateResolutionForStoreSelector("getHTMLForURL"));case 7:case"end":return e.stop()}}),e)})),checkForSetupTag:f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CHECK_FOR_SETUP_TAG"};case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})),waitForHTMLForURL:f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{url:t},type:"WAIT_FOR_HTML_FOR_URL"};case 2:case"end":return e.stop()}}),e)}))},ue=(Y={},c()(Y,"WAIT_FOR_HTML_FOR_URL",Object(o.createRegistryControl)((function(e){return function(t){var r=t.payload.url;return e.resolveSelect(S.c).getHTMLForURL(r)}}))),c()(Y,"CHECK_FOR_SETUP_TAG",Object(o.createRegistryControl)((function(e){return u()(f.a.mark((function t(){var r,n,o,i,a,c,s,u;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=!1,t.prev=1,t.next=4,h.a.set("core","site","setup-tag");case 4:return a=t.sent,o=a.token,t.next=8,e.select(S.c).getHomeURL();case 8:return c=t.sent,t.next=11,e.dispatch(S.c).fetchGetHTMLForURL(c);case 11:s=t.sent,n=s.response,r=s.error,t.next=19;break;case 16:t.prev=16,t.t0=t.catch(1),r="check_fetch_failed";case 19:return r||(u=Object(ne.a)(n,[/<meta name="googlesitekit-setup" content="([a-z0-9-]+)"/]),(i=o===u)||(r="setup_token_mismatch")),t.abrupt("return",{response:i,error:r});case 21:case"end":return t.stop()}}),t,null,[[1,16]])})))}))),Y),le={getHTMLForURL:f.a.mark((function e(t){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.commonActions.getRegistry();case 2:if(r=e.sent,void 0!==r.select(S.c).getHTMLForURL(t)){e.next=7;break}return e.next=7,ce.actions.fetchGetHTMLForURL(t);case 7:case"end":return e.stop()}}),e)}))},fe=Object(o.combineStores)(ce,{initialState:{htmlForURL:{}},actions:se,controls:ue,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RESET_HTML_FOR_URL":var o=n.url;return ie(ie({},e),{},{htmlForURL:ie(ie({},e.htmlForURL),{},c()({},o,void 0))});default:return e}},resolvers:le,selectors:{getHTMLForURL:function(e,t){return e.htmlForURL[t]}}}),pe=(fe.initialState,fe.actions,fe.controls,fe.reducer,fe.resolvers,fe.selectors,fe),de=r(641),ge=Object(E.a)({baseName:"reset",controlCallback:function(){return h.a.set("core","site","reset")}}),ve={reset:f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ge.actions.fetchReset();case 2:case"end":return e.stop()}}),e)}))},be={isDoingReset:Object(o.createRegistrySelector)((function(e){return function(){return e(S.c).isFetchingReset()}}))},me=Object(o.combineStores)(ge,{initialState:{},actions:ve,selectors:be}),ye=(me.initialState,me.actions,me.controls,me.reducer,me.resolvers,me.selectors,me),Oe=r(921);function he(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Se(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?he(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ee=Object(E.a)({baseName:"getAdminBarSettings",controlCallback:function(){return h.a.get("core","site","admin-bar-settings",void 0,{useCache:!1})},reducerCallback:function(e,t){return Se(Se({},e),{},{adminBarSettings:Se(Se({},e.adminBarSettings||{}),t)})}}),je=Object(E.a)({baseName:"setAdminBarSettings",controlCallback:function(e){var t=e.enabled;return h.a.set("core","site","admin-bar-settings",{enabled:t})},reducerCallback:function(e,t){return Se(Se({},e),{},{adminBarSettings:Se(Se({},e.adminBarSettings||{}),t)})},argsToParams:function(e){return{enabled:e.enabled}},validateParams:function(e){var t=e.enabled;d()("boolean"==typeof t,"enabled must be of boolean type")}}),we={adminBarSettings:void 0},ke={setShowAdminBar:f.a.mark((function e(t){var r,n,o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,je.actions.fetchSetAdminBarSettings({enabled:t});case 2:return r=e.sent,n=r.response,o=r.error,e.abrupt("return",{response:n,error:o});case 6:case"end":return e.stop()}}),e)}))};var Re={getAdminBarSettings:f.a.mark((function e(){var t,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.commonActions.getRegistry();case 2:if(t=e.sent,r=t.select,void 0!==r(S.c).getAdminBarSettings()){e.next=8;break}return e.next=8,Ee.actions.fetchGetAdminBarSettings();case 8:case"end":return e.stop()}}),e)}))},Pe={getAdminBarSettings:function(e){return e.adminBarSettings},getShowAdminBar:Object(o.createRegistrySelector)((function(e){return function(){var t;return null===(t=e(S.c).getAdminBarSettings())||void 0===t?void 0:t.enabled}}))},Ae=Object(o.combineStores)(Ee,je,{initialState:we,actions:ke,controls:{},reducer:function(e,t){return t.type,e},resolvers:Re,selectors:Pe}),_e=(Ae.initialState,Ae.actions,Ae.controls,Ae.reducer,Ae.resolvers,Ae.selectors,Ae),Ce=r(8);function Te(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 Ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Te(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Le={selectors:{getGoogleLocaleAwareURL:function(e,t){var r,n=Object(Ce.s)(),o=t||{},i=o.website,a=o.path,c=o.query,s=o.hash,u=o.locale,l=void 0===u?(null===(r=n.match(/^([a-zA-Z]+[-_]?[a-zA-Z]*)/))||void 0===r?void 0:r[0])||n:u;if(!a)return null;var f=new URL(i);f.pathname=a,f.hash=s||"";var p=Ne(Ne({},c),{},{hl:l});for(var d in p)f.searchParams.set(d,p[d]);return f.toString()},getGoogleSupportURL:Object(o.createRegistrySelector)((function(e){return function(t,r){return e(S.c).getGoogleLocaleAwareURL(Ne(Ne({},r),{},{website:"https://support.google.com"}))}})),getGooglePrivacyPolicyURL:Object(o.createRegistrySelector)((function(e){return function(){return e(S.c).getGoogleLocaleAwareURL({website:"https://myaccount.google.com",path:"/privacypolicy"})}})),getDocumentationLinkURL:Object(o.createRegistrySelector)((function(e){return function(t,r){d()(r,"A slug is required.");var n=e(S.c).getProxySupportLinkURL();return"".concat(n,"?doc=").concat(encodeURIComponent(r))}})),getErrorTroubleshootingLinkURL:Object(o.createRegistrySelector)((function(e){return function(t,r){d()(r,"An error is required.");var n=e(S.c).getProxySupportLinkURL();return r.id&&!Object(Ce.v)(r.id)?"".concat(n,"?error_id=").concat(encodeURIComponent(r.id)):r.code&&!Object(Ce.v)(r.code)?"".concat(n,"?error_id=").concat(encodeURIComponent(r.code)):"".concat(n,"?error=").concat(encodeURIComponent(r.message))}})),getGoogleTermsURL:Object(o.createRegistrySelector)((function(e){return function(){return e(S.c).getGoogleLocaleAwareURL({website:"https://policies.google.com",path:"/terms"})}}))}};function xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var De=Object(E.a)({baseName:"getDeveloperPluginState",controlCallback:function(){return h.a.get("core","site","developer-plugin",void 0,{useCache:!1})},reducerCallback:function(e,t){return Ie(Ie({},e),{},{developerPluginState:t})}}),Ue={developerPluginState:void 0},Me={getDeveloperPluginState:f.a.mark((function e(){var t;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.commonActions.getRegistry();case 2:if(t=e.sent,t.select(S.c).getDeveloperPluginState()){e.next=7;break}return e.next=7,De.actions.fetchGetDeveloperPluginState();case 7:case"end":return e.stop()}}),e)}))},Fe=Object(o.combineStores)(De,{initialState:Ue,resolvers:Me,selectors:{getDeveloperPluginState:function(e){return e.developerPluginState}}}),Be=(Fe.initialState,Fe.actions,Fe.controls,Fe.reducer,Fe.resolvers,Fe.selectors,Fe),Ve=r(545),Ge=r(59),Ke=r(62),He="accepted",We="dismissed",qe=function(e){return"string"==typeof e},ze=Object(E.a)({baseName:"markNotification",controlCallback:function(e){var t=e.notificationID,r=e.notificationState;return h.a.set("core","site","mark-notification",{notificationID:t,notificationState:r})},argsToParams:function(e){return{notificationID:e.notificationID,notificationState:e.notificationState}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.notificationID,r=e.notificationState;d()([He,We].includes(r),"notificationState must be accepted or dismissed."),d()(qe(t),"a valid notification ID is required to mark a notification.")}}),$e={acceptNotification:Object(Ge.f)((function(e){d()(qe(e),"a valid notification ID is required to accept a notification.")}),f.a.mark((function e(t){var r,n,o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ze.actions.fetchMarkNotification({notificationID:t,notificationState:He});case 2:if(r=e.sent,n=r.response,!(o=r.error)){e.next=8;break}return e.next=8,Ke.a.receiveError(o,"acceptNotification",[t]);case 8:return e.abrupt("return",{response:n,error:o});case 9:case"end":return e.stop()}}),e)}))),dismissNotification:Object(Ge.f)((function(e){d()(qe(e),"a valid notification ID is required to dismiss a notification.")}),f.a.mark((function e(t){var r,n,o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ze.actions.fetchMarkNotification({notificationID:t,notificationState:We});case 2:if(r=e.sent,n=r.response,!(o=r.error)){e.next=8;break}return e.next=8,Ke.a.receiveError(o,"dismissNotification",[t]);case 8:return e.abrupt("return",{response:n,error:o});case 9:case"end":return e.stop()}}),e)})))},Je=Object(o.combineStores)(Object(Ve.a)("core","site","notifications",{storeName:S.c}),ze,{actions:$e}),Ye=Object(o.combineStores)(o.commonStore,C,T.a,H,ee,pe,de.b,Be,ye,Oe.a,_e,Le,Je,y,Object(Ke.b)(S.c));Ye.initialState,Ye.actions,Ye.controls,Ye.reducer,Ye.resolvers,Ye.selectors;i.a.registerStore(S.c,Ye)},14:function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return i}));var n="core/site",o="primary",i="secondary"},164:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(355);function o(e){return Object(n.a)(e)}},19:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="core/modules",o="insufficient_module_dependencies"},2:function(e,t){e.exports=googlesitekit.i18n},256:function(e,t,r){"use strict";(function(e){var n=r(53),o=r.n(n),i=r(257),a=e._googlesitekitAPIFetchData||{},c=a.nonce,s=a.nonceEndpoint,u=a.preloadedData,l=a.rootURL;o.a.nonceEndpoint=s,o.a.nonceMiddleware=o.a.createNonceMiddleware(c),o.a.rootURLMiddleware=o.a.createRootURLMiddleware(l),o.a.preloadingMiddleware=Object(i.a)(u),o.a.use(o.a.nonceMiddleware),o.a.use(o.a.mediaUploadMiddleware),o.a.use(o.a.rootURLMiddleware),o.a.use(o.a.preloadingMiddleware),t.default=o.a}).call(this,r(26))},257:function(e,t,r){"use strict";var n=r(248);t.a=function(e){var t=Object.keys(e).reduce((function(t,r){return t[Object(n.getStablePath)(r)]=e[r],t}),{}),r=!1;return function(e,o){if(r)return o(e);setTimeout((function(){r=!0}),1e3);var i=e.parse,a=void 0===i||i,c=e.path;if("string"==typeof e.path){var s,u=(null===(s=e.method)||void 0===s?void 0:s.toUpperCase())||"GET",l=Object(n.getStablePath)(c);if(a&&"GET"===u&&t[l]){var f=Promise.resolve(t[l].body);return delete t[l],f}if("OPTIONS"===u&&t[u]&&t[u][l]){var p=Promise.resolve(t[u][l]);return delete t[u][l],p}}return o(e)}}},3:function(e,t){e.exports=googlesitekit.data},351:function(e,t,r){"use strict";r.d(t,"a",(function(){return g})),r.d(t,"b",(function(){return v}));var n=r(5),o=r.n(n),i=r(16),a=r.n(i),c=r(11),s=r.n(c),u=r(13),l=r(256),f=r(109),p=r(157),d=r(14),g=function(e,t){var r=t.find((function(t){return t.test(e)}));return!!r&&r.exec(e)[1]},v=Object(u.memoize)(function(){var e=a()(o.a.mark((function e(t){var r,n,i,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.homeURL,n=t.ampMode,s()(Object(f.a)(r),"homeURL must be valid URL"),i=[r],d.b!==n){e.next=14;break}return e.prev=4,e.next=7,Object(l.default)({path:"/wp/v2/posts?per_page=1"}).then((function(e){return e.slice(0,1).map((function(e){return Object(p.a)(e.link,{amp:1})})).pop()}));case 7:(a=e.sent)&&i.push(a),e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(4),e.abrupt("return",i);case 14:return e.abrupt("return",i);case 15:case"end":return e.stop()}}),e,null,[[4,11]])})));return function(t){return e.apply(this,arguments)}}())},36:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return h})),r.d(t,"b",(function(){return y})),r.d(t,"c",(function(){return O}));var n=r(99),o=e._googlesitekitTrackingData||{},i=o.activeModules,a=void 0===i?[]:i,c=o.isSiteKitScreen,s=o.trackingEnabled,u=o.trackingID,l=o.referenceSiteURL,f=o.userIDHash,p=o.isAuthenticated,d={activeModules:a,trackingEnabled:s,trackingID:u,referenceSiteURL:l,userIDHash:f,isSiteKitScreen:c,userRoles:o.userRoles,isAuthenticated:p,pluginVersion:"1.140.0"},g=Object(n.a)(d),v=g.enableTracking,b=g.disableTracking,m=(g.isTrackingEnabled,g.initializeSnippet),y=g.trackEvent,O=g.trackEventOnce;function h(e){e?v():b()}c&&s&&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 o}));var n="_googlesitekitDataLayer",o="data-googlesitekit-gtag"},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 O})),r.d(t,"c",(function(){return h})),r.d(t,"e",(function(){return S})),r.d(t,"b",(function(){return E}));var n=r(5),o=r.n(n),i=r(16),a=r.n(i),c=(r(27),r(8));function s(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l,f="googlesitekit_",p="".concat(f).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),d=["sessionStorage","localStorage"],g=[].concat(d),v=function(){var t=a()(o.a.mark((function t(r){var n,i;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e[r]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",n.setItem(i,i),n.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==n.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function b(){return m.apply(this,arguments)}function m(){return(m=a()(o.a.mark((function t(){var r,n,i;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===l){t.next=2;break}return t.abrupt("return",l);case 2:r=s(g),t.prev=3,r.s();case 5:if((n=r.n()).done){t.next=15;break}if(i=n.value,!l){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,v(i);case 11:if(!t.sent){t.next=13;break}l=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),r.e(t.t0);case 20:return t.prev=20,r.f(),t.finish(20);case 23:return void 0===l&&(l=null),t.abrupt("return",l);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var y=function(){var e=a()(o.a.mark((function e(t){var r,n,i,a,c,s,u;return o.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(p).concat(t)))){e.next=10;break}if(i=JSON.parse(n),a=i.timestamp,c=i.ttl,s=i.value,u=i.isError,!a||c&&!(Math.round(Date.now()/1e3)-a<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:u});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(){var t=a()(o.a.mark((function t(r,n){var i,a,s,u,l,f,d,g,v=arguments;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},a=i.ttl,s=void 0===a?c.b:a,u=i.timestamp,l=void 0===u?Math.round(Date.now()/1e3):u,f=i.isError,d=void 0!==f&&f,t.next=3,b();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(p).concat(r),JSON.stringify({timestamp:l,ttl:s,value:n,isError:d})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,r){return t.apply(this,arguments)}}(),h=function(){var t=a()(o.a.mark((function t(r){var n,i;return o.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,i=r.startsWith(f)?r:"".concat(p).concat(r),n.removeItem(i),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=a()(o.a.mark((function t(){var r,n,i,a;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(r=t.sent)){t.next=14;break}for(t.prev=4,n=[],i=0;i<r.length;i++)0===(a=r.key(i)).indexOf(f)&&n.push(a);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)}}(),E=function(){var e=a()(o.a.mark((function e(){var t,r,n,i;return o.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=s(t),e.prev=8,r.s();case 10:if((n=r.n()).done){e.next=16;break}return i=n.value,e.next=14,h(i);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,o;r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return a}));var i=new Set((null===(n=e)||void 0===n||null===(o=n._googlesitekitBaseData)||void 0===o?void 0:o.enabledFeatures)||[]),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,r(26))},47:function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var n=r(5),o=r.n(n),i=r(7),a=r.n(i),c=r(11),s=r.n(c),u=r(13),l=r(62),f=r(78),p=r(8);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){a()(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 v=function(e){return e},b=function(){return{}},m=function(){},y=l.a.clearError,O=l.a.receiveError,h=function(e){var t,r,n=o.a.mark(I),i=e.baseName,c=e.controlCallback,l=e.reducerCallback,d=void 0===l?v:l,h=e.argsToParams,S=void 0===h?b:h,E=e.validateParams,j=void 0===E?m:E;s()(i,"baseName is required."),s()("function"==typeof c,"controlCallback is required and must be a function."),s()("function"==typeof d,"reducerCallback must be a function."),s()("function"==typeof S,"argsToParams must be a function."),s()("function"==typeof j,"validateParams must be a function.");try{j(S()),r=!1}catch(e){r=!0}var w=Object(f.b)(i),k=Object(f.a)(i),R="FETCH_".concat(k),P="START_".concat(R),A="FINISH_".concat(R),_="CATCH_".concat(R),C="RECEIVE_".concat(k),T="fetch".concat(w),N="receive".concat(w),L="isFetching".concat(w),x=a()({},L,{});function I(e,t){var r,a;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,{payload:{params:e},type:P};case 2:return n.next=4,y(i,t);case 4:return n.prev=4,n.next=7,{payload:{params:e},type:R};case 7:return r=n.sent,n.next=10,D[N](r,e);case 10:return n.next=12,{payload:{params:e},type:A};case 12:n.next=21;break;case 14:return n.prev=14,n.t0=n.catch(4),a=n.t0,n.next=19,O(a,i,t);case 19:return n.next=21,{payload:{params:e},type:_};case 21:return n.abrupt("return",{response:r,error:a});case 22:case"end":return n.stop()}}),n,null,[[4,14]])}var D=(t={},a()(t,T,(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 j(n),I(n,t)})),a()(t,N,(function(e,t){return s()(void 0!==e,"response is required."),r?(s()(Object(u.isPlainObject)(t),"params is required."),j(t)):t={},{payload:{response:e,params:t},type:C}})),t),U=a()({},R,(function(e){var t=e.payload;return c(t.params)})),M=a()({},L,(function(e){if(void 0===e[L])return!1;var t;try{for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];t=S.apply(void 0,n),j(t)}catch(e){return!1}return!!e[L][Object(p.I)(t)]}));return{initialState:x,actions:D,controls:U,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case P:var o=n.params;return g(g({},e),{},a()({},L,g(g({},e[L]),{},a()({},Object(p.I)(o),!0))));case C:var i=n.response,c=n.params;return d(e,i,c);case A:var s=n.params;return g(g({},e),{},a()({},L,g(g({},e[L]),{},a()({},Object(p.I)(s),!1))));case _:var u=n.params;return g(g({},e),{},a()({},L,g(g({},e[L]),{},a()({},Object(p.I)(u),!1))));default:return e}},resolvers:{},selectors:M}}},500:function(e,t,r){"use strict";function n(e){if(void 0!==e)return!e}r.d(t,"a",(function(){return n}))},545:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return v}));var n=r(5),o=r.n(n),i=r(7),a=r.n(i),c=r(11),s=r.n(c),u=r(42),l=r.n(u),f=r(3),p=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){a()(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 v=function(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=i.client,u=void 0===c||c,d=i.server,v=void 0===d||d,b=i.storeName,m=void 0===b?void 0:b;s()(t,"type is required."),s()(r,"identifier is required."),s()(n,"datapoint is required.");var y=m||"".concat(t,"/").concat(r),O={serverNotifications:v?void 0:{},clientNotifications:u?void 0:{}},h=Object(p.a)({baseName:"getNotifications",controlCallback:function(){return l.a.get(t,r,n)},reducerCallback:function(e,t){return g(g({},e),{},{serverNotifications:t.reduce((function(e,t){return g(g({},e),{},a()({},t.id,t))}),{})})}}),S={addNotification:function(e){return s()(e,"notification is required."),{payload:{notification:e},type:"ADD_NOTIFICATION"}},removeNotification:function(e){return s()(e,"id is required."),{payload:{id:e},type:"REMOVE_NOTIFICATION"}}},E={},j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,r=arguments.length>1?arguments[1]:void 0,n=r.type,o=r.payload;switch(n){case"ADD_NOTIFICATION":var i=o.notification;return g(g({},t),{},{clientNotifications:g(g({},t.clientNotifications||{}),{},a()({},i.id,i))});case"REMOVE_NOTIFICATION":var c=o.id;if(void 0===t.clientNotifications||void 0===t.clientNotifications[c])return void 0!==t.serverNotifications&&void 0!==t.serverNotifications[c]&&e.console.warn('Cannot remove server-side notification with ID "'.concat(c,'"; this may be changed in a future release.')),t;var s=g({},t.clientNotifications);return delete s[c],g(g({},t),{},{clientNotifications:s});default:return t}},w={getNotifications:o.a.mark((function e(){var t;return o.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,h.actions.fetchGetNotifications();case 7:case"end":return e.stop()}}),e)}))};v||delete w.getNotifications;var k={getNotifications:function(e){var t=e.serverNotifications,r=e.clientNotifications;return void 0===t&&void 0===r?t:Object.values(g(g({},t||{}),r||{}))}},R=Object(f.combineStores)(h,{initialState:O,actions:S,controls:E,reducer:j,resolvers:w,selectors:k});return g(g({},R),{},{STORE_NAME:y})}}).call(this,r(26))},58:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(37);function o(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 R})),r.d(t,"b",(function(){return P})),r.d(t,"c",(function(){return A})),r.d(t,"d",(function(){return C})),r.d(t,"e",(function(){return T})),r.d(t,"g",(function(){return L})),r.d(t,"f",(function(){return x}));var n,o=r(5),i=r.n(o),a=r(27),c=r.n(a),s=r(7),u=r.n(s),l=r(11),f=r.n(l),p=r(57),d=r.n(p),g=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)}),{}),o=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),i=_(o);return f()(0===i.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(i.join(", "),". Check your data stores for duplicates.")),n},O=y,h=y,S=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=[].concat(t);return"function"!=typeof o[0]&&(n=o.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.reduce((function(e,r){return r(e,t)}),e)}},E=y,j=y,w=y,k=function(e){return e},R=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=w.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:n,controls:h.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:O.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:S.apply(void 0,[n].concat(c()(t.map((function(e){return e.reducer||k}))))),resolvers:E.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:j.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},P={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},A=(n={},u()(n,"GET_REGISTRY",Object(v.a)((function(e){return function(){return e}}))),u()(n,"AWAIT",(function(e){return e.payload.value})),n),_=function(e){for(var t=[],r={},n=0;n<e.length;n++){var o=e[n];r[o]=r[o]>=1?r[o]+1:1,r[o]>1&&t.push(o)}return t},C={actions:P,controls:A,reducer:k},T=function(e){return function(t){return N(e(t))}},N=d()((function(e){return Object(g.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 L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.negate,n=void 0!==r&&r,o=Object(v.b)((function(t){return function(r){var o=!n,i=!!n;try{for(var a=arguments.length,c=new Array(a>1?a-1:0),s=1;s<a;s++)c[s-1]=arguments[s];return e.apply(void 0,[t,r].concat(c)),o}catch(e){return i}}})),i=Object(v.b)((function(t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];e.apply(void 0,[t,r].concat(o))}}));return{safeSelector:o,dangerousSelector:i}}function x(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 o})),r.d(t,"e",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"c",(function(){return c})),r.d(t,"H",(function(){return s})),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 p})),r.d(t,"J",(function(){return d})),r.d(t,"I",(function(){return g})),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 O})),r.d(t,"l",(function(){return h})),r.d(t,"m",(function(){return S})),r.d(t,"n",(function(){return E})),r.d(t,"o",(function(){return j})),r.d(t,"q",(function(){return w})),r.d(t,"s",(function(){return k})),r.d(t,"r",(function(){return R})),r.d(t,"t",(function(){return P})),r.d(t,"w",(function(){return A})),r.d(t,"u",(function(){return _})),r.d(t,"v",(function(){return C})),r.d(t,"x",(function(){return T})),r.d(t,"y",(function(){return N})),r.d(t,"A",(function(){return L})),r.d(t,"B",(function(){return x})),r.d(t,"C",(function(){return I})),r.d(t,"D",(function(){return D})),r.d(t,"k",(function(){return U})),r.d(t,"F",(function(){return M})),r.d(t,"z",(function(){return F})),r.d(t,"G",(function(){return B})),r.d(t,"E",(function(){return V})),r.d(t,"i",(function(){return G})),r.d(t,"p",(function(){return K})),r.d(t,"Q",(function(){return H})),r.d(t,"P",(function(){return W}));var n="core/user",o="connected_url_mismatch",i="__global",a="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",u="googlesitekit_setup",l="googlesitekit_view_dashboard",f="googlesitekit_manage_options",p="googlesitekit_read_shared_module_data",d="googlesitekit_manage_module_sharing_options",g="googlesitekit_delegate_module_sharing_management",v="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",m="kmAnalyticsEngagedTrafficSource",y="kmAnalyticsLeastEngagingPages",O="kmAnalyticsNewVisitors",h="kmAnalyticsPopularAuthors",S="kmAnalyticsPopularContent",E="kmAnalyticsPopularProducts",j="kmAnalyticsReturningVisitors",w="kmAnalyticsTopCities",k="kmAnalyticsTopCitiesDrivingLeads",R="kmAnalyticsTopCitiesDrivingAddToCart",P="kmAnalyticsTopCitiesDrivingPurchases",A="kmAnalyticsTopDeviceDrivingPurchases",_="kmAnalyticsTopConvertingTrafficSource",C="kmAnalyticsTopCountries",T="kmAnalyticsTopPagesDrivingLeads",N="kmAnalyticsTopRecentTrendingPages",L="kmAnalyticsTopTrafficSource",x="kmAnalyticsTopTrafficSourceDrivingAddToCart",I="kmAnalyticsTopTrafficSourceDrivingLeads",D="kmAnalyticsTopTrafficSourceDrivingPurchases",U="kmAnalyticsPagesPerVisit",M="kmAnalyticsVisitLength",F="kmAnalyticsTopReturningVisitorPages",B="kmSearchConsolePopularKeywords",V="kmAnalyticsVisitsPerVisitor",G="kmAnalyticsMostEngagingPages",K="kmAnalyticsTopCategories",H=[b,m,y,O,h,S,E,j,K,w,k,R,P,A,_,C,N,L,x,U,M,F,V,G,K],W=[].concat(H,[B])},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),o=r.n(n),i=r(33),a=r.n(i),c=r(111),s=r(11),u=r.n(s),l=r(94),f=r.n(l),p=r(8);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){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t){if(t&&Array.isArray(t)){var r=t.map((function(e){return"object"===a()(e)?Object(p.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(c.b)((function(t){return function(r,n){var o=t(e).getMetaDataForError(n);if(o){var i=o.baseName,a=o.args;if(!!t(e)[i])return{storeName:e,name:i,args:a}}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 i=n.baseName,a=n.args,c=n.error,s=v(i,a);return g(g({},e),{},{errors:g(g({},e.errors||{}),{},o()({},s,c)),errorArgs:g(g({},e.errorArgs||{}),{},o()({},s,a))});case"CLEAR_ERROR":var u=n.baseName,l=n.args,f=g({},e),p=v(u,l);return f.errors=g({},e.errors||{}),f.errorArgs=g({},e.errorArgs||{}),delete f.errors[p],delete f.errorArgs[p],f;case"CLEAR_ERRORS":var d=n.baseName,b=g({},e);if(d)for(var m in b.errors=g({},e.errors||{}),b.errorArgs=g({},e.errorArgs||{}),b.errors)(m===d||m.startsWith("".concat(d,"::")))&&(delete b.errors[m],delete b.errorArgs[m]);else b.errors={},b.errorArgs={};return b;default:return e}},resolvers:{},selectors:t}}},641:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return R}));var n=r(15),o=r.n(n),i=r(23),a=r.n(i),c=r(5),s=r.n(c),u=r(7),l=r.n(u),f=r(11),p=r.n(f),d=r(750),g=r.n(d),v=r(157),b=r(519),m=r(3),y=r(14),O=r(8),h=r(500);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 E(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){l()(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}function j(e){return Object(m.createRegistrySelector)((function(t){return function(){return(t(y.c).getSiteInfo()||{})[e]}}))}var w={siteInfo:void 0,permaLink:!1},k={receiveSiteInfo:function(e){return p()(e,"siteInfo is required."),{payload:{siteInfo:e},type:"RECEIVE_SITE_INFO"}},receivePermaLinkParam:function(e){return p()(e,"permaLink is required."),{payload:{permaLink:e},type:"RECEIVE_PERMALINK_PARAM"}},setSiteKitAutoUpdatesEnabled:function(e){return p()("boolean"==typeof e,"siteKitAutoUpdatesEnabled must be a boolean."),{payload:{siteKitAutoUpdatesEnabled:e},type:"SET_SITE_KIT_AUTO_UPDATES_ENABLED"}},setKeyMetricsSetupCompletedBy:function(e){return p()("number"==typeof e,"keyMetricsSetupCompletedBy must be a number."),{payload:{keyMetricsSetupCompletedBy:e},type:"SET_KEY_METRICS_SETUP_COMPLETED_BY"}},setSetupErrorCode:function(e){return p()("string"==typeof e||null===e,"setupErrorCode must be a string or null."),{payload:{setupErrorCode:e},type:"SET_SETUP_ERROR_CODE"}}},R={},P={getSiteInfo:s.a.mark((function t(){var r,n,o,i,a,c,u,l,f,p,d,g,v,b,O,h,S,E,j,w,R,P,A,_,C,T,N,L,x,I,D;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m.commonActions.getRegistry();case 2:if(!t.sent.select(y.c).getSiteInfo()){t.next=5;break}return t.abrupt("return");case 5:if(e._googlesitekitBaseData&&e._googlesitekitEntityData){t.next=8;break}return e.console.error("Could not load core/site info."),t.abrupt("return");case 8:return r=e._googlesitekitBaseData,n=r.adminURL,o=r.ampMode,i=r.homeURL,a=r.proxyPermissionsURL,c=r.proxySetupURL,u=r.referenceSiteURL,l=r.setupErrorCode,f=r.setupErrorMessage,p=r.setupErrorRedoURL,d=r.siteName,g=r.timezone,v=r.usingProxy,b=r.webStoriesActive,O=r.proxySupportLinkURL,h=r.widgetsAdminURL,S=r.postTypes,E=r.wpVersion,j=r.updateCoreURL,w=r.changePluginAutoUpdatesCapacity,R=r.siteKitAutoUpdatesEnabled,P=r.pluginBasename,A=r.productPostType,_=r.keyMetricsSetupCompletedBy,C=r.keyMetricsSetupNew,T=r.consentModeRegions,N=e._googlesitekitEntityData,L=N.currentEntityID,x=N.currentEntityTitle,I=N.currentEntityType,D=N.currentEntityURL,t.next=12,k.receiveSiteInfo({adminURL:n,ampMode:o,currentEntityID:L,currentEntityTitle:x,currentEntityType:I,currentEntityURL:D,homeURL:i,proxyPermissionsURL:a,proxySetupURL:c,referenceSiteURL:u,setupErrorCode:l,setupErrorMessage:f,setupErrorRedoURL:p,siteName:d,timezone:g,postTypes:S,usingProxy:!!v,webStoriesActive:b,proxySupportLinkURL:O,widgetsAdminURL:h,wpVersion:E,updateCoreURL:j,changePluginAutoUpdatesCapacity:w,siteKitAutoUpdatesEnabled:R,pluginBasename:P,productPostType:A,keyMetricsSetupCompletedBy:_,keyMetricsSetupNew:C,consentModeRegions:T});case 12:case"end":return t.stop()}}),t)}))},A={getSiteInfo:function(e){return e.siteInfo},getAdminURL:Object(m.createRegistrySelector)((function(e){return function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=e(y.c).getSiteInfo()||{},i=o.adminURL;if(void 0===i||void 0===r)return i;var c="/"===i[i.length-1]?i:"".concat(i,"/"),s=r,u="admin.php";if(-1!==r.indexOf(".php?")){var l=r.split("?");if(!(s=g.a.parse(l.pop()).page))return i;u=l.shift()}n.page;var f=a()(n,["page"]);return Object(v.a)("".concat(c).concat(u),E({page:s},f))}})),getAMPMode:j("ampMode"),getCurrentEntityID:j("currentEntityID"),getCurrentEntityTitle:j("currentEntityTitle"),getCurrentEntityType:j("currentEntityType"),getCurrentEntityURL:j("currentEntityURL"),getHomeURL:j("homeURL"),getReferenceSiteURL:j("referenceSiteURL"),getProxySetupURL:j("proxySetupURL"),getProxyPermissionsURL:j("proxyPermissionsURL"),getCurrentReferenceURL:Object(m.createRegistrySelector)((function(e){return function(){var t=e(y.c).getCurrentEntityURL();return null!==t?t:e(y.c).getReferenceSiteURL()}})),isAMP:Object(m.createRegistrySelector)((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return!!t}})),isPrimaryAMP:Object(m.createRegistrySelector)((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return t===y.a}})),isSecondaryAMP:Object(m.createRegistrySelector)((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return t===y.b}})),getTimezone:j("timezone"),isUsingProxy:j("usingProxy"),getSiteName:j("siteName"),getSetupErrorCode:j("setupErrorCode"),getSetupErrorMessage:j("setupErrorMessage"),getSetupErrorRedoURL:j("setupErrorRedoURL"),getProxySupportLinkURL:j("proxySupportLinkURL"),getWidgetsAdminURL:j("widgetsAdminURL"),getPostTypes:j("postTypes"),getPermaLinkParam:function(t){if(t.permaLink)return t.permaLink;var r=Object(b.a)(e.location.href,"permaLink");return r||!1},isWebStoriesActive:j("webStoriesActive"),isSiteURLMatch:Object(m.createRegistrySelector)((function(e){return function(t,r){var n=e(y.c).getReferenceSiteURL();return Object(O.B)(n)===Object(O.B)(r)}})),getSiteURLPermutations:Object(m.createRegistrySelector)((function(e){return function(){var t=e(y.c).getReferenceSiteURL(),r=[],n=new URL(t);return n.hostname=n.hostname.replace(/^www\./i,""),n.protocol="http",r.push(Object(O.L)(n)),n.protocol="https",r.push(Object(O.L)(n)),n.hostname="www."+n.hostname,r.push(Object(O.L)(n)),n.protocol="http",r.push(Object(O.L)(n)),r}})),getWPVersion:j("wpVersion"),getUpdateCoreURL:j("updateCoreURL"),hasChangePluginAutoUpdatesCapacity:j("changePluginAutoUpdatesCapacity"),getSiteKitAutoUpdatesEnabled:j("siteKitAutoUpdatesEnabled"),getPluginBasename:j("pluginBasename"),getKeyMetricsSetupCompletedBy:j("keyMetricsSetupCompletedBy"),getKeyMetricsSetupNew:j("keyMetricsSetupNew"),hasMinimumWordPressVersion:Object(m.createRegistrySelector)((function(e){return function(t,r){p()(r,"minimumWPVersion is required.");var n=e(y.c).getWPVersion()||{},i=n.major,a=n.minor;if(void 0!==i&&void 0!==a){var c=r.split(".").map((function(e){return parseInt(e,10)})),s=o()(c,2),u=s[0],l=s[1];return u<i||u===i&&(void 0===l?0:l)<=a}}})),getProductPostType:j("productPostType"),isKeyMetricsSetupCompleted:function(e){return Object(h.a)(Object(h.a)(A.getKeyMetricsSetupCompletedBy(e)))},getConsentModeRegions:j("consentModeRegions")};t.b={initialState:w,actions:k,controls:R,reducer:function(e,t){var r=t.payload;switch(t.type){case"RECEIVE_SITE_INFO":var n=r.siteInfo,o=n.adminURL,i=n.ampMode,a=n.currentEntityID,c=n.currentEntityTitle,s=n.currentEntityType,u=n.currentEntityURL,l=n.homeURL,f=n.proxyPermissionsURL,p=n.proxySetupURL,d=n.referenceSiteURL,g=n.setupErrorCode,v=n.setupErrorMessage,b=n.setupErrorRedoURL,m=n.siteName,y=n.timezone,O=n.usingProxy,h=n.webStoriesActive,S=n.proxySupportLinkURL,j=n.widgetsAdminURL,w=n.postTypes,k=n.wpVersion,R=n.updateCoreURL,P=n.changePluginAutoUpdatesCapacity,A=n.siteKitAutoUpdatesEnabled,_=n.pluginBasename,C=n.productPostType,T=n.keyMetricsSetupCompletedBy,N=n.keyMetricsSetupNew,L=n.consentModeRegions;return E(E({},e),{},{siteInfo:{adminURL:o,ampMode:i,currentEntityID:parseInt(a,10),currentEntityTitle:c,currentEntityType:s,currentEntityURL:u,homeURL:l,proxyPermissionsURL:f,proxySetupURL:p,referenceSiteURL:d,setupErrorCode:g,setupErrorMessage:v,setupErrorRedoURL:b,siteName:m,timezone:y,usingProxy:O,webStoriesActive:h,proxySupportLinkURL:S,widgetsAdminURL:j,postTypes:w,wpVersion:k,updateCoreURL:R,changePluginAutoUpdatesCapacity:P,siteKitAutoUpdatesEnabled:A,pluginBasename:_,productPostType:C,keyMetricsSetupCompletedBy:T,keyMetricsSetupNew:N,consentModeRegions:L}});case"RECEIVE_PERMALINK_PARAM":var x=r.permaLink;return E(E({},e),{},{permaLink:x});case"SET_SITE_KIT_AUTO_UPDATES_ENABLED":var I=r.siteKitAutoUpdatesEnabled;return E(E({},e),{},{siteInfo:E(E({},e.siteInfo),{},{siteKitAutoUpdatesEnabled:I})});case"SET_KEY_METRICS_SETUP_COMPLETED_BY":var D=r.keyMetricsSetupCompletedBy;return E(E({},e),{},{siteInfo:E(E({},e.siteInfo),{},{keyMetricsSetupCompletedBy:D})});case"SET_SETUP_ERROR_CODE":var U=r.setupErrorCode;return E(E({},e),{},{siteInfo:E(E({},e.siteInfo),{},{setupErrorCode:U})});default:return e}},resolvers:P,selectors:A}}).call(this,r(26))},72:function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return c}));var n=r(33),o=r.n(n),i=r(81),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,r="object"===o()(e)?e.toString():e;return null==r||null===(t=r.replace)||void 0===t?void 0:t.call(r,/\/+$/,"")}},78:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return o})),r.d(t,"c",(function(){return i}));var n=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},o=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function i(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},8:function(e,t,r){"use strict";r.d(t,"J",(function(){return o.b})),r.d(t,"K",(function(){return o.c})),r.d(t,"G",(function(){return i.a})),r.d(t,"L",(function(){return i.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 j})),r.d(t,"c",(function(){return w})),r.d(t,"e",(function(){return k})),r.d(t,"b",(function(){return R})),r.d(t,"a",(function(){return P})),r.d(t,"g",(function(){return A})),r.d(t,"f",(function(){return _})),r.d(t,"o",(function(){return C})),r.d(t,"x",(function(){return T})),r.d(t,"q",(function(){return N})),r.d(t,"H",(function(){return L})),r.d(t,"t",(function(){return x})),r.d(t,"w",(function(){return I})),r.d(t,"l",(function(){return D})),r.d(t,"p",(function(){return U.b})),r.d(t,"i",(function(){return U.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 F})),r.d(t,"v",(function(){return B})),r.d(t,"F",(function(){return K})),r.d(t,"E",(function(){return H.a})),r.d(t,"h",(function(){return W})),r.d(t,"M",(function(){return q})),r.d(t,"m",(function(){return z}));var n=r(13),o=r(36),i=r(72),a=r(33),c=r.n(a),s=r(94),u=r.n(s),l=function(e){return u()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var o=t[n];o&&"object"===c()(o)&&!Array.isArray(o)&&(o=e(o)),r[n]=o})),r}(e)))};r(97);var f=r(82);function p(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function d(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function g(e){return e.replace(/\n/gi,"<br>")}function v(e){for(var t=e,r=0,n=[p,d,g];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),O=r.n(y),h=r(11),S=r.n(h),E=r(2),j="Invalid dateString parameter, it must be a string.",w='Invalid date range, it must be a string with the format "last-x-days".',k=60,R=60*k,P=24*R,A=7*P,_=30*P;function C(){var e=function(e){return Object(E.sprintf)( /* translators: %s: number of days */ Object(E._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(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 N(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 L(e){S()(T(e),j);var t=e.split("-"),r=O()(t,3),n=r[0],o=r[1],i=r[2];return new Date(n,o-1,i)}function x(e,t){return N(D(e,t*P))}function I(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 D(e,t){S()(T(e)||Object(n.isDate)(e)&&!isNaN(e),j);var r=T(e)?Date.parse(e):e.getTime();return new Date(r-1e3*t)}var U=r(98),M=r(83);function F(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function B(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var V=r(27),G=r.n(V),K=function(e){return Array.isArray(e)?G()(e).sort():e},H=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 q=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},z=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 o}));var n=r(145),o=r.n(n)()(e)}).call(this,r(26))},82:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return j})),r.d(t,"d",(function(){return w})),r.d(t,"e",(function(){return R})),r.d(t,"c",(function(){return P})),r.d(t,"b",(function(){return A}));var n=r(15),o=r.n(n),i=r(33),a=r.n(i),c=r(7),s=r.n(c),u=r(23),l=r.n(u),f=r(13),p=r(57),d=r.n(p),g=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){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=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=h(e,t),n=r.formatUnit,o=r.formatDecimal;try{return n()}catch(e){return o()}},y=function(e){var t=O(e),r=t.hours,n=t.minutes,o=t.seconds;return o=("0"+o).slice(-2),n=("0"+n).slice(-2),"00"===(r=("0"+r).slice(-2))?"".concat(n,":").concat(o):"".concat(r,":").concat(n,":").concat(o)},O=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)}},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=O(e),n=r.hours,o=r.minutes,i=r.seconds;return{hours:n,minutes:o,seconds:i,formatUnit:function(){var r=t.unitDisplay,a=b(b({unitDisplay:void 0===r?"short":r},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?R(i,b(b({},a),{},{unit:"second"})):Object(g.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(g._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?R(i,b(b({},a),{},{unit:"second"})):"",o?R(o,b(b({},a),{},{unit:"minute"})):"",n?R(n,b(b({},a),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(g.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(g.__)("%ds","google-site-kit"),i);if(0===e)return t;var r=Object(g.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(g.__)("%dm","google-site-kit"),o),a=Object(g.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(g.__)("%dh","google-site-kit"),n);return Object(g.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(g._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?t:"",o?r:"",n?a:"").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},E=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(g.sprintf)(// translators: %s: an abbreviated number in millions. Object(g.__)("%sM","google-site-kit"),R(S(e),e%10==0?{}:t)):1e4<=e?Object(g.sprintf)(// translators: %s: an abbreviated number in thousands. Object(g.__)("%sK","google-site-kit"),R(S(e))):1e3<=e?Object(g.sprintf)(// translators: %s: an abbreviated number in thousands. Object(g.__)("%sK","google-site-kit"),R(S(e),e%10==0?{}:t)):R(e,{signDisplay:"never",maximumFractionDigits:1})};function j(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 w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(f.isFinite)(e)?e:Number(e),Object(f.isFinite)(e)||(console.warn("Invalid number",e,a()(e)),e=0);var r=j(t),n=r.style,o=void 0===n?"metric":n;return"metric"===o?E(e):"duration"===o?m(e,r):"durationISO"===o?y(e):R(e,r)}var k=d()(console.warn),R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?A():r,i=l()(t,["locale"]);try{return new Intl.NumberFormat(n,i).format(e)}catch(t){k("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(i)," ).format( ").concat(a()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],u={},f=0,p=Object.entries(i);f<p.length;f++){var d=o()(p[f],2),g=d[0],v=d[1];c[g]&&v===c[g]||(s.includes(g)||(u[g]=v))}try{return new Intl.NumberFormat(n,u).format(e)}catch(t){return new Intl.NumberFormat(n).format(e)}},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?A():r,o=t.style,i=void 0===o?"long":o,a=t.type,c=void 0===a?"conjunction":a;if(Intl.ListFormat){var s=new Intl.ListFormat(n,{style:i,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var u=Object(g.__)(", ","google-site-kit");return e.join(u)},A=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 o})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"d",(function(){return c}));var n=r(109);function o(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function a(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(n.a)(e))return e;if(e.length<=t)return e;var r=new URL(e),o=e.replace(r.origin,"");if(o.length<t)return o;var i=o.length-Math.floor(t)+1;return"…"+o.substr(i)}},86:function(e,t,r){"use strict";(function(e){var n=r(1),o=r.n(n),i=r(12),a=r.n(i);function ChangeArrow(t){var r=t.direction,n=t.invertColor,o=t.width,i=t.height;return e.createElement("svg",{className:a()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),width:o,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:o.a.string,invertColor:o.a.bool,width:o.a.number,height:o.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,r(4))},88:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(11),o=r.n(n),i=function(e,t){var r=t.dateRangeLength;o()(Array.isArray(e),"report must be an array to partition."),o()(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 o})),r.d(t,"q",(function(){return i})),r.d(t,"x",(function(){return a})),r.d(t,"m",(function(){return c})),r.d(t,"o",(function(){return s})),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 p})),r.d(t,"j",(function(){return d})),r.d(t,"k",(function(){return g})),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 O})),r.d(t,"s",(function(){return h})),r.d(t,"t",(function(){return S})),r.d(t,"e",(function(){return E})),r.d(t,"r",(function(){return j})),r.d(t,"c",(function(){return w})),r.d(t,"d",(function(){return k})),r.d(t,"b",(function(){return R}));var n="modules/analytics-4",o="account_create",i="property_create",a="webdatastream_create",c="analyticsSetup",s=10,u=1,l="https://www.googleapis.com/auth/tagmanager.readonly",f="enhanced-measurement-form",p="enhanced-measurement-enabled",d="enhanced-measurement-should-dismiss-activation-banner",g="analyticsAccountCreate",v="analyticsCustomDimensionsCreate",b="https://www.googleapis.com/auth/analytics.edit",m="dashboardAllTrafficWidgetDimensionName",y="dashboardAllTrafficWidgetDimensionColor",O="dashboardAllTrafficWidgetDimensionValue",h="dashboardAllTrafficWidgetActiveRowIndex",S="dashboardAllTrafficWidgetLoaded",E={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"}},j={"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"}}}}]}}]}}}}]}},w="audiencePermissionsSetup",k="audienceTileCustomDimensionCreate",R="audience-selection-panel-expirable-new-badge-"},920:function(e,t,r){"use strict";(function(e){var n,o=r(5),i=r.n(o),a=r(16),c=r.n(a),s=r(11),u=r.n(s),l=r(13),f=r(42),p=r.n(f),d=r(3),g=r(47),v=r(164),b=r(19),m=r(14),y=r(6),O=r(9),h=r(62),S=h.a.clearError,E=h.a.receiveError,j=d.commonActions.getRegistry,w=Object(v.a)((function(e,t){e.consentMode.settings=t})),k=Object(g.a)({baseName:"getConsentModeSettings",controlCallback:function(){return p.a.get("core","site","consent-mode",null,{useCache:!1})},reducerCallback:w}),R=Object(g.a)({baseName:"saveConsentModeSettings",controlCallback:function(e){var t=e.settings;return p.a.set("core","site","consent-mode",{settings:t})},reducerCallback:w,argsToParams:function(e){return{settings:e}},validateParams:function(e){var t=e.settings;u()(Object(l.isPlainObject)(t),"settings must be a plain object.")}}),P=Object(g.a)({baseName:"getConsentAPIInfo",controlCallback:function(){return p.a.get("core","site","consent-api-info",null,{useCache:!1})},reducerCallback:Object(v.a)((function(e,t){e.consentMode.apiInfo=t}))}),A=Object(g.a)({baseName:"installActivateWPConsentAPI",controlCallback:(n=c()(i.a.mark((function t(r){var n,o,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.nonce,(o=new FormData).append("action","install_activate_wp_consent_api"),o.append("_ajax_nonce",n),t.next=6,fetch(e.ajaxurl,{method:"POST",credentials:"same-origin",body:o});case 6:return a=t.sent,t.abrupt("return",a.json());case 8:case"end":return t.stop()}}),t)}))),function(e){return n.apply(this,arguments)}),argsToParams:function(e){return{nonce:e.nonce}},validateParams:function(e){var t=e.nonce;u()("string"==typeof t,"nonce must be a string.")}}),_=Object(g.a)({baseName:"activateConsentAPI",controlCallback:function(){return p.a.set("core","site","consent-api-activate",null,{useCache:!1})}}),C={consentMode:{settings:void 0,apiInfo:void 0,apiInstallResponse:void 0,isApiFetching:void 0}},T={saveConsentModeSettings:i.a.mark((function e(){var t,r,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j();case 2:return t=e.sent,r=t.select,n=r(m.c).getConsentModeSettings(),e.next=7,R.actions.fetchSaveConsentModeSettings(n);case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e)})),setConsentModeEnabled:function(e){return{type:"SET_CONSENT_MODE_ENABLED",payload:{enabled:e}}},installActivateWPConsentAPI:i.a.mark((function e(){var t,r,n,o,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j();case 2:return t=e.sent,e.next=5,S("installActivateWPConsentAPI",[]);case 5:return e.next=7,{type:"INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING",payload:!0};case 7:return e.next=9,d.commonActions.await(t.resolveSelect(y.a).getNonces());case 9:if(void 0!==(r=t.select(y.a).getNonce("updates"))){e.next=18;break}return n=t.select(y.a).getErrorForSelector("getNonces"),e.next=14,E(n,"installActivateWPConsentAPI",[]);case 14:return e.next=16,{type:"INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING",payload:!1};case 16:return t.dispatch(y.a).invalidateResolution("getNonces",[]),e.abrupt("return");case 18:return e.next=20,A.actions.fetchInstallActivateWPConsentAPI({nonce:r});case 20:return o=e.sent,a=o.response,e.next=24,{type:"INSTALL_ACTIVATE_WP_CONSENT_API_RESPONSE",payload:a};case 24:return e.next=26,{type:"INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING",payload:!1};case 26:return e.next=28,P.actions.fetchGetConsentAPIInfo();case 28:case"end":return e.stop()}}),e)})),activateConsentAPI: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,_.actions.fetchActivateConsentAPI();case 2:return t=e.sent,e.next=5,{type:"INSTALL_ACTIVATE_WP_CONSENT_API_RESPONSE",payload:t};case 5:return e.next=7,P.actions.fetchGetConsentAPIInfo();case 7:case"end":return e.stop()}}),e)}))},N=Object(v.a)((function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_CONSENT_MODE_ENABLED":e.consentMode.settings=e.consentMode.settings||{},e.consentMode.settings.enabled=!!n.enabled;break;case"INSTALL_ACTIVATE_WP_CONSENT_API_RESPONSE":e.consentMode.apiInstallResponse=n;break;case"INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING":e.consentMode.isApiFetching=n}})),L={getConsentModeSettings:function(e){return e.consentMode.settings},isConsentModeEnabled:Object(d.createRegistrySelector)((function(e){return function(){return(e(m.c).getConsentModeSettings()||{}).enabled}})),getConsentAPIInfo:function(e){return e.consentMode.apiInfo},getApiInstallResponse:function(e){return e.consentMode.apiInstallResponse},isApiFetching:function(e){return e.consentMode.isApiFetching},isAdsConnected:Object(d.createRegistrySelector)((function(e){return function(){var t=e(b.a).isModuleConnected;if(t("ads"))return!0;if(t("analytics-4")){var r=e(O.p),n=r.getAdsLinked,o=r.getGoogleTagContainerDestinationIDs,i=n(),a=o();if([i,a].includes(void 0))return;return!(!Array.isArray(a)||!a.some((function(e){return e.startsWith("AW-")})))||!!i}return!1}}))},x={getConsentModeSettings: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,j();case 2:if(t=e.sent,!(0,t.select)(m.c).getConsentModeSettings()){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,k.actions.fetchGetConsentModeSettings();case 8:case"end":return e.stop()}}),e)})),getConsentAPIInfo: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,j();case 2:if(t=e.sent,!(0,t.select)(m.c).getConsentAPIInfo()){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,P.actions.fetchGetConsentAPIInfo();case 8:case"end":return e.stop()}}),e)}))},I=Object(d.combineStores)(k,R,P,A,_,{initialState:C,actions:T,controls:{},reducer:N,resolvers:x,selectors:L});I.initialState,I.actions,I.controls,I.reducer,I.resolvers,I.selectors;t.a=I}).call(this,r(26))},921:function(e,t,r){"use strict";(function(e){var n,o=r(5),i=r.n(o),a=r(16),c=r.n(a),s=r(11),u=r.n(s),l=r(3),f=r(14),p=r(47),d=r(62),g=r(6),v=d.a.receiveError,b=d.a.clearError,m=Object(p.a)({baseName:"enableAutoUpdate",controlCallback:(n=c()(i.a.mark((function t(r){var n,o,a,c;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.nonce,o=r.pluginBasename,(a=new FormData).append("action","toggle-auto-updates"),a.append("_ajax_nonce",n),a.append("state","enable"),a.append("type","plugin"),a.append("asset",o),t.next=9,fetch(e.ajaxurl,{method:"POST",credentials:"same-origin",body:a});case 9:return c=t.sent,t.abrupt("return",c.json());case 11:case"end":return t.stop()}}),t)}))),function(e){return n.apply(this,arguments)}),argsToParams:function(e){return{nonce:e.nonce,pluginBasename:e.pluginBasename}},validateParams:function(e){var t=e.nonce,r=e.pluginBasename;u()("string"==typeof t,"nonce must be a string."),u()("string"==typeof r,"pluginBasename must be a string.")}}),y={enableAutoUpdate:i.a.mark((function e(){var t,r,n,o,a,c;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b("enableAutoUpdate",[]);case 2:return e.next=4,l.commonActions.getRegistry();case 4:return t=e.sent,e.next=7,l.commonActions.await(t.resolveSelect(g.a).getNonces());case 7:return e.next=9,l.commonActions.await(t.resolveSelect(f.c).getSiteInfo());case 9:return r=t.select(g.a).getNonce("updates"),n=t.select(f.c).getPluginBasename(),e.next=13,m.actions.fetchEnableAutoUpdate({nonce:r,pluginBasename:n});case 13:if(o=e.sent,a=o.response,c=o.error,(null==a?void 0:a.success)&&t.dispatch(f.c).setSiteKitAutoUpdatesEnabled(!0),!c){e.next=20;break}return e.next=20,v(c,"enableAutoUpdate",[]);case 20:case"end":return e.stop()}}),e)}))},O={isDoingEnableAutoUpdate:Object(l.createRegistrySelector)((function(e){return function(){var t=e(g.a).getNonce("updates"),r=e(f.c).getPluginBasename();return void 0!==t&&void 0!==r&&e(f.c).isFetchingEnableAutoUpdate({nonce:t,pluginBasename:r})}}))},h=Object(l.combineStores)(m,{initialState:{},actions:y,selectors:O});h.initialState,h.actions,h.controls,h.reducer,h.resolvers,h.selectors;t.a=h}).call(this,r(26))},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 i})),r.d(t,"a",(function(){return a}));var n=r(220),o=r(86),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=r.invertColor,a=void 0!==i&&i;return Object(n.a)(e.createElement(o.a,{direction:t>0?"up":"down",invertColor:a}))},a=function(e,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),o=r.n(n),i=r(13),a=r(100),c=r(101);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 u(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){o()(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 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,o=u(u({},l),t);o.referenceSiteURL&&(o.referenceSiteURL=o.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(a.a)(o,r),f=Object(c.a)(o,r,s,n),p={},d=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=JSON.stringify(t);p[n]||(p[n]=Object(i.once)(f)),p[n].apply(p,t)};return{enableTracking:function(){o.trackingEnabled=!0},disableTracking:function(){o.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!o.trackingEnabled},trackEvent:f,trackEventOnce:d}}}).call(this,r(26))}},[[1230,1,0]]]);
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка