(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[10],{100: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(243),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))},101:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return f}));var n=r(5),o=r.n(n),i=r(14),a=r(102),c=r(103);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;t1&&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;r0&&void 0!==arguments[0]?arguments[0]:{},t=e.url;g()(Object(de.a)(t),"a valid url is required to fetch HTML.")},controlCallback:(me=l()(p.a.mark((function e(t){var r,n,o,i,a;return p.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(ge.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 me.apply(this,arguments)}),reducerCallback:function(e,t,r){var n=r.url;return ye(ye({},e),{},{htmlForURL:ye(ye({},e.htmlForURL),{},s()({},n,t))})}}),he={resetHTMLForURL:p.a.mark((function e(t){var r,n;return p.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(a.c).invalidateResolutionForStoreSelector("getHTMLForURL"));case 7:case"end":return e.stop()}}),e)})),checkForSetupTag:p.a.mark((function e(){return p.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)}))},Se=s()({},"CHECK_FOR_SETUP_TAG",Object(o.createRegistryControl)((function(e){return l()(p.a.mark((function t(){var r,n,o,i,c,s,u,l;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=!1,t.prev=1,t.next=4,Object(h.set)("core","site","setup-tag");case 4:return c=t.sent,o=c.token,t.next=8,e.select(a.c).getHomeURL();case 8:return s=t.sent,t.next=11,e.dispatch(a.c).fetchGetHTMLForURL(s);case 11:u=t.sent,n=u.response,r=u.error,t.next=19;break;case 16:t.prev=16,t.t0=t.catch(1),r="check_fetch_failed";case 19:return r||(l=Object(be.a)(n,[/0&&void 0!==arguments[0]?arguments[0]:{},t=e.notificationID,r=e.notificationState;g()([rt,nt].includes(r),"notificationState must be accepted or dismissed."),g()(ot(t),"a valid notification ID is required to mark a notification.")}}),at={acceptNotification:Object(et.f)((function(e){g()(ot(e),"a valid notification ID is required to accept a notification.")}),p.a.mark((function e(t){var r,n,o;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,it.actions.fetchMarkNotification({notificationID:t,notificationState:rt});case 2:if(r=e.sent,n=r.response,!(o=r.error)){e.next=8;break}return e.next=8,tt.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(et.f)((function(e){g()(ot(e),"a valid notification ID is required to dismiss a notification.")}),p.a.mark((function e(t){var r,n,o;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,it.actions.fetchMarkNotification({notificationID:t,notificationState:nt});case 2:if(r=e.sent,n=r.response,!(o=r.error)){e.next=8;break}return e.next=8,tt.a.receiveError(o,"dismissNotification",[t]);case 8:return e.abrupt("return",{response:n,error:o});case 9:case"end":return e.stop()}}),e)})))},ct=Object(o.combineStores)(Object(Xe.a)("core","site","notifications",{storeName:a.c}),it,{actions:at}),st=Object(o.combineStores)(o.commonStore,C,_.a,K,Z,pe,ke,we.b,Ze,_e,Te.a,Ge,qe,ct,O,Object(tt.b)(a.c));st.initialState,st.actions,st.controls,st.reducer,st.resolvers,st.selectors;i.a.registerStore(a.c,st)},179:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(380);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},274:function(e,t,r){"use strict";(function(e){var n=r(57),o=r.n(n),i=r(275),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(28))},275:function(e,t,r){"use strict";var n=r(263);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}),3e3);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},37:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return h})),r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return O}));var n=r(101),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.154.0"},g=Object(n.a)(d),b=g.enableTracking,v=g.disableTracking,y=(g.isTrackingEnabled,g.initializeSnippet),m=g.trackEvent,O=g.trackEventOnce;function h(e){e?b():v()}c&&s&&y()}).call(this,r(28))},374:function(e,t,r){"use strict";r.d(t,"a",(function(){return g})),r.d(t,"b",(function(){return b}));var n=r(6),o=r.n(n),i=r(16),a=r.n(i),c=r(12),s=r.n(c),u=r(14),l=r(274),f=r(108),p=r(159),d=r(13),g=function(e,t){var r=t.find((function(t){return t.test(e)}));return!!r&&r.exec(e)[1]},b=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)}}())},38:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return f})),r.d(t,"d",(function(){return m})),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 j}));var n=r(6),o=r.n(n),i=r(16),a=r.n(i),c=(r(27),r(9));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);r2&&void 0!==b[2]?b[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,v();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,v();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,v();case 2:if(!(r=t.sent)){t.next=14;break}for(t.prev=4,n=[],i=0;i1?r-1:0),o=1;o3&&void 0!==arguments[3]?arguments[3]:{},c=i.client,p=void 0===c||c,g=i.server,b=void 0===g||g,v=i.storeName,y=void 0===v?void 0:v;s()(t,"type is required."),s()(r,"identifier is required."),s()(n,"datapoint is required.");var m=y||"".concat(t,"/").concat(r),O={serverNotifications:b?void 0:{},clientNotifications:p?void 0:{}},h=Object(f.a)({baseName:"getNotifications",controlCallback:function(){return Object(u.get)(t,r,n)},reducerCallback:Object(l.createReducer)((function(e,t){e.serverNotifications=t.reduce((function(e,t){return d(d({},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"}}},j={},E=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 d(d({},t),{},{clientNotifications:d(d({},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=d({},t.clientNotifications);return delete s[c],d(d({},t),{},{clientNotifications:s});default:return t}},k={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,l.commonActions.getRegistry();case 2:if(t=e.sent,t.select(m).getNotifications()){e.next=7;break}return e.next=7,h.actions.fetchGetNotifications();case 7:case"end":return e.stop()}}),e)}))};b||delete k.getNotifications;var w={getNotifications:function(e){var t=e.serverNotifications,r=e.clientNotifications;return void 0===t&&void 0===r?t:Object.values(d(d({},t||{}),r||{}))}},R=Object(l.combineStores)(h,{initialState:O,actions:S,controls:j,reducer:E,resolvers:k,selectors:w});return d(d({},R),{},{STORE_NAME:m})}}).call(this,r(28))},59: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(28))},60:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(40);function o(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},607:function(e,t,r){"use strict";function n(e){if(void 0!==e)return!e}r.d(t,"a",(function(){return n}))},61: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 _})),r.d(t,"e",(function(){return T})),r.d(t,"g",(function(){return N})),r.d(t,"f",(function(){return L}));var n,o=r(6),i=r.n(o),a=r(27),c=r.n(a),s=r(5),u=r.n(s),l=r(12),f=r.n(l),p=r(64),d=r.n(p),g=r(14),b=r(117);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 y(e){for(var t=1;t0&&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)}},j=m,E=m,k=m,w=function(e){return e},R=function(){for(var e=arguments.length,t=new Array(e),r=0;r=1?r[o]+1:1,r[o]>1&&t.push(o)}return t},_={actions:P,controls:A,reducer:w},T=function(e){return function(t){return x(e(t))}},x=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 N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.negate,n=void 0!==r&&r,o=Object(b.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;s1?n-1:0),i=1;i2&&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 y(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[b(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:v,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=b(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=b(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,v=g({},e);if(d)for(var y in v.errors=g({},e.errors||{}),v.errorArgs=g({},e.errorArgs||{}),v.errors)(y===d||y.startsWith("".concat(d,"::")))&&(delete v.errors[y],delete v.errorArgs[y]);else v.errors={},v.errorArgs={};return v;default:return e}},resolvers:{},selectors:t}}},658: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(25),a=r.n(i),c=r(6),s=r.n(c),u=r(5),l=r.n(u),f=r(12),p=r.n(f),d=r(781),g=r.n(d),b=r(159),v=r(414),y=r(3),m=r(13),O=r(9),h=r(607);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;t2&&void 0!==arguments[2]?arguments[2]:{},o=e(m.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(b.a)("".concat(c).concat(u),j({page:s},f))}})),getAMPMode:E("ampMode"),getCurrentEntityID:E("currentEntityID"),getCurrentEntityTitle:E("currentEntityTitle"),getCurrentEntityType:E("currentEntityType"),getCurrentEntityURL:E("currentEntityURL"),getHomeURL:E("homeURL"),getReferenceSiteURL:E("referenceSiteURL"),getProxySetupURL:E("proxySetupURL"),getProxyPermissionsURL:E("proxyPermissionsURL"),getCurrentReferenceURL:Object(y.createRegistrySelector)((function(e){return function(){var t=e(m.c).getCurrentEntityURL();return null!==t?t:e(m.c).getReferenceSiteURL()}})),isAMP:Object(y.createRegistrySelector)((function(e){return function(){var t=e(m.c).getAMPMode();if(void 0!==t)return!!t}})),isPrimaryAMP:Object(y.createRegistrySelector)((function(e){return function(){var t=e(m.c).getAMPMode();if(void 0!==t)return t===m.a}})),isSecondaryAMP:Object(y.createRegistrySelector)((function(e){return function(){var t=e(m.c).getAMPMode();if(void 0!==t)return t===m.b}})),getAdminSettingsURL:Object(y.createRegistrySelector)((function(e){return function(){var t=e(m.c).getAdminURL(),r=e(m.c).isMultisite();if(void 0!==t&&void 0!==r)return new URL(!0===r?"network/settings.php":"options-general.php",t).href}})),getTimezone:E("timezone"),isUsingProxy:E("usingProxy"),getSiteName:E("siteName"),getSiteLocale:Object(y.createRegistrySelector)((function(e){return function(){var t,r;return null===(t=e(m.c).getSiteInfo())||void 0===t||null===(r=t.siteLocale)||void 0===r?void 0:r.replace("_","-")}})),getSetupErrorCode:E("setupErrorCode"),getSetupErrorMessage:E("setupErrorMessage"),getSetupErrorRedoURL:E("setupErrorRedoURL"),getProxySupportLinkURL:E("proxySupportLinkURL"),getWidgetsAdminURL:E("widgetsAdminURL"),getPostTypes:E("postTypes"),getPermaLinkParam:function(t){if(t.permaLink)return t.permaLink;var r=Object(v.a)(e.location.href,"permaLink");return r||!1},isWebStoriesActive:E("webStoriesActive"),isSiteURLMatch:Object(y.createRegistrySelector)((function(e){return function(t,r){var n=e(m.c).getReferenceSiteURL();return Object(O.A)(n)===Object(O.A)(r)}})),getSiteURLPermutations:Object(y.createRegistrySelector)((function(e){return function(){var t=e(m.c).getReferenceSiteURL(),r=[],n=new URL(t);return n.hostname=n.hostname.replace(/^www\./i,""),n.protocol="http",r.push(Object(O.K)(n)),n.protocol="https",r.push(Object(O.K)(n)),n.hostname="www."+n.hostname,r.push(Object(O.K)(n)),n.protocol="http",r.push(Object(O.K)(n)),r}})),getWPVersion:E("wpVersion"),getUpdateCoreURL:E("updateCoreURL"),hasChangePluginAutoUpdatesCapacity:E("changePluginAutoUpdatesCapacity"),getSiteKitAutoUpdatesEnabled:E("siteKitAutoUpdatesEnabled"),getPluginBasename:E("pluginBasename"),getKeyMetricsSetupCompletedBy:E("keyMetricsSetupCompletedBy"),getKeyMetricsSetupNew:E("keyMetricsSetupNew"),hasMinimumWordPressVersion:Object(y.createRegistrySelector)((function(e){return function(t,r){p()(r,"minimumWPVersion is required.");var n=e(m.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 u1&&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,/\/+$/,"")}},81: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(108);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.length1&&void 0!==arguments[1]?arguments[1]:{},r=h(e,t),n=r.formatUnit,o=r.formatDecimal;try{return n()}catch(e){return o()}},m=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=v(v({unitDisplay:void 0===r?"short":r},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?R(i,v(v({},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,v(v({},a),{},{unit:"second"})):"",o?R(o,v(v({},a),{},{unit:"minute"})):"",n?R(n,v(v({},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},j=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 E(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=v({},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,a()(e)),e=0);var r=E(t),n=r.style,o=void 0===n?"metric":n;return"metric"===o?j(e):"duration"===o?y(e,r):"durationISO"===o?m(e):R(e,r)}var w=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){w("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(i)," ).format( ").concat(a()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],u={},f=0,p=Object.entries(i);f1&&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(28))},85:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return o}));var n=r(150),o=r.n(n)()(e)}).call(this,r(28))},86:function(e,t,r){"use strict";(function(e){var n=r(0),o=r.n(n),i=r(11),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))},9:function(e,t,r){"use strict";r.d(t,"I",(function(){return o.b})),r.d(t,"J",(function(){return o.c})),r.d(t,"F",(function(){return i.a})),r.d(t,"K",(function(){return i.b})),r.d(t,"H",(function(){return l})),r.d(t,"m",(function(){return f.a})),r.d(t,"B",(function(){return f.d})),r.d(t,"C",(function(){return f.e})),r.d(t,"y",(function(){return f.c})),r.d(t,"r",(function(){return f.b})),r.d(t,"z",(function(){return b})),r.d(t,"j",(function(){return v})),r.d(t,"i",(function(){return y})),r.d(t,"d",(function(){return E})),r.d(t,"c",(function(){return k})),r.d(t,"e",(function(){return w})),r.d(t,"b",(function(){return R})),r.d(t,"a",(function(){return P})),r.d(t,"f",(function(){return A})),r.d(t,"n",(function(){return C})),r.d(t,"w",(function(){return _})),r.d(t,"p",(function(){return T})),r.d(t,"G",(function(){return x})),r.d(t,"s",(function(){return N})),r.d(t,"v",(function(){return L})),r.d(t,"k",(function(){return I})),r.d(t,"o",(function(){return M.b})),r.d(t,"h",(function(){return M.a})),r.d(t,"t",(function(){return D.b})),r.d(t,"q",(function(){return D.a})),r.d(t,"A",(function(){return D.c})),r.d(t,"x",(function(){return U})),r.d(t,"u",(function(){return F})),r.d(t,"E",(function(){return V})),r.d(t,"D",(function(){return K.a})),r.d(t,"g",(function(){return H})),r.d(t,"L",(function(){return q})),r.d(t,"l",(function(){return W}));var n=r(14),o=r(37),i=r(75),a=r(35),c=r.n(a),s=r(98),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(99);var f=r(84);function p(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'$1')}function d(e){return"

".concat(e.replace(/\n{2,}/g,"

"),"

")}function g(e){return e.replace(/\n/gi,"
")}function b(e){for(var t=e,r=0,n=[p,d,g];r0&&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 T(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 x(e){S()(_(e),E);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 N(e,t){return T(I(e,t*P))}function L(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function I(e,t){S()(_(e)||Object(n.isDate)(e)&&!isNaN(e),E);var r=_(e)?Date.parse(e):e.getTime();return new Date(r-1e3*t)}var M=r(100),D=r(81);function U(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function F(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var B=r(27),G=r.n(B),V=function(e){return Array.isArray(e)?G()(e).sort():e},K=r(90);function H(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}},W=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)}},90:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(12),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)}}},962:function(e,t,r){"use strict";(function(e){var n,o=r(6),i=r.n(o),a=r(16),c=r.n(a),s=r(12),u=r.n(s),l=r(14),f=r(45),p=r(3),d=r(49),g=r(179),b=r(13),v=r(7),y=r(65),m=y.a.clearError,O=y.a.receiveError,h=p.commonActions.getRegistry,S=Object(g.a)((function(e,t){e.consentMode.settings=t})),j=Object(d.a)({baseName:"getConsentModeSettings",controlCallback:function(){return Object(f.get)("core","site","consent-mode",null,{useCache:!1})},reducerCallback:S}),E=Object(d.a)({baseName:"saveConsentModeSettings",controlCallback:function(e){var t=e.settings;return Object(f.set)("core","site","consent-mode",{settings:t})},reducerCallback:S,argsToParams:function(e){return{settings:e}},validateParams:function(e){var t=e.settings;u()(Object(l.isPlainObject)(t),"settings must be a plain object.")}}),k=Object(d.a)({baseName:"getConsentAPIInfo",controlCallback:function(){return Object(f.get)("core","site","consent-api-info",null,{useCache:!1})},reducerCallback:Object(g.a)((function(e,t){e.consentMode.apiInfo=t}))}),w=Object(d.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.")}}),R=Object(d.a)({baseName:"activateConsentAPI",controlCallback:function(){return Object(f.set)("core","site","consent-api-activate",null,{useCache:!1})}}),P=Object(d.a)({baseName:"getAdsMeasurementStatus",controlCallback:function(e){var t=e.useCache;return Object(f.get)("core","site","ads-measurement-status",null,{useCache:t})},reducerCallback:Object(g.a)((function(e,t,r){var n=r.useCache;e.consentMode.adsConnected=t.connected,n||(e.consentMode.adsConnectedUncached=t.connected)})),argsToParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.useCache;return{useCache:t}},validateParams:function(e){var t=e.useCache;u()("boolean"==typeof t,"useCache must be a boolean.")}}),A={consentMode:{settings:void 0,apiInfo:void 0,apiInstallResponse:void 0,isApiFetching:void 0,adsConnected:void 0,adsConnectedUncached:void 0}},C={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,h();case 2:return t=e.sent,r=t.select,n=r(b.c).getConsentModeSettings(),e.next=7,E.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,h();case 2:return t=e.sent,e.next=5,m("installActivateWPConsentAPI",[]);case 5:return e.next=7,{type:"INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING",payload:!0};case 7:return e.next=9,p.commonActions.await(t.resolveSelect(v.a).getNonces());case 9:if(void 0!==(r=t.select(v.a).getNonce("updates"))){e.next=18;break}return n=t.select(v.a).getErrorForSelector("getNonces"),e.next=14,O(n,"installActivateWPConsentAPI",[]);case 14:return e.next=16,{type:"INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING",payload:!1};case 16:return t.dispatch(v.a).invalidateResolution("getNonces",[]),e.abrupt("return");case 18:return e.next=20,w.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,k.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,R.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,k.actions.fetchGetConsentAPIInfo();case 7:case"end":return e.stop()}}),e)}))},_=Object(g.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}})),T={getConsentModeSettings:function(e){return e.consentMode.settings},isConsentModeEnabled:Object(p.createRegistrySelector)((function(e){return function(){return(e(b.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:function(e){return e.consentMode.adsConnected},isAdsConnectedUncached:function(e){return e.consentMode.adsConnectedUncached}},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,h();case 2:if(t=e.sent,!(0,t.select)(b.c).getConsentModeSettings()){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,j.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,h();case 2:if(t=e.sent,!(0,t.select)(b.c).getConsentAPIInfo()){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,k.actions.fetchGetConsentAPIInfo();case 8:case"end":return e.stop()}}),e)})),isAdsConnected: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,h();case 2:if(t=e.sent,void 0===(0,t.select)(b.c).isAdsConnected()){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,P.actions.fetchGetAdsMeasurementStatus({useCache:!0});case 8:case"end":return e.stop()}}),e)})),isAdsConnectedUncached: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,h();case 2:if(t=e.sent,void 0===(0,t.select)(b.c).isAdsConnectedUncached()){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,P.actions.fetchGetAdsMeasurementStatus({useCache:!1});case 8:case"end":return e.stop()}}),e)}))},N=Object(p.combineStores)(j,E,k,w,R,P,{initialState:A,actions:C,controls:{},reducer:_,resolvers:x,selectors:T});N.initialState,N.actions,N.controls,N.reducer,N.resolvers,N.selectors;t.a=N}).call(this,r(28))},963:function(e,t,r){"use strict";(function(e){var n,o=r(6),i=r.n(o),a=r(16),c=r.n(a),s=r(12),u=r.n(s),l=r(3),f=r(13),p=r(49),d=r(65),g=r(7),b=d.a.receiveError,v=d.a.clearError,y=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.")}}),m={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,v("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,y.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,b(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)(y,{initialState:{},actions:m,selectors:O});h.initialState,h.actions,h.controls,h.reducer,h.resolvers,h.selectors;t.a=h}).call(this,r(28))},99:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return l}));var n,o=r(54),i=r.n(o),a=r(55),c=r.n(a),s=function(t){var r=e[t];if(!r)return!1;try{var n="__storage_test__";return r.setItem(n,n),r.removeItem(n),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!==r.length}},u=function(){function NullStorage(){i()(this,NullStorage)}return c()(NullStorage,[{key:"key",value:function(){return null}},{key:"getItem",value:function(){return null}},{key:"setItem",value:function(){}},{key:"removeItem",value:function(){}},{key:"clear",value:function(){}},{key:"length",get:function(){return 0}}]),NullStorage}(),l=function(){return n||(n=s("sessionStorage")?e.sessionStorage:s("localStorage")?e.localStorage:new u),n}}).call(this,r(28))}},[[1304,1,0]]]);