uawdijnntqw1x1x1
IP : 18.116.27.149
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
.trash
/
host
/
..
/
tyblue.3
/
..
/
litespeed
/
js
/
d717d658d2819cb56ffbd9db1a0ec055.js
/
/
(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[19],{1:function(e,t){e.exports=googlesitekit.i18n},100:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(9),o=n.n(i),c=n(89),s=n(1),l=n(21),u=n(102);function SourceLink(t){var n=t.name,a=t.href,r=t.className,i=t.external;return Object(u.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",r)},Object(c.a)(Object(s.sprintf)(Object(s.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(l.a,{key:"link",href:a,external:i,inherit:!0})}))}SourceLink.propTypes={name:r.a.string,href:r.a.string,className:r.a.string,external:r.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(3))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return h}));var a=n(17),r=n.n(a),i=n(6),o=n.n(i),c=n(5),s=n.n(c),l=n(10),u=n.n(l),d=n(4),m=n.n(d),g=n(43),f=n(7),p=m.a.createRegistryControl,y=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},a={deleteSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:s.a.mark((function e(){var t,n,a,r,i,o,c=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,a=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(r=e.sent,i=r.cacheHit,o=r.value,!i){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!a){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",i);case 14:case"end":return e.stop()}}),e)})),createSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},i=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(g.a)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",p((function(t){return function(){return Object(g.d)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(g.b)("datastore::cache::".concat(e),f.b)})),t);return{initialState:n,actions:a,controls:i,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,a=t.type,i=t.payload;switch(a){case"SET_STATE_FROM_SNAPSHOT":var o=i.snapshot,c=(o.error,r()(o,["error"]));return c;default:return e}}}},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.a;return Promise.all(b(e).map((function(e){return e.getActions().createSnapshot()})))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.a;return Promise.all(b(e).map((function(e){return e.getActions().restoreSnapshot()})))}},102:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(23),r=n(19);function i(){var e=Object(r.a)();return e===a.i||e===a.m}},105:function(e,t,n){"use strict";n.d(t,"a",(function(){return a.a})),n.d(t,"b",(function(){return r.a})),n.d(t,"c",(function(){return i.a})),n.d(t,"e",(function(){return o.a})),n.d(t,"d",(function(){return c.a})),n.d(t,"f",(function(){return s.a})),n.d(t,"g",(function(){return l.a})),n.d(t,"k",(function(){return u.a})),n.d(t,"i",(function(){return d.a})),n.d(t,"l",(function(){return m.a})),n.d(t,"m",(function(){return g.a})),n.d(t,"n",(function(){return f.a})),n.d(t,"o",(function(){return p.c})),n.d(t,"h",(function(){return y.a})),n.d(t,"j",(function(){return b.a})),n.d(t,"p",(function(){return ZeroDataMessage}));var a=n(362),r=n(363),i=n(364),o=n(365),c=n(346),s=n(366),l=n(367),u=n(368),d=n(311),m=n(369),g=n(370),f=n(371),p=n(312),y=(n(313),n(372)),b=n(293),v=n(0),h=n.n(v),O=n(1),E=n(4),_=n.n(E),T=n(15),A=_.a.useSelect;function ZeroDataMessage(e){var t=e.skipPrefix,n=A((function(e){return e(T.c).getCurrentEntityURL()}));return t?n?Object(O.__)("Your page hasn’t received any visitors yet","google-site-kit"):Object(O.__)("Your site hasn’t received any visitors yet","google-site-kit"):n?Object(O.__)("No data to display: your page hasn’t received any visitors yet","google-site-kit"):Object(O.__)("No data to display: your site hasn’t received any visitors yet","google-site-kit")}ZeroDataMessage.propTypes={skipPrefix:h.a.bool}},109:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var a=n(16),r=n.n(a),i=n(6),o=n.n(i),c=n(17),s=n.n(c),l=n(0),u=n.n(l),d=n(9),m=n.n(d);function Cell(t){var n,a=t.className,i=t.alignTop,c=t.alignMiddle,l=t.alignBottom,u=t.alignRight,d=t.alignLeft,g=t.smAlignRight,f=t.mdAlignRight,p=t.lgAlignRight,y=t.smSize,b=t.smStart,v=t.smOrder,h=t.mdSize,O=t.mdStart,E=t.mdOrder,_=t.lgSize,T=t.lgStart,A=t.lgOrder,S=t.size,k=t.children,N=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",r()({},N,{className:m()(a,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":l,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":g,"mdc-layout-grid__cell--align-right-tablet":f,"mdc-layout-grid__cell--align-right-desktop":p},o()(n,"mdc-layout-grid__cell--span-".concat(S),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(_,"-desktop"),12>=_&&_>0),o()(n,"mdc-layout-grid__cell--start-".concat(T,"-desktop"),12>=T&&T>0),o()(n,"mdc-layout-grid__cell--order-".concat(A,"-desktop"),12>=A&&A>0),o()(n,"mdc-layout-grid__cell--span-".concat(h,"-tablet"),8>=h&&h>0),o()(n,"mdc-layout-grid__cell--start-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--order-".concat(E,"-tablet"),8>=E&&E>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-phone"),4>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--order-".concat(v,"-phone"),4>=v&&v>0),n))}),k)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(3))},11:function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"h",(function(){return i})),n.d(t,"g",(function(){return o})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"k",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return d})),n.d(t,"s",(function(){return m})),n.d(t,"r",(function(){return g})),n.d(t,"t",(function(){return f})),n.d(t,"p",(function(){return p})),n.d(t,"q",(function(){return y})),n.d(t,"n",(function(){return b})),n.d(t,"o",(function(){return v})),n.d(t,"l",(function(){return h})),n.d(t,"m",(function(){return O})),n.d(t,"j",(function(){return E})),n.d(t,"i",(function(){return _}));var a="modules/analytics",r="account_create",i="property_create",o="profile_create",c="analyticsAccountCreate",s="analyticsSetup",l="https://www.googleapis.com/auth/analytics.provision",u="https://www.googleapis.com/auth/analytics.edit",d=1,m="dashboardAllTrafficWidgetDimensionName",g="dashboardAllTrafficWidgetDimensionColor",f="dashboardAllTrafficWidgetDimensionValue",p="dashboardAllTrafficWidgetActiveRowIndex",y="dashboardAllTrafficWidgetLoaded",b="legacy",v="ua",h="ga4",O="ga4-transitional",E="ua",_="ga4"},110:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Row}));var a=n(16),r=n.n(a),i=n(17),o=n.n(i),c=n(0),s=n.n(c),l=n(9),u=n.n(l);function Row(t){var n=t.className,a=t.children,i=o()(t,["className","children"]);return e.createElement("div",r()({className:u()("mdc-layout-grid__inner",n)},i),a)}Row.propTypes={className:s.a.string,children:s.a.node},Row.defaultProps={className:""}}).call(this,n(3))},111:function(e,t,n){"use strict";(function(e){var a=n(16),r=n.n(a),i=n(17),o=n.n(i),c=n(0),s=n.n(c),l=n(9),u=n.n(l),d=n(2),m=Object(d.forwardRef)((function(t,n){var a=t.alignLeft,i=t.fill,c=t.className,s=t.children,l=o()(t,["alignLeft","fill","className","children"]);return e.createElement("div",r()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":a,"mdc-layout-grid--fill":i})},l,{ref:n}),s)}));m.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,children:s.a.node},m.defaultProps={className:""},t.a=m}).call(this,n(3))},1110:function(e,t,n){"use strict";n.r(t);var a=n(4),r=n.n(a),i=n(142),o=n.n(i),c=n(314),s=n.n(c),l=n(1),u=n(29),d=n(119),m=n(33),g=n(566),f=n(11),p=(n(537),n(693)),y=(n(538),n(539),n(540),n(541),n(340),n(694)),b=(n(542),n(695)),v=(n(543),n(544),n(545),n(625)),h=n(787),O=n(788),E=n(789),_=n(790),T=n(791),A=n(696),S=n(697),k=n(698),N=n(101),j=n(5),I=n.n(j),D=n(14),w=n.n(D),P=n(10),C=n.n(P),R=n(34),Z=n.n(R),M=n(38),G=n(40),x=n(160),L=n(63),U=n(74),F=n(92),B=n(22),W=n(27),H=r.a.createRegistrySelector;function z(e){return V.apply(this,arguments)}function V(){return(V=w()(I.a.mark((function e(t){var n,a,r,i;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.select,a=t.dispatch,n(G.b).haveSettingsChanged()){e.next=3;break}return e.abrupt("return",{});case 3:return e.next=5,a(G.b).submitChanges();case 5:if(r=e.sent,i=r.error,!Object(F.c)(i)){e.next=9;break}return e.abrupt("return",{error:i});case 9:return e.abrupt("return",{});case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function q(){return(q=w()(I.a.mark((function e(t){var n,a,r,i,o,c,s,l,u,d,m,g,p,y,b,v,h,O,E,_;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.select,a=t.dispatch,(r=n(f.f).getPropertyID())!==f.h){e.next=14;break}return i=n(f.f).getAccountID(),e.next=6,a(f.f).createProperty(i);case 6:if(o=e.sent,c=o.response,!(s=o.error)){e.next=11;break}return e.abrupt("return",{error:s});case 11:r=c.id,a(f.f).setPropertyID(c.id),a(f.f).setInternalWebPropertyID(c.internalWebPropertyId);case 14:if(n(f.f).getProfileID()!==f.g){e.next=26;break}return l=n(M.a).getValue(f.e,"profileName"),u=n(f.f).getAccountID(),e.next=20,a(f.f).createProfile(u,r,{profileName:l});case 20:if(d=e.sent,m=d.response,!(g=d.error)){e.next=25;break}return e.abrupt("return",{error:g});case 25:a(f.f).setProfileID(m.id);case 26:if(p=n(G.b).getPropertyID(),y=n(G.b).getWebDataStreamID(),p!==G.c&&y!==G.d){e.next=35;break}return e.next=31,z(t);case 31:if(b=e.sent,!(v=b.error)){e.next=35;break}return e.abrupt("return",{error:v});case 35:if(!n(f.f).haveSettingsChanged()){e.next=42;break}return e.next=38,a(f.f).saveSettings();case 38:if(h=e.sent,!(O=h.error)){e.next=42;break}return e.abrupt("return",{error:O});case 42:return e.next=44,Z.a.invalidateCache("modules","analytics");case 44:return e.next=46,z(t);case 46:if(E=e.sent,!(_=E.error)){e.next=50;break}return e.abrupt("return",{error:_});case 50:return e.abrupt("return",{});case 51:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var K=H((function(e){return function(){var t=e(f.f).getSettings();if(t){if(!e(B.a).isModuleConnected("tagmanager")||!e(W.g))return t.canUseSnippet;if(!e(W.g).getUseSnippet())return t.canUseSnippet;var n=e(W.g).getGAPropertyID();return Object(L.j)(n)?n!==t.propertyID:t.canUseSnippet}}})),Y=o.a.createModuleStore("analytics",{storeName:f.f,settingSlugs:["accountID","adsConversionID","anonymizeIP","canUseSnippet","internalWebPropertyID","ownerID","profileID","propertyID","trackingDisabled","useSnippet"],adminPage:Object(u.b)("unifiedDashboard")?void 0:"googlesitekit-module-analytics",submitChanges:function(e){return q.apply(this,arguments)},rollbackChanges:function(e){var t=e.select,n=e.dispatch;n(G.b).rollbackChanges(),n(M.a).setValues(f.e,{enableGA4:void 0}),t(f.f).haveSettingsChanged()&&n(f.f).rollbackSettings()},validateCanSubmitChanges:function(e){var t=Object(U.e)(e)(f.f),n=t.getAccountID,a=t.getAdsConversionID,r=t.getInternalWebPropertyID,i=t.getProfileID,o=t.getPropertyID,c=t.haveSettingsChanged,s=t.isDoingSubmitChanges;if(C()(!s(),x.a),C()(c()||e(G.b).haveSettingsChanged(),x.b),C()(Object(L.d)(n()),"a valid accountID is required to submit changes"),C()(Object(L.k)(o()),"a valid propertyID is required to submit changes"),C()(Object(L.i)(i()),"a valid profileID is required to submit changes"),a()&&C()(Object(L.f)(a()),"a valid adsConversionID is required to submit changes"),i()===f.g){var l=e(M.a).getValue(f.e,"profileName");C()(Object(L.h)(l),"a valid profile name is required to submit changes")}C()(!Object(L.j)(o())||Object(L.g)(r()),"cannot submit changes with incorrect internal webPropertyID"),e(f.f).canUseGA4Controls()&&e(G.b).__dangerousCanSubmitChanges()}});Y.selectors.getCanUseSnippet=K;var $=Y,J=n(6),X=n.n(J),Q=n(57),ee=n.n(Q),te=n(48),ne=n(54),ae=n(24),re=n.n(ae),ie=n(15);function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){X()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var se=ne.a.clearError,le=ne.a.receiveError,ue=r.a.createRegistrySelector,de=r.a.createRegistryControl,me=Object(te.a)({baseName:"getPropertiesProfiles",controlCallback:function(e){var t=e.accountID;return Z.a.get("modules","analytics","properties-profiles",{accountID:t},{useCache:!1})},reducerCallback:function(e,t,n){var a=n.accountID;return ce(ce({},e),{},{isAwaitingPropertiesProfilesCompletion:ce(ce({},e.isAwaitingPropertiesProfilesCompletion),{},X()({},a,!0))})},argsToParams:function(e){return{accountID:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID;C()(t,"accountID is required.")}}),ge=Object(te.a)({baseName:"createProperty",controlCallback:function(e){var t=e.accountID;return Z.a.set("modules","analytics","create-property",{accountID:t})},reducerCallback:function(e,t,n){var a=n.accountID;return ce(ce({},e),{},{properties:ce(ce({},e.properties),{},X()({},a,[].concat(re()(e.properties[a]||[]),[t])))})},argsToParams:function(e){return{accountID:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID;C()(t,"accountID is required.")}}),fe={properties:{},isAwaitingPropertiesProfilesCompletion:{},matchedProperty:void 0,primaryPropertyType:f.j},pe={createProperty:Object(U.f)((function(e){C()(e,"accountID is required.")}),I.a.mark((function e(t){var n,a,r;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ge.actions.fetchCreateProperty(t);case 2:return n=e.sent,a=n.response,r=n.error,e.abrupt("return",{response:a,error:r});case 6:case"end":return e.stop()}}),e)}))),receiveMatchedProperty:function(e){return C()(e,"matchedProperty is required."),{payload:{matchedProperty:e},type:"RECEIVE_MATCHED_PROPERTY"}},selectProperty:Object(U.f)((function(e){C()(Object(L.k)(e),"A valid propertyID selection is required.")}),I.a.mark((function e(t){var n,a,i,o,c,s,l,u=arguments;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=u.length>1&&void 0!==u[1]?u[1]:"",e.next=3,r.a.commonActions.getRegistry();case 3:if(i=e.sent,o=i.select(f.f).getAccountID(),Object(L.d)(o)){e.next=7;break}return e.abrupt("return");case 7:if(i.dispatch(f.f).setPropertyID(t),f.h!==t){e.next=11;break}return i.dispatch(f.f).setProfileID(f.g),e.abrupt("return");case 11:return e.next=13,pe.waitForProperties(o);case 13:return c=i.select(f.f).getPropertyByID(t)||{},a||(a=c.internalWebPropertyId),i.dispatch(f.f).setInternalWebPropertyID(a||""),s=i.select(f.f).getProfileID(),e.next=19,r.a.commonActions.await(i.__experimentalResolveSelect(f.f).getProfiles(o,t));case 19:if(l=e.sent,Array.isArray(l)){e.next=22;break}return e.abrupt("return");case 22:if(!s||!l.some((function(e){return e.id===s}))){e.next=24;break}return e.abrupt("return");case 24:if(!c.defaultProfileId||!l.some((function(e){return e.id===c.defaultProfileId}))){e.next=27;break}return i.dispatch(f.f).setProfileID(c.defaultProfileId),e.abrupt("return");case 27:i.dispatch(f.f).setProfileID((null===(n=l[0])||void 0===n?void 0:n.id)||f.g);case 28:case"end":return e.stop()}}),e)}))),findMatchedProperty:I.a.mark((function e(t){var n,a,i;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe.waitForProperties(t);case 2:return e.next=4,r.a.commonActions.getRegistry();case 4:return n=e.sent,a=n.select(ie.c).getSiteURLPermutations(),i=n.select(f.f).getProperties(t),e.abrupt("return",Object(L.m)(i,a));case 8:case"end":return e.stop()}}),e)})),receiveGetProperties:function(e,t){var n=t.accountID;return C()(Array.isArray(e),"properties must be an array."),C()(n,"accountID is required."),{payload:{properties:e,accountID:n},type:"RECEIVE_GET_PROPERTIES"}},receivePropertiesProfilesCompletion:function(e){return C()(e,"accountID is required."),{payload:{accountID:e},type:"RECEIVE_PROPERTIES_PROFILES_COMPLETION"}},waitForProperties:function(e){return{payload:{accountID:e},type:"WAIT_FOR_PROPERTIES"}},setPrimaryPropertyType:function(e){return C()([f.j,f.i].includes(e),'type must be "'.concat(f.j,'" or "').concat(f.i,'"')),{payload:{primaryPropertyType:e},type:"SET_PRIMARY_PROPERTY_TYPE"}}},ye=X()({},"WAIT_FOR_PROPERTIES",de((function(e){return function(t){var n=t.payload.accountID,a=function(){return void 0!==e.select(f.f).getProperties(n)};return!!a()||new Promise((function(t){var n=e.subscribe((function(){a()&&(n(),t())}))}))}}))),be={getProperties:I.a.mark((function e(t){var n,a,i,o,c,s,l,u;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Object(L.d)(t)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,r.a.commonActions.getRegistry();case 4:return n=e.sent,e.next=7,se("getProperties",[t]);case 7:if(void 0!==n.select(f.f).getProperties(t)){e.next=20;break}return e.next=11,me.actions.fetchGetPropertiesProfiles(t);case 11:if(a=e.sent,i=a.response,o=a.error,c=n.dispatch,i&&(c(f.f).receiveGetProperties(i.properties,{accountID:t}),(null===(s=i.profiles)||void 0===s||null===(l=s[0])||void 0===l?void 0:l.webPropertyId)&&(u=i.profiles[0].webPropertyId,c(f.f).receiveGetProfiles(i.profiles,{accountID:t,propertyID:u})),i.matchedProperty&&c(f.f).receiveMatchedProperty(i.matchedProperty),i.properties),c(f.f).receivePropertiesProfilesCompletion(t),!o){e.next=20;break}return e.next=20,le(o,"getProperties",[t]);case 20:case"end":return e.stop()}}),e)}))},ve={getPropertyByID:function(e,t){if(Object(L.j)(t)){var n=Object(L.n)(t).accountID;return(e.properties[n]||[]).find((function(e){return e.id===t}))}},getPrimaryPropertyType:function(e){return e.primaryPropertyType},getMatchedProperty:function(e){return e.matchedProperty},getProperties:function(e,t){return e.properties[t]},isDoingCreateProperty:ue((function(e){return function(t,n){return e(f.f).isFetchingCreateProperty(n)}})),isDoingGetProperties:ue((function(e){return function(t,n){return!(!n||!t.isAwaitingPropertiesProfilesCompletion[n])||e(f.f).isFetchingGetPropertiesProfiles(n)}})),getPropertiesIncludingGA4:ue((function(e){return function(t,n){var a=e(f.f).getProperties(n);if(void 0!==a){var r=e(G.b).getProperties(n);if(void 0!==r){a=a.concat(r);var i=function(e){return!!e._id},o=function(e,t){return e<t?-1:e>t?1:0};return a.sort((function(e,t){var n=i(e)?e.displayName:e.name,a=i(t)?t.displayName:t.name;if(n!==a)return o(n,a);var r=i(e)?e._id:e.id,c=i(t)?t._id:t.id;return o(r,c)}))}}}}))},he=r.a.combineStores(me,ge,{initialState:fe,actions:pe,controls:ye,reducer:function(e,t){var n=t.type,a=t.payload;switch(n){case"RECEIVE_MATCHED_PROPERTY":var r=a.matchedProperty;return ce(ce({},e),{},{matchedProperty:r});case"RECEIVE_GET_PROPERTIES":var i=a.properties,o=a.accountID;return ce(ce({},e),{},{properties:ce(ce({},e.properties),{},X()({},o,re()(i)))});case"RECEIVE_PROPERTIES_PROFILES_COMPLETION":var c=a.accountID;return ce(ce({},e),{},{isAwaitingPropertiesProfilesCompletion:ce(ce({},e.isAwaitingPropertiesProfilesCompletion),{},X()({},c,!1))});case"SET_PRIMARY_PROPERTY_TYPE":var s=a.primaryPropertyType;return ce(ce({},e),{},{primaryPropertyType:s});default:return e}},resolvers:be,selectors:ve}),Oe=(he.initialState,he.actions),Ee=(he.controls,he.reducer,he.resolvers,he.selectors,he);function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){X()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ae=r.a.createRegistrySelector,Se=ne.a.receiveError,ke=ne.a.clearError,Ne=ne.a.clearErrors,je=Object(te.a)({baseName:"getAccountsPropertiesProfiles",controlCallback:function(){return Z.a.get("modules","analytics","accounts-properties-profiles",null,{useCache:!1})},reducerCallback:function(e){return Te(Te({},e),{},{isAwaitingAccountsPropertiesProfilesCompletion:!0})}}),Ie=Object(te.a)({baseName:"createAccount",controlCallback:function(e){var t=e.data;return Z.a.set("modules","analytics","create-account-ticket",t)},reducerCallback:function(e,t){var n=t.id;return Te(Te({},e),{},{accountTicketID:n})},argsToParams:function(e){return{data:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.data;C()(ee()(t),"data must be an object.")}}),De={accounts:void 0,isAwaitingAccountsPropertiesProfilesCompletion:!1,accountTicketID:void 0,finishedSelectingAccount:void 0},we={receiveGetAccounts:function(e){return C()(Array.isArray(e),"accounts must be an array."),{payload:{accounts:e},type:"RECEIVE_GET_ACCOUNTS"}},receiveAccountsPropertiesProfilesCompletion:function(){return{payload:{},type:"RECEIVE_ACCOUNTS_PROPERTIES_PROFILES_COMPLETION"}},resetAccounts:I.a.mark((function e(){var t,n;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.a.commonActions.getRegistry();case 2:return t=e.sent,n=t.dispatch,e.next=6,{payload:{},type:"RESET_ACCOUNTS"};case 6:return e.abrupt("return",n(f.f).invalidateResolutionForStoreSelector("getAccounts"));case 7:case"end":return e.stop()}}),e)})),selectAccount:Object(U.f)((function(e){C()(Object(L.e)(e),"A valid accountID is required to select.")}),I.a.mark((function e(t){var n,a,i,o,c,s,l,u,d,m,g;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.a.commonActions.getRegistry();case 2:return i=e.sent,o={type:"FINISH_SELECTING_ACCOUNT",payload:{}},e.next=6,{type:"START_SELECTING_ACCOUNT",payload:{}};case 6:return e.next=8,Ne();case 8:if(i.dispatch(f.f).setSettings({accountID:t,internalWebPropertyID:"",propertyID:"",profileID:""}),f.a!==t){e.next=13;break}return e.next=12,o;case 12:return e.abrupt("return");case 13:return e.next=15,Oe.findMatchedProperty(t);case 15:if(c=e.sent,s=null===(n=c)||void 0===n?void 0:n.id,c||(l=i.select(f.f).getProperties(t),c={id:0===l.length?f.h:"",internalWebPropertyId:""}),!(null===(a=c)||void 0===a?void 0:a.id)){e.next=23;break}return e.next=21,Oe.selectProperty(null===(u=c)||void 0===u?void 0:u.id,null===(d=c)||void 0===d?void 0:d.internalWebPropertyId);case 21:e.next=25;break;case 23:i.dispatch(f.f).setPropertyID(""),i.dispatch(f.f).setProfileID("");case 25:if(i.select(f.f).canUseGA4Controls()){e.next=29;break}return e.next=28,o;case 28:return e.abrupt("return");case 29:return i.dispatch(f.f).setPrimaryPropertyType(f.j),m=i.dispatch(G.b).matchAndSelectProperty(t,G.c),e.next=33,r.a.commonActions.await(m);case 33:return g=e.sent,(null==g?void 0:g._id)&&!s&&i.dispatch(f.f).setPrimaryPropertyType(f.i),e.next=38,o;case 38:case"end":return e.stop()}}),e)}))),createAccount:I.a.mark((function e(){var t,n,a,i,o,c,s;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.a.commonActions.getRegistry();case 2:return t=e.sent,n=t.select(M.a),a=n.getValue,i={accountName:a(f.d,"accountName"),propertyName:a(f.d,"propertyName"),profileName:a(f.d,"profileName"),timezone:a(f.d,"timezone")},e.next=7,ke("createAccount",[]);case 7:return e.next=9,Ie.actions.fetchCreateAccount(i);case 9:if(o=e.sent,c=o.response,!(s=o.error)){e.next=15;break}return e.next=15,Se(s,"createAccount",[]);case 15:return e.abrupt("return",{response:c,error:s});case 16:case"end":return e.stop()}}),e)}))},Pe={getAccounts:I.a.mark((function e(){var t,n,a,i,o,c,s,l,u,d,m,g,p,y,b,v,h,O,E;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.a.commonActions.getRegistry();case 2:return n=e.sent,e.next=5,ke("getAccounts",[]);case 5:if(a=n.select(f.f).getAccounts(),i=n.select(f.f).getMatchedProperty(),void 0!==a){e.next=19;break}return e.next=10,je.actions.fetchGetAccountsPropertiesProfiles();case 10:if(o=e.sent,c=o.response,s=o.error,l=n.dispatch,c&&(l(f.f).receiveGetAccounts(c.accounts),(null===(u=c.properties)||void 0===u||null===(d=u[0])||void 0===d?void 0:d.accountId)&&(p=c.properties[0].accountId,l(f.f).receiveGetProperties(c.properties,{accountID:p})),(null===(m=c.profiles)||void 0===m||null===(g=m[0])||void 0===g?void 0:g.webPropertyId)&&(y=c.profiles[0].webPropertyId,b=c.profiles[0].accountId,l(f.f).receiveGetProfiles(c.profiles,{accountID:b,propertyID:y})),c.matchedProperty&&l(f.f).receiveMatchedProperty(c.matchedProperty),i=c.matchedProperty),!s){e.next=18;break}return e.next=18,Se(s,"getAccounts",[]);case 18:l(f.f).receiveAccountsPropertiesProfilesCompletion();case 19:if(v=n.select(f.f).getAccountID(),!i||v){e.next=25;break}return v=i.accountId,n.dispatch(f.f).setAccountID(i.accountId),e.next=25,Oe.selectProperty(i.id,i.internalWebPropertyId);case 25:if(!n.select(B.a).isModuleConnected("analytics")){e.next=28;break}return e.abrupt("return");case 28:if(i||v){e.next=38;break}return e.next=31,r.a.commonActions.await(n.dispatch(G.b).findMatchedProperty());case 31:if(!(null==(h=e.sent)?void 0:h._accountID)){e.next=38;break}return n.dispatch(f.f).setAccountID(null==h?void 0:h._accountID),n.dispatch(f.f).setPrimaryPropertyType(f.i),e.next=37,r.a.commonActions.await(n.dispatch(G.b).selectProperty(h._id));case 37:return e.abrupt("return");case 38:if((E=n.select(G.b).getPropertyID())!==G.c){e.next=41;break}return e.abrupt("return");case 41:if(!E){e.next=45;break}return e.next=44,r.a.commonActions.await(n.__experimentalResolveSelect(G.b).getProperty(E));case 44:O=e.sent;case 45:if(!v||(null===(t=O)||void 0===t?void 0:t._accountID)===v){e.next=48;break}return e.next=48,r.a.commonActions.await(n.dispatch(G.b).matchAndSelectProperty(v,G.c));case 48:case"end":return e.stop()}}),e)}))},Ce={getAccounts:function(e){return e.accounts},isDoingGetAccounts:function(e){return!!e.isAwaitingAccountsPropertiesProfilesCompletion||Object.values(e.isFetchingGetAccountsPropertiesProfiles).some(Boolean)},isDoingCreateAccount:function(e){return Object.values(e.isFetchingCreateAccount).some(Boolean)},getAccountTicketTermsOfServiceURL:Ae((function(e){return function(t){var n=t.accountTicketID,a=e(f.f).getServiceURL({path:"/termsofservice/".concat(n),query:{provisioningSignup:"false"}});if(void 0!==n&&a)return a}})),canSubmitAccountCreate:Ae((function(e){return function(){var t=e(M.a).getValue;return!!t(f.d,"accountName")&&(!!t(f.d,"propertyName")&&(!!t(f.d,"profileName")&&!!t(f.d,"timezone")))}})),hasFinishedSelectingAccount:function(e){return e.finishedSelectingAccount}},Re=r.a.combineStores(je,Ie,{initialState:De,actions:we,reducer:function(e,t){var n=t.type,a=t.payload;switch(n){case"START_SELECTING_ACCOUNT":return Te(Te({},e),{},{finishedSelectingAccount:!1});case"FINISH_SELECTING_ACCOUNT":return Te(Te({},e),{},{finishedSelectingAccount:!0});case"RECEIVE_GET_ACCOUNTS":var r=a.accounts;return Te(Te({},e),{},{accounts:r});case"RECEIVE_ACCOUNTS_PROPERTIES_PROFILES_COMPLETION":return Te(Te({},e),{},{isAwaitingAccountsPropertiesProfilesCompletion:!1});case"RESET_ACCOUNTS":return Te(Te({},e),{},{accounts:De.accounts,settings:Te(Te({},e.settings),{},{accountID:void 0,propertyID:void 0,internalWebPropertyID:void 0,profileID:void 0})});default:return e}},resolvers:Pe,selectors:Ce}),Ze=(Re.initialState,Re.actions,Re.controls,Re.reducer,Re.resolvers,Re.selectors,Re);function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(n),!0).forEach((function(t){X()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var xe=r.a.createRegistryControl,Le={adsenseLinked:void 0},Ue={setAdsenseLinked:function(e){return{payload:{adsenseLinked:!!e},type:"SET_ADSENSE_LINKED"}}},Fe=X()({},"__ADSENSE_LINKED_GET_SETTINGS",xe((function(e){return function(){return e.__experimentalResolveSelect(f.f).getSettings()}}))),Be={getAdsenseLinked:I.a.mark((function e(){var t,n,a;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.a.commonActions.getRegistry();case 2:if(t=e.sent,void 0===(0,t.select)(f.f).getAdsenseLinked()){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,{type:"__ADSENSE_LINKED_GET_SETTINGS"}||{};case 8:return n=e.sent,a=n.adsenseLinked,e.next=12,Ue.setAdsenseLinked(a);case 12:case"end":return e.stop()}}),e)}))},We={initialState:Le,actions:Ue,controls:Fe,reducer:function(e,t){var n=t.type,a=t.payload;switch(n){case"SET_ADSENSE_LINKED":var r=a.adsenseLinked;return Ge(Ge({},e),{},{adsenseLinked:r});default:return e}},resolvers:Be,selectors:{getAdsenseLinked:function(e){return e.adsenseLinked}}};function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?He(Object(n),!0).forEach((function(t){X()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):He(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ve=Object(te.a)({baseName:"getGoals",controlCallback:function(){return Z.a.get("modules","analytics","goals")},reducerCallback:function(e,t){return ze(ze({},e),{},{goals:t})}}),qe={goals:void 0},Ke={getGoals: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.a.commonActions.getRegistry();case 2:if(t=e.sent,!t.select(f.f).getGoals()){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,Ve.actions.fetchGetGoals();case 8:case"end":return e.stop()}}),e)}))},Ye=r.a.combineStores(Ve,{initialState:qe,resolvers:Ke,selectors:{getGoals:function(e){return e.goals}}}),$e=(Ye.initialState,Ye.actions,Ye.controls,Ye.reducer,Ye.resolvers,Ye.selectors,Ye),Je={selectors:{getSetupSuccessContent:function(){return{description:Object(l.__)("You’ll only see Universal Analytics data for now.","google-site-kit"),learnMore:{label:Object(l.__)("Learn more","google-site-kit"),url:"https://sitekit.withgoogle.com/documentation/using-site-kit/ga4/"}}}}};function Xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(n),!0).forEach((function(t){X()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var et=r.a.createRegistrySelector,tt=Object(te.a)({baseName:"getProfiles",controlCallback:function(e){var t=e.accountID,n=e.propertyID;return Z.a.get("modules","analytics","profiles",{accountID:t,propertyID:n},{useCache:!1})},reducerCallback:function(e,t,n){var a=n.accountID,r=n.propertyID;return Qe(Qe({},e),{},{profiles:Qe(Qe({},e.profiles),{},X()({},"".concat(a,"::").concat(r),re()(t)))})},argsToParams:function(e,t){return{accountID:e,propertyID:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID,n=e.propertyID;C()(Object(L.d)(t),"a valid account ID is required to fetch profiles for."),C()(Object(L.j)(n),"a valid property ID is required to fetch profiles for.")}}),nt=Object(te.a)({baseName:"createProfile",controlCallback:function(e){var t=e.accountID,n=e.propertyID,a=e.profileName;return Z.a.set("modules","analytics","create-profile",{accountID:t,propertyID:n,profileName:a})},reducerCallback:function(e,t,n){var a=n.accountID,r=n.propertyID;return Qe(Qe({},e),{},{profiles:Qe(Qe({},e.profiles),{},X()({},"".concat(a,"::").concat(r),[].concat(re()(e.profiles["".concat(a,"::").concat(r)]||[]),[t])))})},argsToParams:function(e,t,n){return{accountID:e,propertyID:t,profileName:n.profileName}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID,n=e.propertyID,a=e.profileName;C()(Object(L.d)(t),"a valid account ID is required to create a profiles."),C()(Object(L.j)(n),"a valid property ID is required to create a profile."),C()(Object(L.h)(a),"a valid name is required to create a profile.")}}),at={createProfile:Object(U.f)((function(e,t,n){var a=n.profileName;C()(Object(L.d)(e),"a valid account ID is required to create a profile."),C()(Object(L.j)(t),"a valid property ID is required to create a profile."),C()(Object(L.h)(a),"a valid name is required to create a profile.")}),I.a.mark((function e(t,n,a){var r,i,o,c;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.profileName,e.next=3,nt.actions.fetchCreateProfile(t,n,{profileName:r});case 3:return i=e.sent,o=i.response,c=i.error,e.abrupt("return",{response:o,error:c});case 7:case"end":return e.stop()}}),e)}))),findPropertyProfile:I.a.mark((function e(t,n){var a,i,o,c,s=arguments;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=s.length>2&&void 0!==s[2]?s[2]:"",e.next=3,r.a.commonActions.getRegistry();case 3:return i=e.sent,e.next=6,r.a.commonActions.await(i.__experimentalResolveSelect(f.f).getProfiles(t,n));case 6:if(o=e.sent,!a){e.next=11;break}if(!(c=o.find((function(e){return e.id===a})))){e.next=11;break}return e.abrupt("return",c);case 11:return e.abrupt("return",o[0]);case 12:case"end":return e.stop()}}),e)}))},rt={getProfiles:I.a.mark((function e(t,n){var a,i,o,c,s;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Object(L.d)(t)){e.next=2;break}return e.abrupt("return");case 2:if(Object(L.j)(n)){e.next=4;break}return e.abrupt("return");case 4:return e.next=6,r.a.commonActions.getRegistry();case 6:if(a=e.sent,i=a.select(f.f).getProfiles(t,n)){e.next=13;break}return e.next=11,tt.actions.fetchGetProfiles(t,n);case 11:o=e.sent,i=o.response;case 13:c=a.select(f.f).getProfileID(),i&&!c&&(s=i[0]||{id:f.g},a.dispatch(f.f).setProfileID(s.id));case 15:case"end":return e.stop()}}),e)}))},it={getProfiles:function(e,t,n){return e.profiles["".concat(t,"::").concat(n)]},isDoingCreateProfile:function(e){return Object.values(e.isFetchingCreateProfile).some(Boolean)},isDoingGetProfiles:et((function(e){return function(t,n,a){return e(f.f).isFetchingGetProfiles(n,a)}}))},ot=r.a.combineStores(tt,nt,{initialState:{profiles:{}},actions:at,resolvers:rt,selectors:it}),ct=(ot.initialState,ot.actions,ot.controls,ot.reducer,ot.resolvers,ot.selectors,ot),st=n(12),lt=n(7),ut=n(433),dt=n(17),mt=n.n(dt),gt=n(444),ft=n.n(gt),pt=n(69);function report_normalization_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function report_normalization_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?report_normalization_ownKeys(Object(n),!0).forEach((function(t){X()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):report_normalization_ownKeys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var yt=n.n(pt)()((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.metrics,n=e.dimensions,a=mt()(e,["metrics","dimensions"]);return report_normalization_objectSpread({metrics:report_normalization_normalizeMetrics(t),dimensions:report_normalization_normalizeDimensions(n)},a)})),report_normalization_normalizeMetrics=function(e){return ft()(e).map((function(e){return"string"==typeof e?{expression:e}:e})).filter((function(e){return ee()(e)}))},report_normalization_normalizeDimensions=function(e){return ft()(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return ee()(e)}))},bt=n(298),vt=n(31),ht=n.n(vt);function Ot(e){return Object(bt.c)(e,(function(e){var t=e.hasOwnProperty("expression")&&"string"==typeof e.expression,n=!e.hasOwnProperty("alias")||"string"==typeof e.alias;return t&&n}))}function Et(e){return Object(bt.c)(e,(function(e){return e.hasOwnProperty("name")&&"string"==typeof e.name}))}function _t(e){var t=["number","string"];return Object.keys(e).every((function(n){return t.includes(ht()(e[n]))&&"string"==typeof n||Array.isArray(e[n])&&Object.keys(e[n]).every((function(a){return t.includes(ht()(e[n][a]))&&t.includes(ht()(a))}))}))}function Tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function At(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(n),!0).forEach((function(t){X()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var St=r.a.createRegistrySelector,kt=Object(te.a)({baseName:"getReport",controlCallback:function(e){var t=e.options;return Z.a.get("modules","analytics","report",yt(t))},reducerCallback:function(e,t,n){var a=n.options;return At(At({},e),{},{reports:At(At({},e.reports),{},X()({},Object(lt.y)(a),t))})},argsToParams:function(e){return{options:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.options;C()(ee()(t),"Options for Analytics report must be an object."),C()(Object(bt.a)(t),"Either date range or start/end dates must be provided for Analytics report.");var n=yt(t),a=n.metrics,r=n.dimensions,i=n.dimensionFilters,o=n.orderby;C()(a.length,"Requests must specify at least one metric for an Analytics report."),C()(Ot(a),'Metrics for an Analytics report must be either a string, an array of strings, an object, an array of objects or a mix of strings and objects. If an object is used, it must have "expression" and "alias" properties.'),r&&C()(Et(r),'Dimensions for an Analytics report must be either a string, an array of strings, an object, an array of objects or a mix of strings and objects. If an object is used, it must have "name" property.'),i&&C()(_t(i),"Dimension filters must be a map of dimension names as keys and dimension values as values."),o&&C()(Object(bt.b)(o),'Orders for an Analytics report must be either an object or an array of objects where each object should have "fieldName" and "sortOrder" properties.')}}),Nt={getReport:I.a.mark((function e(){var t,n,a,i,o=arguments;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.length>0&&void 0!==o[0]?o[0]:{},e.next=3,r.a.commonActions.getRegistry();case 3:if(n=e.sent,!n.select(f.f).getReport(t)){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,kt.actions.fetchGetReport(t);case 9:if(a=e.sent,i=a.error,!yt(t).metrics.some((function(e){var t=e.expression;return/^ga:adsense/.test(t)}))){e.next=19;break}if(!Object(ut.a)(i,"ga:adsense")){e.next=17;break}return e.next=15,Ue.setAdsenseLinked(!1);case 15:e.next=19;break;case 17:return e.next=19,Ue.setAdsenseLinked(!0);case 19:case"end":return e.stop()}}),e)}))},jt={getReport:function(e,t){return e.reports[Object(lt.y)(t)]},getPageTitles:St((function(e){return function(t,n){var a,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.startDate,c=i.endDate;if(Array.isArray(n)){var s=[],u=5;(n||[]).forEach((function(e){var t=e.columnHeader,n=e.data;if(Array.isArray(null==t?void 0:t.dimensions)&&Array.isArray(null==n?void 0:n.rows)&&t.dimensions.includes("ga:pagePath")){var a=t.dimensions.indexOf("ga:pagePath");((null==n?void 0:n.rows)||[]).forEach((function(e){var t=e.dimensions;s.includes(t[a])||s.push(t[a])}))}}));var d={};if(!s.length)return d;var m={startDate:o,endDate:c,dimensions:["ga:pagePath","ga:pageTitle"],dimensionFilters:{"ga:pagePath":s.sort()},metrics:[{expression:"ga:pageviews",alias:"Pageviews"}],orderby:[{fieldName:"ga:pageviews",sortOrder:"DESCENDING"}],limit:u*s.length},g=e(f.f).getReport(m);if(void 0!==g)return((null==g||null===(a=g[0])||void 0===a||null===(r=a.data)||void 0===r?void 0:r.rows)||[]).forEach((function(e){var t=e.dimensions;d[t[0]]||(d[t[0]]=t[1])})),s.forEach((function(e){d[e]||(d[e]=Object(l.__)("(unknown)","google-site-kit"))})),d}}})),isGatheringData:St((function(e){return function(){var t,n,a,r,i,o=e(st.a).getDateRangeDates({offsetDays:f.b}),c={dimensions:["ga:date"],metrics:[{expression:"ga:users"}],startDate:o.startDate,endDate:o.endDate},s=e(ie.c).getCurrentEntityURL();s&&(c.url=s);var l=e(f.f).getReport(c);if(e(f.f).hasFinishedResolution("getReport",[c]))return!!Array.isArray(l)&&(!Array.isArray(null===(t=l[0])||void 0===t||null===(n=t.data)||void 0===n?void 0:n.rows)||0===(null===(a=l[0])||void 0===a||null===(r=a.data)||void 0===r||null===(i=r.rows)||void 0===i?void 0:i.length))}})),hasZeroData:St((function(e){return function(){var t=e(st.a).getDateRangeDates({offsetDays:f.b}),n={dimensions:["ga:date"],metrics:[{expression:"ga:users"}],startDate:t.startDate,endDate:t.endDate},a=e(ie.c).getCurrentEntityURL();a&&(n.url=a);var r=e(f.f).isGatheringData();if(void 0!==r){var i=e(f.f).getReport(n);if(e(f.f).hasFinishedResolution("getReport",[n])){if(!Array.isArray(i))return!1;var o=Object(L.l)(i);return!1!==r||!1!==o}}}}))},It=r.a.combineStores(kt,{initialState:{reports:{}},resolvers:Nt,selectors:jt}),Dt=(It.initialState,It.actions,It.controls,It.reducer,It.resolvers,It.selectors,It),wt=n(337),Pt=Object(wt.a)({storeName:f.f,tagMatchers:[/<script [^>]*src=['|"]https:\/\/www.googletagmanager.com\/gtag\/js\?id=(UA-.*?)['|"][^>]*><\/script>/,/<script[^>]*>[^<]+google-analytics\.com\/analytics\.js[^<]+(UA-\d+-\d+)/,/__gaTracker\( ?['|"]create['|"], ?['|"](UA-.*?)['|"], ?['|"]auto['|"] ?\)/,/ga\( ?['|"]create['|"], ?['|"](UA-.*?)['|"], ?['|"]auto['|"] ?\)/,/_gaq.push\( ?\[ ?['|"]_setAccount['|"], ?['|"](UA-.*?)['|"] ?] ?\)/,/<amp-analytics [^>]*type="gtag"[^>]*>[^<]*<script type="application\/json">[^<]*"gtag_id":\s*"(UA-[^"]+)"/,/<amp-analytics[^>]*type="googleanalytics"[^>]*>[^<]*<script type="application\/json">[^<]*"account":\s*"(UA-[^"]+)"/],isValidTag:L.j}),Ct=r.a.combineStores(Pt),Rt=(Ct.initialState,Ct.actions,Ct.controls,Ct.reducer,Ct.resolvers,Ct.selectors,Ct),Zt=n(483),Mt=n.n(Zt),Gt=n(310),xt=n(13),Lt=n.n(xt),Ut=encodeURIComponent("/"),Ft=Ut.replace("%","~"),Bt=function(e){return C()(ee()(e),"report args must be a plain object"),Object.entries(e).filter((function(e){return void 0!==Lt()(e,2)[1]})).map((function(e){var t=Lt()(e,2),n=t[0],a=t[1];return"".concat(n,"=").concat(function(e){return encodeURIComponent(e).replace(new RegExp(Ut,"g"),Ft)}(a))})).join("&")},Wt=n(484);function Ht(){var e=Mt()(["/report/","/a","w","p","/"]);return Ht=function(){return e},e}function zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(n),!0).forEach((function(t){X()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var qt,Kt=r.a.createRegistrySelector,Yt={getServiceURL:Kt((function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.path,r=n.query,i=e(st.a).getEmail();if(void 0!==i){var o="https:Object(a.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),l&&l.login&&(d=Object(a.sprintf)(Object(a.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),l.login)),d||(d=Object(a.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},15:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var a="core/site",r="primary",i="secondary"},155:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(10),r=n.n(a),i=n(41),o=function(e){var t=e.startDate,n=e.endDate,a=e.compareStartDate,o=e.compareEndDate;r()(Object(i.a)(t),"A valid startDate is required."),r()(Object(i.a)(n),"A valid endDate is required.");var c={"_u.date00":t.replace(/-/g,""),"_u.date01":n.replace(/-/g,"")};return(a||o)&&(r()(Object(i.a)(a)&&Object(i.a)(o),"Valid compareStartDate and compareEndDate values are required."),c["_u.date10"]=a.replace(/-/g,""),c["_u.date11"]=o.replace(/-/g,"")),c}},160:function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return I})),n.d(t,"c",(function(){return D})),n.d(t,"f",(function(){return w})),n.d(t,"e",(function(){return P})),n.d(t,"d",(function(){return C}));var a=n(14),r=n.n(a),i=n(5),o=n.n(i),c=n(6),s=n.n(c),l=n(10),u=n.n(l),d=n(57),m=n.n(d),g=n(161),f=n.n(g),p=n(34),y=n.n(p),b=n(4),v=n.n(b),h=n(74),O=n(76),E=n(48),_=n(54);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var S=v.a.createRegistrySelector,k=_.a.clearError,N=_.a.receiveError,j="cannot submit changes while submitting changes",I="cannot submit changes if settings have not changed",D=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=a.storeName,i=void 0===r?void 0:r,c=a.settingSlugs,l=void 0===c?[]:c;u()(e,"type is required."),u()(t,"identifier is required."),u()(n,"datapoint is required.");var d=i||"".concat(e,"/").concat(t),g={settings:void 0,savedSettings:void 0},p=Object(E.a)({baseName:"getSettings",controlCallback:function(){return y.a.get(e,t,n,{},{useCache:!1})},reducerCallback:function(e,t){return A(A({},e),{},{savedSettings:A({},t),settings:A(A({},t),e.settings||{})})}}),b=Object(E.a)({baseName:"saveSettings",controlCallback:function(a){var r=a.values;return y.a.set(e,t,n,r)},reducerCallback:function(e,t){return A(A({},e),{},{savedSettings:A({},t),settings:A({},t)})},argsToParams:function(e){return{values:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.values;u()(m()(t),"values is required.")}}),h={},_={setSettings:function(e){return u()(m()(e),"values is required."),{payload:{values:e},type:"SET_SETTINGS"}},rollbackSettings:function(){return{payload:{},type:"ROLLBACK_SETTINGS"}},saveSettings:o.a.mark((function e(){var t,n,a,r,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.a.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,k("saveSettings",[]);case 5:return n=t.select(d).getSettings(),e.next=8,b.actions.fetchSaveSettings(n);case 8:if(a=e.sent,r=a.response,!(i=a.error)){e.next=14;break}return e.next=14,N(i,"saveSettings",[]);case 14:return e.abrupt("return",{response:r,error:i});case 15:case"end":return e.stop()}}),e)}))},T={},j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,t=arguments.length>1?arguments[1]:void 0,n=t.type,a=t.payload;switch(n){case"SET_SETTINGS":var r=a.values;return A(A({},e),{},{settings:A(A({},e.settings||{}),r)});case"ROLLBACK_SETTINGS":return A(A({},e),{},{settings:e.savedSettings});default:return void 0!==h[n]?h[n](e,{type:n,payload:a}):e}},I={getSettings: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,v.a.commonActions.getRegistry();case 2:if(t=e.sent,t.select(d).getSettings()){e.next=7;break}return e.next=7,p.actions.fetchGetSettings();case 7:case"end":return e.stop()}}),e)}))},D={getSettings:function(e){return e.settings},haveSettingsChanged:function(e){var t=e.settings,n=e.savedSettings;return!f()(t,n)},hasSettingChanged:function(e,t){u()(t,"setting is required.");var n=e.settings,a=e.savedSettings;return!(!n||!a)&&!f()(n[t],a[t])},isDoingSaveSettings:function(e){return Object.values(e.isFetchingSaveSettings).some(Boolean)}};l.forEach((function(e){var t=Object(O.b)(e),n=Object(O.a)(e);_["set".concat(t)]=function(e){return u()(void 0!==e,"value is required for calls to set".concat(t,"().")),{payload:{value:e},type:"SET_".concat(n)}},h["SET_".concat(n)]=function(t,n){var a=n.payload.value;return A(A({},t),{},{settings:A(A({},t.settings||{}),{},s()({},e,a))})},D["get".concat(t)]=S((function(t){return function(){return(t(d).getSettings()||{})[e]}}))}));var w=v.a.combineStores(v.a.commonStore,p,b,{initialState:g,actions:_,controls:T,reducer:j,resolvers:I,selectors:D});return A(A({},w),{},{STORE_NAME:d})};function w(e,t){return function(){var n=r()(o.a.mark((function n(a){var r,i,c,s;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=a.select,i=a.dispatch,!r(t).haveSettingsChanged()){n.next=8;break}return n.next=4,i(t).saveSettings();case 4:if(c=n.sent,!(s=c.error)){n.next=8;break}return n.abrupt("return",{error:s});case 8:return n.next=10,y.a.invalidateCache("modules",e);case 10:return n.abrupt("return",{});case 11:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}function P(e){return function(t){var n=t.select,a=t.dispatch;return n(e).haveSettingsChanged()?a(e).rollbackSettings():{}}}function C(e){return function(t){var n=Object(h.e)(t)(e),a=n.haveSettingsChanged,r=n.isDoingSubmitChanges;u()(!r(),j),u()(a(),I)}}},18:function(e,t,n){"use strict";(function(e){var a=n(16),r=n.n(a),i=n(17),o=n.n(i),c=n(9),s=n.n(c),l=n(0),u=n.n(l),d=n(129),m=n(264),g=n(2),f=n(1),p=n(8),y=Object(g.forwardRef)((function(t,n){var a=t.children,i=t.href,c=t.text,l=t.className,u=t.danger,y=t.disabled,b=t.target,v=t.icon,h=t.trailingIcon,O=t["aria-label"],E=t.title,_=t.tooltip,T=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","tooltip"]),A=Object(g.useCallback)((function(e){null!==e&&p.l.attachTo(e)}),[]),S=Object(d.a)(n,A),k=i&&!y?"a":"button",N=e.createElement(k,r()({className:s()("mdc-button",l,{"mdc-button--raised":!c,"mdc-button--danger":u}),href:y?void 0:i,ref:S,disabled:!!y,"aria-label":function(){var e=O;if("_blank"!==b)return e;var t=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof a&&(e=e||a),e?"".concat(e," ").concat(t):t}(),target:b||"_self",role:"a"===k?"button":void 0},T),v,a&&e.createElement("span",{className:"mdc-button__label"},a),h);return _&&(E||O)||v&&(E||O)&&void 0===a?e.createElement(m.a,{title:E||O,classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},N):N}));y.displayName="Button",y.propTypes={onClick:u.a.func,children:u.a.node,href:u.a.string,text:u.a.bool,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,icon:u.a.element,trailingIcon:u.a.element,title:u.a.string,tooltip:u.a.bool},y.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null,tooltip:!1},t.a=y}).call(this,n(3))},19:function(e,t,n){"use strict";var a=n(2),r=n(68);t.a=function(){return Object(a.useContext)(r.b)}},195:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var a=n(26),r=[{countryCode:"AF",displayName:"Afghanistan",defaultTimeZoneId:"Asia/Kabul",timeZone:[{timeZoneId:"Asia/Kabul",displayName:"(GMT+04:30) Afghanistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AL",displayName:"Albania",defaultTimeZoneId:"Europe/Tirane",timeZone:[{timeZoneId:"Europe/Tirane",displayName:"(GMT+02:00) Albania Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"DZ",displayName:"Algeria",defaultTimeZoneId:"Africa/Algiers",timeZone:[{timeZoneId:"Africa/Algiers",displayName:"(GMT+01:00) Algeria Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AS",displayName:"American Samoa",defaultTimeZoneId:"Pacific/Pago_Pago",timeZone:[{timeZoneId:"Pacific/Pago_Pago",displayName:"(GMT-11:00) American Samoa Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AD",displayName:"Andorra",defaultTimeZoneId:"Europe/Andorra",timeZone:[{timeZoneId:"Europe/Andorra",displayName:"(GMT+02:00) Andorra Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AQ",displayName:"Antarctica",defaultTimeZoneId:"Antarctica/Palmer",timeZone:[{timeZoneId:"Antarctica/Palmer",displayName:"(GMT-03:00) Palmer Time"},{timeZoneId:"Antarctica/Rothera",displayName:"(GMT-03:00) Rothera Time"},{timeZoneId:"Antarctica/Syowa",displayName:"(GMT+03:00) Syowa Time"},{timeZoneId:"Antarctica/Mawson",displayName:"(GMT+05:00) Mawson Time"},{timeZoneId:"Antarctica/Vostok",displayName:"(GMT+06:00) Vostok Time"},{timeZoneId:"Antarctica/Davis",displayName:"(GMT+07:00) Davis Time"},{timeZoneId:"Antarctica/Casey",displayName:"(GMT+08:00) Casey Time"},{timeZoneId:"Antarctica/DumontDUrville",displayName:"(GMT+10:00) Dumont d’Urville Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AR",displayName:"Argentina",defaultTimeZoneId:"America/Buenos_Aires",timeZone:[{timeZoneId:"America/Buenos_Aires",displayName:"(GMT-03:00) Buenos Aires Time"},{timeZoneId:"America/Cordoba",displayName:"(GMT-03:00) Cordoba Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"AM",displayName:"Armenia",defaultTimeZoneId:"Asia/Yerevan",timeZone:[{timeZoneId:"Asia/Yerevan",displayName:"(GMT+04:00) Armenia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AU",displayName:"Australia",defaultTimeZoneId:"Australia/Perth",timeZone:[{timeZoneId:"Australia/Perth",displayName:"(GMT+08:00) Perth Time"},{timeZoneId:"Australia/Adelaide",displayName:"(GMT+09:30) Adelaide Time"},{timeZoneId:"Australia/Darwin",displayName:"(GMT+09:30) Darwin Time"},{timeZoneId:"Australia/Brisbane",displayName:"(GMT+10:00) Brisbane Time"},{timeZoneId:"Australia/Hobart",displayName:"(GMT+10:00) Hobart Time"},{timeZoneId:"Australia/Melbourne",displayName:"(GMT+10:00) Melbourne Time"},{timeZoneId:"Australia/Sydney",displayName:"(GMT+10:00) Sydney Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AT",displayName:"Austria",defaultTimeZoneId:"Europe/Vienna",timeZone:[{timeZoneId:"Europe/Vienna",displayName:"(GMT+02:00) Austria Time"}],tosLocale:{language:"de",country:"DE"}},{countryCode:"AZ",displayName:"Azerbaijan",defaultTimeZoneId:"Asia/Baku",timeZone:[{timeZoneId:"Asia/Baku",displayName:"(GMT+04:00) Azerbaijan Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BS",displayName:"Bahamas",defaultTimeZoneId:"America/Nassau",timeZone:[{timeZoneId:"America/Nassau",displayName:"(GMT-04:00) Bahamas Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BD",displayName:"Bangladesh",defaultTimeZoneId:"Asia/Dhaka",timeZone:[{timeZoneId:"Asia/Dhaka",displayName:"(GMT+06:00) Bangladesh Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BB",displayName:"Barbados",defaultTimeZoneId:"America/Barbados",timeZone:[{timeZoneId:"America/Barbados",displayName:"(GMT-04:00) Barbados Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BY",displayName:"Belarus",defaultTimeZoneId:"Europe/Minsk",timeZone:[{timeZoneId:"Europe/Minsk",displayName:"(GMT+03:00) Belarus Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BE",displayName:"Belgium",defaultTimeZoneId:"Europe/Brussels",timeZone:[{timeZoneId:"Europe/Brussels",displayName:"(GMT+02:00) Belgium Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"BZ",displayName:"Belize",defaultTimeZoneId:"America/Belize",timeZone:[{timeZoneId:"America/Belize",displayName:"(GMT-06:00) Belize Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"BM",displayName:"Bermuda",defaultTimeZoneId:"Atlantic/Bermuda",timeZone:[{timeZoneId:"Atlantic/Bermuda",displayName:"(GMT-03:00) Bermuda Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BT",displayName:"Bhutan",defaultTimeZoneId:"Asia/Thimphu",timeZone:[{timeZoneId:"Asia/Thimphu",displayName:"(GMT+06:00) Bhutan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BO",displayName:"Bolivia",defaultTimeZoneId:"America/La_Paz",timeZone:[{timeZoneId:"America/La_Paz",displayName:"(GMT-04:00) Bolivia Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"BA",displayName:"Bosnia & Herzegovina",defaultTimeZoneId:"Europe/Sarajevo",timeZone:[{timeZoneId:"Europe/Sarajevo",displayName:"(GMT+02:00) Bosnia & Herzegovina Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BR",displayName:"Brazil",defaultTimeZoneId:"America/Rio_Branco",timeZone:[{timeZoneId:"America/Rio_Branco",displayName:"(GMT-05:00) Rio Branco Time"},{timeZoneId:"America/Boa_Vista",displayName:"(GMT-04:00) Boa Vista Time"},{timeZoneId:"America/Campo_Grande",displayName:"(GMT-04:00) Campo Grande Time"},{timeZoneId:"America/Cuiaba",displayName:"(GMT-04:00) Cuiaba Time"},{timeZoneId:"America/Manaus",displayName:"(GMT-04:00) Manaus Time"},{timeZoneId:"America/Porto_Velho",displayName:"(GMT-04:00) Porto Velho Time"},{timeZoneId:"America/Araguaina",displayName:"(GMT-03:00) Araguaina Time"},{timeZoneId:"America/Bahia",displayName:"(GMT-03:00) Bahia Time"},{timeZoneId:"America/Belem",displayName:"(GMT-03:00) Belem Time"},{timeZoneId:"America/Fortaleza",displayName:"(GMT-03:00) Fortaleza Time"},{timeZoneId:"America/Maceio",displayName:"(GMT-03:00) Maceio Time"},{timeZoneId:"America/Recife",displayName:"(GMT-03:00) Recife Time"},{timeZoneId:"America/Sao_Paulo",displayName:"(GMT-03:00) Sao Paulo Time"},{timeZoneId:"America/Noronha",displayName:"(GMT-02:00) Noronha Time"}],tosLocale:{language:"pt",country:"BR"}},{countryCode:"IO",displayName:"British Indian Ocean Territory",defaultTimeZoneId:"Indian/Chagos",timeZone:[{timeZoneId:"Indian/Chagos",displayName:"(GMT+06:00) British Indian Ocean Territory Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BN",displayName:"Brunei",defaultTimeZoneId:"Asia/Brunei",timeZone:[{timeZoneId:"Asia/Brunei",displayName:"(GMT+08:00) Brunei Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BG",displayName:"Bulgaria",defaultTimeZoneId:"Europe/Sofia",timeZone:[{timeZoneId:"Europe/Sofia",displayName:"(GMT+03:00) Bulgaria Time"}],tosLocale:{language:"bg",country:"BG"}},{countryCode:"CA",displayName:"Canada",defaultTimeZoneId:"America/Dawson",timeZone:[{timeZoneId:"America/Dawson",displayName:"(GMT-07:00) Dawson Time"},{timeZoneId:"America/Vancouver",displayName:"(GMT-07:00) Vancouver Time"},{timeZoneId:"America/Whitehorse",displayName:"(GMT-07:00) Whitehorse Time"},{timeZoneId:"America/Edmonton",displayName:"(GMT-06:00) Edmonton Time"},{timeZoneId:"America/Yellowknife",displayName:"(GMT-06:00) Yellowknife Time"},{timeZoneId:"America/Dawson_Creek",displayName:"(GMT-07:00) Dawson Creek Time"},{timeZoneId:"America/Winnipeg",displayName:"(GMT-05:00) Winnipeg Time"},{timeZoneId:"America/Regina",displayName:"(GMT-06:00) Regina Time"},{timeZoneId:"America/Iqaluit",displayName:"(GMT-04:00) Iqaluit Time"},{timeZoneId:"America/Toronto",displayName:"(GMT-04:00) Toronto Time"},{timeZoneId:"America/Halifax",displayName:"(GMT-03:00) Halifax Time"},{timeZoneId:"America/St_Johns",displayName:"(GMT-02:30) St. John’s Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CV",displayName:"Cape Verde",defaultTimeZoneId:"Atlantic/Cape_Verde",timeZone:[{timeZoneId:"Atlantic/Cape_Verde",displayName:"(GMT-01:00) Cape Verde Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"TD",displayName:"Chad",defaultTimeZoneId:"Africa/Ndjamena",timeZone:[{timeZoneId:"Africa/Ndjamena",displayName:"(GMT+01:00) Chad Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"CL",displayName:"Chile",defaultTimeZoneId:"Pacific/Easter",timeZone:[{timeZoneId:"Pacific/Easter",displayName:"(GMT-06:00) Easter Time"},{timeZoneId:"America/Santiago",displayName:"(GMT-04:00) Chile Time"},{timeZoneId:"America/Punta_Arenas",displayName:"(GMT-03:00) Punta Arenas Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CN",displayName:"China",defaultTimeZoneId:"Asia/Shanghai",timeZone:[{timeZoneId:"Asia/Shanghai",displayName:"(GMT+08:00) China Time"}],tosLocale:{language:"zh",country:"CN"}},{countryCode:"CX",displayName:"Christmas Island",defaultTimeZoneId:"Indian/Christmas",timeZone:[{timeZoneId:"Indian/Christmas",displayName:"(GMT+07:00) Christmas Island Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CC",displayName:"Cocos (Keeling) Islands",defaultTimeZoneId:"Indian/Cocos",timeZone:[{timeZoneId:"Indian/Cocos",displayName:"(GMT+06:30) Cocos (Keeling) Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CO",displayName:"Colombia",defaultTimeZoneId:"America/Bogota",timeZone:[{timeZoneId:"America/Bogota",displayName:"(GMT-05:00) Colombia Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CK",displayName:"Cook Islands",defaultTimeZoneId:"Pacific/Rarotonga",timeZone:[{timeZoneId:"Pacific/Rarotonga",displayName:"(GMT-10:00) Cook Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CR",displayName:"Costa Rica",defaultTimeZoneId:"America/Costa_Rica",timeZone:[{timeZoneId:"America/Costa_Rica",displayName:"(GMT-06:00) Costa Rica Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CI",displayName:"Côte d’Ivoire",defaultTimeZoneId:"Africa/Abidjan",timeZone:[{timeZoneId:"Africa/Abidjan",displayName:"(GMT+00:00) Côte d’Ivoire Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"HR",displayName:"Croatia",defaultTimeZoneId:"Europe/Zagreb",timeZone:[{timeZoneId:"Europe/Zagreb",displayName:"(GMT+02:00) Croatia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"CU",displayName:"Cuba",defaultTimeZoneId:"America/Havana",timeZone:[{timeZoneId:"America/Havana",displayName:"(GMT-04:00) Cuba Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CW",displayName:"Curaçao",defaultTimeZoneId:"America/Curacao",timeZone:[{timeZoneId:"America/Curacao",displayName:"(GMT-04:00) Curaçao Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CY",displayName:"Cyprus",defaultTimeZoneId:"Asia/Nicosia",timeZone:[{timeZoneId:"Asia/Nicosia",displayName:"(GMT+03:00) Nicosia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"CZ",displayName:"Czechia",defaultTimeZoneId:"Europe/Prague",timeZone:[{timeZoneId:"Europe/Prague",displayName:"(GMT+02:00) Czechia Time"}],tosLocale:{language:"cs",country:"CZ"}},{countryCode:"DK",displayName:"Denmark",defaultTimeZoneId:"Europe/Copenhagen",timeZone:[{timeZoneId:"Europe/Copenhagen",displayName:"(GMT+02:00) Denmark Time"}],tosLocale:{language:"da",country:"DK"}},{countryCode:"DO",displayName:"Dominican Republic",defaultTimeZoneId:"America/Santo_Domingo",timeZone:[{timeZoneId:"America/Santo_Domingo",displayName:"(GMT-04:00) Dominican Republic Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"EC",displayName:"Ecuador",defaultTimeZoneId:"Pacific/Galapagos",timeZone:[{timeZoneId:"Pacific/Galapagos",displayName:"(GMT-06:00) Galapagos Time"},{timeZoneId:"America/Guayaquil",displayName:"(GMT-05:00) Ecuador Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"EG",displayName:"Egypt",defaultTimeZoneId:"Africa/Cairo",timeZone:[{timeZoneId:"Africa/Cairo",displayName:"(GMT+02:00) Egypt Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SV",displayName:"El Salvador",defaultTimeZoneId:"America/El_Salvador",timeZone:[{timeZoneId:"America/El_Salvador",displayName:"(GMT-06:00) El Salvador Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"EE",displayName:"Estonia",defaultTimeZoneId:"Europe/Tallinn",timeZone:[{timeZoneId:"Europe/Tallinn",displayName:"(GMT+03:00) Estonia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"FK",displayName:"Falkland Islands (Islas Malvinas)",defaultTimeZoneId:"Atlantic/Stanley",timeZone:[{timeZoneId:"Atlantic/Stanley",displayName:"(GMT-03:00) Falkland Islands (Islas Malvinas) Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"FO",displayName:"Faroe Islands",defaultTimeZoneId:"Atlantic/Faeroe",timeZone:[{timeZoneId:"Atlantic/Faeroe",displayName:"(GMT+01:00) Faroe Islands Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"FJ",displayName:"Fiji",defaultTimeZoneId:"Pacific/Fiji",timeZone:[{timeZoneId:"Pacific/Fiji",displayName:"(GMT+12:00) Fiji Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"FI",displayName:"Finland",defaultTimeZoneId:"Europe/Helsinki",timeZone:[{timeZoneId:"Europe/Helsinki",displayName:"(GMT+03:00) Finland Time"}],tosLocale:{language:"fi",country:"FI"}},{countryCode:"FR",displayName:"France",defaultTimeZoneId:"Europe/Paris",timeZone:[{timeZoneId:"Europe/Paris",displayName:"(GMT+02:00) France Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"GF",displayName:"French Guiana",defaultTimeZoneId:"America/Cayenne",timeZone:[{timeZoneId:"America/Cayenne",displayName:"(GMT-03:00) French Guiana Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"PF",displayName:"French Polynesia",defaultTimeZoneId:"Pacific/Tahiti",timeZone:[{timeZoneId:"Pacific/Tahiti",displayName:"(GMT-10:00) Tahiti Time"},{timeZoneId:"Pacific/Marquesas",displayName:"(GMT-09:30) Marquesas Time"},{timeZoneId:"Pacific/Gambier",displayName:"(GMT-09:00) Gambier Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"TF",displayName:"French Southern Territories",defaultTimeZoneId:"Indian/Kerguelen",timeZone:[{timeZoneId:"Indian/Kerguelen",displayName:"(GMT+05:00) French Southern Territories Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"GE",displayName:"Georgia",defaultTimeZoneId:"Asia/Tbilisi",timeZone:[{timeZoneId:"Asia/Tbilisi",displayName:"(GMT+04:00) Georgia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"DE",displayName:"Germany",defaultTimeZoneId:"Europe/Berlin",timeZone:[{timeZoneId:"Europe/Berlin",displayName:"(GMT+02:00) Germany Time"}],tosLocale:{language:"de",country:"DE"}},{countryCode:"GH",displayName:"Ghana",defaultTimeZoneId:"Africa/Accra",timeZone:[{timeZoneId:"Africa/Accra",displayName:"(GMT+00:00) Ghana Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GI",displayName:"Gibraltar",defaultTimeZoneId:"Europe/Gibraltar",timeZone:[{timeZoneId:"Europe/Gibraltar",displayName:"(GMT+02:00) Gibraltar Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GR",displayName:"Greece",defaultTimeZoneId:"Europe/Athens",timeZone:[{timeZoneId:"Europe/Athens",displayName:"(GMT+03:00) Greece Time"}],tosLocale:{language:"el",country:"GR"}},{countryCode:"GL",displayName:"Greenland",defaultTimeZoneId:"America/Thule",timeZone:[{timeZoneId:"America/Thule",displayName:"(GMT-03:00) Thule Time"},{timeZoneId:"America/Godthab",displayName:"(GMT-02:00) Nuuk Time"},{timeZoneId:"America/Scoresbysund",displayName:"(GMT+00:00) Ittoqqortoormiit Time"},{timeZoneId:"America/Danmarkshavn",displayName:"(GMT+00:00) Danmarkshavn Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GU",displayName:"Guam",defaultTimeZoneId:"Pacific/Guam",timeZone:[{timeZoneId:"Pacific/Guam",displayName:"(GMT+10:00) Guam Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"GT",displayName:"Guatemala",defaultTimeZoneId:"America/Guatemala",timeZone:[{timeZoneId:"America/Guatemala",displayName:"(GMT-06:00) Guatemala Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"GW",displayName:"Guinea-Bissau",defaultTimeZoneId:"Africa/Bissau",timeZone:[{timeZoneId:"Africa/Bissau",displayName:"(GMT+00:00) Guinea-Bissau Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"GY",displayName:"Guyana",defaultTimeZoneId:"America/Guyana",timeZone:[{timeZoneId:"America/Guyana",displayName:"(GMT-04:00) Guyana Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"HT",displayName:"Haiti",defaultTimeZoneId:"America/Port-au-Prince",timeZone:[{timeZoneId:"America/Port-au-Prince",displayName:"(GMT-04:00) Haiti Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"HN",displayName:"Honduras",defaultTimeZoneId:"America/Tegucigalpa",timeZone:[{timeZoneId:"America/Tegucigalpa",displayName:"(GMT-06:00) Honduras Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"HK",displayName:"Hong Kong",defaultTimeZoneId:"Asia/Hong_Kong",timeZone:[{timeZoneId:"Asia/Hong_Kong",displayName:"(GMT+08:00) Hong Kong Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"HU",displayName:"Hungary",defaultTimeZoneId:"Europe/Budapest",timeZone:[{timeZoneId:"Europe/Budapest",displayName:"(GMT+02:00) Hungary Time"}],tosLocale:{language:"hu",country:"HU"}},{countryCode:"IS",displayName:"Iceland",defaultTimeZoneId:"Atlantic/Reykjavik",timeZone:[{timeZoneId:"Atlantic/Reykjavik",displayName:"(GMT+00:00) Iceland Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IN",displayName:"India",defaultTimeZoneId:"Asia/Calcutta",timeZone:[{timeZoneId:"Asia/Calcutta",displayName:"(GMT+05:30) India Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"ID",displayName:"Indonesia",defaultTimeZoneId:"Asia/Jakarta",timeZone:[{timeZoneId:"Asia/Jakarta",displayName:"(GMT+07:00) Jakarta Time"},{timeZoneId:"Asia/Makassar",displayName:"(GMT+08:00) Makassar Time"},{timeZoneId:"Asia/Jayapura",displayName:"(GMT+09:00) Jayapura Time"}],tosLocale:{language:"in",country:"ID"}},{countryCode:"IR",displayName:"Iran",defaultTimeZoneId:"Asia/Tehran",timeZone:[{timeZoneId:"Asia/Tehran",displayName:"(GMT+04:30) Iran Time"}]},{countryCode:"IQ",displayName:"Iraq",defaultTimeZoneId:"Asia/Baghdad",timeZone:[{timeZoneId:"Asia/Baghdad",displayName:"(GMT+03:00) Iraq Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IE",displayName:"Ireland",defaultTimeZoneId:"Europe/Dublin",timeZone:[{timeZoneId:"Europe/Dublin",displayName:"(GMT+01:00) Ireland Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IL",displayName:"Israel",defaultTimeZoneId:"Asia/Jerusalem",timeZone:[{timeZoneId:"Asia/Jerusalem",displayName:"(GMT+03:00) Israel Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IT",displayName:"Italy",defaultTimeZoneId:"Europe/Rome",timeZone:[{timeZoneId:"Europe/Rome",displayName:"(GMT+02:00) Italy Time"}],tosLocale:{language:"it",country:"IT"}},{countryCode:"JM",displayName:"Jamaica",defaultTimeZoneId:"America/Jamaica",timeZone:[{timeZoneId:"America/Jamaica",displayName:"(GMT-05:00) Jamaica Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"JP",displayName:"Japan",defaultTimeZoneId:"Asia/Tokyo",timeZone:[{timeZoneId:"Asia/Tokyo",displayName:"(GMT+09:00) Japan Time"}],tosLocale:{language:"ja",country:"JP"}},{countryCode:"JO",displayName:"Jordan",defaultTimeZoneId:"Asia/Amman",timeZone:[{timeZoneId:"Asia/Amman",displayName:"(GMT+03:00) Jordan Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"KZ",displayName:"Kazakhstan",defaultTimeZoneId:"Asia/Aqtau",timeZone:[{timeZoneId:"Asia/Aqtau",displayName:"(GMT+05:00) Aqtau Time"},{timeZoneId:"Asia/Aqtobe",displayName:"(GMT+05:00) Aqtobe Time"},{timeZoneId:"Asia/Almaty",displayName:"(GMT+06:00) Almaty Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KE",displayName:"Kenya",defaultTimeZoneId:"Africa/Nairobi",timeZone:[{timeZoneId:"Africa/Nairobi",displayName:"(GMT+03:00) Kenya Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"KI",displayName:"Kiribati",defaultTimeZoneId:"Pacific/Tarawa",timeZone:[{timeZoneId:"Pacific/Tarawa",displayName:"(GMT+12:00) Tarawa Time"},{timeZoneId:"Pacific/Enderbury",displayName:"(GMT+13:00) Enderbury Time"},{timeZoneId:"Pacific/Kiritimati",displayName:"(GMT+14:00) Kiritimati Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KG",displayName:"Kyrgyzstan",defaultTimeZoneId:"Asia/Bishkek",timeZone:[{timeZoneId:"Asia/Bishkek",displayName:"(GMT+06:00) Kyrgyzstan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"LV",displayName:"Latvia",defaultTimeZoneId:"Europe/Riga",timeZone:[{timeZoneId:"Europe/Riga",displayName:"(GMT+03:00) Latvia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LB",displayName:"Lebanon",defaultTimeZoneId:"Asia/Beirut",timeZone:[{timeZoneId:"Asia/Beirut",displayName:"(GMT+03:00) Lebanon Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LR",displayName:"Liberia",defaultTimeZoneId:"Africa/Monrovia",timeZone:[{timeZoneId:"Africa/Monrovia",displayName:"(GMT+00:00) Liberia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LY",displayName:"Libya",defaultTimeZoneId:"Africa/Tripoli",timeZone:[{timeZoneId:"Africa/Tripoli",displayName:"(GMT+02:00) Libya Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LT",displayName:"Lithuania",defaultTimeZoneId:"Europe/Vilnius",timeZone:[{timeZoneId:"Europe/Vilnius",displayName:"(GMT+03:00) Lithuania Time"}],tosLocale:{language:"lt",country:"LT"}},{countryCode:"LU",displayName:"Luxembourg",defaultTimeZoneId:"Europe/Luxembourg",timeZone:[{timeZoneId:"Europe/Luxembourg",displayName:"(GMT+02:00) Luxembourg Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MO",displayName:"Macao",defaultTimeZoneId:"Asia/Macau",timeZone:[{timeZoneId:"Asia/Macau",displayName:"(GMT+08:00) Macao Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MY",displayName:"Malaysia",defaultTimeZoneId:"Asia/Kuala_Lumpur",timeZone:[{timeZoneId:"Asia/Kuala_Lumpur",displayName:"(GMT+08:00) Malaysia Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MV",displayName:"Maldives",defaultTimeZoneId:"Indian/Maldives",timeZone:[{timeZoneId:"Indian/Maldives",displayName:"(GMT+05:00) Maldives Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MT",displayName:"Malta",defaultTimeZoneId:"Europe/Malta",timeZone:[{timeZoneId:"Europe/Malta",displayName:"(GMT+02:00) Malta Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MH",displayName:"Marshall Islands",defaultTimeZoneId:"Pacific/Kwajalein",timeZone:[{timeZoneId:"Pacific/Kwajalein",displayName:"(GMT+12:00) Kwajalein Time"},{timeZoneId:"Pacific/Majuro",displayName:"(GMT+12:00) Marshall Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MQ",displayName:"Martinique",defaultTimeZoneId:"America/Martinique",timeZone:[{timeZoneId:"America/Martinique",displayName:"(GMT-04:00) Martinique Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"MU",displayName:"Mauritius",defaultTimeZoneId:"Indian/Mauritius",timeZone:[{timeZoneId:"Indian/Mauritius",displayName:"(GMT+04:00) Mauritius Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MX",displayName:"Mexico",defaultTimeZoneId:"America/Tijuana",timeZone:[{timeZoneId:"America/Tijuana",displayName:"(GMT-07:00) Tijuana Time"},{timeZoneId:"America/Mazatlan",displayName:"(GMT-06:00) Mazatlan Time"},{timeZoneId:"America/Hermosillo",displayName:"(GMT-07:00) Hermosillo Time"},{timeZoneId:"America/Mexico_City",displayName:"(GMT-05:00) Mexico City Time"},{timeZoneId:"America/Cancun",displayName:"(GMT-05:00) Cancun Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"FM",displayName:"Micronesia",defaultTimeZoneId:"Pacific/Truk",timeZone:[{timeZoneId:"Pacific/Truk",displayName:"(GMT+10:00) Chuuk Time"},{timeZoneId:"Pacific/Kosrae",displayName:"(GMT+11:00) Kosrae Time"},{timeZoneId:"Pacific/Ponape",displayName:"(GMT+11:00) Pohnpei Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MD",displayName:"Moldova",defaultTimeZoneId:"Europe/Chisinau",timeZone:[{timeZoneId:"Europe/Chisinau",displayName:"(GMT+03:00) Moldova Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MC",displayName:"Monaco",defaultTimeZoneId:"Europe/Monaco",timeZone:[{timeZoneId:"Europe/Monaco",displayName:"(GMT+02:00) Monaco Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MN",displayName:"Mongolia",defaultTimeZoneId:"Asia/Hovd",timeZone:[{timeZoneId:"Asia/Hovd",displayName:"(GMT+07:00) Hovd Time"},{timeZoneId:"Asia/Choibalsan",displayName:"(GMT+08:00) Choibalsan Time"},{timeZoneId:"Asia/Ulaanbaatar",displayName:"(GMT+08:00) Ulaanbaatar Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MA",displayName:"Morocco",defaultTimeZoneId:"Africa/Casablanca",timeZone:[{timeZoneId:"Africa/Casablanca",displayName:"(GMT+01:00) Morocco Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MZ",displayName:"Mozambique",defaultTimeZoneId:"Africa/Maputo",timeZone:[{timeZoneId:"Africa/Maputo",displayName:"(GMT+02:00) Mozambique Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MM",displayName:"Myanmar (Burma)",defaultTimeZoneId:"Asia/Rangoon",timeZone:[{timeZoneId:"Asia/Rangoon",displayName:"(GMT+06:30) Myanmar (Burma) Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NA",displayName:"Namibia",defaultTimeZoneId:"Africa/Windhoek",timeZone:[{timeZoneId:"Africa/Windhoek",displayName:"(GMT+02:00) Namibia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NR",displayName:"Nauru",defaultTimeZoneId:"Pacific/Nauru",timeZone:[{timeZoneId:"Pacific/Nauru",displayName:"(GMT+12:00) Nauru Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NP",displayName:"Nepal",defaultTimeZoneId:"Asia/Katmandu",timeZone:[{timeZoneId:"Asia/Katmandu",displayName:"(GMT+05:45) Nepal Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NL",displayName:"Netherlands",defaultTimeZoneId:"Europe/Amsterdam",timeZone:[{timeZoneId:"Europe/Amsterdam",displayName:"(GMT+02:00) Netherlands Time"}],tosLocale:{language:"nl",country:"NL"}},{countryCode:"NC",displayName:"New Caledonia",defaultTimeZoneId:"Pacific/Noumea",timeZone:[{timeZoneId:"Pacific/Noumea",displayName:"(GMT+11:00) New Caledonia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NZ",displayName:"New Zealand",defaultTimeZoneId:"Pacific/Auckland",timeZone:[{timeZoneId:"Pacific/Auckland",displayName:"(GMT+12:00) New Zealand Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NI",displayName:"Nicaragua",defaultTimeZoneId:"America/Managua",timeZone:[{timeZoneId:"America/Managua",displayName:"(GMT-06:00) Nicaragua Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"NG",displayName:"Nigeria",defaultTimeZoneId:"Africa/Lagos",timeZone:[{timeZoneId:"Africa/Lagos",displayName:"(GMT+01:00) Nigeria Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NU",displayName:"Niue",defaultTimeZoneId:"Pacific/Niue",timeZone:[{timeZoneId:"Pacific/Niue",displayName:"(GMT-11:00) Niue Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NF",displayName:"Norfolk Island",defaultTimeZoneId:"Pacific/Norfolk",timeZone:[{timeZoneId:"Pacific/Norfolk",displayName:"(GMT+11:00) Norfolk Island Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KP",displayName:"North Korea",defaultTimeZoneId:"Asia/Pyongyang",timeZone:[{timeZoneId:"Asia/Pyongyang",displayName:"(GMT+09:00) North Korea Time"}]},{countryCode:"MK",displayName:"North Macedonia",defaultTimeZoneId:"Europe/Skopje",timeZone:[{timeZoneId:"Europe/Skopje",displayName:"(GMT+02:00) North Macedonia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NO",displayName:"Norway",defaultTimeZoneId:"Europe/Oslo",timeZone:[{timeZoneId:"Europe/Oslo",displayName:"(GMT+02:00) Norway Time"}],tosLocale:{language:"no",country:"NO"}},{countryCode:"PK",displayName:"Pakistan",defaultTimeZoneId:"Asia/Karachi",timeZone:[{timeZoneId:"Asia/Karachi",displayName:"(GMT+05:00) Pakistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PW",displayName:"Palau",defaultTimeZoneId:"Pacific/Palau",timeZone:[{timeZoneId:"Pacific/Palau",displayName:"(GMT+09:00) Palau Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PS",displayName:"Palestine",defaultTimeZoneId:"Asia/Gaza",timeZone:[{timeZoneId:"Asia/Gaza",displayName:"(GMT+03:00) Gaza Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"PA",displayName:"Panama",defaultTimeZoneId:"America/Panama",timeZone:[{timeZoneId:"America/Panama",displayName:"(GMT-05:00) Panama Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"PG",displayName:"Papua New Guinea",defaultTimeZoneId:"Pacific/Port_Moresby",timeZone:[{timeZoneId:"Pacific/Port_Moresby",displayName:"(GMT+10:00) Port Moresby Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PY",displayName:"Paraguay",defaultTimeZoneId:"America/Asuncion",timeZone:[{timeZoneId:"America/Asuncion",displayName:"(GMT-04:00) Paraguay Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"PE",displayName:"Peru",defaultTimeZoneId:"America/Lima",timeZone:[{timeZoneId:"America/Lima",displayName:"(GMT-05:00) Peru Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"PH",displayName:"Philippines",defaultTimeZoneId:"Asia/Manila",timeZone:[{timeZoneId:"Asia/Manila",displayName:"(GMT+08:00) Philippines Time"}],tosLocale:{language:"tl",country:"PH"}},{countryCode:"PN",displayName:"Pitcairn Islands",defaultTimeZoneId:"Pacific/Pitcairn",timeZone:[{timeZoneId:"Pacific/Pitcairn",displayName:"(GMT-08:00) Pitcairn Islands Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"PL",displayName:"Poland",defaultTimeZoneId:"Europe/Warsaw",timeZone:[{timeZoneId:"Europe/Warsaw",displayName:"(GMT+02:00) Poland Time"}],tosLocale:{language:"pl",country:"PL"}},{countryCode:"PT",displayName:"Portugal",defaultTimeZoneId:"Atlantic/Azores",timeZone:[{timeZoneId:"Atlantic/Azores",displayName:"(GMT+00:00) Azores Time"},{timeZoneId:"Europe/Lisbon",displayName:"(GMT+01:00) Portugal Time"}],tosLocale:{language:"pt",country:"PT"}},{countryCode:"PR",displayName:"Puerto Rico",defaultTimeZoneId:"America/Puerto_Rico",timeZone:[{timeZoneId:"America/Puerto_Rico",displayName:"(GMT-04:00) Puerto Rico Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"QA",displayName:"Qatar",defaultTimeZoneId:"Asia/Qatar",timeZone:[{timeZoneId:"Asia/Qatar",displayName:"(GMT+03:00) Qatar Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RE",displayName:"Réunion",defaultTimeZoneId:"Indian/Reunion",timeZone:[{timeZoneId:"Indian/Reunion",displayName:"(GMT+04:00) Réunion Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RO",displayName:"Romania",defaultTimeZoneId:"Europe/Bucharest",timeZone:[{timeZoneId:"Europe/Bucharest",displayName:"(GMT+03:00) Romania Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RU",displayName:"Russia",defaultTimeZoneId:"Europe/Kaliningrad",timeZone:[{timeZoneId:"Europe/Kaliningrad",displayName:"(GMT+02:00) Kaliningrad Time"},{timeZoneId:"Europe/Moscow",displayName:"(GMT+03:00) Moscow Time"},{timeZoneId:"Europe/Samara",displayName:"(GMT+04:00) Samara Time"},{timeZoneId:"Asia/Yekaterinburg",displayName:"(GMT+05:00) Yekaterinburg Time"},{timeZoneId:"Asia/Omsk",displayName:"(GMT+06:00) Omsk Time"},{timeZoneId:"Asia/Krasnoyarsk",displayName:"(GMT+07:00) Krasnoyarsk Time"},{timeZoneId:"Asia/Irkutsk",displayName:"(GMT+08:00) Irkutsk Time"},{timeZoneId:"Asia/Yakutsk",displayName:"(GMT+09:00) Yakutsk Time"},{timeZoneId:"Asia/Vladivostok",displayName:"(GMT+10:00) Vladivostok Time"},{timeZoneId:"Asia/Magadan",displayName:"(GMT+11:00) Magadan Time"},{timeZoneId:"Asia/Kamchatka",displayName:"(GMT+12:00) Kamchatka Time"}],tosLocale:{language:"ru",country:"RU"}},{countryCode:"WS",displayName:"Samoa",defaultTimeZoneId:"Pacific/Apia",timeZone:[{timeZoneId:"Pacific/Apia",displayName:"(GMT+13:00) Samoa Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"SM",displayName:"San Marino",defaultTimeZoneId:"Europe/San_Marino",timeZone:[{timeZoneId:"Europe/San_Marino",displayName:"(GMT+02:00) San Marino Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"ST",displayName:"São Tomé & Príncipe",defaultTimeZoneId:"Africa/Sao_Tome",timeZone:[{timeZoneId:"Africa/Sao_Tome",displayName:"(GMT+00:00) São Tomé & Príncipe Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SA",displayName:"Saudi Arabia",defaultTimeZoneId:"Asia/Riyadh",timeZone:[{timeZoneId:"Asia/Riyadh",displayName:"(GMT+03:00) Saudi Arabia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RS",displayName:"Serbia",defaultTimeZoneId:"Europe/Belgrade",timeZone:[{timeZoneId:"Europe/Belgrade",displayName:"(GMT+02:00) Serbia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SC",displayName:"Seychelles",defaultTimeZoneId:"Indian/Mahe",timeZone:[{timeZoneId:"Indian/Mahe",displayName:"(GMT+04:00) Seychelles Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SG",displayName:"Singapore",defaultTimeZoneId:"Asia/Singapore",timeZone:[{timeZoneId:"Asia/Singapore",displayName:"(GMT+08:00) Singapore Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"SK",displayName:"Slovakia",defaultTimeZoneId:"Europe/Bratislava",timeZone:[{timeZoneId:"Europe/Bratislava",displayName:"(GMT+02:00) Slovakia Time"}],tosLocale:{language:"sk",country:"SK"}},{countryCode:"SI",displayName:"Slovenia",defaultTimeZoneId:"Europe/Ljubljana",timeZone:[{timeZoneId:"Europe/Ljubljana",displayName:"(GMT+02:00) Slovenia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SB",displayName:"Solomon Islands",defaultTimeZoneId:"Pacific/Guadalcanal",timeZone:[{timeZoneId:"Pacific/Guadalcanal",displayName:"(GMT+11:00) Solomon Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"ZA",displayName:"South Africa",defaultTimeZoneId:"Africa/Johannesburg",timeZone:[{timeZoneId:"Africa/Johannesburg",displayName:"(GMT+02:00) South Africa Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GS",displayName:"South Georgia & South Sandwich Islands",defaultTimeZoneId:"Atlantic/South_Georgia",timeZone:[{timeZoneId:"Atlantic/South_Georgia",displayName:"(GMT-02:00) South Georgia & South Sandwich Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KR",displayName:"South Korea",defaultTimeZoneId:"Asia/Seoul",timeZone:[{timeZoneId:"Asia/Seoul",displayName:"(GMT+09:00) South Korea Time"}],tosLocale:{language:"ko",country:"KR"}},{countryCode:"ES",displayName:"Spain",defaultTimeZoneId:"Atlantic/Canary",timeZone:[{timeZoneId:"Atlantic/Canary",displayName:"(GMT+01:00) Canary Time"},{timeZoneId:"Africa/Ceuta",displayName:"(GMT+02:00) Ceuta Time"},{timeZoneId:"Europe/Madrid",displayName:"(GMT+02:00) Spain Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"LK",displayName:"Sri Lanka",defaultTimeZoneId:"Asia/Colombo",timeZone:[{timeZoneId:"Asia/Colombo",displayName:"(GMT+05:30) Sri Lanka Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PM",displayName:"St. Pierre & Miquelon",defaultTimeZoneId:"America/Miquelon",timeZone:[{timeZoneId:"America/Miquelon",displayName:"(GMT-02:00) St. Pierre & Miquelon Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SD",displayName:"Sudan",defaultTimeZoneId:"Africa/Khartoum",timeZone:[{timeZoneId:"Africa/Khartoum",displayName:"(GMT+02:00) Sudan Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SR",displayName:"Suriname",defaultTimeZoneId:"America/Paramaribo",timeZone:[{timeZoneId:"America/Paramaribo",displayName:"(GMT-03:00) Suriname Time"}],tosLocale:{language:"nl",country:"NL"}},{countryCode:"SJ",displayName:"Svalbard & Jan Mayen",defaultTimeZoneId:"Arctic/Longyearbyen",timeZone:[{timeZoneId:"Arctic/Longyearbyen",displayName:"(GMT+02:00) Svalbard & Jan Mayen Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SE",displayName:"Sweden",defaultTimeZoneId:"Europe/Stockholm",timeZone:[{timeZoneId:"Europe/Stockholm",displayName:"(GMT+02:00) Sweden Time"}],tosLocale:{language:"sv",country:"SE"}},{countryCode:"CH",displayName:"Switzerland",defaultTimeZoneId:"Europe/Zurich",timeZone:[{timeZoneId:"Europe/Zurich",displayName:"(GMT+02:00) Switzerland Time"}],tosLocale:{language:"de",country:"DE"}},{countryCode:"SY",displayName:"Syria",defaultTimeZoneId:"Asia/Damascus",timeZone:[{timeZoneId:"Asia/Damascus",displayName:"(GMT+03:00) Syria Time"}]},{countryCode:"TW",displayName:"Taiwan",defaultTimeZoneId:"Asia/Taipei",timeZone:[{timeZoneId:"Asia/Taipei",displayName:"(GMT+08:00) Taiwan Time"}],tosLocale:{language:"zh",country:"TW"}},{countryCode:"TJ",displayName:"Tajikistan",defaultTimeZoneId:"Asia/Dushanbe",timeZone:[{timeZoneId:"Asia/Dushanbe",displayName:"(GMT+05:00) Tajikistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TH",displayName:"Thailand",defaultTimeZoneId:"Asia/Bangkok",timeZone:[{timeZoneId:"Asia/Bangkok",displayName:"(GMT+07:00) Thailand Time"}],tosLocale:{language:"th",country:"TH"}},{countryCode:"TL",displayName:"Timor-Leste",defaultTimeZoneId:"Asia/Dili",timeZone:[{timeZoneId:"Asia/Dili",displayName:"(GMT+09:00) Timor-Leste Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TK",displayName:"Tokelau",defaultTimeZoneId:"Pacific/Fakaofo",timeZone:[{timeZoneId:"Pacific/Fakaofo",displayName:"(GMT+13:00) Tokelau Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TO",displayName:"Tonga",defaultTimeZoneId:"Pacific/Tongatapu",timeZone:[{timeZoneId:"Pacific/Tongatapu",displayName:"(GMT+13:00) Tonga Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TT",displayName:"Trinidad & Tobago",defaultTimeZoneId:"America/Port_of_Spain",timeZone:[{timeZoneId:"America/Port_of_Spain",displayName:"(GMT-04:00) Trinidad & Tobago Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TN",displayName:"Tunisia",defaultTimeZoneId:"Africa/Tunis",timeZone:[{timeZoneId:"Africa/Tunis",displayName:"(GMT+01:00) Tunisia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"TR",displayName:"Turkey",defaultTimeZoneId:"Europe/Istanbul",timeZone:[{timeZoneId:"Europe/Istanbul",displayName:"(GMT+03:00) Turkey Time"}],tosLocale:{language:"tr",country:"TR"}},{countryCode:"TM",displayName:"Turkmenistan",defaultTimeZoneId:"Asia/Ashgabat",timeZone:[{timeZoneId:"Asia/Ashgabat",displayName:"(GMT+05:00) Turkmenistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TC",displayName:"Turks & Caicos Islands",defaultTimeZoneId:"America/Grand_Turk",timeZone:[{timeZoneId:"America/Grand_Turk",displayName:"(GMT-04:00) Turks & Caicos Islands Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"TV",displayName:"Tuvalu",defaultTimeZoneId:"Pacific/Funafuti",timeZone:[{timeZoneId:"Pacific/Funafuti",displayName:"(GMT+12:00) Tuvalu Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"UM",displayName:"U.S. Outlying Islands",defaultTimeZoneId:"Pacific/Wake",timeZone:[{timeZoneId:"Pacific/Wake",displayName:"(GMT+12:00) Wake Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"UA",displayName:"Ukraine",defaultTimeZoneId:"Europe/Kiev",timeZone:[{timeZoneId:"Europe/Kiev",displayName:"(GMT+03:00) Ukraine Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AE",displayName:"United Arab Emirates",defaultTimeZoneId:"Asia/Dubai",timeZone:[{timeZoneId:"Asia/Dubai",displayName:"(GMT+04:00) United Arab Emirates Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GB",displayName:"United Kingdom",defaultTimeZoneId:"Etc/GMT",timeZone:[{timeZoneId:"Etc/GMT",displayName:"(GMT+00:00) GMT"},{timeZoneId:"Europe/London",displayName:"(GMT+01:00) United Kingdom Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"US",displayName:"United States",defaultTimeZoneId:"America/Los_Angeles",timeZone:[{timeZoneId:"Pacific/Honolulu",displayName:"(GMT-10:00) Honolulu Time"},{timeZoneId:"America/Anchorage",displayName:"(GMT-08:00) Anchorage Time"},{timeZoneId:"America/Los_Angeles",displayName:"(GMT-07:00) Los Angeles Time"},{timeZoneId:"America/Boise",displayName:"(GMT-06:00) Boise Time"},{timeZoneId:"America/Denver",displayName:"(GMT-06:00) Denver Time"},{timeZoneId:"America/Phoenix",displayName:"(GMT-07:00) Phoenix Time"},{timeZoneId:"America/Chicago",displayName:"(GMT-05:00) Chicago Time"},{timeZoneId:"America/Detroit",displayName:"(GMT-04:00) Detroit Time"},{timeZoneId:"America/New_York",displayName:"(GMT-04:00) New York Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"UY",displayName:"Uruguay",defaultTimeZoneId:"America/Montevideo",timeZone:[{timeZoneId:"America/Montevideo",displayName:"(GMT-03:00) Uruguay Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"UZ",displayName:"Uzbekistan",defaultTimeZoneId:"Asia/Tashkent",timeZone:[{timeZoneId:"Asia/Tashkent",displayName:"(GMT+05:00) Uzbekistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"VU",displayName:"Vanuatu",defaultTimeZoneId:"Pacific/Efate",timeZone:[{timeZoneId:"Pacific/Efate",displayName:"(GMT+11:00) Vanuatu Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"VA",displayName:"Vatican City",defaultTimeZoneId:"Europe/Vatican",timeZone:[{timeZoneId:"Europe/Vatican",displayName:"(GMT+02:00) Vatican City Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"VE",displayName:"Venezuela",defaultTimeZoneId:"America/Caracas",timeZone:[{timeZoneId:"America/Caracas",displayName:"(GMT-04:00) Venezuela Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"VN",displayName:"Vietnam",defaultTimeZoneId:"Asia/Saigon",timeZone:[{timeZoneId:"Asia/Saigon",displayName:"(GMT+07:00) Vietnam Time"}],tosLocale:{language:"vi",country:"VN"}},{countryCode:"WF",displayName:"Wallis & Futuna",defaultTimeZoneId:"Pacific/Wallis",timeZone:[{timeZoneId:"Pacific/Wallis",displayName:"(GMT+12:00) Wallis & Futuna Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"EH",displayName:"Western Sahara",defaultTimeZoneId:"Africa/El_Aaiun",timeZone:[{timeZoneId:"Africa/El_Aaiun",displayName:"(GMT+01:00) Western Sahara Time"}],tosLocale:{language:"en",country:"GB"}}],i=r.reduce((function(e,t){return e[t.countryCode]=t.timeZone,e}),{}),o=Object(a.keyBy)(r,"countryCode"),c=r.reduce((function(e,t){return t.timeZone.forEach((function(n){var a=n.timeZoneId;return e[a]=t.countryCode})),e}),{})},197:function(e,t,n){"use strict";function a(e){var t,n,a,r,i,o,c,s;if(void 0!==e)return!(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(a=n.rows)||void 0===a?void 0:a.length)||!(null==e||null===(r=e[0])||void 0===r||null===(i=r.data)||void 0===i||null===(o=i.totals)||void 0===o||null===(c=o[0])||void 0===c||null===(s=c.values)||void 0===s?void 0:s.length)||!e[0].data.totals.some((function(e){return e.values.some((function(e){return e>0}))}))}n.d(t,"a",(function(){return a}))},198:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var a=n(0),r=n.n(a),i=n(92),o=n(99);function ErrorNotice(t){var n,a=t.error,r=t.shouldDisplayError,c=void 0===r?function(){return!0}:r;return a&&!Object(i.c)(a)&&c(a)?e.createElement(o.a,{message:a.message,reconnectURL:null===(n=a.data)||void 0===n?void 0:n.reconnectURL}):null}ErrorNotice.propTypes={error:r.a.shape({message:r.a.string}),shouldDisplayError:r.a.func}}).call(this,n(3))},199:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportError}));var a=n(0),r=n.n(a),i=n(1),o=n(4),c=n.n(o),s=n(22),l=n(92),u=n(149),d=n(70),m=n(99),g=n(83),f=c.a.useSelect;function ReportError(t){var n,a=t.moduleSlug,r=t.error,o=f((function(e){return e(s.a).getModule(a)})),c=Object(i.sprintf)(Object(i.__)("Data error in %s","google-site-kit"),null==o?void 0:o.name),p=r.message;Object(l.b)(r)&&(c=Object(i.sprintf)(Object(i.__)("Insufficient permissions in %s","google-site-kit"),null==o?void 0:o.name),p=Object(u.a)(p,o));var y=null==r||null===(n=r.data)||void 0===n?void 0:n.reconnectURL,b=y?e.createElement(m.a,{message:p,reconnectURL:y}):d.a.sanitize(p,{ALLOWED_TAGS:[]});return e.createElement(g.a,{title:c,description:b,error:!0})}ReportError.propTypes={moduleSlug:r.a.string.isRequired,error:r.a.object.isRequired}}).call(this,n(3))},202:function(e,t,n){"use strict";t.a=function(e){if("string"==typeof e&&e.match(/[0-9]{8}/)){var t=e.slice(0,4),n=Number(e.slice(4,6))-1,a=e.slice(6,8);return new Date(t,n.toString(),a)}return!1}},203:function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=function DisplaySetting(e){return e.value||" "};i.propTypes={value:r.a.oneOfType([r.a.string,r.a.bool,r.a.number])},t.a=i},205:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(9),o=n.n(i),c=n(82);function PreviewTable(t){for(var n=t.rows,a=t.rowHeight,r=t.padding,i=[],s=0;n>s;s++)i.push(e.createElement("div",{className:"googlesitekit-preview-table__row",key:"table-row-"+s},e.createElement(c.a,{width:"100%",height:a+"px"})));return e.createElement("div",{className:o()("googlesitekit-preview-table",{"googlesitekit-preview-table--padding":r})},i)}PreviewTable.propTypes={rows:r.a.number,rowHeight:r.a.number,padding:r.a.bool},PreviewTable.defaultProps={rows:11,rowHeight:35,padding:!1},t.a=PreviewTable}).call(this,n(3))},206:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GoogleChart}));var a=n(6),r=n.n(a),i=n(16),o=n.n(i),c=n(24),s=n.n(c),l=n(13),u=n.n(l),d=n(17),m=n.n(d),g=(n(459),n(9)),f=n.n(g),p=n(0),y=n.n(p),b=n(357),v=n(308),h=n.n(v),O=n(297),E=n.n(O),_=n(2),T=n(82),A=n(35),S=n(12),k=n(62),N=n(4);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=n.n(N).a.useSelect;function GoogleChart(t){var n=t.chartEvents,a=t.chartType,r=t.children,i=t.className,c=t.data,l=t.getChartWrapper,d=t.height,g=t.loaded,p=t.loadingHeight,y=t.loadingWidth,v=t.onMouseOver,O=t.onMouseOut,N=t.onReady,j=t.onSelect,I=t.selectedStats,w=t.width,P=t.options,C=t.gatheringData,R=void 0!==C&&C,Z=m()(t,["chartEvents","chartType","children","className","data","getChartWrapper","height","loaded","loadingHeight","loadingWidth","onMouseOver","onMouseOut","onReady","onSelect","selectedStats","width","options","gatheringData"]),M=Object(A.a)("zeroDataStates"),G=D((function(e){return e(S.a).getDateRangeDates()})),x=G.startDate,L=G.endDate,U=Object(_.useState)(!1),F=u()(U,2),B=F[0],W=F[1],H=[];(null==c?void 0:c.length)&&(H=c[0].reduce((function(e,t,n){return(null==t?void 0:t.role)?[].concat(s()(e),[n]):e}),[]));var z=c;(null==I?void 0:I.length)>0&&(z=c.map((function(e){return e.filter((function(e,t){return 0===t||I.includes(t-1)||H.includes(t-1)}))})));var V=p||d,q=y||w;V&&!q&&(q="100%"),q&&!V&&(V="100%");var K="PieChart"===a?"circular":"square",Y=e.createElement("div",{className:"googlesitekit-chart-loading"},e.createElement(T.a,{className:"googlesitekit-chart-loading__wrapper",height:V,shape:K,width:q})),$=Object(_.useRef)(),J=Object(_.useRef)();if(Object(_.useEffect)((function(){return function(){if(J.current&&$.current){var e=J.current.visualization.events;e.removeAllListeners($.current.getChart()),e.removeAllListeners($.current)}}}),[]),Object(_.useLayoutEffect)((function(){var e,t;v&&(null===(e=J.current)||void 0===e||e.visualization.events.addListener($.current.getChart(),"onmouseover",(function(e){v(e,{chartWrapper:$.current,google:J.current})})));O&&(null===(t=J.current)||void 0===t||t.visualization.events.addListener($.current.getChart(),"onmouseout",(function(e){O(e,{chartWrapper:$.current,google:J.current})})))}),[v,O]),!g)return e.createElement("div",{className:f()("googlesitekit-chart","googlesitekit-chart-loading__forced",i)},Y);var X=s()(n||[]);N&&X.push({eventName:"ready",callback:N}),j&&X.push({eventName:"select",callback:j});var Q,ee,te,ne,ae,re,ie,oe,ce=E()(P);M&&R&&"LineChart"===a&&((null==P||null===(Q=P.vAxis)||void 0===Q||null===(ee=Q.viewWindow)||void 0===ee?void 0:ee.min)||h()(ce,"vAxis.viewWindow.min",0),(null==P||null===(te=P.vAxis)||void 0===te||null===(ne=te.viewWindow)||void 0===ne?void 0:ne.max)||h()(ce,"vAxis.viewWindow.max",100),(null==P||null===(ae=P.hAxis)||void 0===ae||null===(re=ae.viewWindow)||void 0===re?void 0:re.min)||(h()(ce,"hAxis.viewWindow.min",new Date(x)),delete ce.hAxis.ticks),(null==P||null===(ie=P.hAxis)||void 0===ie||null===(oe=ie.viewWindow)||void 0===oe?void 0:oe.max)||(h()(ce,"hAxis.viewWindow.max",new Date(L)),delete ce.hAxis.ticks));return e.createElement("div",{className:f()("googlesitekit-chart","googlesitekit-chart--".concat(a),i),tabIndex:-1},e.createElement(b.a,o()({className:"googlesitekit-chart__inner",chartEvents:X,chartType:a,chartVersion:"49",data:z,loader:Y,height:d,getChartWrapper:function(e,t){var n,a,r;(B||W(!0),e!==$.current)&&(null===(n=J.current)||void 0===n||n.visualization.events.removeAllListeners(null===(a=$.current)||void 0===a?void 0:a.getChart()),null===(r=J.current)||void 0===r||r.visualization.events.removeAllListeners($.current));$.current=e,J.current=t,l&&l(e,t)},width:w,options:ce},Z)),M&&R&&B&&e.createElement(k.b,{style:k.a.OVERLAY}),r)}GoogleChart.propTypes={className:y.a.string,children:y.a.node,chartEvents:y.a.arrayOf(y.a.shape({eventName:y.a.string,callback:y.a.func})),chartType:y.a.oneOf(["LineChart","PieChart"]).isRequired,data:y.a.array,getChartWrapper:y.a.func,height:y.a.string,loaded:y.a.bool,loadingHeight:y.a.string,loadingWidth:y.a.string,onMouseOut:y.a.func,onMouseOver:y.a.func,onReady:y.a.func,onSelect:y.a.func,selectedStats:y.a.arrayOf(y.a.number),width:y.a.string,options:y.a.object,gatheringData:y.a.bool},GoogleChart.defaultProps=I(I({},b.a.defaultProps),{},{loaded:!0})}).call(this,n(3))},207:function(e,t,n){"use strict";var a=n(334);n.d(t,"b",(function(){return a.a}));var r=n(140);n.d(t,"a",(function(){return r.a}))},21:function(e,t,n){"use strict";(function(e){var a=n(16),r=n.n(a),i=n(17),o=n.n(i),c=n(0),s=n.n(c),l=n(9),u=n.n(l),d=n(133),m=n(1),g=n(2),f=Object(g.forwardRef)((function(t,n){var a,i=t["aria-label"],c=t.arrow,s=t.back,l=t.caps,g=t.children,f=t.className,p=t.danger,y=t.disabled,b=t.external,v=t.hideExternalIndicator,h=t.href,O=t.inherit,E=t.inverse,_=t.onClick,T=t.small,A=t.to,S=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inherit","inverse","onClick","small","to"]),k=h||A||!_?A?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":y?"BUTTON_DISABLED":"BUTTON",N="BUTTON"===k||"BUTTON_DISABLED"===k?"button":"ROUTER_LINK"===k?d.b:"a",j=("EXTERNAL_LINK"===k&&(a=Object(m._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===k&&(a=Object(m._x)("(disabled)","screen reader text","google-site-kit")),a?i?"".concat(i," ").concat(a):"string"==typeof g?"".concat(g," ").concat(a):void 0:i);return e.createElement(N,r()({"aria-label":j,className:u()("googlesitekit-cta-link",f,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!v,"googlesitekit-cta-link--inverse":E,"googlesitekit-cta-link--back":s,"googlesitekit-cta-link--small":T,"googlesitekit-cta-link--inherit":O,"googlesitekit-cta-link--caps":l,"googlesitekit-cta-link--danger":p,"googlesitekit-cta-link--disabled":y}),disabled:y,href:"LINK"===k||"EXTERNAL_LINK"===k?h:void 0,onClick:_,rel:"EXTERNAL_LINK"===k?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===k?"_blank":void 0,to:A},S),g)}));f.propTypes={arrow:s.a.bool,back:s.a.bool,caps:s.a.bool,children:s.a.node,className:s.a.string,danger:s.a.bool,disabled:s.a.bool,external:s.a.bool,hideExternalIndicator:s.a.bool,href:s.a.string,inherit:s.a.bool,inverse:s.a.bool,onClick:s.a.func,small:s.a.bool,to:s.a.string},f.defaultProps={arrow:!1,back:!1,caps:!1,className:"",danger:!1,disabled:!1,external:!1,hideExternalIndicator:!1,href:"",inherit:!1,inverse:!1,small:!1},t.a=f}).call(this,n(3))},22:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a="core/modules",r="insufficient_module_dependencies"},23:function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"l",(function(){return r})),n.d(t,"i",(function(){return i})),n.d(t,"m",(function(){return o})),n.d(t,"n",(function(){return c})),n.d(t,"p",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"h",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"o",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"q",(function(){return f})),n.d(t,"k",(function(){return p})),n.d(t,"d",(function(){return y})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return h}));var a="dashboard",r="pageDashboard",i="dashboardViewOnly",o="pageDashboardViewOnly",c="postsList",s="userInput",l="activation",u="splash",d="adminBar",m="settings",g="module",f="wpDashboard",p="moduleSetup",y="traffic",b="content",v="speed",h="monetization"},236:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CreateAccountField}));var a=n(8),r=n(9),i=n.n(r);function CreateAccountField(t){var n=t.hasError,r=t.value,o=t.setValue,c=t.name,s=t.label;return void 0===r?null:e.createElement(a.q,{className:i()("mdc-text-field",{"mdc-text-field--error":n}),label:s,name:c,onChange:function(e){o(e.target.value,c)},outlined:!0,required:!0},e.createElement(a.g,{name:c,value:r,id:"googlesitekit_analytics_account_create_".concat(c)}))}}).call(this,n(3))},237:function(e,t,n){"use strict";(function(e){var a=n(0),r=function WidgetHeaderTitle(t){var n=t.title;return e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-widget__header-title"},n)};r.propTypes={title:n.n(a).a.string.isRequired},t.a=r}).call(this,n(3))},248:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportTable}));var a=n(9),r=n.n(a),i=n(303),o=n.n(i),c=n(10),s=n.n(c),l=n(0),u=n.n(l),d=n(35),m=n(62);function ReportTable(t){var n=t.rows,a=t.columns,i=t.className,c=t.limit,l=t.zeroState,u=t.gatheringData,g=void 0!==u&&u,f=Object(d.a)("zeroDataStates");s()(Array.isArray(n),"rows must be an array."),s()(Array.isArray(a),"columns must be an array."),a.forEach((function(e){var t=e.Component,n=e.field,a=void 0===n?null:n;s()(t||null!==a,"each column must define a Component and/or a field.")})),s()(Number.isInteger(c)||void 0===c,"limit must be an integer, if provided.");var p=a.filter((function(e){return!e.hideOnMobile}));return e.createElement("div",{className:r()("googlesitekit-table","googlesitekit-table--with-list",{"googlesitekit-table--gathering-data":g},i)},e.createElement("table",{className:r()("googlesitekit-table__wrapper","googlesitekit-table__wrapper--".concat(a.length,"-col"),"googlesitekit-table__wrapper--mobile-".concat(p.length,"-col"))},e.createElement("thead",{className:"googlesitekit-table__head"},e.createElement("tr",{className:"googlesitekit-table__head-row"},a.map((function(t,n){var a=t.title,i=t.description,o=t.primary,c=t.hideOnMobile,s=t.className;return e.createElement("th",{className:r()("googlesitekit-table__head-item",{"googlesitekit-table__head-item--primary":o},{"hidden-on-mobile":c},s),"data-tooltip":i,key:"googlesitekit-table__head-row-".concat(n)},a)})))),e.createElement("tbody",{className:"googlesitekit-table__body"},f&&g&&e.createElement("tr",{className:"googlesitekit-table__body-row"},e.createElement("td",{className:"googlesitekit-table__body-item googlesitekit-table__body-item-wrap",colSpan:a.length},e.createElement(m.b,null))),(!f||!g)&&!(null==n?void 0:n.length)&&l&&e.createElement("tr",{className:"googlesitekit-table__body-row"},e.createElement("td",{className:"googlesitekit-table__body-item googlesitekit-table__body-item-wrap",colSpan:a.length},e.createElement(l,null))),!g&&n.slice(0,c).map((function(t,n){return e.createElement("tr",{className:"googlesitekit-table__body-row",key:"googlesitekit-table__body-row-".concat(n)},a.map((function(n,a){var i=n.Component,c=n.field,s=n.hideOnMobile,l=n.className,u=void 0!==c?o()(t,c):void 0;return e.createElement("td",{key:"googlesitekit-table__body-item-".concat(a),className:r()("googlesitekit-table__body-item",{"hidden-on-mobile":s},l)},e.createElement("div",{className:"googlesitekit-table__body-item-content"},i&&e.createElement(i,{row:t,fieldValue:u}),!i&&u))})))})))))}ReportTable.propTypes={rows:u.a.arrayOf(u.a.oneOfType([u.a.array,u.a.object])).isRequired,columns:u.a.arrayOf(u.a.shape({title:u.a.string,description:u.a.string,primary:u.a.bool,className:u.a.string,field:u.a.string,hideOnMobile:u.a.bool,Component:u.a.componentType})).isRequired,className:u.a.string,limit:u.a.number,zeroState:u.a.func,gatheringData:u.a.bool}}).call(this,n(3))},258:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return y}));var a=n(5),r=n.n(a),i=n(14),o=n.n(i),c=n(10),s=n.n(c),l=n(339),u=n.n(l),d=n(265),m=n(113),g=n(310),f=n(15),p=function(e,t){var n=t.find((function(t){return t.test(e)}));return!!n&&n.exec(e)[1]},y=u()(function(){var e=o()(r.a.mark((function e(t){var n,a,i,o;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.homeURL,a=t.ampMode,s()(Object(m.a)(n),"homeURL must be valid URL"),i=[n],f.b!==a){e.next=14;break}return e.prev=4,e.next=7,Object(d.default)({path:"/wp/v2/posts?per_page=1"}).then((function(e){return e.slice(0,1).map((function(e){return Object(g.a)(e.link,{amp:1})})).pop()}));case 7:(o=e.sent)&&i.push(o),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)}}())},260:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(206);function Sparkline(t){var n=t.change,a=t.data,r=t.invertChangeColor,o=t.loadingHeight;if(!a)return null;var c=[];if(null===n)c.push("green");else{var s=r?"red":"green",l=r?"green":"red";c.push(0<=(parseFloat(n)||0)?s:l)}var u={title:"",backgroundColor:"transparent",curveType:"line",width:"100%",height:"50",enableInteractivity:!1,chartArea:{height:"100%",width:"100%"},legend:{position:"none"},axisFontSize:0,hAxis:{baselineColor:"none",ticks:[]},vAxis:{baselineColor:"none",ticks:[]},axes:[],colors:c};return a.slice(1).some((function(e){return e[1]>0}))||(u.vAxis.minValue=0,u.vAxis.maxValue=1),e.createElement("div",{className:"googlesitekit-analytics-sparkline-chart-wrap"},e.createElement(i.a,{chartType:"LineChart",data:a,loadingHeight:o,options:u}))}Sparkline.propTypes={invertChangeColor:r.a.bool,loadingHeight:r.a.string},Sparkline.defaultProps={invertChangeColor:!1,loadingHeight:"46px"},t.a=Sparkline}).call(this,n(3))},265:function(e,t,n){"use strict";(function(e){var a=n(61),r=n.n(a),i=n(266),o=e._googlesitekitAPIFetchData||{},c=o.nonce,s=o.nonceEndpoint,l=o.preloadedData,u=o.rootURL;r.a.nonceEndpoint=s,r.a.nonceMiddleware=r.a.createNonceMiddleware(c),r.a.rootURLMiddleware=r.a.createRootURLMiddleware(u),r.a.preloadingMiddleware=Object(i.a)(l),r.a.use(r.a.nonceMiddleware),r.a.use(r.a.mediaUploadMiddleware),r.a.use(r.a.rootURLMiddleware),r.a.use(r.a.preloadingMiddleware),t.default=r.a}).call(this,n(20))},266:function(e,t,n){"use strict";var a=n(249);t.a=function(e){var t=Object.keys(e).reduce((function(t,n){return t[Object(a.getStablePath)(n)]=e[n],t}),{}),n=!1;return function(e,r){if(n)return r(e);setTimeout((function(){n=!0}),1e3);var i=e.parse,o=void 0===i||i,c=e.path;if("string"==typeof e.path){var s,l=(null===(s=e.method)||void 0===s?void 0:s.toUpperCase())||"GET",u=Object(a.getStablePath)(c);if(o&&"GET"===l&&t[u]){var d=Promise.resolve(t[u].body);return delete t[u],d}if("OPTIONS"===l&&t[l]&&t[l][u]){var m=Promise.resolve(t[l][u]);return delete t[l][u],m}}return r(e)}}},27:function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"h",(function(){return u}));var a="modules/tagmanager",r="account_create",i="container_create",o="web",c="amp",s="tagmanagerSetup",l="https://www.googleapis.com/auth/tagmanager.edit.containers",u="SETUP_WITH_ANALYTICS"},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a="_googlesitekitDataLayer",r="data-googlesitekit-gtag"},29:function(e,t,n){"use strict";(function(e){var a,r;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(a=e)||void 0===a||null===(r=a._googlesitekitBaseData)||void 0===r?void 0:r.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(20))},291:function(e,t,n){"use strict";(function(e,a){var r=n(13),i=n.n(r),o=n(0),c=n.n(o),s=n(26),l=n(9),u=n.n(l),d=n(2);function TableOverflowContainer(t){var n=t.children,r=Object(d.useState)(!1),o=i()(r,2),c=o[0],l=o[1],m=Object(d.useRef)();Object(d.useEffect)((function(){g();var t=Object(s.debounce)(g,100);return e.addEventListener("resize",t),function(){return e.removeEventListener("resize",t)}}),[]);var g=function(){if(m.current){var e=m.current,t=e.scrollLeft,n=e.scrollWidth-e.offsetWidth;l(t<n-16&&0<n-16)}};return a.createElement("div",{onScroll:Object(s.debounce)(g,100),className:u()("googlesitekit-table-overflow",{"googlesitekit-table-overflow--gradient":c})},a.createElement("div",{ref:m,className:"googlesitekit-table-overflow__container"},n))}TableOverflowContainer.propTypes={children:c.a.element},t.a=TableOverflowContainer}).call(this,n(20),n(3))},293:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GA4PropertyNotice}));var a=n(0),r=n.n(a),i=n(1),o=n(207),c=n(21);function GA4PropertyNotice(t){var n=t.notice,a=t.children;return e.createElement(o.b,{type:o.a,LearnMore:function LearnMore(){return e.createElement(c.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/ga4/",external:!0,inherit:!0},Object(i.__)("Learn more","google-site-kit"))},notice:n},a)}GA4PropertyNotice.propTypes={children:r.a.node,notice:r.a.string.isRequired}}).call(this,n(3))},295:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(21),o=function WidgetHeaderCTA(t){var n=t.href,a=t.label,r=t.external;return e.createElement("div",{className:"googlesitekit-widget__header--cta"},e.createElement(i.a,{href:n,external:r},a))};o.propTypes={href:r.a.string,label:r.a.string.isRequired,external:r.a.bool},o.defaultProps={href:"",external:!0},t.a=o}).call(this,n(3))},298:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return s}));var a=n(31),r=n.n(a);function i(e,t){return"string"==typeof e||(!("object"!==r()(e)||!t(e))||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e||"object"===r()(e)&&t(e)})))}function o(e){var t=e.dateRange,n=e.startDate,a=e.endDate,r=n&&n.match(/^\d{4}-\d{2}-\d{2}$/),i=a&&a.match(/^\d{4}-\d{2}-\d{2}$/),o=t&&t.match(/^last-\d+-days$/);return r&&i||o}function c(e){var t=function(e){var t=e.hasOwnProperty("fieldName")&&!!e.fieldName,n=e.hasOwnProperty("sortOrder")&&e.sortOrder.toString().match(/(ASCENDING|DESCENDING)/i);return t&&n};return Array.isArray(e)?e.every((function(e){return"object"===r()(e)&&t(e)})):"object"===r()(e)&&t(e)}function s(e){return"string"==typeof e||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return v}));var a=n(86),r=e._googlesitekitBaseData||{},i=r.activeModules,o=void 0===i?[]:i,c=r.isSiteKitScreen,s=r.trackingEnabled,l=r.trackingID,u=r.referenceSiteURL,d=r.userIDHash,m=r.isAuthenticated,g={activeModules:o,trackingEnabled:s,trackingID:l,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:r.userRoles,isAuthenticated:m,pluginVersion:"1.75.0"},f=Object(a.a)(g),p=f.enableTracking,y=f.disableTracking,b=(f.isTrackingEnabled,f.initializeSnippet),v=f.trackEvent;function h(e){e?p():y()}c&&s&&b()}).call(this,n(20))},305:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"a",(function(){return s}));var a=n(40);function r(e){return"string"==typeof e&&/^\w+$/.test(e)}function i(e){return e===a.c||r(e)}function o(e){return"string"==typeof e&&/^\d+$/.test(e)}function c(e){return e===a.d||o(e)}function s(e){return"string"==typeof e&&/^G-[a-zA-Z0-9]+$/.test(e)}},311:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GA4Notice}));var a=n(1),r=n(207),i=n(21);function GA4Notice(){return e.createElement(r.b,{type:r.a,LearnMore:function LearnMore(){return e.createElement(i.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/ga4/",external:!0,inherit:!0},Object(a.__)("Learn more here.","google-site-kit"))},notice:Object(a.__)("Got a Google Analytics 4 (GA4) property and want to find out how to use it with Site Kit?","google-site-kit")})}}).call(this,n(3))},312:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return p})),n.d(t,"d",(function(){return y})),n.d(t,"c",(function(){return TrackingExclusionSwitches}));var a,r=n(6),i=n.n(r),o=n(2),c=n(1),s=n(4),l=n.n(s),u=n(11),d=n(138),m=l.a.useSelect,g=l.a.useDispatch,f="loggedinUsers",p="contentCreators",y=(a={},i()(a,f,Object(c.__)("All logged-in users","google-site-kit")),i()(a,p,Object(c.__)("Users that can write posts","google-site-kit")),a);function TrackingExclusionSwitches(){var t,n=m((function(e){return e(u.f).getTrackingDisabled()})),a=g(u.f).setTrackingDisabled;t=n&&n.includes(f)?Object(c.__)("All logged-in users will be excluded from Analytics tracking","google-site-kit"):n&&n.includes(p)?Object(c.__)("Users that can write posts will be excluded from Analytics tracking","google-site-kit"):Object(c.__)("All logged-in users will be included in Analytics tracking","google-site-kit");var r=Object(o.useCallback)((function(e,t){var r=t?n.concat(e):n.filter((function(t){return t!==e}));a(r)}),[n,a]),i=Object(o.useCallback)((function(e){var t=e.target.checked;r(p,t)}),[r]),s=Object(o.useCallback)((function(e){var t=e.target.checked;r(f,t)}),[r]);return Array.isArray(n)?e.createElement("fieldset",{className:"googlesitekit-analytics-trackingdisabled"},e.createElement("legend",{className:"googlesitekit-setup-module__text"},Object(c.__)("Exclude from Analytics","google-site-kit")),e.createElement("div",{className:"googlesitekit-settings-module__inline-items"},e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(d.a,{label:y[f],checked:n.includes(f),onClick:s,hideLabel:!1})),!n.includes(f)&&e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(d.a,{label:y[p],checked:n.includes(p),onClick:i,hideLabel:!1}))),e.createElement("p",{className:"googlesitekit-margin-top-0"},t)):null}}).call(this,n(3))},313:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UseSnippetSwitch}));var a=n(0),r=n.n(a),i=n(2),o=n(1),c=n(4),s=n.n(c),l=n(11),u=n(138),d=n(7),m=n(19),g=s.a.useSelect,f=s.a.useDispatch;function UseSnippetSwitch(t){var n=t.description,a=Object(m.a)(),r=g((function(e){return e(l.f).getUseSnippet()})),c=g((function(e){return e(l.f).getCanUseSnippet()})),s=g((function(e){return e(l.f).hasExistingTag()})),p=f(l.f).setUseSnippet,y=Object(i.useCallback)((function(){var e=!r;p(e),Object(d.z)("".concat(a,"_analytics"),e?"enable_tag":"disable_tag","ua")}),[r,p,a]);return void 0===r||void 0===s?null:e.createElement("div",{className:"googlesitekit-analytics-usesnippet"},e.createElement(u.a,{label:Object(o.__)("Place Universal Analytics code","google-site-kit"),checked:!1!==c&&r,onClick:y,hideLabel:!1,disabled:!1===c}),n)}UseSnippetSwitch.propTypes={description:r.a.node}}).call(this,n(3))},314:function(e,t){e.exports=googlesitekit.widgets},33:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i}));var a={BOXES:"boxes",COMPOSITE:"composite"},r={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},334:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNotice}));var a=n(9),r=n.n(a),i=n(0),o=n.n(i),c=n(335),s=n(336),l=n(140);function SettingsNotice(t){var n=t.children,a=t.type,i=t.Icon,o=void 0===i?Object(l.d)(a):i,u=n?s.a:c.a;return e.createElement("div",{className:r()("googlesitekit-settings-notice","googlesitekit-settings-notice--".concat(a),{"googlesitekit-settings-notice--single-row":!n,"googlesitekit-settings-notice--multi-row":n})},e.createElement("div",{className:"googlesitekit-settings-notice__icon"},e.createElement(o,{width:"20",height:"20"})),e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(u,t)))}SettingsNotice.propTypes={children:o.a.node,notice:o.a.node.isRequired,type:o.a.oneOf([l.a,l.c,l.b]),Icon:o.a.elementType,LearnMore:o.a.elementType},SettingsNotice.defaultProps={type:l.a}}).call(this,n(3))},335:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var a=n(0),r=n.n(a),i=n(2);function SettingsNoticeSingleRow(t){var n=t.notice,a=t.LearnMore;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),a&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(a,null)))}SettingsNoticeSingleRow.propTypes={notice:r.a.node.isRequired,LearnMore:r.a.elementType}}).call(this,n(3))},336:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var a=n(0),r=n.n(a),i=n(2);function SettingsNoticeMultiRow(t){var n=t.notice,a=t.LearnMore,r=t.children;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),e.createElement("div",{className:"googlesitekit-settings-notice__inner-row"},e.createElement("div",{className:"googlesitekit-settings-notice__children-container"},r),a&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(a,null))))}SettingsNoticeMultiRow.propTypes={children:r.a.node.isRequired,notice:r.a.node.isRequired,LearnMore:r.a.elementType}}).call(this,n(3))},337:function(e,t,n){"use strict";n.d(t,"a",(function(){return E}));var a=n(6),r=n.n(a),i=n(14),o=n.n(i),c=n(5),s=n.n(c),l=n(10),u=n.n(l),d=n(4),m=n.n(d),g=n(15),f=n(258);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var h=m.a.createRegistryControl,O=m.a.createRegistrySelector,E=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.storeName,a=t.isValidTag,i=t.tagMatchers;u()("string"==typeof n&&n,"storeName is required."),u()("function"==typeof a,"isValidTag must be a function."),u()(Array.isArray(i),"tagMatchers must be an Array.");var c={existingTag:void 0},l={fetchGetExistingTag:function(){return{payload:{},type:"FETCH_GET_EXISTING_TAG"}},receiveGetExistingTag:function(e){return u()(null===e||"string"==typeof e,"existingTag must be a tag string or null."),{payload:{existingTag:a(e)?e:null},type:"RECEIVE_GET_EXISTING_TAG"}},waitForExistingTag:s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"WAIT_FOR_EXISTING_TAG"};case 2:case"end":return e.stop()}}),e)}))},d=(e={},r()(e,"FETCH_GET_EXISTING_TAG",h((function(e){return o()(s.a.mark((function t(){var n,a,r,o,c,l,u,d;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.select(g.c).getHomeURL(),a=e.select(g.c).getAMPMode(),t.next=4,Object(f.b)({homeURL:n,ampMode:a});case 4:r=t.sent,o=b(r),t.prev=6,o.s();case 8:if((c=o.n()).done){t.next=18;break}return l=c.value,t.next=12,e.dispatch(g.c).waitForHTMLForURL(l);case 12:if(u=e.select(g.c).getHTMLForURL(l),!(d=Object(f.a)(u,i))){t.next=16;break}return t.abrupt("return",d);case 16:t.next=8;break;case 18:t.next=23;break;case 20:t.prev=20,t.t0=t.catch(6),o.e(t.t0);case 23:return t.prev=23,o.f(),t.finish(23);case 26:return t.abrupt("return",null);case 27:case"end":return t.stop()}}),t,null,[[6,20,23,26]])})))}))),r()(e,"WAIT_FOR_EXISTING_TAG",h((function(e){return function(){var t=function(){return void 0!==e.select(n).getExistingTag()};return!!t()||new Promise((function(n){var a=e.subscribe((function(){t()&&(a(),n())}))}))}}))),e),p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0,n=t.type,a=t.payload;switch(n){case"RECEIVE_GET_EXISTING_TAG":var r=a.existingTag;return y(y({},e),{},{existingTag:r});default:return e}},v={getExistingTag:s.a.mark((function e(){var t,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.a.commonActions.getRegistry();case 2:if(void 0!==(t=e.sent).select(n).getExistingTag()){e.next=8;break}return e.next=6,l.fetchGetExistingTag();case 6:a=e.sent,t.dispatch(n).receiveGetExistingTag(a);case 8:case"end":return e.stop()}}),e)}))},E={getExistingTag:function(e){return e.existingTag},hasExistingTag:O((function(e){return function(){var t=e(n).getExistingTag();if(void 0!==t)return!!t}}))},_={initialState:c,actions:l,controls:d,reducer:p,resolvers:v,selectors:E};return y(y({},_),{},{STORE_NAME:n})}},338:function(e,t,n){"use strict";var a=n(2);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("ellipse",{cx:175.51,cy:381.74,rx:104,ry:8.26,fill:"#F1F3F4"}),o=a.createElement("path",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M200 10v31.42M105 35.46l15.71 27.2M35.46 105l27.2 15.71M10 200h31.42M35.46 295l27.2-15.71M364.54 295l-27.2-15.71M390 200h-31.42M364.54 105l-27.2 15.71M295 35.46l-15.71 27.2"}),c=a.createElement("path",{d:"M201.85 238.9l61.65 74a20 20 0 011 24.29l-30 42.81h32.13",stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:9.27}),s=a.createElement("path",{stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:9.27,d:"M214.03 222.14L114.03 380h-29.6"}),l=a.createElement("path",{stroke:"#185ABC",strokeLinejoin:"round",strokeWidth:9.27,d:"M201.85 238.9l46.71 56.1M214.03 222.14L167.87 295"}),u=a.createElement("path",{d:"M129.21 229.83l-11.7-42.66A50 50 0 01136 133.78L191 93a10 10 0 004-8V61.71M270.79 229.83l11.7-42.66A50 50 0 00264 133.78L209.05 93a10 10 0 01-4.05-8V61.71",stroke:"#4285F4",strokeLinejoin:"round",strokeWidth:9.27}),d=a.createElement("path",{d:"M199.87 289.41a81.45 81.45 0 0081.58-81.32l-162.9-.26a81.45 81.45 0 0081.32 81.58z",fill:"#1A73E8"}),m=a.createElement("path",{d:"M172.86 256.89c13.38 16.47 37.19 21.05 54.28 0",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6.66});t.a=function SvgZeroStateBlue(e){return a.createElement("svg",r({viewBox:"0 0 400 400",fill:"none"},e),i,o,c,s,l,u,d,m)}},34:function(e,t){e.exports=googlesitekit.api},340:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupUseSnippetSwitch}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(11),s=n(313),l=o.a.useSelect;function SetupUseSnippetSwitch(){var t=l((function(e){return e(c.f).getExistingTag()})),n=l((function(e){return e(c.f).getCanUseSnippet()})),i=l((function(e){return e(c.f).getPropertyID()}));if(!Boolean(t)&&!1!==n)return null;if(!1===n)return e.createElement(s.a,{description:e.createElement("p",null,Object(r.__)("The code is controlled by the Tag Manager module.","google-site-kit"))});var o=t===i?e.createElement(a.Fragment,null,e.createElement("p",null,Object(r.sprintf)(Object(r.__)("A tag %s for the selected property already exists on the site.","google-site-kit"),t)),e.createElement("p",null,Object(r.__)("Make sure you remove it if you want to place the same UA tag via Site Kit, otherwise they will be duplicated.","google-site-kit"))):e.createElement(a.Fragment,null,e.createElement("p",null,Object(r.sprintf)(Object(r.__)("An existing tag %s was found on the page.","google-site-kit"),t)),e.createElement("p",null,Object(r.__)("If you prefer to collect data using that existing UA tag, please select the corresponding account and property above.","google-site-kit")));return e.createElement(s.a,{description:o})}}).call(this,n(3))},346:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdSenseLinkCTA}));var a=n(1),r=n(4),i=n.n(r),o=n(83),c=n(15),s=i.a.useSelect;function AdSenseLinkCTA(){var t=s((function(e){return e(c.c).getGoogleSupportURL({path:"/adsense/answer/6084409"})}));return e.createElement(o.a,{title:Object(a.__)("Link Analytics and AdSense","google-site-kit"),description:Object(a.__)("Get reports for your top earning pages by linking your Analytics and AdSense accounts","google-site-kit"),ctaLink:t,ctaLabel:Object(a.__)("Learn more","google-site-kit"),ctaLinkExternal:!0})}}).call(this,n(3))},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(2),r=n(96),i=n(29),o=function(e){var t=Object(a.useContext)(r.a);return Object(i.b)(e,t)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a=function(e){return e instanceof Date&&!isNaN(e)}},362:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountCreate}));var a=n(5),r=n.n(a),i=n(14),o=n.n(i),c=n(13),s=n.n(c),l=n(1),u=n(2),d=n(4),m=n.n(d),g=n(11),f=n(15),p=n(12),y=n(38),b=n(37),v=n(92),h=n(7),O=n(377),E=n(8),_=n(18),T=n(21),A=n(55),S=n(116),k=n(293),N=n(378),j=n(379),I=n(380),D=n(381),w=n(382),P=n(19),C=m.a.useDispatch,R=m.a.useSelect;function AccountCreate(){var t=Object(u.useState)(!1),n=s()(t,2),a=n[0],i=n[1],c=R((function(e){return{accounts:e(g.f).getAccounts(),hasResolvedAccounts:e(g.f).hasFinishedResolution("getAccounts")}})),d=c.accounts,m=c.hasResolvedAccounts,Z=R((function(e){return e(g.f).getAccountTicketTermsOfServiceURL()})),M=R((function(e){return e(g.f).canSubmitAccountCreate()})),G=R((function(e){return e(g.f).isDoingCreateAccount()})),x=R((function(e){return e(p.a).hasScope(g.k)})),L=R((function(e){return e(p.a).hasScope(g.c)})),U=R((function(e){return e(y.a).hasForm(g.d)})),F=R((function(e){return e(y.a).getValue(g.d,"autoSubmit")})),B=R((function(e){return e(f.c).getReferenceSiteURL()})),W=R((function(e){return e(f.c).getSiteName()})),H=R((function(e){return e(f.c).getTimezone()})),z=Object(P.a)(),V=C(y.a).setValues,q=C(b.a).navigateTo,K=C(g.f).createAccount,Y=C(p.a).setPermissionScopeError;Object(u.useEffect)((function(){Z&&q(Z)}),[Z,q]),Object(u.useEffect)((function(){U||V(g.d,Object(O.a)({siteName:W,siteURL:B,timezone:H}))}),[U,W,B,H,V]);var $=Object(u.useCallback)(o()(r.a.mark((function e(){var t,n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],x&&L||(t.push(g.k),t.push(g.c)),!(t.length>0)){e.next=6;break}return V(g.d,{autoSubmit:!0}),Y({code:v.a,message:Object(l.__)("Additional permissions are required to create a new Analytics account.","google-site-kit"),data:{status:403,scopes:t,skipModal:!0}}),e.abrupt("return");case 6:return V(g.d,{autoSubmit:!1}),e.next=9,Object(h.z)("".concat(z,"_analytics"),"create_account","proxy");case 9:return e.next=11,K();case 11:n=e.sent,n.error||i(!0);case 14:case"end":return e.stop()}}),e)}))),[K,i,x,L,Y,V,z]);Object(u.useEffect)((function(){x&&F&&$()}),[x,F,$]);var J=C(g.f).rollbackSettings,X=Object(u.useCallback)((function(){return J()}),[J]);return G||a||!m||void 0===x?e.createElement(A.a,null):e.createElement("div",null,e.createElement(S.a,{moduleSlug:"analytics",storeName:g.f}),e.createElement("h3",{className:"googlesitekit-heading-4"},Object(l.__)("Create your Analytics account","google-site-kit")),e.createElement("p",null,Object(l.__)("We’ve pre-filled the required information for your new account. Confirm or edit any details:","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(E.a,{size:6},e.createElement(j.a,null)),e.createElement(E.a,{size:6},e.createElement(I.a,null)),e.createElement(E.a,{size:6},e.createElement(D.a,null))),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(w.a,null),e.createElement(N.a,null)),e.createElement("p",null,x&&e.createElement("span",null,Object(l.__)("You will be redirected to Google Analytics to accept the terms of service.","google-site-kit")),!x&&e.createElement("span",null,Object(l.__)("You will need to give Site Kit permission to create an Analytics account on your behalf and also accept the Google Analytics terms of service.","google-site-kit"))),e.createElement(k.a,{notice:Object(l.__)("This will create both a Google Analytics 4 and Universal Analytics property.","google-site-kit")}),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(_.a,{disabled:!M,onClick:$},Object(l.__)("Create Account","google-site-kit")),d&&!!d.length&&e.createElement(T.a,{className:"googlesitekit-setup-module__sub-action",onClick:X},Object(l.__)("Back","google-site-kit"))))}}).call(this,n(3))},363:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return AccountCreateLegacy}));var r=n(5),i=n.n(r),o=n(14),c=n.n(o),s=n(2),l=n(1),u=n(4),d=n.n(u),m=n(18),g=n(21),f=n(55),p=n(7),y=n(11),b=n(116),v=n(311),h=n(19),O=d.a.useSelect,E=d.a.useDispatch;function AccountCreateLegacy(){var t=O((function(e){return{accounts:e(y.f).getAccounts(),hasResolvedAccounts:e(y.f).hasFinishedResolution("getAccounts")}})),n=t.accounts,r=t.hasResolvedAccounts,o=O((function(e){return e(y.f).getAccountID()})),u=y.a===o,d=O((function(e){return e(y.f).getServiceURL({path:"/provision/SignUp"})})),_=Object(h.a)(),T=Object(s.useCallback)(function(){var t=c()(i.a.mark((function t(n){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),t.next=3,Object(p.z)("".concat(_,"_analytics"),"create_account","custom-oauth");case 3:e.open(d,"_blank");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[d,_]),A=E(y.f).resetAccounts,S=Object(s.useCallback)((function(){A()}),[A]);return r?a.createElement("div",null,a.createElement(v.a,null),a.createElement(b.a,{moduleSlug:"analytics",storeName:y.f}),!u&&n&&0===n.length&&a.createElement("p",null,Object(l.__)('Looks like you don\'t have an Analytics account yet. Once you create it, click on "Re-fetch my account" and Site Kit will locate it.',"google-site-kit")),u&&a.createElement(s.Fragment,null,a.createElement("p",null,Object(l.__)("To create a new account, click the button below which will open the Google Analytics account creation screen in a new window.","google-site-kit")),a.createElement("p",null,Object(l.__)("Once completed, click the link below to re-fetch your accounts to continue.","google-site-kit"))),a.createElement("div",{className:"googlesitekit-setup-module__action"},a.createElement(m.a,{onClick:T},Object(l.__)("Create an account","google-site-kit")),a.createElement("div",{className:"googlesitekit-setup-module__sub-action"},a.createElement(g.a,{onClick:S},Object(l.__)("Re-fetch My Account","google-site-kit"))))):a.createElement(f.a,null)}}).call(this,n(20),n(3))},364:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountSelect}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(55),s=n(8),l=n(11),u=n(7),d=n(19),m=o.a.useSelect,g=o.a.useDispatch;function AccountSelect(){var t=Object(d.a)(),n=m((function(e){return e(l.f).getAccountID()})),i=m((function(e){return{accounts:e(l.f).getAccounts(),hasResolvedAccounts:e(l.f).hasFinishedResolution("getAccounts")}})),o=i.accounts,f=i.hasResolvedAccounts,p=g(l.f).selectAccount,y=Object(a.useCallback)((function(e,a){var r=a.dataset.value;if(n!==r){p(r);var i=r===l.a?"change_account_new":"change_account";Object(u.z)("".concat(t,"_analytics"),i)}}),[n,p,t]);return f?e.createElement(s.p,{className:"googlesitekit-analytics__select-account",label:Object(r.__)("Account","google-site-kit"),value:n,onEnhancedChange:y,enhanced:!0,outlined:!0},(o||[]).concat({id:l.a,name:Object(r.__)("Set up a new account","google-site-kit")}).map((function(t,n){var a=t.id,r=t.name;return e.createElement(s.n,{key:n,value:a},r)}))):e.createElement(c.a,{small:!0})}}).call(this,n(3))},365:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdsConversionIDTextField}));var a=n(9),r=n.n(a),i=n(2),o=n(1),c=n(4),s=n.n(c),l=n(8),u=n(11),d=n(56),m=n(63),g=s.a.useSelect,f=s.a.useDispatch;function AdsConversionIDTextField(){var t=g((function(e){return e(u.f).getAdsConversionID()})),n=g((function(e){return e(u.f).getCanUseSnippet()&&e(u.f).getUseSnippet()})),a=f(u.f).setAdsConversionID,c=Object(i.useCallback)((function(e){var n=e.currentTarget.value.trim().toUpperCase();"AW-".length<n.length&&!/^AW-/.test(n)&&(n="AW-".concat(n)),n!==t&&a(n)}),[t,a]),s=Boolean(!t||Object(m.f)(t));return s&&!n?null:e.createElement("div",null,e.createElement(l.q,{label:Object(o.__)("Ads Conversion ID","google-site-kit"),className:r()({"mdc-text-field--error":!s}),helperText:!s&&e.createElement(l.f,{persistent:!0},Object(o.__)("Conversion IDs must be in the format: AW-XXXXX","google-site-kit")),trailingIcon:!s&&e.createElement("span",{className:"googlesitekit-text-field-icon--error"},e.createElement(d.a,null,Object(o.__)("Error","google-site-kit"))),outlined:!0},e.createElement(l.g,{value:t,onChange:c})),e.createElement("p",null,Object(o.__)("If you’re using Google Ads, insert your Ads conversion ID if you’d like Site Kit to place the snippet on your site","google-site-kit")))}}).call(this,n(3))},366:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AnonymizeIPSwitch}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(11),s=n(15),l=n(138),u=n(21),d=o.a.useSelect,m=o.a.useDispatch;function AnonymizeIPSwitch(){var t=d((function(e){return e(c.f).getAnonymizeIP()})),n=d((function(e){return e(c.f).getUseSnippet()})),i=d((function(e){return e(s.c).getAMPMode()})),o=d((function(e){return e(s.c).getGoogleSupportURL({path:"/analytics/answer/2763052"})})),g=m(c.f).setAnonymizeIP,f=Object(a.useCallback)((function(){g(!t)}),[t,g]);return n&&"primary"!==i&&void 0!==t?e.createElement("div",{className:"googlesitekit-analytics-anonymizeip"},e.createElement(l.a,{label:Object(r.__)("Anonymize IP addresses","google-site-kit"),onClick:f,checked:t,hideLabel:!1}),e.createElement("p",null,t?Object(r.__)("IP addresses will be anonymized.","google-site-kit"):Object(r.__)("IP addresses will not be anonymized.","google-site-kit")," ",e.createElement(u.a,{href:o,external:!0,inherit:!0,"aria-label":Object(r.__)("Learn more about IP anonymization.","google-site-kit")},Object(r.__)("Learn more","google-site-kit")))):null}}).call(this,n(3))},367:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ExistingGTMPropertyNotice}));var a=n(1),r=n(4),i=n.n(r),o=n(11),c=n(27),s=i.a.useSelect;function ExistingGTMPropertyNotice(){var t=s((function(e){return e(o.f).getPropertyID()})),n=s((function(e){return e(c.g).getSingleAnalyticsPropertyID()}));return n?n===t?e.createElement("p",null,Object(a.sprintf)(Object(a.__)("An existing Google Tag Manager property was found on your site with the ID %s. Since it refers to the same property selected here, Site Kit will not place its own tag and rely on the existing one. If later on you decide to remove this property, Site Kit can place a new tag for you.","google-site-kit"),n)):e.createElement("p",null,Object(a.sprintf)(Object(a.__)("An existing Google Tag Manager property was found on your site with the ID %s.","google-site-kit"),n)):null}}).call(this,n(3))},368:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ProfileNameTextField}));var a=n(97),r=n(2),i=n(1),o=n(4),c=n.n(o),s=n(38),l=n(8),u=n(11),d=n(56),m=c.a.useSelect,g=c.a.useDispatch;function ProfileNameTextField(){var t,n,o=m((function(e){return e(u.f).getAccountID()})),c=m((function(e){return e(u.f).getPropertyID()})),f=m((function(e){return e(u.f).getProfiles(o,c)})),p=m((function(e){return e(u.f).getProfileID()})),y=m((function(e){return e(s.a).getValue(u.e,"profileName")})),b=g(s.a).setValues,v=Object(r.useCallback)((function(e){var t=e.currentTarget;b(u.e,{profileName:t.value})}),[b]);return Object(a.a)((function(){y||b(u.e,{profileName:Object(i._x)("All Web Site Data","default Analytics view name","google-site-kit")})})),p!==u.g?null:(Array.isArray(f)&&f.some((function(e){return e.name===y}))&&(t=e.createElement(l.f,{persistent:!0},Object(i.__)("A view with this name already exists.","google-site-kit")),n=e.createElement("span",{className:"googlesitekit-text-field-icon--warning"},e.createElement(d.a,null,Object(i.__)("Warning","google-site-kit")))),e.createElement("div",{className:"googlesitekit-analytics-profilename"},e.createElement(l.q,{label:Object(i.__)("View Name","google-site-kit"),outlined:!0,helperText:t,trailingIcon:n},e.createElement(l.g,{value:y,onChange:v})),e.createElement("p",null,Object(i.__)("You can make changes to this view (e.g. exclude URL query parameters) in Google Analytics.","google-site-kit"))))}}).call(this,n(3))},369:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ProfileSelect}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(8),s=n(55),l=n(11),u=n(63),d=n(7),m=n(19),g=o.a.useSelect,f=o.a.useDispatch;function ProfileSelect(){var t=g((function(e){return e(l.f).getAccountID()})),n=g((function(e){return e(l.f).getPropertyID()})),i=g((function(e){return e(l.f).getProfileID()})),o=g((function(e){return e(l.f).getProfiles(t,n)})),p=g((function(e){return!e(l.f).hasFinishedResolution("getAccounts")||e(l.f).isResolving("getProperties",[t])||e(l.f).isResolving("getProfiles",[t,n])})),y=f(l.f).setProfileID,b=Object(m.a)(),v=Object(a.useCallback)((function(e,t){var n=t.dataset.value;if(i!==n){y(t.dataset.value);var a=n===l.g?"change_profile_new":"change_profile";Object(d.z)("".concat(b,"_analytics"),a)}}),[i,y,b]);return Object(u.e)(t)&&Object(u.k)(n)?p?e.createElement(s.a,{small:!0}):e.createElement(c.p,{className:"googlesitekit-analytics__select-profile",label:Object(r.__)("View","google-site-kit"),value:i,onEnhancedChange:v,enhanced:!0,outlined:!0},(o||[]).concat({id:l.g,name:Object(r.__)("Set up a new view","google-site-kit")}).map((function(t,n){var a=t.id,r=t.name;return e.createElement(c.n,{key:n,value:a},r)}))):null}}).call(this,n(3))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a="core/location"},370:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertySelect}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(8),s=n(55),l=n(11),u=n(63),d=n(7),m=n(19),g=o.a.useSelect,f=o.a.useDispatch;function PropertySelect(){var t=g((function(e){var t={accountID:e(l.f).getAccountID(),properties:[],isResolvingProperties:!1};return t.accountID&&(t.properties=e(l.f).getProperties(t.accountID),t.isResolvingProperties=e(l.f).isResolving("getProperties",[t.accountID])),t})),n=t.accountID,i=t.properties,o=t.isResolvingProperties,p=g((function(e){return e(l.f).getPropertyID()})),y=g((function(e){return e(l.f).hasFinishedResolution("getAccounts")})),b=f(l.f).selectProperty,v=Object(m.a)(),h=Object(a.useCallback)((function(e,t){var n=t.dataset.value;if(p!==n){b(n,t.dataset.internalId);var a=n===l.h?"change_property_new":"change_property";Object(d.z)("".concat(v,"_analytics"),a,"ua")}}),[p,b,v]);return Object(u.e)(n)?!y||o?e.createElement(s.a,{small:!0}):e.createElement(c.p,{className:"googlesitekit-analytics__select-property",label:Object(r.__)("Property","google-site-kit"),value:p,onEnhancedChange:h,enhanced:!0,outlined:!0},(i||[]).concat({id:l.h,name:Object(r.__)("Set up a new property","google-site-kit")}).map((function(t,n){var a=t.id,i=t.name,o=t.internalWebPropertyId;return e.createElement(c.n,{key:n,value:a,"data-internal-id":o},o?Object(r.sprintf)(Object(r._x)("%1$s (%2$s)","Analytics property name and ID","google-site-kit"),i,a):i)}))):null}}).call(this,n(3))},371:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertySelectIncludingGA4}));var a=n(6),r=n.n(a),i=n(5),o=n.n(i),c=n(14),s=n.n(c),l=n(2),u=n(1),d=n(4),m=n.n(d),g=n(8),f=n(55),p=n(40),y=n(11),b=n(63),v=n(7),h=n(19);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=m.a.useSelect,T=m.a.useDispatch;function PropertySelectIncludingGA4(){var t=_((function(e){return e(y.f).getAccountID()})),n=_((function(e){return e(y.f).getPropertiesIncludingGA4(t)||[]})),a=_((function(e){return e(p.b).getPropertyID()})),r=_((function(e){return e(y.f).getPropertyID()})),i=_((function(e){var n=!e(y.f).hasFinishedResolution("getAccounts"),a=!e(p.b).hasFinishedResolution("getProperties",[t]),r=!e(y.f).hasFinishedResolution("getProperties",[t]);return n||r||a})),c=_((function(e){return e(y.f).getPrimaryPropertyType()}))===y.i?a:r,d=T(p.b),m=T(y.f),O=Object(h.a)(),A=Object(l.useCallback)(function(){var e=s()(o.a.mark((function e(n,a){var r,i,s,l,u,g,f,p,b,h,E;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=a.dataset.value,i=a.dataset.internalId,c!==r){e.next=4;break}return e.abrupt("return");case 4:if(r===y.h?Object(v.z)("".concat(O,"_analytics"),"change_property_new","ua"):(s=i?"ua":"ga4",Object(v.z)("".concat(O,"_analytics"),"change_property",s)),!i&&r!==y.h){e.next=20;break}return e.next=8,d.matchAccountProperty(t);case 8:if(!(null==(f=e.sent)?void 0:f._id)){e.next=13;break}return e.next=12,d.matchWebDataStream(f._id);case 12:p=e.sent;case 13:m.selectProperty(r,i),m.setPrimaryPropertyType(y.j),d.setPropertyID((null==f?void 0:f._id)||""),d.setWebDataStreamID((null===(l=p)||void 0===l?void 0:l._id)||""),d.setMeasurementID((null===(u=p)||void 0===u||null===(g=u.webStreamData)||void 0===g?void 0:g.measurementId)||""),e.next=32;break;case 20:return e.next=22,m.findMatchedProperty(t);case 22:if(!(null==(h=e.sent)?void 0:h.id)){e.next=27;break}return e.next=26,m.findPropertyProfile(t,h.id,h.defaultProfileId);case 26:E=e.sent;case 27:d.selectProperty(r),m.setPrimaryPropertyType(y.i),m.setPropertyID((null==h?void 0:h.id)||""),m.setInternalWebPropertyID((null==h?void 0:h.internalWebPropertyId)||""),m.setProfileID((null===(b=E)||void 0===b?void 0:b.id)||"");case 32:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[t,c,d,m,O]);if(!Object(b.d)(t))return null;if(i)return e.createElement(f.a,{small:!0});var S=n.map((function(e){return E(E({},e),{},{id:e._id||e.id,name:e.displayName||e.name})}));return e.createElement(g.p,{className:"googlesitekit-analytics__select-property",label:Object(u.__)("Property","google-site-kit"),value:c,onEnhancedChange:A,enhanced:!0,outlined:!0},(S||[]).concat({id:y.h,name:Object(u.__)("Set up a new property","google-site-kit")}).map((function(t){var n=t.id,a=t.name,r=t.internalWebPropertyId;return e.createElement(g.n,{key:n,value:n,"data-internal-id":r},n===y.h?a:Object(u.sprintf)(Object(u._x)("%1$s (%2$s)","Analytics property name and ID","google-site-kit"),a,n))})))}}).call(this,n(3))},372:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GA4ActivateSwitch}));var a=n(0),r=n.n(a),i=n(1),o=n(2),c=n(4),s=n.n(c),l=n(38),u=n(11),d=n(7),m=n(138),g=n(21),f=n(19),p=s.a.useSelect,y=s.a.useDispatch;function GA4ActivateSwitch(t){var n=t.onActivate,a=Object(f.a)(),r=p((function(e){return e(l.a).getValue(u.e,"enableGA4")})),c=y(l.a).setValues,s=Object(o.useCallback)((function(){c(u.e,{enableGA4:!0}),Object(d.z)("".concat(a,"_analytics"),"activate_ga4"),"function"==typeof n&&n()}),[c,n,a]);return e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement(m.a,{label:e.createElement(o.Fragment,null,Object(i.__)("Activate Google Analytics 4 and place code on your site.","google-site-kit")," ",e.createElement(g.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/ga4/",external:!0,inherit:!0},Object(i.__)("Learn more","google-site-kit"))),checked:r,onClick:s,hideLabel:!1}))}GA4ActivateSwitch.propTypes={onActivate:r.a.func}}).call(this,n(3))},377:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(10),r=n.n(a),i=n(1),o=n(113),c=n(195);function s(e){var t=e.siteName,n=e.siteURL,a=e.timezone,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Intl.DateTimeFormat().resolvedOptions().timeZone;r()(Object(o.a)(n),"a valid siteURL is required.");var l=new URL(n),u=l.hostname,d=l.pathname,m=c.c[a]?a:s;return{accountName:t||u,propertyName:"".concat(u).concat(d).replace(/\/$/,""),profileName:Object(i._x)("All Web Site Data","default Analytics view name","google-site-kit"),countryCode:c.c[m],timezone:m}}},378:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TimezoneSelect}));var a=n(2),r=n(1),i=n(8),o=n(195),c=n(4),s=n.n(c),l=n(11),u=n(38),d=s.a.useSelect,m=s.a.useDispatch;function TimezoneSelect(){var t=d((function(e){return e(u.a).getValue(l.d,"countryCode")})),n=d((function(e){return e(u.a).getValue(l.d,"timezone")})),c=m(u.a).setValues,s=Object(a.useCallback)((function(e,t){c(l.d,{timezone:t.dataset.value})}),[c]);return e.createElement(i.p,{className:"googlesitekit-analytics__select-timezone",label:Object(r.__)("Timezone","google-site-kit"),value:n,onEnhancedChange:s,disabled:!t,enhanced:!0,outlined:!0},(o.d[t]||[]).map((function(t,n){var a=t.timeZoneId,r=t.displayName;return e.createElement(i.n,{key:n,value:a},r)})))}}).call(this,n(3))},379:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountField}));var a=n(2),r=n(1),i=n(236),o=n(4),c=n.n(o),s=n(11),l=n(38),u=c.a.useSelect,d=c.a.useDispatch;function AccountField(){var t=u((function(e){return e(l.a).getValue(s.d,"accountName")})),n=d(l.a).setValues,o=Object(a.useCallback)((function(e){n(s.d,{accountName:e})}),[n]);return e.createElement(i.a,{label:Object(r.__)("Account","google-site-kit"),hasError:!t,value:t,setValue:o,name:"account"})}}).call(this,n(3))},38:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a="core/forms"},380:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertyField}));var a=n(2),r=n(1),i=n(236),o=n(4),c=n.n(o),s=n(11),l=n(38),u=c.a.useSelect,d=c.a.useDispatch;function PropertyField(){var t=u((function(e){return e(l.a).getValue(s.d,"propertyName")})),n=d(l.a).setValues,o=Object(a.useCallback)((function(e){n(s.d,{propertyName:e})}),[n]);return e.createElement(i.a,{label:Object(r.__)("Property","google-site-kit"),value:t,hasError:!t,setValue:o,name:"property"})}}).call(this,n(3))},381:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ProfileField}));var a=n(2),r=n(1),i=n(236),o=n(4),c=n.n(o),s=n(11),l=n(38),u=c.a.useSelect,d=c.a.useDispatch;function ProfileField(){var t=u((function(e){return e(l.a).getValue(s.d,"profileName")})),n=d(l.a).setValues,o=Object(a.useCallback)((function(e){n(s.d,{profileName:e})}),[n]);return e.createElement(i.a,{label:Object(r.__)("View","google-site-kit"),value:t,hasError:!t,setValue:o,name:"profile"})}}).call(this,n(3))},382:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CountrySelect}));var a=n(2),r=n(1),i=n(8),o=n(195),c=n(4),s=n.n(c),l=n(11),u=n(38),d=s.a.useSelect,m=s.a.useDispatch;function CountrySelect(){var t=d((function(e){return e(u.a).getValue(l.d,"countryCode")})),n=m(u.a).setValues,c=Object(a.useCallback)((function(e,a){var r=a.dataset.value;r!==t&&o.b[r]&&n(l.d,{countryCode:r,timezone:o.b[r].defaultTimeZoneId})}),[n,t]);return e.createElement(i.p,{className:"googlesitekit-analytics__select-country",label:Object(r.__)("Country","google-site-kit"),value:t,onEnhancedChange:c,enhanced:!0,outlined:!0},o.a.map((function(t,n){var a=t.countryCode,r=t.displayName;return e.createElement(i.n,{key:n,value:a},r)})))}}).call(this,n(3))},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return o}));var a="modules/analytics-4",r="property_create",i="webdatastream_create",o=10},405:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DetailsPermaLinks}));var a=n(9),r=n.n(a),i=n(0),o=n.n(i),c=n(2),s=n(4),l=n.n(s),u=n(15),d=n(21),m=n(7),g=l.a.useSelect;function DetailsPermaLinks(t){var n=t.title,a=t.path,i=t.serviceURL,o=g((function(e){return e(u.c).getReferenceSiteURL()})),s=Object(m.l)(o,a),l=g((function(e){return e(u.c).getAdminURL("googlesitekit-dashboard",{permaLink:s})}));return e.createElement(c.Fragment,null,e.createElement(d.a,{href:i||l,inherit:!0,external:!!i},n),e.createElement(d.a,{className:r()("googlesitekit-display-block","googlesitekit-overflow-wrap-break-word"),href:s,target:"_blank",small:!0,inherit:!0},a))}DetailsPermaLinks.propTypes={title:o.a.string,path:o.a.string,serviceURL:o.a.string}}).call(this,n(3))},409:function(e,t,n){"use strict";var a=n(692);n.d(t,"a",(function(){return a.a}))},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(36),r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(a.a)(new Date(e))}},426:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UseSnippetSwitch}));var a=n(0),r=n.n(a),i=n(2),o=n(1),c=n(4),s=n.n(c),l=n(40),u=n(7),d=n(138),m=n(19),g=s.a.useSelect,f=s.a.useDispatch;function UseSnippetSwitch(t){var n=t.description,a=Object(m.a)(),r=g((function(e){return e(l.b).getUseSnippet()})),c=f(l.b).setUseSnippet,s=Object(i.useCallback)((function(){var e=!r;c(e),Object(u.z)("".concat(a,"_analytics"),e?"enable_tag":"disable_tag","ga4")}),[r,c,a]);return void 0===r?null:e.createElement("div",{className:"googlesitekit-analytics-usesnippet"},e.createElement(d.a,{label:Object(o.__)("Place Google Analytics 4 code","google-site-kit"),checked:r,onClick:s,hideLabel:!1}),n)}UseSnippetSwitch.propTypes={description:r.a.node}}).call(this,n(3))},427:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertySelect}));var a=n(9),r=n.n(a),i=n(0),o=n.n(i),c=n(2),s=n(1),l=n(4),u=n.n(l),d=n(8),m=n(55),g=n(40),f=n(11),p=n(63),y=n(305),b=n(7),v=n(19),h=u.a.useSelect,O=u.a.useDispatch;function PropertySelect(t){var n=t.label,a=h((function(e){return e(f.f).getAccountID()})),i=h((function(e){return e(g.b).getProperties(a)||[]})),o=h((function(e){return e(g.b).getPropertyID()})),l=h((function(e){return!e(f.f).hasFinishedResolution("getAccounts")||!e(g.b).hasFinishedResolution("getProperties",[a])||!1===e(f.f).hasFinishedSelectingAccount()})),u=O(g.b).selectProperty,E=Object(v.a)(),_=Object(c.useCallback)((function(e,t){var n=t.dataset.value;if(o!==n){var a=n===g.c?"change_property_new":"change_property";u(n),Object(b.z)("".concat(E,"_analytics"),a,"ga4")}}),[o,u,E]);if(!Object(p.d)(a))return null;if(l)return e.createElement(m.a,{height:100,small:!0});var T=Object(y.c)(o);return e.createElement(d.p,{className:r()("googlesitekit-analytics__select-property",{"mdc-select--invalid":!T}),label:n||Object(s.__)("Property","google-site-kit"),value:o,onEnhancedChange:_,disabled:!Object(p.d)(a),enhanced:!0,outlined:!0},(i||[]).concat({_id:g.c,displayName:Object(s.__)("Set up a new property","google-site-kit")}).map((function(t,n){var a=t._id,r=t.displayName;return e.createElement(d.n,{key:n,value:a},a===g.c?r:Object(s.sprintf)(Object(s._x)("%1$s (%2$s)","Analytics property name and ID","google-site-kit"),r,a))})))}PropertySelect.propTypes={label:o.a.string}}).call(this,n(3))},43:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return v})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return O}));var a=n(5),r=n.n(a),i=n(14),o=n.n(i),c=(n(24),n(7));function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var u,d="googlesitekit_".concat("1.75.0","_"),m=["sessionStorage","localStorage"],g=[].concat(m),f=function(){var t=o()(r.a.mark((function t(n){var a,i;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",a.setItem(i,i),a.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!==a.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function p(){return y.apply(this,arguments)}function y(){return(y=o()(r.a.mark((function t(){var n,a,i;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:n=s(g),t.prev=3,n.s();case 5:if((a=n.n()).done){t.next=15;break}if(i=a.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,f(i);case 11:if(!t.sent){t.next=13;break}u=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var e=o()(r.a.mark((function e(t){var n,a,i,o,c,s,l;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:if(!(n=e.sent)){e.next=10;break}if(!(a=n.getItem("".concat(d).concat(t)))){e.next=10;break}if(i=JSON.parse(a),o=i.timestamp,c=i.ttl,s=i.value,l=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:l});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(){var t=o()(r.a.mark((function t(n,a){var i,o,s,l,u,m,g,f,y=arguments;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=y.length>2&&void 0!==y[2]?y[2]:{},o=i.ttl,s=void 0===o?c.b:o,l=i.timestamp,u=void 0===l?Math.round(Date.now()/1e3):l,m=i.isError,g=void 0!==m&&m,t.next=3,p();case 3:if(!(f=t.sent)){t.next=14;break}return t.prev=5,f.setItem("".concat(d).concat(n),JSON.stringify({timestamp:u,ttl:s,value:a,isError:g})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),h=function(){var t=o()(r.a.mark((function t(n){var a;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(a=t.sent)){t.next=13;break}return t.prev=4,a.removeItem("".concat(d).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),O=function(){var t=o()(r.a.mark((function t(){var n,a,i,o;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,a=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(d)&&a.push(o.substring(d.length));return t.abrupt("return",a);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}()}).call(this,n(20))},433:function(e,t,n){"use strict";function a(e,t){var n,a;return!(400!==(null==e?void 0:e.code)||!(null===(n=e.message)||void 0===n||null===(a=n.startsWith)||void 0===a?void 0:a.call(n,"Restricted metric")))&&(!(t instanceof RegExp||"string"==typeof t)||e.message.match(/ga:[a-z]+/gi).some((function(e){return e.match(t)})))}n.d(t,"a",(function(){return a}))},44:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return s}));var a=n(130),r="xlarge",i="desktop",o="tablet",c="small";function s(){var e=Object(a.a)();return e>1280?r:e>960?i:e>600?o:c}},45:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r}));var a="core/ui",r="activeContextID"},459:function(e,t,n){(function(e){Object.prototype.hasOwnProperty.call(e,"google")||(e.google=void 0)}).call(this,n(20))},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return E}));var a=n(5),r=n.n(a),i=n(6),o=n.n(i),c=n(10),s=n.n(c),l=n(57),u=n.n(l),d=n(54),m=n(76),g=n(7);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y=function(e){return e},b=function(){return{}},v=function(){},h=d.a.clearError,O=d.a.receiveError,E=function(e){var t,n,a=r.a.mark(Z),i=e.baseName,c=e.controlCallback,l=e.reducerCallback,d=void 0===l?y:l,f=e.argsToParams,E=void 0===f?b:f,_=e.validateParams,T=void 0===_?v:_;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 E,"argsToParams must be a function."),s()("function"==typeof T,"validateParams must be a function.");try{T(E()),n=!1}catch(e){n=!0}var A=Object(m.b)(i),S=Object(m.a)(i),k="FETCH_".concat(S),N="START_".concat(k),j="FINISH_".concat(k),I="CATCH_".concat(k),D="RECEIVE_".concat(S),w="fetch".concat(A),P="receive".concat(A),C="isFetching".concat(A),R=o()({},C,{});function Z(e,t){var n,o;return r.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,{payload:{params:e},type:N};case 2:return a.next=4,h(i,t);case 4:return a.prev=4,a.next=7,{payload:{params:e},type:k};case 7:return n=a.sent,a.next=10,M[P](n,e);case 10:return a.next=12,{payload:{params:e},type:j};case 12:a.next=23;break;case 14:return a.prev=14,a.t0=a.catch(4),o=a.t0,a.next=19,O(o,i,t);case 19:return a.next=21,O(o);case 21:return a.next=23,{payload:{params:e},type:I};case 23:return a.abrupt("return",{response:n,error:o});case 24:case"end":return a.stop()}}),a,null,[[4,14]])}var M=(t={},o()(t,w,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=E.apply(void 0,t);return T(a),Z(a,t)})),o()(t,P,(function(e,t){return s()(void 0!==e,"response is required."),n?(s()(u()(t),"params is required."),T(t)):t={},{payload:{response:e,params:t},type:D}})),t),G=o()({},k,(function(e){var t=e.payload;return c(t.params)})),x=o()({},C,(function(e){if(void 0===e[C])return!1;var t;try{for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];t=E.apply(void 0,a),T(t)}catch(e){return!1}return!!e[C][Object(g.y)(t)]}));return{initialState:R,actions:M,controls:G,reducer:function(e,t){var n=t.type,a=t.payload;switch(n){case N:var r=a.params;return p(p({},e),{},o()({},C,p(p({},e[C]),{},o()({},Object(g.y)(r),!0))));case D:var i=a.response,c=a.params;return d(e,i,c);case j:var s=a.params;return p(p({},e),{},o()({},C,p(p({},e[C]),{},o()({},Object(g.y)(s),!1))));case I:var l=a.params;return p(p({},e),{},o()({},C,p(p({},e[C]),{},o()({},Object(g.y)(l),!1))));default:return e}},resolvers:{},selectors:x}}},484:function(e,t,n){"use strict";function a(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return e.reduce((function(e,t,a){return e+t+encodeURIComponent(n[a]||"")}),"")}n.d(t,"a",(function(){return a}))},487:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Header}));var a=n(1),r=n(2),i=n(4),o=n.n(i),c=n(12),s=n(11),l=n(237),u=n(295),d=n(155),m=o.a.useSelect;function Header(){var t=m((function(e){return e(c.a).getDateRangeDates({offsetDays:s.b})})),n=m((function(e){return e(s.f).getServiceReportURL("visitors-overview",Object(d.a)(t))})),i=m((function(e){return e(c.a).getDateRangeNumberOfDays()})),o=Object(a.sprintf)(Object(a._n)("Audience overview for the last %s day","Audience overview for the last %s days",i,"google-site-kit"),i),g=Object(a.sprintf)(Object(a.__)("See full stats in %s","google-site-kit"),Object(a._x)("Analytics","Service name","google-site-kit"));return e.createElement(r.Fragment,null,e.createElement(l.a,{title:o}),e.createElement(u.a,{href:n,label:g,external:!0}))}}).call(this,n(3))},488:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Header}));var a=n(1),r=n(2),i=n(4),o=n.n(i),c=n(12),s=n(11),l=n(35),u=n(237),d=n(295),m=n(155),g=o.a.useSelect;function Header(){var t=Object(l.a)("unifiedDashboard"),n=g((function(e){return e(c.a).getDateRangeDates({offsetDays:s.b})})),i=g((function(e){return e(s.f).getServiceReportURL("content-pages",Object(m.a)(n))})),o=g((function(e){return e(c.a).getDateRangeNumberOfDays()})),f=Object(a.sprintf)(Object(a._n)("Top content over the last %s day","Top content over the last %s days",o,"google-site-kit"),o),p=Object(a.sprintf)(Object(a.__)("See full stats in %s","google-site-kit"),Object(a._x)("Analytics","Service name","google-site-kit"));return e.createElement(r.Fragment,null,e.createElement(u.a,{title:f}),!t&&e.createElement(d.a,{href:i,label:p,external:!0}))}}).call(this,n(3))},489:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var a=n(1),r=n(4),i=n.n(r),o=n(12),c=n(11),s=n(100),l=n(155),u=i.a.useSelect;function Footer(){var t=u((function(e){return e(o.a).getDateRangeDates({offsetDays:c.b})})),n=u((function(e){return e(c.f).getServiceReportURL("content-pages",Object(l.a)(t))}));return e.createElement(s.a,{href:n,name:Object(a._x)("Analytics","Service name","google-site-kit"),external:!0})}}).call(this,n(3))},490:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Header}));var a=n(1),r=n(2),i=n(4),o=n.n(i),c=n(11),s=n(237),l=n(295),u=n(12),d=n(155),m=o.a.useSelect;function Header(){var t=m((function(e){return e(u.a).getDateRangeDates({offsetDays:c.b})})),n=m((function(e){return e(c.f).getServiceReportURL("trafficsources-overview",Object(d.a)(t))})),i=m((function(e){return e(u.a).getDateRangeNumberOfDays()})),o=Object(a.sprintf)(Object(a._n)("Top acquisition channels over the last %s day","Top acquisition channels over the last %s days",i,"google-site-kit"),i),g=Object(a.sprintf)(Object(a.__)("See full stats in %s","google-site-kit"),Object(a._x)("Analytics","Service name","google-site-kit"));return e.createElement(r.Fragment,null,e.createElement(s.a,{title:o}),e.createElement(l.a,{href:n,label:g,external:!0}))}}).call(this,n(3))},491:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var a=n(1),r=n(4),i=n.n(r),o=n(12),c=n(11),s=n(100),l=n(155),u=i.a.useSelect;function Footer(){var t=u((function(e){return e(o.a).getDateRangeDates({offsetDays:c.b})})),n=u((function(e){return e(c.f).getServiceReportURL("trafficsources-overview",Object(l.a)(t))}));return e.createElement(s.a,{className:"googlesitekit-data-block__source",name:Object(a._x)("Analytics","Service name","google-site-kit"),href:n,external:!0})}}).call(this,n(3))},50:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return s}));var a=n(113);function r(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e){return/^#\w[A-Za-z0-9-_]*$/.test(e)}function s(e,t){if(!Object(a.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),r=e.replace(n.origin,"");if(r.length<t)return r;var i=r.length-Math.floor(t)+1;return"…"+r.substr(i)}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(28);function r(e){return function(){e[a.a]=e[a.a]||[],e[a.a].push(arguments)}}},537:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupForm}));var a=n(5),r=n.n(a),i=n(14),o=n.n(i),c=n(0),s=n.n(c),l=n(2),u=n(1),d=n(4),m=n.n(d),g=n(18),f=n(11),p=n(12),y=n(38),b=n(92),v=n(538),h=n(539),O=n(540),E=n(541),_=m.a.useSelect,T=m.a.useDispatch;function SetupForm(t){var n=t.finishSetup,a=_((function(e){return e(f.f).canSubmitChanges()})),i=_((function(e){return e(p.a).hasScope(f.c)})),c=_((function(e){return e(y.a).getValue(f.e,"autoSubmit")})),s=_((function(e){return e(f.f).getSetupFlowMode()})),d=T(y.a).setValues,m=T(f.f).submitChanges,A=Object(l.useCallback)(function(){var e=o()(r.a.mark((function e(t){var a,i;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,m();case 3:a=e.sent,i=a.error,Object(b.c)(i)&&d(f.e,{autoSubmit:!0}),i||(d(f.e,{autoSubmit:!1}),n());case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[n,d,m]);return Object(l.useEffect)((function(){c&&i&&A({preventDefault:function(){}})}),[i,c,A]),e.createElement("form",{className:"googlesitekit-analytics-setup__form",onSubmit:A},s===f.n&&e.createElement(v.a,null),s===f.o&&e.createElement(h.a,null),s===f.l&&e.createElement(O.a,null),s===f.m&&e.createElement(E.a,null),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(g.a,{disabled:!a},Object(u.__)("Configure Analytics","google-site-kit"))))}SetupForm.propTypes={finishSetup:s.a.func},SetupForm.defaultProps={finishSetup:function(){}}}).call(this,n(3))},538:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupFormLegacy}));var a=n(1),r=n(2),i=n(4),o=n.n(i),c=n(11),s=n(116),l=n(105),u=n(340),d=o.a.useSelect;function SetupFormLegacy(){var t=d((function(e){return e(c.f).getAccounts()}))||[],n=d((function(e){return e(c.f).getProfileID()}));return e.createElement(r.Fragment,null,e.createElement(l.i,null),e.createElement(s.a,{moduleSlug:"analytics",storeName:c.f}),e.createElement(l.g,null),!!t.length&&e.createElement("p",{className:"googlesitekit-margin-bottom-0"},Object(a.__)("Please select the account information below. You can change this later in your settings.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(l.c,null),e.createElement(l.m,null),e.createElement(l.l,null)),n===c.g&&e.createElement("div",{className:"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--multiline"},e.createElement(l.k,null)),e.createElement(u.a,null))}}).call(this,n(3))},539:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupFormUA}));var a=n(97),r=n(1),i=n(2),o=n(4),c=n.n(o),s=n(105),l=n(11),u=n(40),d=n(293),m=n(116),g=n(340),f=n(409),p=c.a.useSelect,y=c.a.useDispatch;function SetupFormUA(){var t=y(u.b).selectProperty,n=p((function(e){return e(l.f).getAccounts()}))||[],o=p((function(e){return e(l.f).getProfileID()})),c=p((function(e){return e(l.f).getAccountID()})),b=p((function(e){return e(l.f).getPropertyID()})),v=c&&c!==l.a&&b,h=p((function(e){return e(u.b).hasExistingTag()}));return Object(a.a)((function(){t(u.c)})),e.createElement(i.Fragment,null,e.createElement(m.a,{moduleSlug:"analytics",storeName:l.f}),e.createElement(s.g,null),!!n.length&&e.createElement("p",{className:"googlesitekit-margin-bottom-0"},Object(r.__)("Please select the account information below. You can change this later in your settings.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(s.c,null),e.createElement(s.m,null),e.createElement(s.l,null)),o===l.g&&e.createElement("div",{className:"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--multiline"},e.createElement(s.k,null)),e.createElement(g.a,null),v&&e.createElement(d.a,{notice:Object(r.__)("A Google Analytics 4 property will also be created.","google-site-kit")},h&&e.createElement(f.a,null)))}}).call(this,n(3))},54:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return y}));var a=n(6),r=n.n(a),i=n(31),o=n.n(i),c=n(10),s=n.n(c),l=n(79),u=n.n(l),d=n(7);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t){if(t&&Array.isArray(t)){var n=t.map((function(e){return"object"===o()(e)?Object(d.y)(e):e}));return"".concat(e,"::").concat(u()(JSON.stringify(n)))}return e}var p={receiveError:function(e,t,n){return s()(e,"error is required."),t&&s()(n&&Array.isArray(n),"args is required (and must be an array) when baseName is specified."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:n}}},clearError:function(e,t){return e&&s()(t&&Array.isArray(t),"args is required (and must be an array) when baseName is specified."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function y(){var e={getErrorForSelector:function(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(n,"selectorName is required."),e.getError(t,n,a)},getErrorForAction:function(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(n,"actionName is required."),e.getError(t,n,a)},getError:function(e,t,n){var a=e.error,r=e.errors;return t||n?(s()(t,"baseName is required."),r[f(t,n)]):a},getErrors:function(e){var t=new Set(Object.values(e.errors));return void 0!==e.error&&t.add(e.error),Array.from(t)},hasErrors:function(t){return e.getErrors(t).length>0}};return{initialState:{errors:{},error:void 0},actions:p,controls:{},reducer:function(e,t){var n=t.type,a=t.payload;switch(n){case"RECEIVE_ERROR":var i=a.baseName,o=a.args,c=a.error;return g(g({},e),{},i?{errors:g(g({},e.errors||{}),{},r()({},f(i,o),c))}:{error:c});case"CLEAR_ERROR":var s=a.baseName,l=a.args,u=g({},e);if(s){var d=f(s,l);u.errors=g({},e.errors||{}),delete u.errors[d]}else u.error=void 0;return u;case"CLEAR_ERRORS":var m=a.baseName,p=g({},e);if(m)for(var y in p.errors=g({},e.errors||{}),p.errors)(y===m||y.startsWith("".concat(m,"::")))&&delete p.errors[y];else p.errors={},p.error=void 0;return p;default:return e}},resolvers:{},selectors:e}}},540:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupFormGA4}));var a=n(97),r=n(1),i=n(2),o=n(4),c=n.n(o),s=n(38),l=n(11),u=n(40),d=n(116),m=n(427),g=n(105),f=n(340),p=n(409),y=c.a.useSelect,b=c.a.useDispatch;function SetupFormGA4(){var t=y((function(e){return e(l.f).getAccounts()}))||[],n=y((function(e){return e(u.b).hasExistingTag()})),o=y((function(e){return e(u.b).getExistingTag()})),c=y((function(e){return e(u.b).getMeasurementID()})),v=y((function(e){return e(u.b).getPropertyID()})),h=y((function(e){return e(l.f).getAccountID()})),O=b(l.f).selectProperty,E=b(s.a).setValues,_=b(u.b).setUseSnippet,T=h&&h!==l.a&&v,A=y((function(e){return e(u.b).hasExistingTag()}));return Object(a.a)((function(){O(l.h),E(l.e,{profileName:Object(r._x)("All Web Site Data","default Analytics view name","google-site-kit")})})),Object(i.useEffect)((function(){n&&_(o!==c)}),[_,n,o,c]),e.createElement(i.Fragment,null,e.createElement(d.a,{moduleSlug:"analytics",storeName:l.f}),e.createElement(g.g,null),!!t.length&&e.createElement("p",{className:"googlesitekit-margin-bottom-0"},Object(r.__)("Please select the account information below. You can change this later in your settings.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(g.c,null),e.createElement(m.a,null)),A&&e.createElement(p.a,null),T&&e.createElement(g.j,{notice:Object(r.__)("An associated Universal Analytics property will also be created.","google-site-kit")},e.createElement(f.a,null)))}}).call(this,n(3))},541:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupFormGA4Transitional}));var a=n(1),r=n(2),i=n(4),o=n.n(i),c=n(40),s=n(11),l=n(116),u=n(427),d=n(105),m=n(340),g=n(409),f=o.a.useSelect;function SetupFormGA4Transitional(){var t=f((function(e){return e(s.f).getAccounts()}))||[],n=f((function(e){return e(s.f).getPrimaryPropertyType()})),i=f((function(e){return e(c.b).hasExistingTag()})),o=f((function(e){return e(s.f).getAccountID()})),p=f((function(e){return e(s.f).getPropertyID()})),y=f((function(e){return e(s.f).getProfileID()})),b=f((function(e){return e(c.b).getPropertyID()})),v=n===s.j?p:b,h=o&&o!==s.a&&v,O=n===s.j?Object(a.__)("You need to connect the Google Analytics 4 property that’s associated with this Universal Analytics property.","google-site-kit"):Object(a.__)("You need to connect the Universal Analytics property that’s associated with this Google Analytics 4 property.","google-site-kit");return e.createElement(r.Fragment,null,e.createElement(l.a,{moduleSlug:"analytics",storeName:s.f}),e.createElement(d.g,null),!!t.length&&e.createElement("p",{className:"googlesitekit-margin-bottom-0"},Object(a.__)("Please select the account information below. You can change this later in your settings.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(d.c,null),e.createElement(d.n,null),n===s.j&&e.createElement(d.l,null)),y===s.g&&n===s.j&&e.createElement("div",{className:"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--multiline"},e.createElement(d.k,null)),n===s.j&&e.createElement(m.a,null),n===s.i&&i&&e.createElement(g.a,null),h&&e.createElement(d.j,{notice:O},n===s.i&&e.createElement(r.Fragment,null,e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(d.m,null),e.createElement(d.l,null)),y===s.g&&e.createElement("div",{className:"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--multiline"},e.createElement(d.k,null)),e.createElement(m.a,null)),n===s.j&&e.createElement(r.Fragment,null,e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(u.a,null)),i&&e.createElement(g.a,null))))}}).call(this,n(3))},542:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsForm}));var a=n(2),r=n(4),i=n.n(r),o=n(105),c=n(116),s=n(11),l=n(27),u=n(543),d=n(545),m=n(63),g=i.a.useSelect;function SettingsForm(){var t=g((function(e){return e(s.f).getAccountID()})),n=g((function(e){return e(s.f).getUseSnippet()})),r=g((function(e){return e(l.g).getUseSnippet()})),i=g((function(e){return e(l.g).getSingleAnalyticsPropertyID()})),f=n||r&&i;return e.createElement(a.Fragment,null,e.createElement(c.a,{moduleSlug:"analytics",storeName:s.f}),e.createElement(o.g,null),e.createElement(u.a,null),e.createElement(d.a,null),Object(m.d)(t)&&e.createElement(a.Fragment,null,e.createElement(o.f,null),f&&e.createElement(o.o,null),e.createElement(o.e,null)))}}).call(this,n(3))},543:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsControls}));var a=n(4),r=n.n(a),i=n(11),o=n(105),c=n(544),s=r.a.useSelect;function SettingsControls(){var t=s((function(e){return e(i.f).getProfileID()}));return e.createElement("div",{className:"googlesitekit-settings-module__fields-group"},e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(o.c,null),e.createElement(o.m,null),e.createElement(o.l,null)),t===i.g&&e.createElement("div",{className:"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--multiline"},e.createElement(o.k,null)),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement(c.a,null)))}}).call(this,n(3))},544:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsUseSnippetSwitch}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(11),s=n(313),l=o.a.useSelect;function SettingsUseSnippetSwitch(){var t,n=l((function(e){return e(c.f).getUseSnippet()})),i=l((function(e){return e(c.f).getCanUseSnippet()})),o=l((function(e){return e(c.f).getExistingTag()})),u=l((function(e){return e(c.f).getPropertyID()}));return void 0===i?null:!1===i?e.createElement(s.a,{description:e.createElement("p",null,Object(r.__)("The code is controlled by the Tag Manager module.","google-site-kit"))}):(t=o?o===u?e.createElement(a.Fragment,null,e.createElement("p",null,Object(r.sprintf)(Object(r.__)("A tag %s for the selected property already exists on the site.","google-site-kit"),o)),e.createElement("p",null,Object(r.__)("Make sure you remove it if you want to place the same UA tag via Site Kit, otherwise they will be duplicated.","google-site-kit"))):e.createElement(a.Fragment,null,e.createElement("p",null,Object(r.sprintf)(Object(r.__)("An existing tag %s was found on the page.","google-site-kit"),o)),e.createElement("p",null,Object(r.__)("If you prefer to collect data using that existing UA tag, please select the corresponding account and property above.","google-site-kit"))):n?e.createElement("p",null,Object(r.__)("Site Kit will add the UA code automatically.","google-site-kit")):e.createElement("p",null,Object(r.__)("Site Kit will not add the UA code to your site.","google-site-kit")),e.createElement(s.a,{description:t}))}}).call(this,n(3))},545:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GA4SettingsControls}));var a=n(5),r=n.n(a),i=n(14),o=n.n(i),c=n(13),s=n.n(c),l=n(414),u=n(1),d=n(2),m=n(4),g=n.n(m),f=n(38),p=n(40),y=n(11),b=n(8),v=n(105),h=n(778),O=n(55),E=n(779),_=g.a.useSelect,T=g.a.useDispatch;function GA4SettingsControls(){var t=Object(d.useState)(),n=s()(t,2),a=n[0],i=n[1],c=Object(d.useState)(),m=s()(c,2),g=m[0],A=m[1],S=_((function(e){return e(y.f).getAccountID()})),k=_((function(e){return e(p.b).getProperties(S)})),N=_((function(e){return e(p.b).isAdminAPIWorking()})),j=_((function(e){return e(f.a).getValue(y.e,"enableGA4")})),I=_((function(e){return e(p.b).getPropertyID()})),D=T(p.b),w=D.matchAccountProperty,P=D.matchWebDataStream,C=D.setPropertyID,R=D.setWebDataStreamID,Z=D.setMeasurementID;Object(l.a)((function(){var e=function(){var e=o()(r.a.mark((function e(){var t,n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w(S);case 2:if(t=e.sent,i(t),!(null==t?void 0:t._id)){e.next=9;break}return e.next=7,P(t._id);case 7:n=e.sent,A(n);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();N&&(i(void 0),A(void 0),e())}),[S,w,P,N]);var M=Object(d.useCallback)((function(){var e=(null==k?void 0:k.length)>0,t=e?"":p.c,n=e?"":p.d,r=(a||{})._id,i=void 0===r?t:r,o=(g||{})._id,c=void 0===o?n:o;C(i),R(c),Z((null==g?void 0:g.webStreamData.measurementId)||"")}),[k,a,g,C,R,Z]),G=!I&&!j;return void 0===N?e.createElement(O.a,{height:G?180:212,small:!0}):N?e.createElement("div",{className:"googlesitekit-settings-module__fields-group"},e.createElement("div",{className:"googlesitekit-setup-module__inputs"},!G&&e.createElement(h.a,{label:Object(u.__)("Google Analytics 4 Property","google-site-kit")}),G&&e.createElement(b.p,{className:"googlesitekit-analytics__select-property",label:Object(u.__)("Google Analytics 4 Property","google-site-kit"),value:(null==a?void 0:a._id)||"",disabled:!0,enhanced:!0,outlined:!0},e.createElement(b.n,{value:(null==a?void 0:a._id)||""},(null==a?void 0:a._id)&&(null==a?void 0:a.displayName)?Object(u.sprintf)(Object(u._x)("%1$s (%2$s)","Analytics property name and ID","google-site-kit"),a.displayName,a._id):""))),G&&e.createElement(v.h,{onActivate:M}),!G&&e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement(E.a,null))):null}}).call(this,n(3))},55:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ProgressBar}));var a=n(0),r=n.n(a),i=n(9),o=n.n(i);function ProgressBar(t){var n=t.className,a=t.small,r=t.compress,i=t.indeterminate,c=t.height,s=t.progress,l=void 0!==c?Math.round(c/2):void 0,u=s?"scaleX(".concat(s,")"):void 0;return e.createElement("div",{role:"progressbar",style:{marginTop:l,marginBottom:l},className:o()("mdc-linear-progress",n,{"mdc-linear-progress--indeterminate":i,"mdc-linear-progress--small":a,"mdc-linear-progress--compress":r})},e.createElement("div",{className:"mdc-linear-progress__buffering-dots"}),e.createElement("div",{className:"mdc-linear-progress__buffer"}),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__primary-bar",style:{transform:u}},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__secondary-bar"},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})))}ProgressBar.propTypes={className:r.a.string,small:r.a.bool,compress:r.a.bool,indeterminate:r.a.bool,progress:r.a.number,height:r.a.number},ProgressBar.defaultProps={className:"",small:!1,compress:!1,indeterminate:!0,progress:0}}).call(this,n(3))},56:function(e,t,n){"use strict";(function(e){var a=n(16),r=n.n(a),i=n(17),o=n.n(i),c=n(0),s=n.n(c),l=n(9),u=n.n(l);function VisuallyHidden(t){var n=t.className,a=t.children,i=o()(t,["className","children"]);return a?e.createElement("span",r()({},i,{className:u()("screen-reader-text",n)}),a):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},566:function(e,t,n){"use strict";var a=n(2);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{d:"M48 46.376a6.629 6.629 0 01-2.18 4.952 6.466 6.466 0 01-5.11 1.625c-3.339-.495-5.789-3.433-5.708-6.848V6.891C34.925 3.475 37.379.537 40.72.045a6.469 6.469 0 015.102 1.631A6.63 6.63 0 0148 6.622v39.754z",fill:"#F9AB00"}),a.createElement("path",{d:"M6.5 40.002a6.489 6.489 0 014.594 1.901 6.51 6.51 0 011.906 4.6 6.51 6.51 0 01-1.906 4.596A6.489 6.489 0 016.5 53a6.489 6.489 0 01-4.594-1.9A6.51 6.51 0 010 46.501a6.51 6.51 0 011.905-4.6A6.489 6.489 0 016.5 40v.002zM24.348 20.002c-3.62.197-6.429 3.256-6.346 6.908v17.644c0 4.79 2.092 7.696 5.16 8.314a6.498 6.498 0 005.442-1.358A6.61 6.61 0 0031 46.4V26.605a6.624 6.624 0 00-1.912-4.668A6.519 6.519 0 0024.459 20l-.111.002z",fill:"#E37400",fillRule:"nonzero"}));t.a=function SvgAnalytics(e){return a.createElement("svg",r({viewBox:"0 0 48 53"},e),i)}},567:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var a=n(2),r=n(4),i=n.n(r),o=n(11),c=i.a.useSelect,s=i.a.useDispatch;function l(){var e=s(o.f).setUseSnippet,t=c((function(e){return e(o.f).getExistingTag()})),n=c((function(e){return e(o.f).getPropertyID()})),r=Object(a.useRef)(!0);Object(a.useEffect)((function(){if(t&&void 0!==n){if(""===n||r.current)return void(r.current=!1);e(n!==t)}}),[e,t,n])}},568:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var a=n(2),r=n(4),i=n.n(r),o=n(40),c=i.a.useSelect,s=i.a.useDispatch;function l(){var e=s(o.b).setUseSnippet,t=c((function(e){return e(o.b).getExistingTag()})),n=c((function(e){return e(o.b).getMeasurementID()})),r=Object(a.useRef)(!0);Object(a.useEffect)((function(){if(t&&void 0!==n){if(""===n||r.current)return void(r.current=!1);e(n!==t)}}),[e,t,n])}},58:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return y})),n.d(t,"j",(function(){return b})),n.d(t,"k",(function(){return f.a})),n.d(t,"g",(function(){return v})),n.d(t,"f",(function(){return O})),n.d(t,"l",(function(){return p}));var a="Invalid dateString parameter, it must be a string.",r='Invalid date range, it must be a string with the format "last-x-days".',i=3600,o=86400,c=604800,s=n(10),l=n.n(s),u=n(36),d=function(e){var t=new Date(e);l()(Object(u.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),a="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,a.length<2?"0".concat(a):a].join("-")},m=n(13),g=n.n(m),f=n(41),p=function(e){l()(Object(f.a)(e),a);var t=e.split("-"),n=g()(t,3),r=n[0],i=n[1],o=n[2];return new Date(r,i-1,o)},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=p(e);return n.setDate(n.getDate()-t),d(n)},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function v(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var h=n(1);function O(){var e=function(e){return Object(h.sprintf)(Object(h._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}},62:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var a=n(6),r=n.n(a),i=n(0),o=n.n(i),c=n(9),s=n.n(c),l=n(1),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:s()("googlesitekit-gathering-data-notice",r()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(l.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(3))},625:function(e,t,n){"use strict";(function(e){var a=n(6),r=n.n(a),i=n(13),o=n.n(i),c=n(1),s=n(2),l=n(113),u=n(4),d=n.n(u),m=n(11),g=n(15),f=n(12),p=n(45),y=n(94),b=n(63),v=n(155),h=n(7),O=n(143),E=n(100),_=n(780),T=n(781),A=n(782),S=n(783),k=n(786),N=n(35);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=d.a.useSelect,w=d.a.useInViewSelect,P=d.a.useDispatch;t.a=Object(O.a)({moduleName:"analytics"})((function DashboardAllTrafficWidget(t){var n=t.Widget,a=t.WidgetReportZero,i=t.WidgetReportError,u=Object(N.a)("zeroDataStates"),d=w((function(e){return e(m.f).isGatheringData()})),O=Object(s.useState)(!0),j=o()(O,2),C=j[0],R=j[1],Z=Object(s.useState)(""),M=o()(Z,2),G=M[0],x=M[1],L=D((function(e){return e(f.a).getDateRange()})),U=D((function(e){return e(p.b).getValue(m.s)||"ga:channelGrouping"})),F=D((function(e){return e(p.b).getValue(m.t)})),B=D((function(e){return e(g.c).getCurrentEntityURL()})),W=D((function(e){return e(f.a).getDateRangeDates({compare:!0,offsetDays:m.b})})),H=W.startDate,z=W.endDate,V=W.compareStartDate,q=W.compareEndDate,K={startDate:H,endDate:z,metrics:[{expression:"ga:users"}]},Y=I(I({},K),{},{compareStartDate:V,compareEndDate:q,dimensions:[U],orderby:{fieldName:"ga:users",sortOrder:"DESCENDING"},limit:6}),$=I(I({},K),{},{dimensions:["ga:date"]}),J=I(I({},K),{},{compareStartDate:V,compareEndDate:q});B&&(Y.url=B,$.url=B,J.url=B),U&&F&&($.dimensionFilters=r()({},U,F),J.dimensionFilters=r()({},U,F));var X,Q=D((function(e){return e(m.f).hasFinishedResolution("getReport",[Y])})),ee=D((function(e){return e(m.f).getErrorForSelector("getReport",[Y])})),te=w((function(e){return e(m.f).getReport(Y)})),ne=D((function(e){return e(m.f).hasFinishedResolution("getReport",[$])})),ae=D((function(e){return e(m.f).getErrorForSelector("getReport",[$])})),re=w((function(e){return e(m.f).getReport($)})),ie=D((function(e){return e(m.f).hasFinishedResolution("getReport",[J])})),oe=D((function(e){return e(m.f).getErrorForSelector("getReport",[J])})),ce=w((function(e){return e(m.f).getReport(J)}));switch(U){case"ga:country":X="visitors-geo";break;case"ga:deviceCategory":X="visitors-mobile-overview";break;case"ga:channelGrouping":default:X="trafficsources-overview"}var se=Object(v.a)({startDate:H,endDate:z,compareStartDate:V,compareEndDate:q});Object(l.a)(B)&&(se["explorer-table.plotKeys"]="[]",se["_r.drilldown"]="analytics.pagePath:".concat(Object(h.p)(B)));var le=D((function(e){return e(m.f).getServiceReportURL(X,se)}));Object(s.useEffect)((function(){L!==G?(R(!0),x(L)):Q&&ie&&ne&&R(!1)}),[Q,ie,ne,L,G]);var ue=P(p.b).setValue;if(Object(s.useEffect)((function(){C&&Q&&ie&&ne&&ue(m.q,!0)}),[C,Q,ie,ne,ue]),ee)return e.createElement(n,null,e.createElement(i,{moduleSlug:"analytics",error:ee}));var de=Object(b.l)(te);if(!u&&d&&de)return e.createElement(n,null,e.createElement(a,{moduleSlug:"analytics"}));var me=!u&&de;return e.createElement(n,{className:"googlesitekit-widget--footer-v2 googlesitekit-widget__analytics--all-traffic",Footer:function Footer(){return e.createElement(E.a,{className:"googlesitekit-data-block__source",name:Object(c._x)("Analytics","Service name","google-site-kit"),href:le,external:!0})},noPadding:!0},e.createElement(y.b,null,e.createElement(y.c,null,e.createElement(y.a,{className:"googlesitekit-widget--analyticsAllTraffic__totals",lgSize:7,mdSize:8},e.createElement(_.a,{loaded:ie&&!C,report:ce,error:oe,dimensionValue:F,gatheringData:d}),e.createElement(T.a,{loaded:ne&&!C,error:ae,report:re,gatheringData:d})),e.createElement(y.a,{className:"googlesitekit-widget--analyticsAllTraffic__dimensions",lgSize:5,mdSize:8},e.createElement(A.a,{loaded:!C,dimensionName:U,gatheringData:d,isZeroData:de}),!me&&e.createElement(S.a,{dimensionName:U,dimensionValue:F,gatheringData:d,loaded:Q&&!C,report:te}),me&&e.createElement(k.a,null)))))}))}).call(this,n(3))},63:function(e,t,n){"use strict";n.d(t,"n",(function(){return T})),n.d(t,"l",(function(){return A.a})),n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return b})),n.d(t,"j",(function(){return v})),n.d(t,"k",(function(){return h})),n.d(t,"i",(function(){return O})),n.d(t,"h",(function(){return E})),n.d(t,"g",(function(){return y})),n.d(t,"f",(function(){return _})),n.d(t,"c",(function(){return S})),n.d(t,"m",(function(){return I})),n.d(t,"b",(function(){return D})),n.d(t,"a",(function(){return P}));var a=n(24),r=n.n(a),i=n(26),o=n(9),c=n.n(o),s=n(1),l=n(73),u=n(202),d=n(7),m=n(146),g=n(13),f=n.n(g),p=n(11),y=function(e){return(parseInt(e,10)||0)>0};function b(e){return e===p.a||y(e)}function v(e){return"string"==typeof e&&/^UA-\d+-\d+$/.test(e)}function h(e){return e===p.h||v(e)}function O(e){return e===p.g||y(e)}function E(e){return"string"==typeof e&&e.trim().length>0}function _(e){return"string"==typeof e&&/^AW-[0-9]+$/.test(e)}function T(e){if(!v(e))return!1;var t=e.match(/^UA-(\d+)-(\d+)/),n=f()(t,3);return{accountID:n[1],propertyID:e,number:n[2]}}var A=n(197);function S(e,t){for(var n=1;n<e.length;n++){var a,r;if(null===(a=e[n])||void 0===a||null===(r=a[t])||void 0===r?void 0:r[0])return"HH:mm:ss"}return"mm:ss"}var k=n(50);function N(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function I(e,t){var n,a=(Array.isArray(t)?t:[t]).map(k.d),r=N(e);try{for(r.s();!(n=r.n()).done;){var i=n.value,o=i.websiteUrl;if(o){var c,s=N(a);try{for(s.s();!(c=s.n()).done;){if(c.value===Object(k.d)(o))return i}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){r.e(e)}finally{r.f()}return null}function D(e){var t,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a.keyColumnIndex,i=void 0===r?0:r,o=a.maxSlices,c=a.withOthers,l=void 0!==c&&c,u=a.tooltipCallback,d=(null==e?void 0:e[0])||{},m=d.data,g=void 0===m?{}:m,f=g.rows,p=void 0===f?[]:f,y=g.totals,b=void 0===y?[]:y,v="function"==typeof u,h=["Source","Percent"];v&&h.push({type:"string",role:"tooltip",p:{html:!0}});var O=(null==b||null===(t=b[0])||void 0===t||null===(n=t.values)||void 0===n?void 0:n[i])||0,E=[h],_=l,T=p.length,A=1;o>0?(_=l&&p.length>o,T=Math.min(p.length,_?o-1:o)):(_=!1,T=p.length);for(var S=0;S<T;S++){var k=p[S],N=k.metrics[0].values[i],j=O>0?N/O:0;A-=j;var I=[k.dimensions[0],j];v&&I.push(u(k,I)),E.push(I)}if(_&&A>0){var D=[Object(s.__)("Others","google-site-kit"),A];v&&D.push(u(null,D)),E.push(D)}return E}function w(e,t,n){var a=[];return Object(i.each)(e,(function(e){if(e.metrics){var r=e.metrics[t].values,i=e.dimensions[0],o=Object(u.a)(i);a.push([o,r[n]])}})),a}function P(e,t,n){var a,o,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,g=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,f=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[Object(s.__)("Users","google-site-kit"),Object(s.__)("Sessions","google-site-kit"),Object(s.__)("Bounce Rate %","google-site-kit"),Object(s.__)("Session Duration","google-site-kit")],p=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[function(e){return parseFloat(e).toLocaleString()},function(e){return parseFloat(e).toLocaleString()},function(e){return Object(d.u)(e/100,{style:"percent",signDisplay:"never",maximumFractionDigits:2})},function(e){return Object(d.u)(e,"s")}];if(!Array.isArray(null===(a=e[0])||void 0===a||null===(o=a.data)||void 0===o?void 0:o.rows))return!1;var y=r()(e[0].data.rows),b=y.length;if(2*n>b){for(var v=new Date,h=0;n>h;h++){var O=(v.getMonth()+1).toString(),E=v.getDate().toString(),_=v.getFullYear().toString()+(2>O.length?"0":"")+O+(2>E.length?"0":"")+E;if(h>b){var T={dimensions:[_],metrics:[{values:[0,0,0,0,0]}]};y.unshift(T)}v.setDate(v.getDate()-1)}y.push([0,0])}var A=f[t]===Object(s.__)("Session Duration","google-site-kit"),S=A?"timeofday":"number",k=[[{type:"date",label:Object(s.__)("Day","google-site-kit")},{type:"string",role:"tooltip",p:{html:!0}},{type:S,label:f[t]},{type:S,label:Object(s.__)("Previous period","google-site-kit")}]],N=Object(m.a)(y,{dateRangeLength:n}),j=N.compareRange,I=N.currentRange,D=w(I,u,t),P=w(j,g,t),C=Object(l.a)(),R={weekday:"short",month:"short",day:"numeric"};return Object(i.each)(D,(function(e,n){if(e[0]&&e[1]&&P[n]){var a=parseFloat(P[n][1]),r=Object(d.e)(e[1],a),i=Object(d.k)(r),o=Object(s.sprintf)(Object(s._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),e[0].toLocaleDateString(C,R),P[n][0].toLocaleDateString(C,R)),l=Object(s.sprintf)(Object(s._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s</em>","Stat information for chart tooltip","google-site-kit"),f[t],p[t](e[1]),i,Object(d.u)(Math.abs(r),"%"));k.push([e[0],'<div class="'.concat(c()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":r>0,"googlesitekit-visualization-tooltip--down":r<0}),'">\n\t\t\t\t<p>').concat(o,"</p>\n\t\t\t\t<p>").concat(l,"</p>\n\t\t\t</div>"),A?Object(d.g)(e[1]):e[1],A?Object(d.g)(P[n][1]):P[n][1]])}})),k}},64:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(9),o=n.n(i);function ChangeArrow(t){var n=t.direction,a=t.invertColor,r=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":a}),width:r,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:r.a.string,invertColor:r.a.bool,width:r.a.number,height:r.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(3))},65:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var a=n(31),r=n.n(a),i=n(70),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===r()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},66:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(2),r=function(e){return function(t){return function FilteredComponent(n){return Object(a.createElement)(a.Fragment,{},"",Object(a.createElement)(t,n),e)}}}},68:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(2),r=Object(a.createContext)(""),i=(r.Consumer,r.Provider);t.b=r},692:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupUseSnippetSwitch}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(40),s=n(426),l=o.a.useSelect;function SetupUseSnippetSwitch(){var t=l((function(e){return e(c.b).getExistingTag()})),n=t===l((function(e){return e(c.b).getMeasurementID()}))?e.createElement(a.Fragment,null,e.createElement("p",null,Object(r.sprintf)(Object(r.__)("A tag %s for the selected property already exists on the site.","google-site-kit"),t)),e.createElement("p",null,Object(r.__)("Make sure you remove it if you decide to place the same GA4 tag via Site Kit, otherwise they will be duplicated.","google-site-kit"))):e.createElement(a.Fragment,null,e.createElement("p",null,Object(r.sprintf)(Object(r.__)("An existing tag %s was found on the page.","google-site-kit"),t)),e.createElement("p",null,Object(r.__)("If you prefer to collect data using that existing GA4 tag, please select the corresponding account and property above.","google-site-kit")));return e.createElement(s.a,{description:n})}}).call(this,n(3))},693:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupMain}));var a=n(0),r=n.n(a),i=n(1),o=n(4),c=n.n(o),s=n(566),l=n(537),u=n(55),d=n(11),m=n(15),g=n(37),f=n(567),p=n(568),y=n(105),b=c.a.useSelect;function SetupMain(t){var n=t.finishSetup,a=b((function(e){return e(d.f).getAccounts()})),r=b((function(e){return e(d.f).getAccountID()})),o=b((function(e){return e(d.f).isDoingSubmitChanges()})),c=b((function(e){return e(d.f).hasFinishedResolution("getAccounts")})),v=b((function(e){return e(m.c).isUsingProxy()})),h=b((function(e){return e(g.a).isNavigating()})),O=b((function(e){return e(d.f).getSetupFlowMode()}));Object(f.a)(),Object(p.a)();var E,_=d.a===r;return E=o||!c||h||void 0===O?e.createElement(u.a,null):_||Array.isArray(a)&&!a.length?v?e.createElement(y.a,null):e.createElement(y.b,null):e.createElement(l.a,{finishSetup:n}),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--analytics"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(s.a,{width:"33",height:"33"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(i._x)("Analytics","Service name","google-site-kit")),E)}SetupMain.propTypes={finishSetup:r.a.func},SetupMain.defaultProps={finishSetup:function(){}}}).call(this,n(3))},694:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsEdit}));var a=n(4),r=n.n(a),i=n(11),o=n(15),c=n(567),s=n(568),l=n(542),u=n(55),d=n(105),m=r.a.useSelect;function SettingsEdit(){var t=m((function(e){return e(i.f).getAccounts()}))||[],n=m((function(e){return e(i.f).getAccountID()})),a=m((function(e){return e(i.f).isDoingSubmitChanges()})),r=m((function(e){return e(i.f).hasFinishedResolution("getAccounts")})),g=m((function(e){return e(o.c).isUsingProxy()}));Object(c.a)(),Object(s.a)();var f,p=i.a===n;return f=a||!r?e.createElement(u.a,null):!t.length||p?g?e.createElement(d.a,null):e.createElement(d.b,null):e.createElement(l.a,null),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--analytics"},f)}}).call(this,n(3))},695:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsView}));var a=n(483),r=n.n(a),i=n(1),o=n(89),c=n(2),s=n(4),l=n.n(s),u=n(203),d=n(15),m=n(11),g=n(40),f=n(312),p=n(105),y=n(116),b=n(21),v=n(56),h=n(484);function O(){var e=r()(["/a","p","/admin/streams/table/",""]);return O=function(){return e},e}function E(){var e=r()(["/a","w","p","/admin/view/settings"]);return E=function(){return e},e}var _=l.a.useSelect;function SettingsView(){var t=_((function(e){return e(g.b).getPropertyID()})),n=_((function(e){return e(g.b).getMeasurementID()})),a=_((function(e){return e(g.b).getWebDataStreamID()})),r=_((function(e){return e(g.b).getUseSnippet()})),s=_((function(e){return e(m.f).getAccountID()})),l=_((function(e){return e(m.f).getPropertyID()})),T=_((function(e){return e(m.f).getInternalWebPropertyID()})),A=_((function(e){return e(m.f).getProfileID()})),S=_((function(e){return e(m.f).getAdsConversionID()})),k=_((function(e){return e(m.f).getUseSnippet()})),N=_((function(e){return e(m.f).getCanUseSnippet()})),j=_((function(e){return e(m.f).getAnonymizeIP()})),I=_((function(e){return e(m.f).getTrackingDisabled()}))||[],D=_((function(e){return e(d.c).getAMPMode()})),w=_((function(e){return e(m.f).hasExistingTag()})),P=_((function(e){return e(m.f).getServiceURL({path:Object(h.a)(E(),s,T,A)})})),C=_((function(e){return e(m.f).getServiceURL({path:Object(h.a)(O(),s,t,a)})}));return e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--analytics"},e.createElement(y.a,{moduleSlug:"analytics",storeName:m.f}),e.createElement(p.g,null),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Account","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(u.a,{value:s}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Property","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(u.a,{value:l}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("View","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(u.a,{value:A}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--data-only"},e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data googlesitekit-settings-module__meta-item-data--tiny"},e.createElement(b.a,{href:P,external:!0,inherit:!0},Object(o.a)(Object(i.__)("Edit <VisuallyHidden>Universal Analytics property view </VisuallyHidden>in Analytics","google-site-kit"),{VisuallyHidden:e.createElement(v.a,null)}))))),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Universal Analytics Code Snippet","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},!1===N&&e.createElement("span",null,Object(i.__)("The code is controlled by the Tag Manager module.","google-site-kit")),N&&k&&e.createElement("span",null,Object(i.__)("Snippet is inserted","google-site-kit")),N&&!k&&!w&&e.createElement("span",null,Object(i.__)("Snippet is not inserted","google-site-kit")),N&&!k&&w&&e.createElement("span",null,Object(i.__)("Inserted by another plugin or theme","google-site-kit"))))),t&&t!==g.c&&e.createElement(c.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Google Analytics 4 Property","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(u.a,{value:t}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(o.a)(Object(i.__)("<VisuallyHidden>Google Analytics 4</VisuallyHidden> Measurement ID","google-site-kit"),{VisuallyHidden:e.createElement(v.a,null)})),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(u.a,{value:n}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--data-only"},e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data googlesitekit-settings-module__meta-item-data--tiny"},e.createElement(b.a,{href:C,external:!0,inherit:!0},Object(o.a)(Object(i.__)("Edit <VisuallyHidden>Google Analytics 4 web data stream </VisuallyHidden>in Analytics","google-site-kit"),{VisuallyHidden:e.createElement(v.a,null)}))))),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Google Analytics 4 Code Snippet","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},r&&e.createElement("span",null,Object(i.__)("Snippet is inserted","google-site-kit")),!r&&e.createElement("span",null,Object(i.__)("Snippet is not inserted","google-site-kit")))))),k&&"primary"!==D&&e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("IP Address Anonymization","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},j&&e.createElement("span",null,Object(i.__)("IP addresses are being anonymized","google-site-kit")),!j&&e.createElement("span",null,Object(i.__)("IP addresses are not being anonymized","google-site-kit"))))),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Excluded from Analytics","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},!!I.length&&I.map((function(e){return f.d[e]})).join(Object(i._x)(", ","list separator","google-site-kit")),!I.length&&Object(i.__)("Analytics is currently enabled for all visitors.","google-site-kit")))),N&&k&&e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Ads Conversion ID","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},S?e.createElement(u.a,{value:S}):Object(i.__)("None","google-site-kit")))))}}).call(this,n(3))},696:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleOverviewWidget}));var a=n(6),r=n.n(a),i=n(13),o=n.n(i),c=n(0),s=n.n(c),l=n(2),u=n(4),d=n.n(u),m=n(12),g=n(11),f=n(63),p=n(82),y=n(487),b=n(792),v=n(793),h=n(35);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=d.a.useSelect,T=d.a.useInViewSelect;function ModuleOverviewWidget(t){var n=t.Widget,a=t.WidgetReportError,r=t.WidgetReportZero,i=Object(h.a)("zeroDataStates"),c=Object(l.useState)(0),s=o()(c,2),u=s[0],d=s[1],O=T((function(e){return e(g.f).isGatheringData()})),A=_((function(e){return e(m.a).getDateRangeDates({compare:!0,offsetDays:g.b})})),S=E(E({},A),{},{metrics:["ga:users","ga:sessions","ga:bounceRate","ga:avgSessionDuration"]}),k=E(E({},A),{},{dimensions:"ga:date",metrics:["ga:users","ga:sessions","ga:bounceRate","ga:avgSessionDuration"]}),N=_((function(e){return e(g.f).hasFinishedResolution("getReport",[S])})),j=T((function(e){return e(g.f).getReport(S)})),I=_((function(e){return e(g.f).getErrorForSelector("getReport",[S])})),D=_((function(e){return e(g.f).hasFinishedResolution("getReport",[k])})),w=T((function(e){return e(g.f).getReport(k)})),P=_((function(e){return e(g.f).getErrorForSelector("getReport",[k])}));return N&&D&&void 0!==O?I||P?e.createElement(n,{Header:y.a},e.createElement(a,{moduleSlug:"analytics",error:I||P})):!i&&O&&Object(f.l)(j)?e.createElement(n,{Header:y.a},e.createElement(r,{moduleSlug:"analytics"})):e.createElement(n,{Header:y.a,noPadding:!0},e.createElement(b.a,{report:j,selectedStat:u,handleStatSelection:d}),e.createElement(v.a,{selectedStat:u,report:w,gatheringData:O})):e.createElement(n,{Header:y.a,noPadding:!0},e.createElement(p.a,{width:"100%",height:"190px",padding:!0}),e.createElement(p.a,{width:"100%",height:"270px",padding:!0}))}ModuleOverviewWidget.propTypes={Widget:s.a.elementType.isRequired,WidgetReportError:s.a.elementType.isRequired,WidgetReportZero:s.a.elementType.isRequired}}).call(this,n(3))},697:function(e,t,n){"use strict";(function(e){var a=n(13),r=n.n(a),i=n(6),o=n.n(i),c=n(0),s=n.n(c),l=n(297),u=n.n(l),d=n(1),m=n(4),g=n.n(m),f=n(12),p=n(11),y=n(7),b=n(143),v=n(155),h=n(63),O=n(291),E=n(405),_=n(248),T=n(205),A=n(105),S=n(488),k=n(489),N=n(35);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=g.a.useSelect,w=g.a.useInViewSelect;function ModulePopularPagesWidget(t){var n,a,i,o=t.Widget,c=t.WidgetReportError,s=t.WidgetReportZero,l=w((function(e){return e(p.f).isGatheringData()})),m=D((function(e){return e(f.a).getDateRangeDates({offsetDays:p.b})})),g=Object(N.a)("zeroDataStates"),b=Object(N.a)("unifiedDashboard"),j=I(I({},m),{},{dimensions:["ga:pagePath"],metrics:[{expression:"ga:pageviews",alias:"Pageviews"},{expression:"ga:uniquePageviews",alias:"Unique Pageviews"},{expression:"ga:bounceRate",alias:"Bounce rate"},{expression:"ga:avgSessionDuration",alias:"Session Duration"}],orderby:[{fieldName:"ga:pageviews",sortOrder:"DESCENDING"}],limit:10}),P=D((function(e){return e(p.f).getErrorForSelector("getReport",[j])})),C=w((function(e){return e(p.f).getReport(j)})),R=w((function(e){return P?void 0:e(p.f).getPageTitles(C,j)}));if(!D((function(e){var t=e(p.f).hasFinishedResolution("getReport",[j]);return void 0!==P||t&&void 0!==R}))||void 0===l)return e.createElement(o,{Header:S.a,Footer:k.a,noPadding:!0},e.createElement(T.a,{padding:!0}));if(P)return e.createElement(o,{Header:S.a,Footer:k.a},e.createElement(c,{moduleSlug:"analytics",error:P}));if(!g&&l&&Object(h.l)(C))return e.createElement(o,{Header:S.a,Footer:k.a},e.createElement(s,{moduleSlug:"analytics"}));var Z=[{title:Object(d.__)("Title","google-site-kit"),description:Object(d.__)("Page Title","google-site-kit"),primary:!0,Component:function Component(t){var n=t.row,a=r()(n.dimensions,2),i=a[0],o=a[1],c=D((function(e){return e(p.f).getServiceReportURL("content-drilldown",I({"explorer-table.plotKeys":"[]","_r.drilldown":"analytics.pagePath:".concat(o)},Object(v.a)(m)))}));return e.createElement(E.a,{title:i,path:o,serviceURL:c})}},{title:Object(d.__)("Pageviews","google-site-kit"),description:Object(d.__)("Pageviews","google-site-kit"),field:"metrics.0.values.0",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(y.u)(n,{style:"decimal"}))}},{title:Object(d.__)("Unique Pageviews","google-site-kit"),description:Object(d.__)("Unique Pageviews","google-site-kit"),hideOnMobile:!0,field:"metrics.0.values.1",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(y.u)(n,{style:"decimal"}))}},{title:Object(d.__)("Bounce Rate","google-site-kit"),description:Object(d.__)("Bounce Rate","google-site-kit"),hideOnMobile:!0,field:"metrics.0.values.2",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(y.u)(Number(n)/100,"%"))}}];b&&Z.push({title:Object(d.__)("Session Duration","google-site-kit"),description:Object(d.__)("Session Duration","google-site-kit"),hideOnMobile:!0,field:"metrics.0.values.3",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(y.u)(n,"s"))}});var M=(null==C||null===(n=C[0])||void 0===n||null===(a=n.data)||void 0===a||null===(i=a.rows)||void 0===i?void 0:i.length)?u()(C[0].data.rows):[];return M.forEach((function(e){var t=e.dimensions[0];e.dimensions.unshift(R[t])})),e.createElement(o,{Header:S.a,Footer:k.a,noPadding:!0},e.createElement(O.a,null,e.createElement(_.a,{rows:M,columns:Z,zeroState:A.p,gatheringData:l})))}ModulePopularPagesWidget.propTypes={Widget:s.a.elementType.isRequired,WidgetReportError:s.a.elementType.isRequired,WidgetReportZero:s.a.elementType.isRequired},t.a=Object(b.a)({moduleName:"analytics"})(ModulePopularPagesWidget)}).call(this,n(3))},698:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleAcquisitionChannelsWidget}));var a=n(6),r=n.n(a),i=n(0),o=n.n(i),c=n(4),s=n.n(c),l=n(12),u=n(11),d=n(63),m=n(8),g=n(82),f=n(205),p=n(490),y=n(794),b=n(796),v=n(491),h=n(35);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=s.a.useSelect,T=s.a.useInViewSelect;function ModuleAcquisitionChannelsWidget(t){var n=t.Widget,a=t.WidgetReportZero,r=t.WidgetReportError,i=Object(h.a)("zeroDataStates"),o=T((function(e){return e(u.f).isGatheringData()})),c=E(E({},_((function(e){return e(l.a).getDateRangeDates({offsetDays:u.b})}))),{},{dimensions:"ga:channelGrouping",metrics:[{expression:"ga:sessions",alias:"Sessions"},{expression:"ga:users",alias:"Users"},{expression:"ga:newUsers",alias:"New Users"}],orderby:[{fieldName:"ga:users",sortOrder:"DESCENDING"}],limit:10}),s=_((function(e){return e(u.f).getErrorForSelector("getReport",[c])})),O=_((function(e){return e(u.f).hasFinishedResolution("getReport",[c])})),A=T((function(e){return e(u.f).getReport(c)}));if(!O||void 0===o)return e.createElement(n,{Header:p.a,Footer:v.a},e.createElement(m.e,null,e.createElement(m.o,null,e.createElement(m.a,{lgSize:4,mdSize:4,smSize:4},e.createElement(g.a,{width:"282px",height:"282px",shape:"circular"})),e.createElement(m.a,{lgSize:8,mdSize:4,smSize:4},e.createElement(f.a,{rows:4,rowHeight:50})))));if(s)return e.createElement(n,{Header:p.a,Footer:v.a},e.createElement(r,{moduleSlug:"analytics",error:s}));var S=Object(d.l)(A);return!i&&o&&S?e.createElement(n,{Header:p.a,Footer:v.a},e.createElement(a,{moduleSlug:"analytics"})):e.createElement(n,{Header:p.a,Footer:v.a,noPadding:!0},e.createElement(m.e,null,e.createElement(m.o,null,!S&&e.createElement(m.a,{lgSize:4,mdSize:4,smSize:4},e.createElement(b.a,{report:A,gatheringData:o})),e.createElement(m.a,{lgSize:S?12:8,mdSize:8,smSize:4},e.createElement(y.a,{report:A,gatheringData:o})))))}ModuleAcquisitionChannelsWidget.propTypes={Widget:o.a.elementType.isRequired,WidgetReportError:o.a.elementType.isRequired,WidgetReportZero:o.a.elementType.isRequired}}).call(this,n(3))},7:function(e,t,n){"use strict";n.d(t,"z",(function(){return c.b})),n.d(t,"w",(function(){return s.a})),n.d(t,"A",(function(){return s.b})),n.d(t,"y",(function(){return g})),n.d(t,"f",(function(){return f.b})),n.d(t,"n",(function(){return f.c})),n.d(t,"u",(function(){return p.c})),n.d(t,"v",(function(){return p.d})),n.d(t,"r",(function(){return p.b})),n.d(t,"m",(function(){return p.a})),n.d(t,"h",(function(){return y.a})),n.d(t,"s",(function(){return O})),n.d(t,"g",(function(){return E})),n.d(t,"b",(function(){return _.b})),n.d(t,"a",(function(){return _.a})),n.d(t,"c",(function(){return _.e})),n.d(t,"j",(function(){return _.f})),n.d(t,"x",(function(){return _.l})),n.d(t,"k",(function(){return T.b})),n.d(t,"q",(function(){return T.c})),n.d(t,"e",(function(){return T.a})),n.d(t,"p",(function(){return A.b})),n.d(t,"l",(function(){return A.a})),n.d(t,"t",(function(){return A.d})),n.d(t,"o",(function(){return S})),n.d(t,"d",(function(){return k})),n.d(t,"B",(function(){return N})),n.d(t,"i",(function(){return j}));var a=n(121),r=n.n(a),i=n(117),o=n.n(i),c=n(30),s=n(65),l=n(31),u=n.n(l),d=n(79),m=n.n(d),g=function(e){return m()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(a){var r=t[a];r&&"object"===u()(r)&&!Array.isArray(r)&&(r=e(r)),n[a]=r})),n}(e)))};var f=n(81),p=(n(84),n(73)),y=n(66);function b(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function v(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function h(e){return e.replace(/\n/gi,"<br>")}function O(e){for(var t=e,n=0,a=[b,v,h];n<a.length;n++){t=(0,a[n])(t)}return t}var E=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)]},_=n(58),T=n(85),A=n(50),S=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},k=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!r()(n)?null:n},N=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},j=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},70:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r}));var a=n(122),r=n.n(a)()(e)}).call(this,n(20))},73:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return E})),n.d(t,"d",(function(){return T})),n.d(t,"b",(function(){return A})),n.d(t,"a",(function(){return S}));var a=n(13),r=n.n(a),i=n(31),o=n.n(i),c=n(6),s=n.n(c),l=n(17),u=n.n(l),d=n(26),m=n(69),g=n.n(m),f=n(1);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=v(e,t),a=n.formatUnit,r=n.formatDecimal;try{return a()}catch(e){return r()}},v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var n=Math.floor(e/60/60),a=Math.floor(e/60%60),r=Math.floor(e%60);return{hours:n,minutes:a,seconds:r,formatUnit:function(){var i=t.unitDisplay,o=y(y({unitDisplay:void 0===i?"short":i},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?T(r,y(y({},o),{},{unit:"second"})):Object(f.sprintf)(Object(f._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),r?T(r,y(y({},o),{},{unit:"second"})):"",a?T(a,y(y({},o),{},{unit:"minute"})):"",n?T(n,y(y({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(f.sprintf)(Object(f.__)("%ds","google-site-kit"),r);if(0===e)return t;var i=Object(f.sprintf)(Object(f.__)("%dm","google-site-kit"),a),o=Object(f.sprintf)(Object(f.__)("%dh","google-site-kit"),n);return Object(f.sprintf)(Object(f._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),r?t:"",a?i:"",n?o:"").trim()}}},h=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},O=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(f.sprintf)(Object(f.__)("%sM","google-site-kit"),T(h(e),e%10==0?{}:t)):1e4<=e?Object(f.sprintf)(Object(f.__)("%sK","google-site-kit"),T(h(e))):1e3<=e?Object(f.sprintf)(Object(f.__)("%sK","google-site-kit"),T(h(e),e%10==0?{}:t)):T(e,{signDisplay:"never",maximumFractionDigits:1})},E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n={};if("%"===t)n={style:"percent",maximumFractionDigits:2};else{if("s"===t)return b(e,{unitDisplay:"narrow"});t&&"string"==typeof t?n={style:"currency",currency:t}:Object(d.isPlainObject)(t)&&(n=y({},t))}var a=n,r=a.style,i=void 0===r?"metric":r;return"metric"===i?O(e):"duration"===i?b(e,t):T(e,n)},_=g()(console.warn),T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,a=void 0===n?S():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(a,i).format(e)}catch(t){_("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(a),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],l={},d=0,m=Object.entries(i);d<m.length;d++){var g=r()(m[d],2),f=g[0],p=g[1];c[f]&&p===c[f]||(s.includes(f)||(l[f]=p))}try{return new Intl.NumberFormat(a,l).format(e)}catch(t){return new Intl.NumberFormat(a).format(e)}},A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,a=void 0===n?S():n,r=t.style,i=void 0===r?"long":r,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(a,{style:i,type:c});return s.format(e)}var l=Object(f.__)(", ","google-site-kit");return e.join(l)},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var a=n.match(/^(\w{2})?(_)?(\w{2})/);if(a&&a[0])return a[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(20))},74:function(e,t,n){"use strict";n.d(t,"a",(function(){return N})),n.d(t,"b",(function(){return j})),n.d(t,"c",(function(){return I})),n.d(t,"d",(function(){return w})),n.d(t,"e",(function(){return P})),n.d(t,"g",(function(){return R})),n.d(t,"f",(function(){return Z}));var a,r=n(5),i=n.n(r),o=n(24),c=n.n(o),s=n(6),l=n.n(s),u=n(10),d=n.n(u),m=n(214),g=n.n(m),f=n(69),p=n.n(f),y=n(108);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=t.reduce((function(e,t){return v(v({},e),t)}),{}),r=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),i=D(r);return d()(0===i.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(i.join(", "),". Check your data stores for duplicates.")),a},O=h,E=h,_=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a,r=[].concat(t);return"function"!=typeof r[0]&&(a=r.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r.reduce((function(e,n){return n(e,t)}),e)}},T=h,A=h,S=h,k=function(e){return e},N=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=S.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:a,controls:E.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:_.apply(void 0,[a].concat(c()(t.map((function(e){return e.reducer||k}))))),resolvers:T.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:A.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},j={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)}))},I=(a={},l()(a,"GET_REGISTRY",Object(y.d)((function(e){return function(){return e}}))),l()(a,"AWAIT",(function(e){return e.payload.value})),a),D=function(e){for(var t=[],n={},a=0;a<e.length;a++){var r=e[a];n[r]=n[r]>=1?n[r]+1:1,n[r]>1&&t.push(r)}return t},w={actions:j,controls:I,reducer:k},P=function(e){return function(t){return C(e(t))}},C=p()((function(e){return g()(e,(function(e,t){return function(){var n=e.apply(void 0,arguments);return d()(void 0!==n,"".concat(t,"(...) is not resolved")),n}}))}));function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.negate,a=void 0!==n&&n,r=Object(y.e)((function(t){return function(n){var r=!a,i=!!a;try{for(var o=arguments.length,c=new Array(o>1?o-1:0),s=1;s<o;s++)c[s-1]=arguments[s];return e.apply(void 0,[t,n].concat(c)),r}catch(e){return i}}})),i=Object(y.e)((function(t){return function(n){for(var a=arguments.length,r=new Array(a>1?a-1:0),i=1;i<a;i++)r[i-1]=arguments[i];e.apply(void 0,[t,n].concat(r))}}));return{safeSelector:r,dangerousSelector:i}}function Z(e,t){return d()("function"==typeof e,"a validator function is required."),d()("function"==typeof t,"an action creator function is required."),d()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},75:function(e,t,n){"use strict";(function(e){var a=n(46),r=n.n(a),i=n(47),o=n.n(i),c=n(78),s=n.n(c),l=n(71),u=n.n(l),d=n(72),m=n.n(d),g=n(49),f=n.n(g),p=n(0),y=n.n(p),b=n(9),v=n.n(b),h=n(2),O=n(1),E=n(64),_=n(100),T=n(62),A=n(29),S=n(7);function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=f()(e);if(t){var r=f()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return m()(this,n)}}var N=function(t){u()(DataBlock,t);var n=k(DataBlock);function DataBlock(e){var t;return r()(this,DataBlock),(t=n.call(this,e)).handleClick=t.handleClick.bind(s()(t)),t.handleKeyPress=t.handleKeyPress.bind(s()(t)),t}return o()(DataBlock,[{key:"handleClick",value:function(){var e=this.props,t=e.stat;(0,e.handleStatSelection)(t)}},{key:"handleKeyPress",value:function(e){e.preventDefault();var t=this.props,n=t.stat,a=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||a(n)}},{key:"render",value:function(){var t=this.props,n=t.className,a=t.title,r=t.datapoint,i=t.datapointUnit,o=t.change,c=t.changeDataUnit,s=t.context,l=t.period,u=t.selected,d=t.handleStatSelection,m=t.source,g=t.sparkline,f=t.invertChangeColor,p=t.gatheringData,y=t.gatheringDataNoticeStyle,b="button"===s?"button":"",k=g;k&&f&&(k=Object(h.cloneElement)(g,{invertChangeColor:f}));var N=o;c&&(N="%"===c?Object(S.u)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(S.u)(o,c)),l&&(N=Object(O.sprintf)(l,N));var j=void 0===r?r:Object(S.u)(r,i||void 0),I=Object(A.b)("zeroDataStates");return e.createElement("div",{className:v()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(s),{"googlesitekit-data-block--selected":u,"googlesitekit-data-block--is-gathering-data":p}),tabIndex:"button"!==s||p?"-1":"0",role:d&&b,onClick:p?void 0:d&&this.handleClick,onKeyPress:p?void 0:d&&this.handleKeyPress,"aria-disabled":p||void 0,"aria-label":d&&a,"aria-pressed":d&&u},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},a),!p&&e.createElement("div",{className:"googlesitekit-data-block__datapoint"},j)),!p&&e.createElement(h.Fragment,null,k&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},k),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:v()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(h.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(E.a,{direction:0<parseFloat(o)?"up":"down",invertColor:f})),e.createElement("span",{className:"googlesitekit-data-block__value"},N))),m&&e.createElement(_.a,{className:"googlesitekit-data-block__source",name:m.name,href:m.link,external:null==m?void 0:m.external}))),p&&I&&e.createElement(T.b,{style:y}))}}]),DataBlock}(h.Component);N.propTypes={stat:y.a.number,onClick:y.a.func,className:y.a.string,title:y.a.string,datapoint:y.a.oneOfType([y.a.string,y.a.number]),datapointUnit:y.a.string,change:y.a.oneOfType([y.a.string,y.a.number]),changeDataUnit:y.a.oneOfType([y.a.string,y.a.bool]),context:y.a.string,period:y.a.string,selected:y.a.bool,handleStatSelection:y.a.func,invertChangeColor:y.a.bool,gatheringData:y.a.bool,gatheringDataNoticeStyle:y.a.oneOf(Object.values(T.a))},N.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1,gatheringData:!1,gatheringDataNoticeStyle:T.a.DEFAULT},t.a=N}).call(this,n(3))},76:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return i}));var a=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},r=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("")}},778:function(e,t,n){"use strict";var a=n(427);n.d(t,"a",(function(){return a.a}));n(426)},779:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsUseSnippetSwitch}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(40),s=n(426),l=o.a.useSelect;function SettingsUseSnippetSwitch(){var t,n=l((function(e){return e(c.b).getUseSnippet()})),i=l((function(e){return e(c.b).getExistingTag()})),o=l((function(e){return e(c.b).getMeasurementID()}));return t=i?i===o?e.createElement(a.Fragment,null,e.createElement("p",null,Object(r.sprintf)(Object(r.__)("A tag %s for the selected property already exists on the site.","google-site-kit"),i)),e.createElement("p",null,Object(r.__)("Make sure you remove it if you decide to place the same GA4 tag via Site Kit, otherwise they will be duplicated.","google-site-kit"))):e.createElement(a.Fragment,null,e.createElement("p",null,Object(r.sprintf)(Object(r.__)("An existing tag %s was found on the page.","google-site-kit"),i)),e.createElement("p",null,Object(r.__)("If you prefer to collect data using that existing GA4 tag, please select the corresponding account and property above.","google-site-kit"))):n?e.createElement("p",null,Object(r.__)("Site Kit will add the GA4 code automatically.","google-site-kit")):e.createElement("p",null,Object(r.__)("Site Kit will not add the GA4 code to your site.","google-site-kit")),e.createElement(s.a,{description:t})}}).call(this,n(3))},780:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TotalUserCount}));var a=n(13),r=n.n(a),i=n(6),o=n.n(i),c=n(0),s=n.n(c),l=n(9),u=n.n(l),d=n(2),m=n(212),g=n(915),f=n(1),p=n(4),y=n.n(p),b=n(12),v=n(7),h=n(64),O=n(82),E=n(199),_=n(45),T=n(11),A=n(21),S=n(62),k=n(35),N=y.a.useSelect,j=y.a.useDispatch;function TotalUserCount(t){var n,a,i,c,s,l,p=t.loaded,y=t.error,I=t.report,D=t.dimensionValue,w=t.gatheringData,P=Object(k.a)("zeroDataStates"),C=N((function(e){return e(b.a).getDateRange()})),R=j(_.b).setValues;if(!p)return e.createElement(O.a,{className:"googlesitekit-widget--analyticsAllTraffic__totalcount--loading",width:"220px",height:"90px",shape:"square"});if(y)return e.createElement(E.a,{moduleSlug:"analytics",error:y});var Z=((null==I||null===(n=I[0])||void 0===n?void 0:n.data)||{}).totals||[],M=r()(Z,2),G=M[0],x=M[1],L=Object(v.d)(null==x||null===(a=x.values)||void 0===a?void 0:a[0],null==G||null===(i=G.values)||void 0===i?void 0:i[0]),U=null,F=null===(c=Object(v.j)()[C])||void 0===c?void 0:c.days;return F&&(U=Object(f.sprintf)(Object(f.__)("compared to the previous %s days","google-site-kit"),F)),e.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__totalcount googlesitekit-data-block"},e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-data-block__title"},!D&&e.createElement("span",null,Object(f.__)("All Users","google-site-kit")," "),D&&e.createElement(d.Fragment,null,D&&e.createElement(A.a,{onClick:function(){var e;R((e={},o()(e,T.t,""),o()(e,T.r,""),e))}},Object(f.__)("All Users","google-site-kit")),!D&&e.createElement("span",null,Object(f.__)("All Users","google-site-kit")),e.createElement(m.a,{icon:g.a,size:"18",fill:"currentColor"}),e.createElement("span",null,D))),w&&P&&e.createElement(S.b,{style:S.a.LARGE}),!(w&&P)&&e.createElement(d.Fragment,null,!!(null==G||null===(s=G.values)||void 0===s?void 0:s[0])&&e.createElement("div",{className:"googlesitekit-data-block__datapoint"},Object(v.u)(null==G||null===(l=G.values)||void 0===l?void 0:l[0])),e.createElement("div",{className:"googlesitekit-data-block__change"},L&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(h.a,{direction:0<=L?"up":"down",width:9,height:9})),e.createElement("span",{className:u()("googlesitekit-data-block__value",{"googlesitekit-data-block__value--up":0<L,"googlesitekit-data-block__value--down":0>L})},Object(v.u)(Math.abs(L),{style:"percent",maximumFractionDigits:1})),e.createElement("span",{className:"googlesitekit-data-block__suffix"},U))))}TotalUserCount.propTypes={loaded:s.a.bool,report:s.a.arrayOf(s.a.object),dimensionValue:s.a.string,gatheringData:s.a.bool}}).call(this,n(3))},781:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return UserCountGraph}));var r=n(6),i=n.n(r),o=n(24),c=n.n(o),s=n(13),l=n.n(s),u=n(0),d=n.n(u),m=n(1),g=n(2),f=n(4),p=n.n(f),y=n(45),b=n(12),v=n(11),h=n(206),O=n(202),E=n(199);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var T=p.a.useSelect;function UserCountGraph(t){var n,r,o,s,u,d,f,p,A,S,k,N,j,I,D=t.loaded,w=t.error,P=t.report,C=t.gatheringData,R=T((function(e){return e(b.a).getDateRangeDates({offsetDays:v.b})})),Z=R.startDate,M=R.endDate,G=T((function(e){return e(b.a).getDateRangeNumberOfDays()})),x=T((function(e){return e(y.b).getValue(v.r)||"#1a73e8"})),L=Object(g.useState)(e.matchMedia("(max-width: 450px)")),U=l()(L,2),F=U[0],B=U[1],W=Object(g.useState)(e.matchMedia("(min-width: 451px) and (max-width: 1280px")),H=l()(W,2),z=H[0],V=H[1],q=Object(g.useState)(e.matchMedia("(min-width: 1281px)")),K=l()(q,2),Y=K[0],$=K[1];if(Object(g.useEffect)((function(){var t=function(){B(e.matchMedia("(max-width: 450px)")),V(e.matchMedia("(min-width: 451px) and (max-width: 1280px")),$(e.matchMedia("(min-width: 1281px)"))};return e.addEventListener("resize",t),function(){e.removeEventListener("resize",t)}}),[]),w)return a.createElement(E.a,{moduleSlug:"analytics",error:w});var J=Array.isArray(null==P||null===(n=P[0])||void 0===n||null===(r=n.data)||void 0===r?void 0:r.rows)?null==P||null===(o=P[0])||void 0===o||null===(s=o.data)||void 0===s?void 0:s.rows:[],X=[[{type:"date",label:Object(m.__)("Day","google-site-kit")},{type:"number",label:Object(m.__)("Users","google-site-kit")}]].concat(c()(J.map((function(e){var t=e.metrics,n=e.dimensions;return[Object(O.a)(n[0]),t[0].values[0]]})))),Q=1,ee=2;F.matches&&(G>28?Q=8:G>7&&(Q=3),G>7&&(ee=3)),z.matches&&(G>28?Q=5:G>7&&(Q=2),G>7&&(ee=3)),Y.matches&&(G>28&&(Q=5),G>7&&(ee=4));var te=new Date(Z);te.setDate(new Date(Z).getDate()+Q);var ne=new Date(M);ne.setDate(new Date(M).getDate()-Q);var ae=[],re=ee-1;for(ee-=2;ee>0;){var ie=new Date(M);ie.setDate(new Date(M).getDate()-ee*(G/re)),ae.push(ie),ee-=1}var oe=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},UserCountGraph.chartOptions);return oe.series[0].color=x,oe.hAxis.ticks=[te].concat(ae,[ne]),(null==P||null===(u=P[0])||void 0===u||null===(d=u.data)||void 0===d||null===(f=d.totals)||void 0===f||null===(p=f[0])||void 0===p||null===(A=p.values)||void 0===A?void 0:A[0])&&0!==parseInt(null==P||null===(S=P[0])||void 0===S||null===(k=S.data)||void 0===k||null===(N=k.totals)||void 0===N||null===(j=N[0])||void 0===j||null===(I=j.values)||void 0===I?void 0:I[0],10)?oe.vAxis.viewWindow.max=void 0:oe.vAxis.viewWindow.max=100,a.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__user-count-chart"},a.createElement(h.a,{chartType:"LineChart",data:X,height:"368px",loadingHeight:"340px",loaded:D,options:oe,gatheringData:C,width:"100%"}))}UserCountGraph.propTypes={loaded:d.a.bool,error:d.a.shape({}),report:d.a.arrayOf(d.a.object),gatheringData:d.a.bool},UserCountGraph.chartOptions={animation:{startup:!0},curveType:"function",height:340,width:"100%",colors:["#1a73e8"],chartArea:{left:7,right:40,height:300,top:21},legend:{position:"none"},hAxis:{backgroundColor:"#eef4fd",format:"MMM d",gridlines:{color:"#ffffff"},textPosition:"out",textStyle:{color:"#616161",fontSize:12}},vAxis:{gridlines:{color:"#ece9f1"},lineWidth:3,minorGridlines:{color:"#ffffff"},minValue:0,textStyle:{color:"#616161",fontSize:12},textPosition:"out",viewWindow:{min:0}},series:{0:{lineWidth:3,targetAxisIndex:1}},crosshair:{color:"#1a73e8",opacity:.1,orientation:"vertical"}}}).call(this,n(20),n(3))},782:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DimensionTabs}));var a=n(6),r=n.n(a),i=n(0),o=n.n(i),c=n(299),s=n.n(c),l=n(347),u=n.n(l),d=n(2),m=n(1),g=n(4),f=n.n(g),p=n(45),y=n(11),b=n(82),v=n(8),h=n(7),O=n(35),E=n(19),_=f.a.useDispatch,T=[{tabText:Object(m.__)("Channels","google-site-kit"),dimensionName:"ga:channelGrouping"},{tabText:Object(m.__)("Locations","google-site-kit"),dimensionName:"ga:country"},{tabText:Object(m.__)("Devices","google-site-kit"),dimensionName:"ga:deviceCategory"}];function DimensionTabs(t){var n=t.dimensionName,a=t.gatheringData,i=t.loaded,o=t.isZeroData,c=Object(E.a)(),l=_(p.b).setValues,m=Object(O.a)("zeroDataStates"),g=T.findIndex((function(e){return e.dimensionName===n})),f=Object(d.useCallback)((function(e){var t,n=(T[e]||{}).dimensionName;l((t={},r()(t,y.s,n),r()(t,y.t,""),r()(t,y.r,""),r()(t,y.p,null),t)),Object(h.z)("".concat(c,"_all-traffic-widget"),"tab_select",n)}),[l,c]);return i?e.createElement(d.Fragment,null,e.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__tabs hidden-on-mobile"},e.createElement(u.a,{activeIndex:g,handleActiveIndexUpdate:f},T.map((function(t){return e.createElement(s.a,{key:t.dimensionName,className:"mdc-tab--min-width",focusOnActivate:!1,disabled:a||m&&o},e.createElement("span",{className:"mdc-tab__text-label"},t.tabText))})))),e.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__tabs--small"},e.createElement(v.p,{enhanced:!0,onEnhancedChange:f,outlined:!0,value:"dimension-name-".concat(g),disabled:a||m&&o},T.map((function(t,n){return e.createElement(v.n,{key:n,value:"dimension-name-".concat(n)},t.tabText)}))))):e.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__tabs--loading"},e.createElement(b.a,{width:"100px",height:"40px",shape:"square"}),e.createElement(b.a,{width:"100px",height:"40px",shape:"square"}),e.createElement(b.a,{width:"100px",height:"40px",shape:"square"}))}DimensionTabs.propTypes={dimensionName:o.a.string.isRequired,gatheringData:o.a.bool,isZeroData:o.a.bool,loaded:o.a.bool}}).call(this,n(3))},783:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return UserDimensionsPieChart}));var r=n(6),i=n.n(r),o=n(13),c=n.n(o),s=n(9),l=n.n(s),u=n(0),d=n.n(u),m=n(784),g=n.n(m),f=n(297),p=n.n(f),y=n(2),b=n(1),v=n(59),h=n(4),O=n.n(h),E=n(15),_=n(45),T=n(11),A=n(7),S=n(63),k=n(206),N=n(21),j=n(82),I=n(785),D=n(62),w=n(35),P=n(19),C=O.a.useDispatch,R=O.a.useSelect;function UserDimensionsPieChart(t){var n,r,o,s,u,d,m,f,h,O,Z,M,G=t.dimensionName,x=t.dimensionValue,L=t.gatheringData,U=t.loaded,F=t.report,B=Object(w.a)("zeroDataStates"),W=Object(y.useState)(!1),H=c()(W,2),z=H[0],V=H[1],q=Object(P.a)(),K=R((function(e){return e(E.c).getGoogleSupportURL({path:"/analytics/answer/1009671"})})),Y=R((function(e){return e(E.c).getGoogleSupportURL({path:"/analytics/answer/2820717"})})),$=R((function(e){return e(_.b).getValue(T.r)})),J=R((function(e){return e(_.b).getValue(T.p)})),X=R((function(e){return e(T.f).hasZeroData()})),Q=C(_.b).setValues,ee=Object(y.useRef)(),te=Object(y.useRef)();Object(y.useEffect)((function(){var t=function(e){var t,n=(e||{}).target;if(null==n||null===(t=n.classList)||void 0===t?void 0:t.contains("googlesitekit-cta-link__tooltip")){var a=n.dataset.rowLabel;"(other)"!==a&&"(not set)"!==a||Object(A.z)("".concat(q,"_all-traffic-widget"),"help_click",a)}},n=te.current,a=function(){var e;return Q((e={},i()(e,T.t,""),i()(e,T.r,""),i()(e,T.p,null),e))},r=function(){return!(g()(J)||void 0===J||!x&&!$)},o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(null==e?void 0:e.keyCode)===v.d&&r()&&a()},c=function(e){var t;r()&&!(null==e||null===(t=e.target)||void 0===t?void 0:t.closest(".googlesitekit-widget--analyticsAllTraffic__legend"))&&a()};return n&&(n.addEventListener("click",t),e.addEventListener("click",c),e.addEventListener("keyup",o)),function(){n&&(n.removeEventListener("click",t),e.removeEventListener("click",c),e.removeEventListener("keyup",o))}}),[Q,J,x,$,q]);var ne={current:null==F||null===(n=F[0])||void 0===n||null===(r=n.data)||void 0===r||null===(o=r.totals)||void 0===o||null===(s=o[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0],previous:null==F||null===(d=F[0])||void 0===d||null===(m=d.data)||void 0===m||null===(f=m.totals)||void 0===f||null===(h=f[1])||void 0===h||null===(O=h.values)||void 0===O?void 0:O[0]};((null==F||null===(Z=F[0])||void 0===Z||null===(M=Z.data)||void 0===M?void 0:M.rows)||[]).forEach((function(e){var t=e.metrics;ne.current-=t[0].values[0],ne.previous-=t[1].values[0]}));var ae=function(e,t,n){return'<p>\n\t\t\t<a\n\t\t\t\thref="'.concat(e,'"\n\t\t\t\tclass="googlesitekit-cta-link googlesitekit-cta-link--external googlesitekit-cta-link--inherit googlesitekit-cta-link__tooltip"\n\t\t\t\ttarget="_blank"\n\t\t\t\trel="noreferrer noopener"\n\t\t\t\tdata-row-label="').concat(n,'"\n\t\t\t>\n\t\t\t\t').concat(t,"\n\t\t\t</a>\n\t\t</p>")},re=Object(S.b)(F,{keyColumnIndex:0,maxSlices:5,withOthers:!0,tooltipCallback:function(e,t){var n,a,r,i=(null==e||null===(n=e.metrics)||void 0===n||null===(a=n[1])||void 0===a||null===(r=a.values)||void 0===r?void 0:r[0])>0?100*e.metrics[0].values[0]/e.metrics[1].values[0]-100:100;null===e&&ne.previous>0&&(i=100*ne.current/ne.previous-100);var o=Object(A.k)(i),c=e?e.metrics[0].values[0]:ne.current,s=Object(b.sprintf)(Object(b._x)("Users: <strong>%1$s</strong> <em>%2$s %3$s%%</em>","Stat information for the user dimensions chart tooltip","google-site-kit"),Object(A.v)(c),o,Object(A.v)(Math.abs(i),{maximumFractionDigits:2})),u=t[0].toLowerCase(),d="googlesitekit-visualization-tooltip-".concat(u.replace(/\W+/,"_")),m="<p>\n\t\t\t\t\t".concat(Object(b.sprintf)(Object(b.__)("%s:","google-site-kit"),t[0].toUpperCase()),"\n\t\t\t\t\t<b>").concat(Object(A.v)(t[1],{maximumFractionDigits:1,style:"percent"}),"</b>\n\t\t\t\t</p>\n\t\t\t\t<p>\n\t\t\t\t\t").concat(s,"\n\t\t\t\t</p>");if(u===Object(b.__)("Others","google-site-kit").toLowerCase())switch(G){case"ga:country":m+="<p>".concat(Object(b.__)("See the full list of locations in Analytics","google-site-kit"),"</p>");break;case"ga:deviceCategory":m+="<p>".concat(Object(b.__)("See the full list of devices in Analytics","google-site-kit"),"</p>");break;case"ga:channelGrouping":default:m+="<p>".concat(Object(b.__)("See the full list of channels in Analytics","google-site-kit"),"</p>")}return K&&"(other)"===u&&(m+=ae(K,Object(b.sprintf)(Object(b.__)('Learn more about what "%s" means',"google-site-kit"),u),u)),Y&&"(not set)"===u&&(m+=ae(Y,Object(b.sprintf)(Object(b.__)('Learn more about what "%s" means',"google-site-kit"),u),u)),m='<div class="'.concat(l()("googlesitekit-visualization-tooltip",d,{"googlesitekit-visualization-tooltip--up":i>0,"googlesitekit-visualization-tooltip--down":i<0}),'">\n\t\t\t\t\t').concat(m,"\n\t\t\t\t</div>")}}),ie=UserDimensionsPieChart.chartOptions.slices,oe=p()(UserDimensionsPieChart.chartOptions),ce={"ga:channelGrouping":Object(b.__)("<span>By</span> channels","google-site-kit"),"ga:country":Object(b.__)("<span>By</span> locations","google-site-kit"),"ga:deviceCategory":Object(b.__)("<span>By</span> devices","google-site-kit")};L&&(ce={"ga:channelGrouping":Object(b.__)("gathering data…","google-site-kit")},oe.pieSliceText="none",oe.tooltip.trigger="none",oe.sliceVisibilityThreshold=1);var se=U?Object(A.w)(ce[G]||"",{ALLOWED_TAGS:["span"],ALLOWED_ATTR:[]}):{__html:""},le=Object(A.q)(F);le&&(oe.pieSliceText="none"),(null==x?void 0:x.length)?oe.tooltip.trigger="selection":oe.tooltip.trigger="focus";var ue=B&&X;return a.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__dimensions-container"},a.createElement("div",{ref:te,className:l()("googlesitekit-widget--analyticsAllTraffic__dimensions-chart",{"googlesitekit-widget--analyticsAllTraffic__slice-selected":!!x,"googlesitekit-widget--analyticsAllTraffic__selectable":z})},ue&&a.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__chart-zero-data"},L&&a.createElement(D.b,{style:D.a.SMALL_OVERLAY}),a.createElement(I.a,null)),!ue&&a.createElement(k.a,{chartType:"PieChart",data:re||[],getChartWrapper:function(e){ee.current=e},gatheringData:L,height:"368px",loaded:U,loadingHeight:"300px",loadingWidth:"300px",onMouseOut:function(){V(!1)},onMouseOver:function(e,t){var n=t.chartWrapper,a=e.row;null==a&&V(!1);var r=n.getDataTable();V(r.getValue(a,0)!==Object(b.__)("Others","google-site-kit"))},onReady:function(e){var t,n,a=e.chartWrapper.getChart();if(x&&!(null===(t=a.getSelection())||void 0===t?void 0:t.length)){var r,o,c,s,l=re.findIndex((function(e){return e[0]===x}))-1;if(l>=0){if(a.setSelection([{row:l}]),J!==l||((null===(r=ie[l])||void 0===r?void 0:r.color)||$)!==$)Q((c={},i()(c,T.p,l),i()(c,T.r,(null===(o=ie[l])||void 0===o?void 0:o.color)||$),c))}else Q((s={},i()(s,T.t,""),i()(s,T.r,""),i()(s,T.p,null),s))}!x&&(null===(n=a.getSelection())||void 0===n?void 0:n.length)&&(a.setSelection([]),null!==J&&Q(i()({},T.p,null))),x||""===$||Q(i()({},T.r,""))},onSelect:function(e){var t,n=e.chartWrapper,a=n.getChart(),r=((null===(t=a.getSelection())||void 0===t?void 0:t[0])||{}).row;if(null==r){var o;Q((o={},i()(o,T.t,""),i()(o,T.r,""),i()(o,T.p,null),o))}else{var c=n.getDataTable();if(c){var s,l,u=c.getValue(r,0);if(Object(b.__)("Others","google-site-kit")===u)null==J?a.setSelection([]):a.setSelection([{row:J}]);else Q((l={},i()(l,T.r,null===(s=ie[r])||void 0===s?void 0:s.color),i()(l,T.t,u),i()(l,T.p,r),l)),Object(A.z)("".concat(q,"_all-traffic-widget"),"slice_select","".concat(G,":").concat(u))}}},options:oe,width:"100%"},a.createElement("div",{className:l()({"googlesitekit-widget--analyticsAllTraffic__dimensions-chart-gathering-data":L,"googlesitekit-widget--analyticsAllTraffic__dimensions-chart-title":!L}),dangerouslySetInnerHTML:se})),a.createElement("div",{"aria-label":L?Object(b.__)("A pie chart for Analytics that is gathering data, so has no data to display.","google-site-kit"):void 0,className:l()("googlesitekit-widget--analyticsAllTraffic__legend",{"googlesitekit-widget--analyticsAllTraffic__legend--single":le}),role:"region"},U&&!ue&&(null==re?void 0:re.slice(1).map((function(e,t){var n,r=c()(e,1)[0],o=r===x,s=null===(n=ie[t])||void 0===n?void 0:n.color,u=Object(b.__)("Others","google-site-kit")===r;return a.createElement(N.a,{key:r,onClick:function(){return function(e){var t;if(ee.current){var n=ee.current.getDataTable().getValue(e,0);if(!(Object(b.__)("Others","google-site-kit")===n)){var a,r=((null===(t=ee.current.getChart().getSelection())||void 0===t?void 0:t[0])||{}).row;if(r===e)Q((a={},i()(a,T.t,""),i()(a,T.r,""),i()(a,T.p,null),a));else if(n){var o,c;Q((c={},i()(c,T.r,null===(o=ie[r])||void 0===o?void 0:o.color),i()(c,T.t,n),i()(c,T.p,e),c)),Object(A.z)("".concat(q,"_all-traffic-widget"),"slice_select","".concat(G,":").concat(n))}}}}(t)},className:l()("googlesitekit-widget--analyticsAllTraffic__legend-slice",{"googlesitekit-widget--analyticsAllTraffic__legend-active":o,"googlesitekit-widget--analyticsAllTraffic__legend-others":u}),disabled:L},a.createElement("span",{className:"googlesitekit-widget--analyticsAllTraffic__dot",style:{backgroundColor:s}}),a.createElement("span",{className:"googlesitekit-widget--analyticsAllTraffic__label","data-label":r},r),a.createElement("span",{className:"googlesitekit-widget--analyticsAllTraffic__underlay",style:{backgroundColor:s}}))}))),!U&&a.createElement(y.Fragment,null,a.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__legend-slice"},a.createElement("span",{className:"googlesitekit-widget--analyticsAllTraffic__dot",style:{backgroundColor:"#ccc"}}),a.createElement(j.a,{height:"18px",width:"68px",shape:"square"})),a.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__legend-slice"},a.createElement("span",{className:"googlesitekit-widget--analyticsAllTraffic__dot",style:{backgroundColor:"#ccc"}}),a.createElement(j.a,{height:"18px",width:"52px",shape:"square"})),a.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__legend-slice"},a.createElement("span",{className:"googlesitekit-widget--analyticsAllTraffic__dot",style:{backgroundColor:"#ccc"}}),a.createElement(j.a,{height:"18px",width:"40px",shape:"square"})),a.createElement("div",{className:"googlesitekit-widget--analyticsAllTraffic__legend-slice"},a.createElement("span",{className:"googlesitekit-widget--analyticsAllTraffic__dot",style:{backgroundColor:"#ccc"}}),a.createElement(j.a,{height:"18px",width:"52px",shape:"square"}))))))}UserDimensionsPieChart.defaultProps={dimensionName:"ga:channelGrouping"},UserDimensionsPieChart.chartOptions={chartArea:{left:"auto",height:300,top:"auto",width:"100%"},backgroundColor:"transparent",fontSize:12,height:368,legend:{position:"none"},pieHole:.6,pieSliceTextStyle:{color:"black",fontSize:12},slices:{0:{color:"#ffcd33"},1:{color:"#c196ff"},2:{color:"#9de3fe"},3:{color:"#ff7fc6"},4:{color:"#ff886b"}},title:null,tooltip:{isHtml:!0,trigger:"focus"},width:"100%"},UserDimensionsPieChart.propTypes={dimensionName:d.a.string.isRequired,dimensionValue:d.a.string,gatheringData:d.a.bool,report:d.a.arrayOf(d.a.object),loaded:d.a.bool}}).call(this,n(20),n(3))},785:function(e,t,n){"use strict";var a=n(2);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M119 238c65.722 0 119-53.278 119-119C238 53.278 184.722 0 119 0 53.278 0 0 53.278 0 119c0 65.722 53.278 119 119 119zm0-42c42.526 0 77-34.474 77-77s-34.474-77-77-77-77 34.474-77 77 34.474 77 77 77z",fill:"currentColor"});t.a=function SvgPieChartZeroData(e){return a.createElement("svg",r({viewBox:"0 0 238 238",fill:"none"},e),i)}},786:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return EmptyPieChart}));var a=n(1),r=n(338),i=n(8),o=n(105);function EmptyPieChart(){return e.createElement(i.e,{className:"googlesitekit-widget--analyticsAllTraffic__empty-dimensions-chart"},e.createElement(i.o,null,e.createElement(i.a,{size:12},e.createElement(r.a,null)),e.createElement(i.a,{size:12},e.createElement("h4",null,Object(a.__)("No data to display","google-site-kit")),e.createElement("p",null,e.createElement(o.p,{skipPrefix:!0})))))}}).call(this,n(3))},787:function(e,t,n){"use strict";(function(e){var a=n(13),r=n.n(a),i=n(297),o=n.n(i),c=n(1),s=n(4),l=n.n(s),u=n(11),d=n(12),m=n(143),g=n(205),f=n(100),p=n(63),y=n(291),b=n(155),v=n(248),h=n(405),O=n(7),E=n(105),_=n(35),T=l.a.useSelect,A=l.a.useInViewSelect;var S=[{title:Object(c.__)("Most popular content","google-site-kit"),primary:!0,Component:function Component(t){var n=t.row,a=r()(n.dimensions,2),i=a[0],o=a[1];return e.createElement(h.a,{title:i,path:o})}},{title:Object(c.__)("Views","google-site-kit"),field:"metrics.0.values.0",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(O.u)(n,{style:"decimal"}))}}];t.a=Object(m.a)({moduleName:"analytics"})((function DashboardPopularPagesWidget(t){var n,a,r,i=t.Widget,s=t.WidgetReportZero,l=t.WidgetReportError,m=Object(_.a)("zeroDataStates"),h=A((function(e){return e(u.f).isGatheringData()})),O=T((function(e){return e(d.a).getDateRangeDates({offsetDays:u.b})})),k=O.startDate,N=O.endDate,j=O.compareStartDate,I=O.compareEndDate,D={startDate:k,endDate:N,dimensions:["ga:pagePath"],metrics:[{expression:"ga:pageviews",alias:"Pageviews"}],orderby:[{fieldName:"ga:pageviews",sortOrder:"DESCENDING"}],limit:10},w=T((function(e){return e(u.f).getServiceReportURL("content-pages",Object(b.a)({startDate:k,endDate:N,compareStartDate:j,compareEndDate:I}))})),P=T((function(e){return e(u.f).getErrorForSelector("getReport",[D])})),C=A((function(e){return e(u.f).getReport(D)})),R=A((function(e){return P?void 0:e(u.f).getPageTitles(C,D)})),Z=function Footer(){return e.createElement(f.a,{className:"googlesitekit-data-block__source",name:Object(c._x)("Analytics","Service name","google-site-kit"),href:w,external:!0})};if(T((function(e){return!((void 0!==P||void 0!==R)&&e(u.f).hasFinishedResolution("getReport",[D]))}))||void 0===h)return e.createElement(i,{noPadding:!0,Footer:Z},e.createElement(g.a,{padding:!0}));if(P)return e.createElement(i,{Footer:Z},e.createElement(l,{moduleSlug:"analytics",error:P}));if(!m&&h&&Object(p.l)(C))return e.createElement(i,{Footer:Z},e.createElement(s,{moduleSlug:"analytics"}));var M=(null==C||null===(n=C[0])||void 0===n||null===(a=n.data)||void 0===a||null===(r=a.rows)||void 0===r?void 0:r.length)?o()(C[0].data.rows):[];return M.forEach((function(e){var t=e.dimensions[0];e.dimensions.unshift(R[t])})),e.createElement(i,{noPadding:!0,Footer:Z},e.createElement(y.a,null,e.createElement(v.a,{rows:M,columns:S,zeroState:E.p,gatheringData:h})))}))}).call(this,n(3))},788:function(e,t,n){"use strict";(function(e){var a=n(6),r=n.n(a),i=n(1),o=n(4),c=n.n(o),s=n(11),l=n(12),u=n(15),d=n(143),m=n(82),g=n(75),f=n(260),p=n(83),y=n(7),b=n(202),v=n(63),h=n(155),O=n(35),E=n(102);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var A=c.a.useSelect,S=c.a.useInViewSelect;t.a=Object(d.a)({moduleName:"analytics",FallbackComponent:function FallbackComponent(t){var n=t.WidgetActivateModuleCTA;return e.createElement(n,{moduleSlug:"analytics"})},IncompleteComponent:function IncompleteComponent(t){var n=t.WidgetCompleteModuleActivationCTA;return e.createElement(n,{moduleSlug:"analytics"})}})((function DashboardGoalsWidget(t){var n,a,r,o,c=t.WidgetNull,d=t.WidgetReportZero,_=t.WidgetReportError,k=Object(O.a)("zeroDataStates"),N=Object(E.a)(),j=S((function(e){return e(s.f).isGatheringData()})),I=A((function(e){return e(u.c).getCurrentEntityURL()})),D=A((function(e){return e(l.a).getDateRangeDates({offsetDays:s.b,compare:!0})})),w=D.compareStartDate,P=D.compareEndDate,C=D.startDate,R=D.endDate,Z={compareStartDate:w,compareEndDate:P,startDate:C,endDate:R,dimensions:"ga:date",metrics:[{expression:"ga:goalCompletionsAll",alias:"Goal Completions"}]},M={startDate:C,endDate:R,url:I,compareStartDate:w,compareEndDate:P,metrics:[{expression:"ga:users",alias:"Total Users"}]},G=A((function(e){var t=e(s.f),n=!t.hasFinishedResolution("getGoals",[])||!t.hasFinishedResolution("getReport",[Z])||!t.hasFinishedResolution("getReport",[M]);return{error:t.getErrorForSelector("getGoals",[])||t.getErrorForSelector("getReport",[Z]),loading:n,serviceURL:t.getServiceReportURL("conversions-goals-overview",T({},Object(h.a)({startDate:C,endDate:R,compareStartDate:w,compareEndDate:P})))}})),x=G.error,L=G.loading,U=G.serviceURL,F=S((function(e){return e(s.f).getGoals()})),B=S((function(e){return e(s.f).getReport(Z)})),W=S((function(e){return e(s.f).getReport(M)})),H=A((function(e){return e(u.c).getGoogleSupportURL({path:"/analytics/answer/1032415",hash:"create_or_edit_goals"})}));if(x)return e.createElement(_,{moduleSlug:"analytics",error:x});if(L||void 0===j)return e.createElement(m.a,{width:"100%",height:"202px"});if(!k&&j&&Object(v.l)(W))return e.createElement(d,{moduleSlug:"analytics"});if(!(null==F||null===(n=F.items)||void 0===n?void 0:n.length))return N?e.createElement(c,null):e.createElement(p.a,{title:Object(i.__)("Use goals to measure success","google-site-kit"),description:Object(i.__)("Goals measure how well your site or app fulfills your target objectives","google-site-kit"),ctaLink:H,ctaLabel:Object(i.__)("Create a new goal","google-site-kit"),ctaLinkExternal:!0});for(var z=[[{type:"date",label:"Day"},{type:"number",label:"Bounce Rate"}]],V=(null==B||null===(a=B[0])||void 0===a?void 0:a.data)||{},q=V.totals,K=void 0===q?[]:q,Y=V.rows,$=void 0===Y?[]:Y,J=Math.ceil($.length/2);J<$.length;J++){var X=$[J].metrics[0].values,Q=$[J].dimensions[0],ee=Object(b.a)(Q);z.push([ee,X[0]])}var te=(null===(r=K[0])||void 0===r?void 0:r.values)||[],ne=(null===(o=K[1])||void 0===o?void 0:o.values)||[],ae=te[0]||0,re=Object(y.d)(ne[0]||0,te[0]||0);return e.createElement(g.a,{className:"overview-goals-completed",title:Object(i.__)("Goals Completed","google-site-kit"),datapoint:ae,change:re,changeDataUnit:"%",source:{name:Object(i._x)("Analytics","Service name","google-site-kit"),link:U,external:!0},sparkline:e.createElement(f.a,{data:z,change:re,gatheringData:j}),gatheringData:j})}))}).call(this,n(3))},789:function(e,t,n){"use strict";(function(e){var a=n(6),r=n.n(a),i=n(1),o=n(113),c=n(4),s=n.n(c),l=n(11),u=n(15),d=n(12),m=n(143),g=n(82),f=n(75),p=n(260),y=n(7),b=n(202),v=n(63),h=n(155),O=n(35);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=s.a.useSelect,A=s.a.useInViewSelect;t.a=Object(m.a)({moduleName:"analytics",FallbackComponent:function FallbackComponent(t){var n=t.WidgetActivateModuleCTA;return e.createElement(n,{moduleSlug:"analytics"})},IncompleteComponent:function IncompleteComponent(t){var n=t.WidgetCompleteModuleActivationCTA;return e.createElement(n,{moduleSlug:"analytics"})}})((function DashboardSearchVisitorsWidget(t){var n,a,r,c,s,m,E,S=t.WidgetReportZero,k=t.WidgetReportError,N=Object(O.a)("zeroDataStates"),j=A((function(e){return e(l.f).isGatheringData()})),I=T((function(e){return e(u.c).getCurrentEntityURL()})),D=T((function(e){return e(d.a).getDateRangeDates({offsetDays:l.b,compare:!0})})),w=D.compareStartDate,P=D.compareEndDate,C=D.startDate,R=D.endDate,Z=_({startDate:C,endDate:R,metrics:[{expression:"ga:users",alias:"Users"}]},I&&{url:I}),M=_({dimensions:["ga:date"],dimensionFilters:{"ga:channelGrouping":"Organic Search"}},Z),G=_({compareStartDate:w,compareEndDate:P,dimensionFilters:{"ga:channelGrouping":"Organic Search"}},Z),x=_({compareStartDate:w,compareEndDate:P},Z),L=T((function(e){var t=e(l.f),n=["analytics.trafficChannel:Organic Search"];return Object(o.a)(I)&&n.push("analytics.pagePath:".concat(Object(y.p)(I))),{loading:!t.hasFinishedResolution("getReport",[M])||!t.hasFinishedResolution("getReport",[G])||!t.hasFinishedResolution("getReport",[x]),error:t.getErrorForSelector("getReport",[M])||t.getErrorForSelector("getReport",[G])||t.getErrorForSelector("getReport",[x]),serviceURL:t.getServiceReportURL("acquisition-channels",_({"_r.drilldown":n.join(",")},Object(h.a)({startDate:C,endDate:R,compareStartDate:w,compareEndDate:P})))}})),U=L.loading,F=L.error,B=L.serviceURL,W=A((function(e){return e(l.f).getReport(M)})),H=A((function(e){return e(l.f).getReport(G)})),z=A((function(e){return e(l.f).getReport(x)}));if(F)return e.createElement(k,{moduleSlug:"analytics",error:F});if(U||void 0===j)return e.createElement(g.a,{width:"100%",height:"202px"});if(!N&&j&&(Object(v.l)(W)||Object(v.l)(H))&&Object(v.l)(z))return e.createElement(S,{moduleSlug:"analytics"});for(var V=[[{type:"date",label:"Day"},{type:"number",label:"Unique Visitors from Search"}]],q=(null==W||null===(n=W[0])||void 0===n||null===(a=n.data)||void 0===a?void 0:a.rows)||[],K=0;K<q.length;K++){var Y=q[K].metrics[0].values,$=q[K].dimensions[0],J=Object(b.a)($);V.push([J,Y[0]])}var X=((null==H||null===(r=H[0])||void 0===r?void 0:r.data)||{}).totals,Q=void 0===X?[]:X,ee=(null===(c=Q[0])||void 0===c||null===(s=c.values)||void 0===s?void 0:s[0])||0,te=(null===(m=Q[1])||void 0===m||null===(E=m.values)||void 0===E?void 0:E[0])||0,ne=Object(y.d)(te,ee);return e.createElement(f.a,{className:"overview-total-users",title:Object(i.__)("Unique Visitors from Search","google-site-kit"),datapoint:ee,change:ne,changeDataUnit:"%",source:{name:Object(i._x)("Analytics","Service name","google-site-kit"),link:B,external:!0},sparkline:e.createElement(p.a,{data:V,change:ne,gatheringData:j}),gatheringData:j})}))}).call(this,n(3))},790:function(e,t,n){"use strict";(function(e){var a=n(6),r=n.n(a),i=n(1),o=n(113),c=n(4),s=n.n(c),l=n(11),u=n(15),d=n(12),m=n(143),g=n(82),f=n(75),p=n(260),y=n(7),b=n(202),v=n(63),h=n(155),O=n(35);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var _=s.a.useSelect,T=s.a.useInViewSelect;t.a=Object(m.a)({moduleName:"analytics",FallbackComponent:function FallbackComponent(t){var n=t.WidgetActivateModuleCTA;return e.createElement(n,{moduleSlug:"analytics"})},IncompleteComponent:function IncompleteComponent(t){var n=t.WidgetCompleteModuleActivationCTA;return e.createElement(n,{moduleSlug:"analytics"})}})((function DashboardBounceRateWidget(t){var n,a,c,s=t.WidgetReportZero,m=t.WidgetReportError,A=Object(O.a)("zeroDataStates"),S=T((function(e){return e(l.f).isGatheringData()})),k=_((function(e){return e(u.c).getCurrentEntityURL()})),N=_((function(e){return e(d.a).getDateRangeDates({offsetDays:l.b,compare:!0})})),j=N.compareStartDate,I=N.compareEndDate,D=N.startDate,w=N.endDate,P={compareStartDate:j,compareEndDate:I,startDate:D,endDate:w,dimensions:"ga:date",metrics:[{expression:"ga:bounceRate",alias:"Bounce Rate"}]};Object(o.a)(k)&&(P.url=k,c="analytics.pagePath:".concat(Object(y.p)(k)));var C=_((function(e){return e(l.f).getErrorForSelector("getReport",[P])})),R=_((function(e){return e(l.f).getServiceReportURL("visitors-overview",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({"_r.drilldown":c},Object(h.a)({startDate:D,endDate:w,compareStartDate:j,compareEndDate:I})))})),Z=T((function(e){return e(l.f).getReport(P)}));if(_((function(e){return!e(l.f).hasFinishedResolution("getReport",[P])})))return e.createElement(g.a,{width:"100%",height:"202px"});if(C)return e.createElement(m,{moduleSlug:"analytics",error:C});if(!A&&S&&Object(v.l)(Z))return e.createElement(s,{moduleSlug:"analytics"});for(var M=[[{type:"date",label:"Day"},{type:"number",label:"Bounce Rate"}]],G=(null==Z||null===(n=Z[0])||void 0===n||null===(a=n.data)||void 0===a?void 0:a.rows)||[],x=Math.ceil(G.length/2);x<G.length;x++){var L=G[x].metrics[0].values,U=G[x].dimensions[0],F=Object(b.a)(U);M.push([F,L[0]])}var B=Z[0].data.totals,W=B[0].values[0]/100,H=B[1].values[0]/100,z=Object(y.d)(H,W);return e.createElement(f.a,{className:"overview-bounce-rate",title:Object(i.__)("Bounce Rate","google-site-kit"),datapoint:W,datapointUnit:"%",change:z,changeDataUnit:"%",invertChangeColor:!0,source:{name:Object(i._x)("Analytics","Service name","google-site-kit"),link:R,external:!0},sparkline:e.createElement(p.a,{data:M,change:z,gatheringData:S}),gatheringData:S})}))}).call(this,n(3))},791:function(e,t,n){"use strict";(function(e){var a=n(17),r=n.n(a),i=n(6),o=n.n(i),c=n(1),s=n(113),l=n(4),u=n.n(l),d=n(11),m=n(12),g=n(15),f=n(94),p=n(82),y=n(75),b=n(260),v=n(100),h=n(143),O=n(155),E=n(7),_=n(202),T=n(63),A=n(237),S=n(29);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j=u.a.useSelect,I=u.a.useInViewSelect;t.a=Object(h.a)({moduleName:"analytics"})((function DashboardOverallPageMetricsWidget(t){var n=t.Widget,a=t.WidgetReportZero,i=t.WidgetReportError,o=Object(S.b)("zeroDataStates"),l=I((function(e){return e(d.f).isGatheringData()})),u=function(){var e=j((function(e){return e(m.a).getDateRangeDates({offsetDays:d.b,compare:!0})})),t=j((function(e){return e(g.c).getCurrentEntityURL()})),n=N(N({},e),{},{dimensions:["ga:date"],metrics:[{expression:"ga:pageviews",alias:"Pageviews"},{expression:"ga:uniquePageviews",alias:"Unique Pageviews"},{expression:"ga:bounceRate",alias:"Bounce Rate"},{expression:"ga:avgSessionDuration",alias:"Session Duration"}],url:t}),a=Object(O.a)(e);Object(s.a)(t)&&(a["explorer-table.plotKeys"]="[]",a["_r.drilldown"]="analytics.pagePath:".concat(Object(E.p)(t)));var r=j((function(e){return!e(d.f).hasFinishedResolution("getReport",[n])})),i=j((function(e){return e(d.f).getErrorForSelector("getReport",[n])})),o=j((function(e){return e(d.f).getServiceReportURL("visitors-overview",a)}));return{report:I((function(e){return e(d.f).getReport(n)})),serviceURL:o,isLoading:r,error:i}}(),h=u.report,k=u.serviceURL,D=u.isLoading,w=u.error,P=j((function(e){return e(m.a).getDateRangeNumberOfDays()})),C=function Footer(){return e.createElement(v.a,{className:"googlesitekit-data-block__source",name:Object(c._x)("Analytics","Service name","google-site-kit"),href:k,external:!0})};if(D||void 0===l)return e.createElement(n,{Footer:C},e.createElement(p.a,{width:"100%",height:"222px"}));if(w)return e.createElement(n,{Footer:C},e.createElement(i,{moduleSlug:"analytics",error:w}));if(l&&Object(T.l)(h)&&!o)return e.createElement(n,{Footer:C},e.createElement(a,{moduleSlug:"analytics"}));var R=function(e){var t,n,a,i=[{metric:"ga:pageviews",title:Object(c.__)("Pageviews","google-site-kit"),sparkLineData:[[{type:"date",label:"Day"},{type:"number",label:"Pageviews"}]],total:0,change:0},{metric:"ga:uniquePageviews",title:Object(c.__)("Unique Pageviews","google-site-kit"),sparkLineData:[[{type:"date",label:"Day"},{type:"number",label:"Unique Pageviews"}]],total:0,change:0},{metric:"ga:bounceRate",title:Object(c.__)("Bounce Rate","google-site-kit"),sparkLineData:[[{type:"date",label:"Day"},{type:"number",label:"Bounce Rate"}]],datapointUnit:"%",datapointDivider:100,total:0,change:0},{metric:"ga:avgSessionDuration",title:Object(c.__)("Session Duration","google-site-kit"),sparkLineData:[[{type:"date",label:"Day"},{type:"number",label:"Session Duration"}]],datapointUnit:"s",total:0,change:0}],o=(null==e||null===(t=e[0])||void 0===t?void 0:t.data)||{},s=o.totals,l=void 0===s?[]:s,u=o.rows,d=void 0===u?[]:u,m=(null===(n=l[0])||void 0===n?void 0:n.values)||[],g=(null===(a=l[1])||void 0===a?void 0:a.values)||[];return i.map((function(e,t){for(var n=e.datapointDivider,a=void 0===n?1:n,i=r()(e,["datapointDivider"]),o=Math.ceil(d.length/2);o<d.length;o++){var c=d[o].metrics[0].values,s=d[o].dimensions[0],l=Object(_.a)(s);i.sparkLineData.push([l,c[t]])}return i.total=(m[t]||0)/a,i.change=Object(E.d)(g[t]||0,m[t]||0),i}))}(h);return e.createElement(n,{Header:function Header(){return e.createElement(A.a,{title:Object(c.sprintf)(Object(c._n)("Overall page metrics over the last %s day","Overall page metrics over the last %s days",P,"google-site-kit"),P)})},Footer:C},e.createElement(f.b,null,e.createElement(f.c,null,R.map((function(t){var n=t.metric,a=t.title,r=t.sparkLineData,i=t.datapointUnit,o=t.total,c=t.change;return e.createElement(f.a,{key:n,smSize:2,lgSize:3},e.createElement(y.a,{title:a,datapoint:o,datapointUnit:i,change:c,changeDataUnit:"%",gatheringData:l,sparkline:e.createElement(b.a,{data:r,change:c,gatheringData:l})}))})))))}))}).call(this,n(3))},792:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Overview}));var a=n(6),r=n.n(a),i=n(13),o=n.n(i),c=n(0),s=n.n(c),l=n(1),u=n(4),d=n.n(u),m=n(11),g=n(8),f=n(75),p=n(7);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=d.a.useInViewSelect;function h(e,t){var n,a,r,i,c,s,l,u,d,m,g,f,y=o()(e,1),b=y[0],v=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return{datapoint:(null==b||null===(n=b.data)||void 0===n||null===(a=n.totals)||void 0===a||null===(r=a[0])||void 0===r||null===(i=r.values)||void 0===i?void 0:i[t])/v,change:Object(p.d)(null==b||null===(c=b.data)||void 0===c||null===(s=c.totals)||void 0===s||null===(l=s[1])||void 0===l||null===(u=l.values)||void 0===u?void 0:u[t],null==b||null===(d=b.data)||void 0===d||null===(m=d.totals)||void 0===m||null===(g=m[0])||void 0===g||null===(f=g.values)||void 0===f?void 0:f[t])}}function Overview(t){var n=t.report,a=t.selectedStat,r=t.handleStatSelection,i=v((function(e){return e(m.f).isGatheringData()})),o=[b({title:Object(l.__)("Users","google-site-kit"),className:"googlesitekit-data-block--users googlesitekit-data-block--button-1"},h(n,0)),b({title:Object(l.__)("Sessions","google-site-kit"),className:"googlesitekit-data-block--sessions googlesitekit-data-block--button-2"},h(n,1)),b({title:Object(l.__)("Bounce Rate","google-site-kit"),className:"googlesitekit-data-block--bounce googlesitekit-data-block--button-3",datapointUnit:"%",invertChangeColor:!0},h(n,2,100)),b({title:Object(l.__)("Session Duration","google-site-kit"),className:"googlesitekit-data-block--duration googlesitekit-data-block--button-4",datapointUnit:"s"},h(n,3))];return e.createElement(g.e,null,e.createElement(g.o,null,o.map((function(t,n){return e.createElement(g.a,{key:n,smSize:2,mdSize:2,lgSize:3},e.createElement(f.a,{stat:n,className:t.className,title:t.title,datapoint:t.datapoint,change:t.change,changeDataUnit:"%",context:"button",selected:a===n,handleStatSelection:r,datapointUnit:t.datapointUnit,invertChangeColor:t.invertChangeColor,gatheringData:i}))}))))}Overview.propTypes={report:s.a.arrayOf(s.a.object),selectedStat:s.a.number.isRequired,handleStatSelection:s.a.func.isRequired}}).call(this,n(3))},793:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SiteStats}));var a=n(6),r=n.n(a),i=n(13),o=n.n(i),c=n(0),s=n.n(c),l=n(4),u=n.n(l),d=n(12),m=n(63),g=n(206),f=n(8);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=u.a.useSelect;function SiteStats(t){var n,a,r=t.selectedStat,i=t.report,c=void 0===i?[]:i,s=t.gatheringData,l=b((function(e){return e(d.a).getDateRangeNumberOfDays()})),u=Object(m.a)(c,r,l,0,1);"timeofday"===(null===(n=u[0][r])||void 0===n?void 0:n.type)&&(a=Object(m.c)(u,r));var p=u.slice(1).map((function(e){return o()(e,1)[0]})),v=y(y({},SiteStats.options),{},{hAxis:y(y({},SiteStats.options.hAxis),{},{ticks:p}),vAxis:y(y({},SiteStats.options.vAxis),{},{format:a}),series:{0:{color:SiteStats.colorMap[r],targetAxisIndex:0},1:{color:SiteStats.colorMap[r],targetAxisIndex:0,lineDashStyle:[3,3],lineWidth:1}}});return Object(m.l)(c)?v.vAxis.viewWindow.max=100:v.vAxis.viewWindow.max=void 0,e.createElement(f.e,{className:"googlesitekit-analytics-site-stats"},e.createElement(f.o,null,e.createElement(f.a,{size:12},e.createElement(g.a,{chartType:"LineChart",data:u,options:v,gatheringData:s,loadingHeight:"270px",loadingWidth:"100%"}))))}SiteStats.propTypes={selectedStat:s.a.number.isRequired,report:s.a.arrayOf(s.a.object),gatheringData:s.a.bool},SiteStats.colorMap={0:"#4285f4",1:"#27bcd4",2:"#1b9688",3:"#673ab7"},SiteStats.options={chart:{title:""},curveType:"function",height:270,width:"100%",chartArea:{height:"80%",left:60,right:25},legend:{position:"top",textStyle:{color:"#616161",fontSize:12}},hAxis:{format:"M/d/yy",gridlines:{color:"#fff"},textStyle:{color:"#616161",fontSize:12}},vAxis:{gridlines:{color:"#eee"},minorGridlines:{color:"#eee"},textStyle:{color:"#616161",fontSize:12},titleTextStyle:{color:"#616161",fontSize:12,italic:!1},viewWindow:{min:0}},focusTarget:"category",crosshair:{color:"gray",opacity:.1,orientation:"vertical",trigger:"both"},tooltip:{isHtml:!0,trigger:"both"}}}).call(this,n(3))},794:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AcquisitionChannelsTable}));var a=n(0),r=n.n(a),i=n(1),o=n(4),c=n.n(o),s=n(12),l=n(7),u=n(795),d=n(248),m=n(105),g=c.a.useSelect;function AcquisitionChannelsTable(t){var n,a,r,o,c,f,p,y=t.report,b=t.gatheringData,v=g((function(e){return e(s.a).getDateRangeNumberOfDays()})),h=null==y||null===(n=y[0])||void 0===n||null===(a=n.data)||void 0===a||null===(r=a.totals)||void 0===r||null===(o=r[0])||void 0===o||null===(c=o.values)||void 0===c?void 0:c[1],O=-1,E=[{title:Object(i.__)("Channel","google-site-kit"),tooltip:Object(i.__)("Channel refers to where your traffic originated from","google-site-kit"),Component:function Component(t){var n=t.row;return e.createElement("span",null,n.dimensions[0])}},{title:Object(i.__)("Users","google-site-kit"),tooltip:Object(i.__)("Number of users that originated from that traffic","google-site-kit"),field:"metrics.0.values.0",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(l.u)(n,{style:"decimal"}))}},{title:Object(i.__)("New Users","google-site-kit"),tooltip:Object(i.sprintf)(Object(i._n)("Number of new users to visit your page over last %s day","Number of new users to visit your page over last %s days",v,"google-site-kit"),v),field:"metrics.0.values.1",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(l.u)(n,{style:"decimal"}))}},{title:Object(i.__)("Sessions","google-site-kit"),tooltip:Object(i.sprintf)(Object(i._n)("Number of sessions users had on your website over last %s day","Number of sessions users had on your website over last %s days",v,"google-site-kit"),v),field:"metrics.0.values.2",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(l.u)(n,{style:"decimal"}))}},{title:Object(i.__)("Percentage","google-site-kit"),tooltip:Object(i.__)("Percentage of sessions","google-site-kit"),field:"metrics.0.values.1",Component:function Component(t){var n=t.fieldValue,a=0;return 0<h&&(a=n/h),O+=1,e.createElement("div",{key:"minichart-analytics-top-as-"+O,className:"googlesitekit-table__body-item-chart-wrap"},Object(l.u)(isFinite(a)?a:0,"%"),e.createElement(u.a,{change:a,index:O}))}}];return e.createElement("div",{className:"googlesitekit-details-widget"},e.createElement(d.a,{rows:(null==y||null===(f=y[0])||void 0===f||null===(p=f.data)||void 0===p?void 0:p.rows)||[],columns:E,zeroState:m.p,gatheringData:b}))}AcquisitionChannelsTable.propTypes={report:r.a.arrayOf(r.a.object),gatheringData:r.a.bool}}).call(this,n(3))},795:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(206);function MiniChart(t){var n=t.index,a=t.change,r={backgroundColor:"transparent",chartArea:{width:"100%",height:"100%"},enableInteractivity:!1,height:28,legend:{position:"none"},slices:{0:{color:["#178EC5","#54B23B","#EB5729","#ECED33","#34CBE3","#82E88E"][n]},1:{color:"#e6e6e6"}},title:null,tooltip:{trigger:"none"},width:28},o=+(100*a).toFixed(1),c=[["source","percent"],["",o],["",100-o]];return e.createElement("div",{className:"googlesitekit-mini-chart"},e.createElement(i.a,{chartType:"PieChart",data:c,loadingHeight:"24px",options:r}))}MiniChart.propTypes={index:r.a.number.isRequired,change:r.a.number.isRequired},t.a=MiniChart}).call(this,n(3))},796:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PieChart}));var a=n(0),r=n.n(a),i=n(206),o=n(63);function PieChart(t){var n=t.report,a=t.gatheringData,r=Object(o.b)(n,{keyColumnIndex:1});return e.createElement("div",{className:"googlesitekit-chart googlesitekit-chart--pie"},e.createElement(i.a,{data:r,options:PieChart.options,gatheringData:a,chartType:"PieChart",id:"overview-piechart",loadingHeight:"230px",loadingWidth:"230px"}))}PieChart.options={chartArea:{width:"100%",height:"100%"},backgroundColor:"transparent",height:250,legend:{alignment:"center",textStyle:{color:"#5b5b61",fontSize:12}},slices:{0:{color:"#178EC5"},1:{color:"#54B23B"},2:{color:"#EB5729"},3:{color:"#ECED33"},4:{color:"#34CBE3"},5:{color:"#82E88E"}},title:null,width:"100%"},PieChart.propTypes={report:r.a.arrayOf(r.a.object),gatheringData:r.a.bool}}).call(this,n(3))},8:function(e,t,n){"use strict";var a=n(90),r=n.n(a);n.d(t,"q",(function(){return r.a})),n.d(t,"f",(function(){return a.HelperText})),n.d(t,"g",(function(){return a.Input}));var i=n(201);n.d(t,"l",(function(){return i.a}));var o=n(245);n.d(t,"i",(function(){return o.a}));var c=n(246);n.d(t,"k",(function(){return c.a}));var s=n(114),l=n.n(s);n.d(t,"p",(function(){return l.a})),n.d(t,"n",(function(){return s.Option}));var u=n(247);n.d(t,"m",(function(){return u.a}));var d=n(244);n.d(t,"h",(function(){return d.a}));var m=n(243);n.d(t,"j",(function(){return m.a}));var g=n(91),f=n.n(g);n.d(t,"b",(function(){return f.a})),n.d(t,"c",(function(){return g.DialogContent})),n.d(t,"d",(function(){return g.DialogFooter}));var p=n(94);n.d(t,"a",(function(){return p.a})),n.d(t,"e",(function(){return p.b})),n.d(t,"o",(function(){return p.c}))},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return d}));var a=n(13),r=n.n(a),i=n(1);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,a=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),r=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(a&&r)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var s=document.createElement("span");return s.setAttribute("class","screen-reader-text"),s.textContent=Object(i.sprintf)(Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(s),t&&null===a&&t.appendChild(o),n&&null===r&&n.appendChild(o),o},l=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},a=0;a<t.length;a++)n[t[a].split("=")[0]]=decodeURIComponent(t[a].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var a,i={},c=o(n.searchParams.entries());try{for(c.s();!(a=c.n()).done;){var s=r()(a.value,2),l=s[0],d=s[1];i[l]=d}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,n(20))},82:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(9),o=n.n(i),c=n(44);function PreviewBlock(t){var n=t.className,a=t.width,r=t.height,i=t.shape,s=t.padding,l=t.smallWidth,u=t.smallHeight,d=t.tabletWidth,m=t.tabletHeight,g=t.desktopWidth,f=t.desktopHeight,p=Object(c.e)(),y=a,b=r;return c.b===p&&l&&u&&(y=l,b=u),c.c===p&&d&&m&&(y=d,b=m),(c.d===p||c.a===p)&&g&&f&&(y=g,b=f),e.createElement("div",{className:o()("googlesitekit-preview-block",n,{"googlesitekit-preview-block--padding":s}),style:{width:y,height:b}},e.createElement("div",{className:o()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===i})}))}PreviewBlock.propTypes={className:r.a.string,width:r.a.string,height:r.a.string,shape:r.a.string,padding:r.a.bool,smallWidth:r.a.string,smallHeight:r.a.string,tabletWidth:r.a.string,tabletHeight:r.a.string,desktopWidth:r.a.string,desktopHeight:r.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(3))},83:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(9),o=n.n(i),c=n(21),s=function CTA(t){var n=t.title,a=t.description,r=t.ctaLink,i=t.ctaLabel,s=t.ctaLinkExternal,l=t.error,u=t.onClick,d=t["aria-label"];return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":l})},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),a&&"string"==typeof a&&e.createElement("p",{className:"googlesitekit-cta__description"},a),a&&"string"!=typeof a&&e.createElement("div",{className:"googlesitekit-cta__description"},a),i&&e.createElement(c.a,{href:r,onClick:u,inverse:!l,caps:!0,arrow:!0,"aria-label":d,external:s,hideExternalIndicator:s},i))};s.propTypes={title:r.a.string.isRequired,description:r.a.oneOfType([r.a.string,r.a.node]),ctaLink:r.a.string,ctaLinkExternal:r.a.bool,ctaLabel:r.a.string,"aria-label":r.a.string,error:r.a.bool,onClick:r.a.func},s.defaultProps={title:"",description:"",ctaLink:"",ctaLabel:"",error:!1,onClick:function(){}},t.a=s}).call(this,n(3))},84:function(e,t,n){"use strict";(function(e){n(46),n(47)}).call(this,n(20))},85:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var a=n(200),r=n(64),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(a.a)(e.createElement(r.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,n,a,r,i,o,c,s,l,u,d,m,g,f,p;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(a=n.rows)||void 0===a?void 0:a.length)||(null==e||null===(r=e[0])||void 0===r||null===(i=r.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(s=c.metrics)||void 0===s||null===(l=s[0])||void 0===l||null===(u=l.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(m=d.data)||void 0===m||null===(g=m.totals)||void 0===g||null===(f=g[0])||void 0===f||null===(p=f.values)||void 0===p?void 0:p[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},86:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var a=n(6),r=n.n(a),i=n(87),o=n(88);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function u(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=s(s({},l),t);r.referenceSiteURL&&(r.referenceSiteURL=r.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(r,n);return{enableTracking:function(){r.trackingEnabled=!0},disableTracking:function(){r.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!r.trackingEnabled},trackEvent:Object(o.a)(r,n,c,a)}}}).call(this,n(20))},87:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var a=n(51),r=n(28);function i(t,n){var i,o=Object(a.a)(n);return function(){var n=e.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(r.b,"]"))),!i){var a=n.createElement("script");a.setAttribute(r.b,""),a.async=!0,a.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(r.a),n.head.appendChild(a),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,n(20))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var a=n(5),r=n.n(a),i=n(6),o=n.n(i),c=n(14),s=n.n(c),l=n(51),u=n(29);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n,a){var i=Object(l.a)(t);return function(){var t=s()(r.a.mark((function t(o,c,s,l){var d,g,f,p,y,b,v,h,O,E;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(d=e.activeModules,g=e.referenceSiteURL,f=e.trackingEnabled,p=e.trackingID,y=e.userIDHash,b=e.userRoles,v=void 0===b?[]:b,h=e.isAuthenticated,O=e.pluginVersion,f){t.next=3;break}return t.abrupt("return");case 3:return n(),E={send_to:p,event_category:o,event_label:s,value:l,dimension1:g,dimension2:v.join(","),dimension3:y,dimension4:O||"",dimension5:Array.from(u.a).join(","),dimension6:d.join(","),dimension7:h?1:0},t.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){a.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(r),e()};i("event",c,m(m({},E),{},{event_callback:s})),(null===(t=a._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,a,r){return t.apply(this,arguments)}}()}},92:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c}));n(57);var a="missing_required_scopes",r="insufficientPermissions",i="forbidden";function o(e){return(null==e?void 0:e.code)===a}function c(e){var t;return[r,i].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}},94:function(e,t,n){"use strict";var a=n(109);n.d(t,"a",(function(){return a.a}));var r=n(110);n.d(t,"c",(function(){return r.a}));var i=n(111);n.d(t,"b",(function(){return i.a}))},96:function(e,t,n){"use strict";var a=n(2),r=n(29),i=Object(a.createContext)(r.a);t.a=i},99:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(113),o=n(1),c=n(7);function ErrorText(t){var n=t.message,a=t.reconnectURL;if(!n)return null;var r=Object(o.sprintf)(Object(o.__)("Error: %s","google-site-kit"),n);a&&Object(i.a)(a)&&(r=r+" "+Object(o.sprintf)(Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),a));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.w)(r,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:r.a.string.isRequired,reconnectURL:r.a.string},ErrorText.defaultProps={reconnectURL:""},t.a=ErrorText}).call(this,n(3))}},[[1110,1,0]]]) ;
/home/sudancam/.trash/host/../tyblue.3/../litespeed/js/d717d658d2819cb56ffbd9db1a0ec055.js