Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-main-dashboard-4a22bdd52eac618bdba0.js
Назад
(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[15],[,,function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=googlesitekit.data},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return o})),n.d(t,"H",(function(){return l})),n.d(t,"M",(function(){return s})),n.d(t,"O",(function(){return u})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return g})),n.d(t,"J",(function(){return f})),n.d(t,"I",(function(){return m})),n.d(t,"N",(function(){return p})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return b})),n.d(t,"j",(function(){return E})),n.d(t,"l",(function(){return _})),n.d(t,"m",(function(){return O})),n.d(t,"n",(function(){return y})),n.d(t,"o",(function(){return k})),n.d(t,"q",(function(){return j})),n.d(t,"s",(function(){return S})),n.d(t,"r",(function(){return w})),n.d(t,"t",(function(){return x})),n.d(t,"w",(function(){return C})),n.d(t,"u",(function(){return A})),n.d(t,"v",(function(){return N})),n.d(t,"x",(function(){return T})),n.d(t,"y",(function(){return D})),n.d(t,"A",(function(){return M})),n.d(t,"B",(function(){return R})),n.d(t,"C",(function(){return B})),n.d(t,"D",(function(){return I})),n.d(t,"k",(function(){return P})),n.d(t,"F",(function(){return F})),n.d(t,"z",(function(){return L})),n.d(t,"G",(function(){return z})),n.d(t,"E",(function(){return V})),n.d(t,"i",(function(){return W})),n.d(t,"p",(function(){return G})),n.d(t,"Q",(function(){return U})),n.d(t,"P",(function(){return H}));var r="core/user",i="connected_url_mismatch",a="__global",c="temporary_persist_permission_error",o="adblocker_active",l="googlesitekit_authenticate",s="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",g="googlesitekit_read_shared_module_data",f="googlesitekit_manage_module_sharing_options",m="googlesitekit_delegate_module_sharing_management",p="googlesitekit_update_plugins",h="kmAnalyticsAdSenseTopEarningContent",v="kmAnalyticsEngagedTrafficSource",b="kmAnalyticsLeastEngagingPages",E="kmAnalyticsNewVisitors",_="kmAnalyticsPopularAuthors",O="kmAnalyticsPopularContent",y="kmAnalyticsPopularProducts",k="kmAnalyticsReturningVisitors",j="kmAnalyticsTopCities",S="kmAnalyticsTopCitiesDrivingLeads",w="kmAnalyticsTopCitiesDrivingAddToCart",x="kmAnalyticsTopCitiesDrivingPurchases",C="kmAnalyticsTopDeviceDrivingPurchases",A="kmAnalyticsTopConvertingTrafficSource",N="kmAnalyticsTopCountries",T="kmAnalyticsTopPagesDrivingLeads",D="kmAnalyticsTopRecentTrendingPages",M="kmAnalyticsTopTrafficSource",R="kmAnalyticsTopTrafficSourceDrivingAddToCart",B="kmAnalyticsTopTrafficSourceDrivingLeads",I="kmAnalyticsTopTrafficSourceDrivingPurchases",P="kmAnalyticsPagesPerVisit",F="kmAnalyticsVisitLength",L="kmAnalyticsTopReturningVisitorPages",z="kmSearchConsolePopularKeywords",V="kmAnalyticsVisitsPerVisitor",W="kmAnalyticsMostEngagingPages",G="kmAnalyticsTopCategories",U=[h,v,b,E,_,O,y,k,G,j,S,w,x,C,A,N,D,M,R,P,F,L,V,W,G],H=[].concat(U,[z])},,function(e,t,n){"use strict";n.d(t,"J",(function(){return i.b})),n.d(t,"K",(function(){return i.c})),n.d(t,"G",(function(){return a.a})),n.d(t,"L",(function(){return a.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"j",(function(){return v})),n.d(t,"d",(function(){return k})),n.d(t,"c",(function(){return j})),n.d(t,"e",(function(){return S})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return x})),n.d(t,"g",(function(){return C})),n.d(t,"f",(function(){return A})),n.d(t,"o",(function(){return N})),n.d(t,"x",(function(){return T})),n.d(t,"q",(function(){return D})),n.d(t,"H",(function(){return M})),n.d(t,"t",(function(){return R})),n.d(t,"w",(function(){return B})),n.d(t,"l",(function(){return I})),n.d(t,"p",(function(){return P.b})),n.d(t,"i",(function(){return P.a})),n.d(t,"u",(function(){return F.b})),n.d(t,"r",(function(){return F.a})),n.d(t,"B",(function(){return F.c})),n.d(t,"y",(function(){return L})),n.d(t,"v",(function(){return z})),n.d(t,"F",(function(){return G})),n.d(t,"E",(function(){return U.a})),n.d(t,"h",(function(){return H})),n.d(t,"M",(function(){return q})),n.d(t,"m",(function(){return K}));var r=n(13),i=n(36),a=n(72),c=n(33),o=n.n(c),l=n(94),s=n.n(l),u=function(e){return s()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===o()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};n(97);var d=n(82);function g(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function f(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function p(e){for(var t=e,n=0,r=[g,f,m];n<r.length;n++){t=(0,r[n])(t)}return t}var h=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},v=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},b=n(15),E=n.n(b),_=n(11),O=n.n(_),y=n(2),k="Invalid dateString parameter, it must be a string.",j='Invalid date range, it must be a string with the format "last-x-days".',S=60,w=60*S,x=24*w,C=7*x,A=30*x;function N(){var e=function(e){return Object(y.sprintf)( /* translators: %s: number of days */ Object(y._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function D(e){O()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function M(e){O()(T(e),k);var t=e.split("-"),n=E()(t,3),r=n[0],i=n[1],a=n[2];return new Date(r,i-1,a)}function R(e,t){return D(I(e,t*x))}function B(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function I(e,t){O()(T(e)||Object(r.isDate)(e)&&!isNaN(e),k);var n=T(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var P=n(98),F=n(83);function L(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function z(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var V=n(27),W=n.n(V),G=function(e){return Array.isArray(e)?W()(e).sort():e},U=n(88);function H(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var q=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},K=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"q",(function(){return a})),n.d(t,"x",(function(){return c})),n.d(t,"m",(function(){return o})),n.d(t,"o",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return p})),n.d(t,"g",(function(){return h})),n.d(t,"v",(function(){return v})),n.d(t,"u",(function(){return b})),n.d(t,"w",(function(){return E})),n.d(t,"s",(function(){return _})),n.d(t,"t",(function(){return O})),n.d(t,"e",(function(){return y})),n.d(t,"r",(function(){return k})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return S})),n.d(t,"b",(function(){return w}));var r="modules/analytics-4",i="account_create",a="property_create",c="webdatastream_create",o="analyticsSetup",l=10,s=1,u="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",g="enhanced-measurement-enabled",f="enhanced-measurement-should-dismiss-activation-banner",m="analyticsAccountCreate",p="analyticsCustomDimensionsCreate",h="https://www.googleapis.com/auth/analytics.edit",v="dashboardAllTrafficWidgetDimensionName",b="dashboardAllTrafficWidgetDimensionColor",E="dashboardAllTrafficWidgetDimensionValue",_="dashboardAllTrafficWidgetActiveRowIndex",O="dashboardAllTrafficWidgetLoaded",y={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},k={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},j="audiencePermissionsSetup",S="audienceTileCustomDimensionCreate",w="audience-selection-panel-expirable-new-badge-"},function(e,t){e.exports=googlesitekit.components},,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="core/site",i="primary",a="secondary"},,,function(e,t,n){"use strict";var r=n(245);n.d(t,"i",(function(){return r.a}));var i=n(309);n.d(t,"f",(function(){return i.a}));var a=n(310);n.d(t,"h",(function(){return a.a}));var c=n(311);n.d(t,"j",(function(){return c.a}));var o=n(308);n.d(t,"g",(function(){return o.a}));var l=n(90),s=n.n(l);n.d(t,"b",(function(){return s.a})),n.d(t,"c",(function(){return l.DialogContent})),n.d(t,"d",(function(){return l.DialogFooter}));var u=n(104);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},function(e,t,n){"use strict";var r=n(0),i=n(63);t.a=function(){return Object(r.useContext)(i.b)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="core/modules",i="insufficient_module_dependencies"},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(12),l=n.n(o),s=n(1),u=n.n(s),d=n(140),g=n(0),f=n(2),m=n(126),p=n(127),h=n(128),v=n(80),b=n(77),E=Object(g.forwardRef)((function(t,n){var r,a=t["aria-label"],o=t.secondary,s=void 0!==o&&o,u=t.arrow,g=void 0!==u&&u,E=t.back,_=void 0!==E&&E,O=t.caps,y=void 0!==O&&O,k=t.children,j=t.className,S=void 0===j?"":j,w=t.danger,x=void 0!==w&&w,C=t.disabled,A=void 0!==C&&C,N=t.external,T=void 0!==N&&N,D=t.hideExternalIndicator,M=void 0!==D&&D,R=t.href,B=void 0===R?"":R,I=t.inverse,P=void 0!==I&&I,F=t.noFlex,L=void 0!==F&&F,z=t.onClick,V=t.small,W=void 0!==V&&V,G=t.standalone,U=void 0!==G&&G,H=t.linkButton,q=void 0!==H&&H,K=t.to,J=t.leadingIcon,Y=t.trailingIcon,X=c()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),$=B||K||!z?K?"ROUTER_LINK":T?"EXTERNAL_LINK":"LINK":A?"BUTTON_DISABLED":"BUTTON",Q="BUTTON"===$||"BUTTON_DISABLED"===$?"button":"ROUTER_LINK"===$?d.b:"a",Z=("EXTERNAL_LINK"===$&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===$&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof k?"".concat(k," ").concat(r):void 0:a),ee=J,te=Y;return _&&(ee=e.createElement(h.a,{width:14,height:14})),T&&!M&&(te=e.createElement(v.a,{width:14,height:14})),g&&!P&&(te=e.createElement(m.a,{width:14,height:14})),g&&P&&(te=e.createElement(p.a,{width:14,height:14})),e.createElement(Q,i()({"aria-label":Z,className:l()("googlesitekit-cta-link",S,{"googlesitekit-cta-link--secondary":s,"googlesitekit-cta-link--inverse":P,"googlesitekit-cta-link--small":W,"googlesitekit-cta-link--caps":y,"googlesitekit-cta-link--danger":x,"googlesitekit-cta-link--disabled":A,"googlesitekit-cta-link--standalone":U,"googlesitekit-cta-link--link-button":q,"googlesitekit-cta-link--no-flex":!!L}),disabled:A,href:"LINK"!==$&&"EXTERNAL_LINK"!==$||A?void 0:B,onClick:z,rel:"EXTERNAL_LINK"===$?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===$?"_blank":void 0,to:K},X),!!ee&&e.createElement(b.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},k),!!te&&e.createElement(b.a,{marginLeft:5},te))}));E.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=E}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"m",(function(){return c})),n.d(t,"s",(function(){return o})),n.d(t,"h",(function(){return l})),n.d(t,"r",(function(){return s})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return g})),n.d(t,"k",(function(){return f})),n.d(t,"t",(function(){return m})),n.d(t,"u",(function(){return p})),n.d(t,"p",(function(){return h})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return b})),n.d(t,"a",(function(){return E})),n.d(t,"d",(function(){return _})),n.d(t,"c",(function(){return O})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return k}));var r="mainDashboard",i="entityDashboard",a="mainDashboardViewOnly",c="entityDashboardViewOnly",o="userInput",l="activation",s="splash",u="adminBar",d="adminBarViewOnly",g="settings",f="adBlockingRecovery",m="wpDashboard",p="wpDashboardViewOnly",h="moduleSetup",v="key-metrics",b="traffic",E="content",_="speed",O="monetization",y=[r,i,a,c,o,s,g,h],k=[a,c,d,p]},,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="core/ui",i="activeContextID"},function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return o})),n.d(t,"e",(function(){return l}));var r=n(79),i="xlarge",a="desktop",c="tablet",o="small";function l(){var e=Object(r.a)();return e>1280?i:e>960?a:e>600?c:o}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"j",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"h",(function(){return o})),n.d(t,"e",(function(){return l})),n.d(t,"i",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return g})),n.d(t,"b",(function(){return f})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return p}));var r="modules/adsense",i=1,a="READY",c="NEEDS_ATTENTION",o="REQUIRES_REVIEW",l="GETTING_READY",s="background-submit-suspended",u="ad-blocking-recovery-setup-success",d="adsenseAdBlockingFormSettings",g="googlesitekit-ad-blocking-recovery-setup-create-message-cta-clicked",f="ad-blocking-recovery-notification",m={TAG_PLACED:"tag-placed",SETUP_CONFIRMED:"setup-confirmed"},p={PLACE_TAGS:0,CREATE_MESSAGE:1,COMPLETE:2}},function(e,t,n){"use strict";n.d(t,"l",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"k",(function(){return c})),n.d(t,"j",(function(){return o})),n.d(t,"i",(function(){return l})),n.d(t,"o",(function(){return s})),n.d(t,"m",(function(){return u})),n.d(t,"n",(function(){return d})),n.d(t,"b",(function(){return g})),n.d(t,"h",(function(){return f})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return h})),n.d(t,"d",(function(){return v})),n.d(t,"c",(function(){return b}));var r=n(2),i="key-metrics-setup-cta-widget",a="key-metrics-acr-subtle-notification",c="googlesitekit-key-metrics-selection-panel-opened",o="key-metrics-selection-form",l="key-metrics-selected",s=2,u=4,d=8,g="current-selection",f={SLUG:"visitors",LABEL:Object(r.__)("Visitors","google-site-kit")},m={SLUG:"driving-traffic",LABEL:Object(r.__)("Driving traffic","google-site-kit")},p={SLUG:"generating-leads",LABEL:Object(r.__)("Generating leads","google-site-kit")},h={SLUG:"selling-products",LABEL:Object(r.__)("Selling products","google-site-kit")},v={SLUG:"content-performance",LABEL:Object(r.__)("Content performance","google-site-kit")},b=[f,m,p,h,v]},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d}));n(13);var r=n(2),i="missing_required_scopes",a="insufficientPermissions",c="forbidden";function o(e){return(null==e?void 0:e.code)===i}function l(e){var t;return[a,c].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function s(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||l(e)||o(e)||s(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(22),i=n(18);function a(){var e=Object(i.a)();return r.g.includes(e)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return E}));var r=n(99),i=e._googlesitekitTrackingData||{},a=i.activeModules,c=void 0===a?[]:a,o=i.isSiteKitScreen,l=i.trackingEnabled,s=i.trackingID,u=i.referenceSiteURL,d=i.userIDHash,g=i.isAuthenticated,f={activeModules:c,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:o,userRoles:i.userRoles,isAuthenticated:g,pluginVersion:"1.140.0"},m=Object(r.a)(f),p=m.enableTracking,h=m.disableTracking,v=(m.isTrackingEnabled,m.initializeSnippet),b=m.trackEvent,E=m.trackEventOnce;function _(e){e?p():h()}o&&l&&v()}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"i",(function(){return i})),n.d(t,"h",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return o})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"k",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return f}));var r="audience-segmentation-add-group-notice",i="googlesitekit-audience-selection-panel-opened",a="audience-selection-form",c="audience-selected",o="audience-selection-changed",l="audience-segmentation-creation-notice",s="audience-segmentation-creation-success-notice",u=1,d=3,g="audience-creation-edit-scope-notice",f="audience-creation-form"},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),c=n.n(a),o=n(12),l=n.n(o),s=n(25);function PreviewBlock(t){var n,r,a=t.className,c=t.width,o=t.height,u=t.shape,d=t.padding,g=t.smallWidth,f=t.smallHeight,m=t.tabletWidth,p=t.tabletHeight,h=t.desktopWidth,v=t.desktopHeight,b=Object(s.e)(),E={width:(n={},i()(n,s.b,g),i()(n,s.c,m),i()(n,s.a,h),i()(n,s.d,h),n),height:(r={},i()(r,s.b,f),i()(r,s.c,p),i()(r,s.a,v),i()(r,s.d,h),r)};return e.createElement("div",{className:l()("googlesitekit-preview-block",a,{"googlesitekit-preview-block--padding":d}),style:{width:E.width[b]||c,height:E.height[b]||o}},e.createElement("div",{className:l()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:c.a.string,width:c.a.string,height:c.a.string,shape:c.a.string,padding:c.a.bool,smallWidth:c.a.string,smallHeight:c.a.string,tabletWidth:c.a.string,tabletHeight:c.a.string,desktopWidth:c.a.string,desktopHeight:c.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(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return b})),n.d(t,"f",(function(){return E})),n.d(t,"c",(function(){return _})),n.d(t,"e",(function(){return O})),n.d(t,"b",(function(){return y}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=(n(27),n(8));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){o=!0,a=e},f:function(){try{c||null==n.return||n.return()}finally{if(o)throw a}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u,d="googlesitekit_",g="".concat(d).concat("1.140.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),f=["sessionStorage","localStorage"],m=[].concat(f),p=function(){var t=c()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,a="__storage_test__",r.setItem(a,a),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function h(){return v.apply(this,arguments)}function v(){return(v=c()(i.a.mark((function t(){var n,r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(m),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(a=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,p(a);case 11:if(!t.sent){t.next=13;break}u=e[a];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=c()(i.a.mark((function e(t){var n,r,a,c,o,l,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(g).concat(t)))){e.next=10;break}if(a=JSON.parse(r),c=a.timestamp,o=a.ttl,l=a.value,s=a.isError,!c||o&&!(Math.round(Date.now()/1e3)-c<o)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),E=function(){var t=c()(i.a.mark((function t(n,r){var a,c,l,s,u,d,f,m,p=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=p.length>2&&void 0!==p[2]?p[2]:{},c=a.ttl,l=void 0===c?o.b:c,s=a.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,d=a.isError,f=void 0!==d&&d,t.next=3,h();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(g).concat(n),JSON.stringify({timestamp:u,ttl:l,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),_=function(){var t=c()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h();case 2:if(!(r=t.sent)){t.next=14;break}return t.prev=4,a=n.startsWith(d)?n:"".concat(g).concat(n),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),O=function(){var t=c()(i.a.mark((function t(){var n,r,a,c;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],a=0;a<n.length;a++)0===(c=n.key(a)).indexOf(d)&&r.push(c);return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),y=function(){var e=c()(i.a.mark((function e(){var t,n,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:if(!e.sent){e.next=25;break}return e.next=6,O();case 6:t=e.sent,n=l(t),e.prev=8,n.s();case 10:if((r=n.n()).done){e.next=16;break}return a=r.value,e.next=14,_(a);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},function(e,t){e.exports=googlesitekit.api},,function(e,t,n){"use strict";(function(e){var r,i;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c}));var a=new Set((null===(r=e)||void 0===r||null===(i=r._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,n(26))},,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r={BOXES:"boxes",COMPOSITE:"composite"},i={QUARTER:"quarter",HALF:"half",FULL:"full"},a="core/widgets"},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"k",(function(){return o})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return f}));var r="non_https_site",i="modules/reader-revenue-manager",a="reader-revenue-manager",c={ONBOARDING_COMPLETE:"ONBOARDING_COMPLETE",ONBOARDING_ACTION_REQUIRED:"ONBOARDING_ACTION_REQUIRED",PENDING_VERIFICATION:"PENDING_VERIFICATION",UNSPECIFIED:"ONBOARDING_STATE_UNSPECIFIED"},o="READER_REVENUE_MANAGER_SHOW_PUBLICATION_APPROVED_NOTIFICATION",l="rrm_module_setup_banner_dismissed_key",s="readerRevenueManagerSetupForm",u="readerRevenueManagerNoticesForm",d="showPublicationCreate",g="resetPublications",f="syncPublication"},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return o}));var r=n(22),i=n(18),a=r.n,c=r.l;function o(){var e=Object(i.a)();return e===r.n||e===r.o?a:e===r.l||e===r.m?c:null}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(3),i=n(19),a=n(78);function c(t){var n=t.moduleName,c=t.FallbackComponent,o=t.IncompleteComponent;return function(t){function WhenActiveComponent(a){var l=Object(r.useSelect)((function(e){return e(i.a).getModule(n)}),[n]);if(!l)return null;var s=c||a.WidgetNull||null;if(!1===l.active)return s&&e.createElement(s,a);if(!1===l.connected){var u=o||s;return u&&e.createElement(u,a)}return e.createElement(t,a)}return WhenActiveComponent.displayName="When".concat(Object(a.c)(n),"Active"),(t.displayName||t.name)&&(WhenActiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenActiveComponent}}}).call(this,n(4))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return c}));var r=n(22),i="core/notifications",a={ERRORS:"notification-area-errors",BANNERS_ABOVE_NAV:"notification-area-banners-above-nav",BANNERS_BELOW_NAV:"notification-area-banners-below-nav"},c=[r.n,r.l,r.o,r.m]},function(e,t,n){"use strict";n.d(t,"b",(function(){return g})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return p})),n.d(t,"i",(function(){return h})),n.d(t,"h",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"c",(function(){return E})),n.d(t,"l",(function(){return _})),n.d(t,"k",(function(){return O})),n.d(t,"j",(function(){return y}));var r=n(11),i=n.n(r),a=n(13),c=n(9),o=n(8);n.d(t,"a",(function(){return o.y}));var l=n(146),s=n(228),u=n(95),d=n(272);function g(e){return e===c.a||Object(o.y)(e)}function f(e){return"string"==typeof e&&/^\d+$/.test(e)}function m(e){return e===c.q||f(e)}function p(e){return"string"==typeof e&&/^\d+$/.test(e)}function h(e){return e===c.x||p(e)}function v(e){return"string"==typeof e&&e.trim().length>0}function b(e){return"string"==typeof e&&/^G-[a-zA-Z0-9]+$/.test(e)}function E(e){return"string"==typeof e&&/^(G|GT|AW)-[a-zA-Z0-9]+$/.test(e)}function _(e){i()(Object(a.isPlainObject)(e),"options for Analytics 4 report must be an object."),i()(Object(l.a)(e),"Either date range or start/end dates must be provided for Analytics 4 report.");var t=Object(s.a)(e),n=t.metrics,r=t.dimensions,c=t.dimensionFilters,o=t.metricFilters,d=t.orderby;i()(n.length,"Requests must specify at least one metric for an Analytics 4 report."),i()(Object(u.d)(n),'metrics for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.'),r&&i()(Object(u.b)(r),'dimensions for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property.'),c&&i()(Object(u.a)(c),"dimensionFilters for an Analytics 4 report must be a map of dimension names as keys and dimension values as values."),o&&i()(Object(u.c)(o),"metricFilters for an Analytics 4 report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType."),d&&i()(Object(u.e)(d),'orderby for an Analytics 4 report must be an array of OrderBy objects where each object should have either a "metric" or "dimension" property, and an optional "desc" property.')}function O(e){i()(Object(a.isPlainObject)(e),"options for Analytics 4 pivot report must be an object."),i()(Object(l.a)(e),"Start/end dates must be provided for Analytics 4 pivot report.");var t=Object(s.a)(e),n=t.metrics,r=t.dimensions,c=t.dimensionFilters,o=t.metricFilters,g=t.pivots,f=t.orderby,m=t.limit;i()(n.length,"Requests must specify at least one metric for an Analytics 4 pivot report."),i()(Object(u.d)(n),'metrics for an Analytics 4 pivot report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.'),i()(Object(d.a)(g),'pivots for an Analytics 4 pivot report must be an array of objects. Each object must have a "fieldNames" property and a "limit".'),f&&i()(Array.isArray(f),"orderby for an Analytics 4 pivot report must be passed within a pivot."),m&&i()("number"==typeof m,"limit for an Analytics 4 pivot report must be passed within a pivot."),r&&i()(Object(u.b)(r),'dimensions for an Analytics 4 pivot report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property.'),c&&i()(Object(u.a)(c),"dimensionFilters for an Analytics 4 pivot report must be a map of dimension names as keys and dimension values as values."),o&&i()(Object(u.c)(o),"metricFilters for an Analytics 4 pivot report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType.")}function y(e){var t=["displayName","description","membershipDurationDays","eventTrigger","exclusionDurationMode","filterClauses"];i()(Object(a.isPlainObject)(e),"Audience must be an object."),Object.keys(e).forEach((function(e){i()(t.includes(e),'Audience object must contain only valid keys. Invalid key: "'.concat(e,'"'))})),["displayName","description","membershipDurationDays","filterClauses"].forEach((function(t){i()(e[t],'Audience object must contain required keys. Missing key: "'.concat(t,'"'))})),i()(Object(a.isArray)(e.filterClauses),"filterClauses must be an array with AudienceFilterClause objects.")}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="modules/search-console",i=1},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return BannerNotification}));var r=n(21),i=n.n(r),a=n(7),c=n.n(a),o=n(5),l=n.n(o),s=n(16),u=n.n(s),d=n(15),g=n.n(d),f=n(1),m=n.n(f),p=n(12),h=n.n(p),v=n(221),b=n(222),E=n(91),_=n(79),O=n(0),y=n(109),k=n(3),j=n(17),S=n(89),w=n(41),x=n(25),C=n(195),A=n(196),N=n(197),T=n(201),D=n(202),M=n(74),R=n(113),B=n(121),I=n(32),P=n(203);function BannerNotification(t){var n,r=t.badgeLabel,a=t.children,o=t.className,s=void 0===o?"":o,d=t.ctaLabel,f=t.ctaLink,m=t.ctaTarget,p=t.description,F=t.dismiss,L=t.dismissExpires,z=void 0===L?0:L,V=t.format,W=void 0===V?"":V,G=t.id,U=t.isDismissible,H=void 0===U||U,q=t.learnMoreDescription,K=t.learnMoreLabel,J=t.learnMoreURL,Y=t.learnMoreTarget,X=void 0===Y?M.a.EXTERNAL:Y,$=t.logo,Q=t.module,Z=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,re=t.onLearnMoreClick,ie=t.showOnce,ae=void 0!==ie&&ie,ce=t.SmallImageSVG,oe=t.title,le=t.type,se=t.WinImageSVG,ue=t.showSmallWinImage,de=void 0===ue||ue,ge=t.smallWinImageSVGWidth,fe=void 0===ge?75:ge,me=t.smallWinImageSVGHeight,pe=void 0===me?75:me,he=t.mediumWinImageSVGWidth,ve=void 0===he?105:he,be=t.mediumWinImageSVGHeight,Ee=void 0===be?105:be,_e=t.rounded,Oe=void 0!==_e&&_e,ye=t.footer,ke=t.secondaryPane,je=t.ctaComponent,Se=Object(O.useState)(!1),we=g()(Se,2),xe=we[0],Ce=we[1],Ae=Object(O.useState)(!1),Ne=g()(Ae,2),Te=Ne[0],De=Ne[1],Me="notification::dismissed::".concat(G),Re=function(){return Object(w.f)(Me,new Date,{ttl:null})},Be=Object(_.a)(),Ie=Object(x.e)(),Pe=Object(v.a)(),Fe=Object(O.useState)(!1),Le=g()(Fe,2),ze=Le[0],Ve=Le[1],We=Object(O.useRef)(),Ge=Object(b.a)(We,{rootMargin:"".concat(-Object(B.a)(Object(S.c)(Ie)),"px 0px 0px 0px"),threshold:0});Object(O.useEffect)((function(){!ze&&(null==Ge?void 0:Ge.isIntersecting)&&("function"==typeof te&&te(),Ve(!0))}),[G,te,ze,Ge]);var Ue=Be>=600;Object(E.a)(u()(l.a.mark((function e(){var t,n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(z>0)){e.next=3;break}return e.next=3,$e();case 3:if(!H){e.next=9;break}return e.next=6,Object(w.d)(Me);case 6:t=e.sent,n=t.cacheHit,De(n);case 9:if(!ae){e.next=12;break}return e.next=12,Re();case 12:case"end":return e.stop()}}),e)}))));var He=function(){var e=u()(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!ne){e.next=5;break}return e.next=5,ne(t);case 5:Ke();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qe=Object(y.a)(f)&&"_blank"!==m,Ke=function(){return qe||Ce(!0),new Promise((function(e){setTimeout(u()(l.a.mark((function t(){var n;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Re();case 2:Pe()&&De(!0),n=new Event("notificationDismissed"),document.dispatchEvent(n),e();case 6:case"end":return t.stop()}}),t)}))),350)}))},Je=Object(k.useSelect)((function(e){return!!f&&e(I.a).isNavigatingTo(f)})),Ye=Object(k.useDispatch)(I.a).navigateTo,Xe=function(){var e=u()(l.a.mark((function e(t){var n,r,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),qe&&!t.defaultPrevented&&t.preventDefault(),n=!0,!ee){e.next=12;break}return e.next=6,ee(t);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0={};case 9:r=e.t0,i=r.dismissOnCTAClick,n=void 0===i||i;case 12:if(!H||!n){e.next=15;break}return e.next=15,Ke();case 15:qe&&Ye(f);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$e=function(){var e=u()(l.a.mark((function e(){var t,n,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(w.d)(Me);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(z,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(w.c)(Me);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(!Je&&H&&(void 0===Te||Te))return null;var Qe=!Je&&xe?"is-closed":"is-open",Ze=Object(R.d)(W),et=Object(R.c)(W),tt=Object(R.a)(W),nt=Object(R.b)({format:W,hasErrorOrWarning:"win-error"===le||"win-warning"===le,hasSmallImageSVG:!!ce,hasWinImageSVG:!!se});return e.createElement(C.a,{id:G,className:h()(s,(n={},c()(n,"googlesitekit-publisher-win--".concat(W),W),c()(n,"googlesitekit-publisher-win--".concat(le),le),c()(n,"googlesitekit-publisher-win--".concat(Qe),Qe),c()(n,"googlesitekit-publisher-win--rounded",Oe),n)),secondaryPane:ke,ref:We},$&&e.createElement(D.a,{module:Q,moduleName:Z}),ce&&e.createElement(j.a,{size:1,className:"googlesitekit-publisher-win__small-media"},e.createElement(ce,null)),e.createElement(j.a,i()({},nt,tt,{className:"googlesitekit-publisher-win__content"}),e.createElement(A.a,{title:oe,badgeLabel:r,smallWinImageSVGHeight:pe,smallWinImageSVGWidth:fe,winImageFormat:W,WinImageSVG:!Ue&&de?se:void 0}),e.createElement(P.a,{description:p,learnMoreURL:J,learnMoreLabel:K,learnMoreTarget:X,learnMoreDescription:q,onLearnMoreClick:re}),a,e.createElement(N.a,{ctaLink:f,ctaLabel:d,ctaComponent:je,ctaTarget:m,ctaCallback:Xe,dismissLabel:H?F:void 0,dismissCallback:He}),ye&&e.createElement("div",{className:"googlesitekit-publisher-win__footer"},ye)),se&&(Ue||!de)&&e.createElement(j.a,i()({},Ze,et,{alignBottom:"larger"===W,className:"googlesitekit-publisher-win__image"}),e.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(W)},e.createElement(se,{style:{maxWidth:ve,maxHeight:Ee}}))),e.createElement(T.a,{type:le}))}n.d(t,"a",(function(){return M.a})),BannerNotification.propTypes={id:m.a.string.isRequired,className:m.a.string,title:m.a.string.isRequired,description:m.a.node,learnMoreURL:m.a.string,learnMoreDescription:m.a.string,learnMoreLabel:m.a.string,learnMoreTarget:m.a.oneOf(Object.values(M.a)),WinImageSVG:m.a.elementType,SmallImageSVG:m.a.elementType,format:m.a.string,ctaLink:m.a.string,ctaLabel:m.a.string,type:m.a.string,dismiss:m.a.string,isDismissible:m.a.bool,logo:m.a.bool,module:m.a.string,moduleName:m.a.string,dismissExpires:m.a.number,showOnce:m.a.bool,onCTAClick:m.a.func,onView:m.a.func,onDismiss:m.a.func,onLearnMoreClick:m.a.func,badgeLabel:m.a.string,rounded:m.a.bool,footer:m.a.node,secondaryPane:m.a.node,showSmallWinImage:m.a.bool,smallWinImageSVGWidth:m.a.number,smallWinImageSVGHeight:m.a.number,mediumWinImageSVGWidth:m.a.number,mediumWinImageSVGHeight:m.a.number}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(109),c=n(2),o=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL,i=t.noPrefix;if(!n)return null;var l=n;void 0!==i&&i||(l=Object(c.sprintf)( /* translators: %s: Error message */ Object(c.__)("Error: %s","google-site-kit"),n)),r&&Object(a.a)(r)&&(l=l+" "+Object(c.sprintf)( /* translators: %s: Reconnect URL */ Object(c.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(o.G)(l,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:i.a.string.isRequired,reconnectURL:i.a.string,noPrefix:i.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return E}));var r=n(7),i=n.n(r),a=n(0);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=a.createElement("path",{d:"M10 15.27L16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27z"});var l=function SvgInfoIcon(e){return a.createElement("svg",c({viewBox:"0 0 20 20",fill:"currentColor"},e),o)};function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var u=a.createElement("path",{d:"M0 4h2v7H0zm0-4h2v2H0z",fill:"currentColor",fillRule:"evenodd"});var d,g=function SvgSuggestionIcon(e){return a.createElement("svg",s({viewBox:"0 0 2 11"},e),u)},f=n(182),m=n(92),p="warning",h="info",v="suggestion",b=(d={},i()(d,h,l),i()(d,p,f.a),i()(d,v,g),d),E=function(e){return b[e]||m.a}},,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),c=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",i({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),a,c)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return o}));var r=n(33),i=n.n(r),a=n(81),c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function o(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_MAIN_DASHBOARD_KEY_METRICS",(function(){return r})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return i})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return a})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return c})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return o})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return l})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return s})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return d}));var r="mainDashboardKeyMetrics",i="mainDashboardTraffic",a="mainDashboardContent",c="mainDashboardSpeed",o="mainDashboardMonetization",l="entityDashboardTraffic",s="entityDashboardContent",u="entityDashboardSpeed",d="entityDashboardMonetization";t.default={CONTEXT_MAIN_DASHBOARD_KEY_METRICS:r,CONTEXT_MAIN_DASHBOARD_TRAFFIC:i,CONTEXT_MAIN_DASHBOARD_CONTENT:a,CONTEXT_MAIN_DASHBOARD_SPEED:c,CONTEXT_MAIN_DASHBOARD_MONETIZATION:o,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:l,CONTEXT_ENTITY_DASHBOARD_CONTENT:s,CONTEXT_ENTITY_DASHBOARD_SPEED:u,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:d}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={EXTERNAL:"external",INTERNAL:"internal"}},,function(e,t,n){"use strict";var r=n(15),i=n.n(r),a=n(271),c=n(1),o=n.n(c),l=n(0),s=n(137);function Portal(e){var t=e.children,n=e.slug,r=Object(l.useState)(document.createElement("div")),c=i()(r,1)[0];return Object(a.a)((function(){n&&c.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(c),function(){return e.removeChild(c)}})),Object(s.createPortal)(t,c)}Portal.propTypes={slug:o.a.string,children:o.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),i=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,i=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:i}},n)}IconWrapper.propTypes={children:i.a.node.isRequired,marginLeft:i.a.number,marginRight:i.a.number}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a}));var r=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function a(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(145),i=n.n(r)()(e)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return k})),n.d(t,"d",(function(){return j})),n.d(t,"e",(function(){return w})),n.d(t,"c",(function(){return x})),n.d(t,"b",(function(){return C}));var r=n(15),i=n.n(r),a=n(33),c=n.n(a),o=n(7),l=n.n(o),s=n(23),u=n.n(s),d=n(13),g=n(57),f=n.n(g),m=n(2);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=_(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},b=function(e){var t=E(e),n=t.hours,r=t.minutes,i=t.seconds;return i=("0"+i).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(i):"".concat(n,":").concat(r,":").concat(i)},E=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=E(e),r=n.hours,i=n.minutes,a=n.seconds;return{hours:r,minutes:i,seconds:a,formatUnit:function(){var n=t.unitDisplay,c=h(h({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(a,h(h({},c),{},{unit:"second"})):Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?w(a,h(h({},c),{},{unit:"second"})):"",i?w(i,h(h({},c),{},{unit:"minute"})):"",r?w(r,h(h({},c),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(m.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(m.__)("%ds","google-site-kit"),a);if(0===e)return t;var n=Object(m.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(m.__)("%dm","google-site-kit"),i),c=Object(m.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(m.__)("%dh","google-site-kit"),r);return Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",i?n:"",r?c:"").trim()}}},O=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},y=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in millions. Object(m.__)("%sM","google-site-kit"),w(O(e),e%10==0?{}:t)):1e4<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),w(O(e))):1e3<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),w(O(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function k(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=h({},e)),t}function j(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,c()(e)),e=0);var n=k(t),r=n.style,i=void 0===r?"metric":r;return"metric"===i?y(e):"duration"===i?v(e,n):"durationISO"===i?b(e):w(e,n)}var S=f()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?C():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){S("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(c()(e)," )"),t.message)}for(var o={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,g=Object.entries(a);d<g.length;d++){var f=i()(g[d],2),m=f[0],p=f[1];o[m]&&p===o[m]||(l.includes(m)||(s[m]=p))}try{return new Intl.NumberFormat(r,s).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},x=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?C():n,i=t.style,a=void 0===i?"long":i,c=t.type,o=void 0===c?"conjunction":c;if(Intl.ListFormat){var l=new Intl.ListFormat(r,{style:a,type:o});return l.format(e)} /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},C=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return o}));var r=n(109);function i(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function c(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function o(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),i=e.replace(n.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},function(e,t,n){"use strict";n.r(t),n.d(t,"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY",(function(){return r})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY",(function(){return i})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION",(function(){return a})),n.d(t,"AREA_MAIN_DASHBOARD_CONTENT_PRIMARY",(function(){return c})),n.d(t,"AREA_MAIN_DASHBOARD_SPEED_PRIMARY",(function(){return o})),n.d(t,"AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY",(function(){return l})),n.d(t,"AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY",(function(){return s})),n.d(t,"AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY",(function(){return u})),n.d(t,"AREA_ENTITY_DASHBOARD_SPEED_PRIMARY",(function(){return d})),n.d(t,"AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY",(function(){return g}));var r="mainDashboardKeyMetricsPrimary",i="mainDashboardTrafficPrimary",a="mainDashboardTrafficAudienceSegmentation",c="mainDashboardContentPrimary",o="mainDashboardSpeedPrimary",l="mainDashboardMonetizationPrimary",s="entityDashboardTrafficPrimary",u="entityDashboardContentPrimary",d="entityDashboardSpeedPrimary",g="entityDashboardMonetizationPrimary";t.default={AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY:r,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:i,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:c,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:o,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:l,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:s,AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:u,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:d,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:g}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(10),l=n(20);function CTA(t){var n=t.title,r=t.headerText,i=t.headerContent,a=t.description,s=t.ctaLink,u=t.ctaLabel,d=t.ctaLinkExternal,g=t.ctaType,f=t.error,m=t.onClick,p=t["aria-label"],h=t.children;return e.createElement("div",{className:c()("googlesitekit-cta",{"googlesitekit-cta--error":f})},(r||i)&&e.createElement("div",{className:"googlesitekit-cta__header"},r&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},r),i),e.createElement("div",{className:"googlesitekit-cta__body"},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),u&&"button"===g&&e.createElement(o.Button,{"aria-label":p,href:s,onClick:m},u),u&&"link"===g&&e.createElement(l.a,{href:s,onClick:m,"aria-label":p,external:d,hideExternalIndicator:d,arrow:!0},u),h))}CTA.propTypes={title:i.a.string.isRequired,headerText:i.a.string,description:i.a.oneOfType([i.a.string,i.a.node]),ctaLink:i.a.string,ctaLinkExternal:i.a.bool,ctaLabel:i.a.string,ctaType:i.a.string,"aria-label":i.a.string,error:i.a.bool,onClick:i.a.func,children:i.a.node,headerContent:i.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),c=n.n(a);function ChangeArrow(t){var n=t.direction,r=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:c()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(11),i=n.n(r),a=function(e,t){var n=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return o}));var r=n(25),i=n(121);function a(t,n){var r=document.querySelector(t);if(!r)return 0;var i=r.getBoundingClientRect().top,a=c(n);return i+e.scrollY-a}function c(e){var t=o(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function o(t){var n=0,a=document.querySelector(".googlesitekit-header");return n=!!a&&"sticky"===e.getComputedStyle(a).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===r.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==r.b?t.offsetHeight:0}(t),(n=Object(i.a)(n))<0?0:n}}).call(this,n(26))},,,function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(12),l=n.n(o),s=n(1),u=n.n(s),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.label,a=t.className,o=t.hasLeftSpacing,s=void 0!==o&&o,u=c()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",i()({ref:n},u,{className:l()("googlesitekit-badge",a,{"googlesitekit-badge--has-left-spacing":s})}),r)}));g.displayName="Badge",g.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=g}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return d}));var r=n(33),i=n.n(r),a=n(13),c=n(146);function o(e){var t=function(e){return"string"==typeof e&&/^[a-zA-Z0-9_]+$/.test(e)};return"string"==typeof e?e.split(",").every(t):Object(c.c)(e,(function(e){var n=e.hasOwnProperty("name")&&t(e.name);if(!e.hasOwnProperty("expression"))return n;var r="string"==typeof e.expression;return n&&r}),t)}function l(e){return Object(c.c)(e,(function(e){return e.hasOwnProperty("name")&&"string"==typeof e.name}))}function s(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(i()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(i()(e))}));if(Object(a.isPlainObject)(e[n])){var r=Object.keys(e[n]);return r.includes("filterType")&&r.includes("value")}return!1}))}function u(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(i()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(i()(e))}));if(Object(a.isPlainObject)(e[n])){var r=Object.keys(e[n]);if(r.includes("filterType")&&!["numericFilter","betweenFilter"].includes(e[n].filterType))return!1;if(r.includes("filterType")&&"numericFilter"===e[n].filterType||!r.includes("filterType"))return!(r.includes("value")&&Object(a.isPlainObject)(e[n].value)&&!Object.keys(e[n].value).includes("int64Value"))&&(r.includes("operation")&&r.includes("value"));if(r.includes("filterType")&&"betweenFilter"===e[n].filterType){var c=["fromValue","toValue"].every((function(t){return!(r.includes(t)&&Object(a.isPlainObject)(e[n][t])&&!Object.keys(e[n][t]).includes("int64Value"))}));return r.includes("fromValue")&&r.includes("toValue")&&c}}return!1}))}function d(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(a.isPlainObject)(e)&&((!e.hasOwnProperty("desc")||"boolean"==typeof e.desc)&&(e.metric?!e.dimension&&"string"==typeof(null===(t=e.metric)||void 0===t?void 0:t.metricName):!!e.dimension&&"string"==typeof(null===(n=e.dimension)||void 0===n?void 0:n.dimensionName)));var t,n}))}},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var r,i=n(7),a=n.n(i),c=n(46),o=n(142),l=n(136),s=(r={},a()(r,c.c.QUARTER,3),a()(r,c.c.HALF,6),a()(r,c.c.FULL,12),r),u="googlesitekit-hidden",d=[o.a,l.a]},function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return c}));var r=n(220),i=n(86),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,c=void 0!==a&&a;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:c}))},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(7),i=n.n(r),a=n(13),c=n(100),o=n(101);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=s(s({},u),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var l=Object(c.a)(i,n),d=Object(o.a)(i,n,l,r),g={},f=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);g[r]||(g[r]=Object(a.once)(d)),g[r].apply(g,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:l,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:d,trackEventOnce:f}}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(58),i=n(37),a=n(44);function c(t,n){var c,o=Object(r.a)(n),l=t.activeModules,s=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,g=void 0===d?[]:d,f=t.isAuthenticated,m=t.pluginVersion;return function(){var n=e.document;if(void 0===c&&(c=!!n.querySelector("script[".concat(i.b,"]"))),!c){c=!0;var r=(null==g?void 0:g.length)?g.join(","):"";o("js",new Date),o("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:s,plugin_version:m||"",enabled_features:Array.from(a.a).join(","),active_modules:l.join(","),authenticated:f?"1":"0",user_properties:{user_roles:r,user_identifier:u}});var d=n.createElement("script");return d.setAttribute(i.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a)}}}}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),a=n(7),c=n.n(a),o=n(16),l=n.n(o),s=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n,r){var a=Object(s.a)(t);return function(){var t=l()(i.a.mark((function t(c,o,l,s){var u;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:c,event_label:l,value:s},t.abrupt("return",new Promise((function(e){var t,n,i=setTimeout((function(){r.console.warn('Tracking event "'.concat(o,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),l=function(){clearTimeout(i),e()};a("event",o,d(d({},u),{},{event_callback:l})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&l()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}()}},,,function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a}));var i=n(124);n.d(t,"c",(function(){return i.a}));var a=n(125);n.d(t,"b",(function(){return a.a}))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(12),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,a=c()(t,["className","children"]);return r?e.createElement("span",i()({},a,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return TourTooltips}));var i=n(7),a=n.n(i),c=n(91),o=n(31),l=n(1),s=n.n(l),u=n(2),d=n(3),g=n(24),f=n(6),m=n(36),p=n(130),h=n(18);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var b={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},E={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},_={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},O="feature_tooltip_view",y="feature_tooltip_advance",k="feature_tooltip_return",j="feature_tooltip_dismiss",S="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,i=t.tourID,l=t.gaEventCategory,s=t.callback,u="".concat(i,"-step"),w="".concat(i,"-run"),x=Object(d.useDispatch)(g.b).setValue,C=Object(d.useDispatch)(f.a).dismissTour,A=Object(d.useRegistry)(),N=Object(h.a)(),T=Object(d.useSelect)((function(e){return e(g.b).getValue(u)})),D=Object(d.useSelect)((function(e){return e(g.b).getValue(w)&&!1===e(f.a).isTourDismissed(i)}));Object(c.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),x(w,!0)}));var M=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return r.createElement(o.e,{callback:function(t){!function(e){var t=e.index,n=e.action,r=e.lifecycle,i=e.size,a=e.status,c=e.type,s=t+1,u="function"==typeof l?l(N):l;c===o.b.TOOLTIP&&r===o.c.TOOLTIP?Object(m.b)(u,O,s):n===o.a.CLOSE&&r===o.c.COMPLETE?Object(m.b)(u,j,s):n===o.a.NEXT&&a===o.d.FINISHED&&c===o.b.TOUR_END&&i===s&&Object(m.b)(u,S,s),r===o.c.COMPLETE&&a!==o.d.FINISHED&&(n===o.a.PREV&&Object(m.b)(u,k,s),n===o.a.NEXT&&Object(m.b)(u,y,s))}(t);var n=t.action,r=t.index,a=t.status,c=t.step,d=t.type,g=n===o.a.CLOSE,f=!g&&[o.b.STEP_AFTER,o.b.TARGET_NOT_FOUND].includes(d),p=[o.d.FINISHED,o.d.SKIPPED].includes(a),h=g&&d===o.b.STEP_AFTER,v=p||h;if(o.b.STEP_BEFORE===d){var b,E,_=c.target;"string"==typeof c.target&&(_=e.document.querySelector(c.target)),null===(b=_)||void 0===b||null===(E=b.scrollIntoView)||void 0===E||E.call(b,{block:"center"})}f?function(e,t){x(u,e+(t===o.a.PREV?-1:1))}(r,n):v&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),C(i)),s&&s(t,A)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:_,locale:E,run:D,showProgress:!0,stepIndex:T,steps:M,styles:b,tooltipComponent:p.a})}TourTooltips.propTypes={steps:s.a.arrayOf(s.a.object).isRequired,tourID:s.a.string.isRequired,gaEventCategory:s.a.oneOfType([s.a.string,s.a.func]).isRequired,callback:s.a.func}}).call(this,n(26),n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return h}));var r=n(7),i=n.n(r),a=n(21),c=n.n(a),o=n(15),l=n.n(o),s=n(23),u=n.n(s),d=n(222),g=n(1),f=n.n(g),m=n(0);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(t){function WithIntersectionObserverComponent(n){var r=n.onInView,i=u()(n,["onInView"]),a=Object(m.useRef)(),o=Object(d.a)(a,{root:null,threshold:.45}),s=Object(m.useState)(!1),g=l()(s,2),f=g[0],p=g[1],h=!!(null==o?void 0:o.isIntersecting)&&!!(null==o?void 0:o.intersectionRatio);return Object(m.useEffect)((function(){o&&h&&!f&&(r(),p(!0))}),[f,h,o,r]),e.createElement(t,c()({ref:a},i))}return WithIntersectionObserverComponent.displayName="WithIntersectionObserverComponent",(t.displayName||t.name)&&(WithIntersectionObserverComponent.displayName+="(".concat(t.displayName||t.name,")")),WithIntersectionObserverComponent.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){i()(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}({onInView:f.a.func.isRequired},t.propTypes),WithIntersectionObserverComponent}}).call(this,n(4))},,function(e,t,n){"use strict";var r=n(224);n.d(t,"b",(function(){return r.a}));var i=n(160);n.d(t,"c",(function(){return i.a}));var a=n(225);n.d(t,"a",(function(){return a.a}))},,,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 a})),n.d(t,"c",(function(){return c}));function r(e){var t=e.format,n=void 0===t?"small":t,r=e.hasErrorOrWarning,i=e.hasSmallImageSVG,c=e.hasWinImageSVG,o={smSize:4,mdSize:8,lgSize:12},l=a(n);return Object.keys(o).forEach((function(e){var t=o[e];r&&(t-=1),i&&(t-=1),c&&0<t-l[e]&&(t-=l[e]),o[e]=t})),o}var i=function(e){switch(e){case"small":return{};case"larger":return{smOrder:2,mdOrder:2,lgOrder:1};default:return{smOrder:2,mdOrder:1}}},a=function(e){switch(e){case"smaller":return{smSize:4,mdSize:2,lgSize:2};case"larger":return{smSize:4,mdSize:8,lgSize:7};default:return{smSize:4,mdSize:2,lgSize:4}}},c=function(e){switch(e){case"larger":return{smOrder:1,mdOrder:1,lgOrder:2};default:return{smOrder:1,mdOrder:2}}}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(200),l=n(38),s=n(2),u=n(10),d=n(71);function ModalDialog(t){var n=t.className,r=void 0===n?"":n,i=t.dialogActive,a=void 0!==i&&i,g=t.handleDialog,f=void 0===g?null:g,m=t.onOpen,p=void 0===m?null:m,h=t.onClose,v=void 0===h?null:h,b=t.title,E=void 0===b?null:b,_=t.provides,O=t.handleConfirm,y=t.subtitle,k=t.confirmButton,j=void 0===k?null:k,S=t.dependentModules,w=t.danger,x=void 0!==w&&w,C=t.inProgress,A=void 0!==C&&C,N=t.small,T=void 0!==N&&N,D=t.medium,M=void 0!==D&&D,R=t.buttonLink,B=void 0===R?null:R,I=Object(o.a)(ModalDialog),P="googlesitekit-dialog-description-".concat(I),F=!(!_||!_.length);return e.createElement(u.Dialog,{open:a,onOpen:p,onClose:v,"aria-describedby":F?P:void 0,tabIndex:"-1",className:c()(r,{"googlesitekit-dialog-sm":T,"googlesitekit-dialog-md":M})},e.createElement(u.DialogTitle,null,x&&e.createElement(d.a,{width:28,height:28}),E),y?e.createElement("p",{className:"mdc-dialog__lead"},y):[],e.createElement(u.DialogContent,null,F&&e.createElement("section",{id:P,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},_.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),S&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(l.a)(Object(s.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(s.__)("<strong>Note:</strong> %s","google-site-kit"),S),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:f,disabled:A},Object(s.__)("Cancel","google-site-kit")),B?e.createElement(u.Button,{href:B,onClick:O,target:"_blank",danger:x},j):e.createElement(u.SpinnerButton,{onClick:O,danger:x,disabled:A,isSaving:A},j||Object(s.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:i.a.string,dialogActive:i.a.bool,handleDialog:i.a.func,handleConfirm:i.a.func.isRequired,onOpen:i.a.func,onClose:i.a.func,title:i.a.string,confirmButton:i.a.string,danger:i.a.bool,small:i.a.bool,medium:i.a.bool,buttonLink:i.a.string},t.a=ModalDialog}).call(this,n(4))},function(e,t,n){"use strict";var r=n(343),i=n(339);n.d(t,"b",(function(){return i.a}));var a=n(340);n.d(t,"c",(function(){return a.a}));var c=n(341);n.d(t,"d",(function(){return c.a}));var o=n(342);n.d(t,"a",(function(){return o.a})),t.e=r.a},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(1),i=n.n(r),a=n(0),c=n(2),o=n(3),l=n(10),s=n(34),u=n(67);function ErrorNotice(t){var n,r=t.error,i=t.hasButton,d=void 0!==i&&i,g=t.storeName,f=t.message,m=void 0===f?r.message:f,p=t.noPrefix,h=void 0!==p&&p,v=t.Icon,b=Object(o.useDispatch)(),E=Object(o.useSelect)((function(e){return g?e(g).getSelectorDataForError(r):null})),_=Object(a.useCallback)((function(){b(E.storeName).invalidateResolution(E.name,E.args)}),[b,E]);if(!r||Object(s.f)(r))return null;var O=d&&Object(s.d)(r,E);return d||(m=Object(c.sprintf)( /* translators: %s: Error message from Google API. */ Object(c.__)("%s. Please try again.","google-site-kit"),m)),e.createElement(a.Fragment,null,v&&e.createElement("div",{className:"googlesitekit-error-notice__icon"},e.createElement(v,{width:"24",height:"24"})),e.createElement(u.a,{message:m,reconnectURL:null===(n=r.data)||void 0===n?void 0:n.reconnectURL,noPrefix:h}),O&&e.createElement(l.Button,{className:"googlesitekit-error-notice__retry-button",onClick:_},Object(c.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:i.a.shape({message:i.a.string}),hasButton:i.a.bool,storeName:i.a.string,message:i.a.string,noPrefix:i.a.bool,Icon:i.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportErrorActions}));var r=n(7),i=n.n(r),a=n(1),c=n.n(a),o=n(0),l=n(38),s=n(2),u=n(3),d=n(10),g=n(14),f=n(19),m=n(34),p=n(35),h=n(20);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ReportErrorActions(t){var n=t.moduleSlug,r=t.error,i=t.GetHelpLink,a=t.hideGetHelpLink,c=t.buttonVariant,v=t.onRetry,E=t.onRequestAccess,_=t.getHelpClassName,O=t.RequestAccessButton,y=t.RetryButton,k=Object(p.a)(),j=Object(u.useSelect)((function(e){return e(f.a).getModuleStoreName(n)})),S=Object(u.useSelect)((function(e){var t;return"function"==typeof(null===(t=e(j))||void 0===t?void 0:t.getServiceEntityAccessURL)?e(j).getServiceEntityAccessURL():null})),w=Array.isArray(r)?r:[r],x=Object(u.useSelect)((function(e){return w.map((function(t){var n,r=null===(n=e(j))||void 0===n?void 0:n.getSelectorDataForError(t);return b(b({},t),{},{selectorData:r})}))})),C=null==x?void 0:x.filter((function(e){return Object(m.d)(e,e.selectorData)&&"getReport"===e.selectorData.name})),A=!!C.length,N=Object(u.useSelect)((function(e){var t=b({},A?C[0]:w[0]);return Object(m.e)(t)&&(t.code="".concat(n,"_insufficient_permissions")),e(g.c).getErrorTroubleshootingLinkURL(t)})),T=Object(u.useDispatch)(),D=w.some((function(e){return Object(m.e)(e)})),M=Object(o.useCallback)((function(){C.forEach((function(e){var t=e.selectorData;T(t.storeName).invalidateResolution(t.name,t.args)})),null==v||v()}),[T,C,v]),R=S&&D&&!k;return e.createElement("div",{className:"googlesitekit-report-error-actions"},R&&("function"==typeof O?e.createElement(O,{requestAccessURL:S}):e.createElement(d.Button,{onClick:E,href:S,target:"_blank",danger:"danger"===c,tertiary:"tertiary"===c},Object(s.__)("Request access","google-site-kit"))),A&&e.createElement(o.Fragment,null,"function"==typeof y?e.createElement(y,{handleRetry:M}):e.createElement(d.Button,{onClick:M,danger:"danger"===c,tertiary:"tertiary"===c},Object(s.__)("Retry","google-site-kit")),!a&&e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(l.a)(Object(s.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(h.a,{href:N,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))}))),!A&&!a&&e.createElement("div",{className:_},"function"==typeof i?e.createElement(i,{linkURL:N}):e.createElement(h.a,{href:N,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))))}ReportErrorActions.propTypes={moduleSlug:c.a.string.isRequired,error:c.a.oneOfType([c.a.arrayOf(c.a.object),c.a.object]).isRequired,GetHelpLink:c.a.elementType,hideGetHelpLink:c.a.bool,buttonVariant:c.a.string,onRetry:c.a.func,onRequestAccess:c.a.func,getHelpClassName:c.a.string,RequestAccessButton:c.a.elementType,RetryButton:c.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),i=n(3),a=n(46);function c(e,t,n){var c=Object(i.useDispatch)(a.a),o=c.setWidgetState,l=c.unsetWidgetState;Object(r.useEffect)((function(){return o(e,t,n),function(){l(e,t,n)}}),[e,t,n,o,l])}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return r.createElement("svg",i({viewBox:"0 0 14 14",fill:"none"},e),a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),i=n(18),a=n(8);function c(e){var t=Object(i.a)(),n="".concat(t,"_").concat(e);return{view:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"view_notification"].concat(t))}),[n]),confirm:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"confirm_notification"].concat(t))}),[n]),dismiss:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"dismiss_notification"].concat(t))}),[n]),clickLearnMore:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"click_learn_more_link"].concat(t))}),[n])}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(13),i=function(e){return Object(r.isFinite)(e)?e:0}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InfoTooltip}));var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(10),l=n(277);function InfoTooltip(t){var n=t.onOpen,r=t.title,a=t.tooltipClassName;return r?e.createElement(o.Tooltip,{className:"googlesitekit-info-tooltip",tooltipClassName:i()("googlesitekit-info-tooltip__content",a),title:r,placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,onOpen:n},e.createElement("span",null,e.createElement(l.a,{width:"16",height:"16"}))):null}InfoTooltip.propTypes={onOpen:c.a.func,title:c.a.oneOfType([c.a.string,c.a.element]),tooltipClassName:c.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),i=n.n(r),a=n(7),c=n.n(a),o=n(23),l=n.n(o),s=n(1),u=n.n(s),d=n(12),g=n.n(d);function Cell(t){var n,r=t.className,a=t.alignTop,o=t.alignMiddle,s=t.alignBottom,u=t.alignRight,d=t.alignLeft,f=t.smAlignRight,m=t.mdAlignRight,p=t.lgAlignRight,h=t.smSize,v=t.smStart,b=t.smOrder,E=t.mdSize,_=t.mdStart,O=t.mdOrder,y=t.lgSize,k=t.lgStart,j=t.lgOrder,S=t.size,w=t.children,x=l()(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",i()({},x,{className:g()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":a,"mdc-layout-grid__cell--align-middle":o,"mdc-layout-grid__cell--align-bottom":s,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":f,"mdc-layout-grid__cell--align-right-tablet":m,"mdc-layout-grid__cell--align-right-desktop":p},c()(n,"mdc-layout-grid__cell--span-".concat(S),12>=S&&S>0),c()(n,"mdc-layout-grid__cell--span-".concat(y,"-desktop"),12>=y&&y>0),c()(n,"mdc-layout-grid__cell--start-".concat(k,"-desktop"),12>=k&&k>0),c()(n,"mdc-layout-grid__cell--order-".concat(j,"-desktop"),12>=j&&j>0),c()(n,"mdc-layout-grid__cell--span-".concat(E,"-tablet"),8>=E&&E>0),c()(n,"mdc-layout-grid__cell--start-".concat(_,"-tablet"),8>=_&&_>0),c()(n,"mdc-layout-grid__cell--order-".concat(O,"-tablet"),8>=O&&O>0),c()(n,"mdc-layout-grid__cell--span-".concat(h,"-phone"),4>=h&&h>0),c()(n,"mdc-layout-grid__cell--start-".concat(v,"-phone"),4>=v&&v>0),c()(n,"mdc-layout-grid__cell--order-".concat(b,"-phone"),4>=b&&b>0),n))}),w)}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(4))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(12),u=n.n(s),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.className,a=t.children,o=c()(t,["className","children"]);return e.createElement("div",i()({ref:n,className:u()("mdc-layout-grid__inner",r)},o),a)}));g.displayName="Row",g.propTypes={className:l.a.string,children:l.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(12),u=n.n(s),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,a=t.fill,o=t.className,l=t.children,s=t.collapsed,d=c()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",i()({className:u()("mdc-layout-grid",o,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":s,"mdc-layout-grid--fill":a})},d,{ref:n}),l)}));g.displayName="Grid",g.propTypes={alignLeft:l.a.bool,fill:l.a.bool,className:l.a.string,collapsed:l.a.bool,children:l.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(401),i=function(e,t,n){Object(r.a)((function(n){return e.includes(n.keyCode)&&t.current.contains(n.target)}),n)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var r=n(21),i=n.n(r),a=n(166),c=n.n(a),o=n(12),l=n.n(o),s=n(1),u=n.n(s),d=n(10),g=n(167),f=n(119);function TourTooltip(t){var n=t.backProps,r=t.closeProps,o=t.index,s=t.primaryProps,u=t.size,m=t.step,p=t.tooltipProps,h=u>1?Object(g.a)(u):[],v=function(e){return l()("googlesitekit-tooltip-indicator",{active:e===o})};return e.createElement("div",i()({className:l()("googlesitekit-tour-tooltip",m.className)},p),e.createElement(c.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},m.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},m.content)),e.createElement(a.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},h.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:v(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==o&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),m.cta,s.title&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},s),s.title))),e.createElement(d.Button,i()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(f.a,{width:"14",height:"14"})},r))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return b}));var r=n(23),i=n.n(r),a=n(7),c=n.n(a),o=n(5),l=n.n(o),s=n(11),u=n.n(s),d=n(3),g=n.n(d),f=n(41),m=n(8),p=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:l.a.mark((function e(){var t;return l.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:l.a.mark((function e(){var t,n,r,i,a,c,o=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.length>0&&void 0!==o[0]?o[0]:{},n=t.clearAfterRestore,r=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(i=e.sent,a=i.cacheHit,c=i.value,!a){e.next=13;break}return e.next=10,{payload:{snapshot:c},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!r){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",a);case 14:case"end":return e.stop()}}),e)})),createSnapshot:l.a.mark((function e(){var t;return l.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)}))},a=(t={},c()(t,"DELETE_SNAPSHOT",(function(){return Object(f.c)("datastore::cache::".concat(e))})),c()(t,"CREATE_SNAPSHOT",Object(d.createRegistryControl)((function(t){return function(){return Object(f.f)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),c()(t,"RESTORE_SNAPSHOT",(function(){return Object(f.d)("datastore::cache::".concat(e),m.b)})),t);return{initialState:n,actions:r,controls:a,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,r=t.type,a=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var c=a.snapshot,o=(c.error,i()(c,["error"]));return o;default:return e}}}},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.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]:g.a;return Promise.all(h(e).map((function(e){return e.getActions().createSnapshot()})))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Promise.all(h(e).map((function(e){return e.getActions().restoreSnapshot()})))}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(38),l=n(2),s=n(20),u=n(35);function SourceLink(t){var n=t.name,r=t.href,i=t.className,a=t.external;return Object(u.a)()?null:e.createElement("div",{className:c()("googlesitekit-source-link",i)},Object(o.a)(Object(l.sprintf)( /* translators: %s: source link */ Object(l.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(s.a,{key:"link",href:r,external:a})}))}SourceLink.propTypes={name:i.a.string,href:i.a.string,className:i.a.string,external:i.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RecoverableModules}));var r=n(1),i=n.n(r),a=n(2),c=n(3),o=n(19),l=n(85);function RecoverableModules(t){var n=t.moduleSlugs,r=Object(c.useSelect)((function(e){var t=e(o.a).getModules();if(void 0!==t)return n.map((function(e){return t[e].name}))}));if(void 0===r)return null;var i=1===r.length?Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.","google-site-kit"),r[0]):Object(a.sprintf)( /* translators: %s: List of module names */ Object(a.__)("The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.","google-site-kit"),r.join(Object(a._x)(", ","Recoverable modules","google-site-kit")));return e.createElement(l.a,{title:Object(a.__)("Data Unavailable","google-site-kit"),description:i})}RecoverableModules.propTypes={moduleSlugs:i.a.arrayOf(i.a.string).isRequired}}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportError}));var r=n(7),i=n.n(r),a=n(1),c=n.n(a),o=n(13),l=n(0),s=n(2),u=n(3),d=n(19),g=n(34),f=n(150),m=n(81),p=n(67),h=n(85),v=n(117),b=n(35);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(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){i()(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}function ReportError(t){var n,r=t.moduleSlug,i=t.error,a=Object(b.a)(),c=Object(u.useSelect)((function(e){return e(d.a).getModule(r)})),E=Array.isArray(i)?i:[i],O=function(e){return Object(g.e)(e)?a?(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Access lost to %s","google-site-kit"),null==c?void 0:c.name),Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("The administrator sharing this module with you has lost access to the %s service, so you won’t be able to see stats from it on the Site Kit dashboard. You can contact them or another administrator to restore access.","google-site-kit"),null==c?void 0:c.name)):(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Insufficient permissions in %s","google-site-kit"),null==c?void 0:c.name),Object(f.a)(e.message,c)):Object(g.b)(e)},y=Object(o.uniqWith)(E.map((function(e){var t;return _(_({},e),{},{message:O(e),reconnectURL:null===(t=e.data)||void 0===t?void 0:t.reconnectURL})})),(function(e,t){return e.message===t.message&&e.reconnectURL===t.reconnectURL})),k=E.some((function(e){return Object(g.e)(e)}));k||1!==y.length?!k&&y.length>1&&(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data errors in %s","google-site-kit"),null==c?void 0:c.name)):n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data error in %s","google-site-kit"),null==c?void 0:c.name);var j=e.createElement(l.Fragment,null,y.map((function(t){var n,r=null==i||null===(n=i.data)||void 0===n?void 0:n.reconnectURL;return r?e.createElement(p.a,{key:t.message,message:t.message,reconnectURL:r}):e.createElement("p",{key:t.message},m.a.sanitize(t.message,{ALLOWED_TAGS:[]}))})));return e.createElement(h.a,{title:n,description:j,error:!0},e.createElement(v.a,{moduleSlug:r,error:i}))}ReportError.propTypes={moduleSlug:c.a.string.isRequired,error:c.a.oneOfType([c.a.arrayOf(c.a.object),c.a.object]).isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportZero}));var r=n(1),i=n.n(r),a=n(2),c=n(3),o=n(19),l=n(85);function ReportZero(t){var n=t.moduleSlug,r=Object(c.useSelect)((function(e){return e(o.a).getModule(n)}));return e.createElement(l.a,{title:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s Gathering Data","google-site-kit"),null==r?void 0:r.name),description:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data is not yet available, please check back later","google-site-kit"),null==r?void 0:r.name)})}ReportZero.propTypes={moduleSlug:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",i({viewBox:"0 0 43 44"},e),a)}},,,function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return l}));var r=n(33),i=n.n(r);function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};return"string"==typeof e?n(e):!("object"!==i()(e)||!t(e))||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e?n(e):"object"===i()(e)&&t(e)}))}function c(e){var t=e.startDate,n=e.endDate,r=t&&t.match(/^\d{4}-\d{2}-\d{2}$/),i=n&&n.match(/^\d{4}-\d{2}-\d{2}$/);return r&&i}function o(e){var t=function(e){var t=e.hasOwnProperty("fieldName")&&!!e.fieldName,n=e.hasOwnProperty("sortOrder")&&/(ASCENDING|DESCENDING)/i.test(e.sortOrder.toString());return t&&n};return Array.isArray(e)?e.every((function(e){return"object"===i()(e)&&t(e)})):"object"===i()(e)&&t(e)}function l(e){return"string"==typeof e||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return a}));var r="editing-user-role-select-slug-key",i="dashboardSharingDialogOpen",a="resetSharingDialogOpen"},function(e,t,n){"use strict";var r=n(159);n.d(t,"c",(function(){return r.a}));var i=n(68);n.d(t,"b",(function(){return i.c})),n.d(t,"a",(function(){return i.a}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return o})),n.d(t,"k",(function(){return l})),n.d(t,"j",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"g",(function(){return g})),n.d(t,"d",(function(){return f}));var r=1,i=2,a=3,c="enhanced-measurement-activation-banner-tooltip-state",o="enhanced-measurement-activation-banner-dismissed-item",l="_r.explorerCard..selmet",s="_r.explorerCard..seldim",u="_r..dataFilters",d="_r..nav",g="key-metrics-connect-ga4-cta-widget",f="ads-conversion-id-notice-dismissed-item"},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},i=n.slug,a=void 0===i?"":i,c=n.name,o=void 0===c?"":c,l=n.owner,s=void 0===l?{}:l;if(!a||!o)return e;var u="",d="";return"analytics-4"===a?e.match(/account/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===a&&(u=Object(r.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),u||(u=Object(r.sprintf)( /* translators: %s: module name */ Object(r.__)("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"),o)),s&&s.login&&(d=Object(r.sprintf)( /* translators: %s: owner name */ Object(r.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),s.login)),d||(d=Object(r.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm4.806 8.592l.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296-.152 0-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16c.821 0 1.6-.4 2.124-1.112l3.89-5.296z",fill:"#265C3B"});t.a=function SvgCheckFill(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"none"},e),a)}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return c}));var r=n(2),i="audience-segmentation-info-notice-ui",a="audience-segmentation-info-notice",c=[{slug:"new-visitors",content:Object(r.__)("The higher the portion of new visitors you have, the more your audience is growing. Looking at what content brings them to your site may give you insights on how to reach even more people.","google-site-kit")},{slug:"compare-metrics",content:Object(r.__)("Select up to three visitor groups to display on the dashboard and easily compare metrics between them.","google-site-kit")},{slug:"custom-audiences",content:Object(r.__)("Configure your own custom audiences in Analytics to gain deeper insights into visitor behavior, for example consider creating an “Existing customers” or “Subscribers” segment, depending on what goals you have for your site.","google-site-kit")},{slug:"purchasers",content:Object(r.__)("Select the Purchasers visitor group to gain insights into which visitors bring the most revenue to your site.","google-site-kit")},{slug:"returning-visitors",content:Object(r.__)("The more returning visitors your site has, the stronger and more loyal an audience you’re building. Check which content brings people back to your site - it might help you create a strategy to build a community.","google-site-kit")},{slug:"compare-new-returning",content:Object(r.__)("Compare the ratio of “new” to “returning” visitors – this can give you insights on whether you have more people stopping by as a one-off, or more loyal visitors.","google-site-kit")},{slug:"compare-cities",content:Object(r.__)("Check the cities which bring you more new vs more returning visitors – there might be new audiences you could engage with in locations you hadn’t thought about.","google-site-kit")}]},function(e,t,n){"use strict";var r=n(0),i=Object(r.createContext)(!1);t.a=i},,,,function(e,t,n){"use strict";var r=n(0),i=n(44),a=Object(r.createContext)(i.a);t.a=a},function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(2),l=n(3),s=n(198),u=n(211),d=n(68),g=n(6),f=n(10),m=n(0),p=Object(m.forwardRef)((function(t,n){var r=t.className,a=t.children,c=t.type,m=t.dismiss,p=void 0===m?"":m,h=t.dismissCallback,v=t.dismissLabel,b=void 0===v?Object(o.__)("OK, Got it!","google-site-kit"):v,E=t.Icon,_=void 0===E?Object(d.d)(c):E,O=t.OuterCTA,y=Object(l.useDispatch)(g.a).dismissItem,k=Object(l.useSelect)((function(e){return p?e(g.a).isItemDismissed(p):void 0}));if(p&&k)return null;var j=a?u.a:s.a;return e.createElement("div",{ref:n,className:i()(r,"googlesitekit-settings-notice","googlesitekit-settings-notice--".concat(c),{"googlesitekit-settings-notice--single-row":!a,"googlesitekit-settings-notice--multi-row":a})},e.createElement("div",{className:"googlesitekit-settings-notice__icon"},e.createElement(_,{width:"20",height:"20"})),e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(j,t)),p&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(f.Button,{tertiary:!0,onClick:function(){y(p),h()}},b)),O&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(O,null)))}));p.propTypes={className:c.a.string,children:c.a.node,notice:c.a.node.isRequired,type:c.a.oneOf([d.a,d.c,d.b]),Icon:c.a.elementType,LearnMore:c.a.elementType,CTA:c.a.elementType,OuterCTA:c.a.elementType,dismissLabel:c.a.string,dismissCallback:c.a.func},p.defaultProps={type:d.a},t.a=p}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3),i=n(24);function a(e){return Object(r.useSelect)((function(t){return t(i.b).getValue(e)||{isTooltipVisible:!1,rehideAdminMenu:!1,rehideAdminSubMenu:!1}}))}},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileLoading}));var r=n(40);function AudienceTileLoading(){return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-loading"},e.createElement(r.a,{width:"100%",height:"20px"}),e.createElement(r.a,{width:"100%",height:"52px"}),e.createElement(r.a,{width:"100%",height:"52px"}),e.createElement(r.a,{width:"100%",height:"52px"}),e.createElement(r.a,{width:"100%",height:"52px"}),e.createElement(r.a,{width:"100%",height:"52px"}),e.createElement(r.a,{width:"100%",height:"52px"}))}}).call(this,n(4))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var r=n(1),i=n.n(r),a=n(2),c=n(20),o=n(191);function GenericErrorHandlerActions(t){var n=t.message,r=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(o.a,{message:n,componentStack:r}),e.createElement(c.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(a.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:i.a.string,componentStack:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(22),i=function(e){return r.f.includes(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(3),i=n(24),a=function(e){return"notification/".concat(e,"/viewed")};function c(e){return Object(r.useSelect)((function(t){return!!t(i.b).getValue(a(e))}),[e])}c.getKey=a},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeBadge}));var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(8);function ChangeBadge(t){var n=t.previousValue,r=t.currentValue,i=t.isAbsolute?r-n:Object(o.h)(n,r),a=i<0,l=0===i;return null===i?null:e.createElement("div",{className:c()("googlesitekit-change-badge",{"googlesitekit-change-badge--negative":a,"googlesitekit-change-badge--zero":l})},Object(o.C)(i,{style:"percent",signDisplay:"exceptZero",maximumFractionDigits:1}))}ChangeBadge.propTypes={isAbsolute:i.a.bool,previousValue:i.a.number.isRequired,currentValue:i.a.number.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(7),i=n.n(r),a=n(2),c=n(6),o=n(14),l=n(9),s=n(44);function u(e,t,n){return!!Object(s.b)("conversionReporting")&&(e(l.p).hasConversionReportingEvents(this.requiredConversionEventName)||e(c.a).isKeyMetricActive(n))}var d,g=n(30);function f(e,t){return!t||!(!t||!e(l.p).getAdSenseLinked())}function m(e,t){return!t||e(l.p).hasCustomDimensions(this.requiredCustomDimensions)}var p=(d={},i()(d,c.f,{title:Object(a.__)("Top earning pages","google-site-kit"),description:Object(a.__)("Pages that generated the most AdSense revenue","google-site-kit"),infoTooltip:Object(a.__)("Pages that generated the most AdSense revenue","google-site-kit"),displayInSelectionPanel:f,displayInList:f,metadata:{group:g.d.SLUG}}),i()(d,c.y,{title:Object(a.__)("Top recent trending pages","google-site-kit"),description:Object(a.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),infoTooltip:Object(a.__)("Pages with the most pageviews published in the last 3 days","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_date"],displayInSelectionPanel:m,displayInWidgetArea:m,displayInList:m,metadata:{group:g.d.SLUG}}),i()(d,c.l,{title:Object(a.__)("Most popular authors by pageviews","google-site-kit"),description:Object(a.__)("Authors whose posts got the most visits","google-site-kit"),infoTooltip:Object(a.__)("Authors whose posts got the most visits","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_author"],displayInSelectionPanel:m,displayInWidgetArea:m,displayInList:m,metadata:{group:g.d.SLUG}}),i()(d,c.p,{title:Object(a.__)("Top categories by pageviews","google-site-kit"),description:Object(a.__)("Categories that your site visitors viewed the most","google-site-kit"),infoTooltip:Object(a.__)("Categories that your site visitors viewed the most","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_categories"],displayInSelectionPanel:m,displayInWidgetArea:m,displayInList:m,metadata:{group:g.d.SLUG}}),i()(d,c.m,{title:Object(a.__)("Most popular content by pageviews","google-site-kit"),description:Object(a.__)("Pages that brought in the most visitors","google-site-kit"),infoTooltip:Object(a.__)("Pages your visitors read the most","google-site-kit"),metadata:{group:g.d.SLUG}}),i()(d,c.n,{title:Object(a.__)("Most popular products by pageviews","google-site-kit"),description:Object(a.__)("Products that brought in the most visitors","google-site-kit"),requiredCustomDimensions:["googlesitekit_post_type"],displayInSelectionPanel:function(e){return e(c.a).isKeyMetricActive(c.n)||e(o.c).getProductPostType()},displayInWidgetArea:m,metadata:{group:g.g.SLUG}}),i()(d,c.k,{title:Object(a.__)("Pages per visit","google-site-kit"),description:Object(a.__)("Number of pages visitors viewed per session on average","google-site-kit"),infoTooltip:Object(a.__)("Number of pages visitors viewed per session on average","google-site-kit"),metadata:{group:g.h.SLUG}}),i()(d,c.F,{title:Object(a.__)("Visit length","google-site-kit"),description:Object(a.__)("Average duration of engaged visits","google-site-kit"),infoTooltip:Object(a.__)("Average duration of engaged visits","google-site-kit"),metadata:{group:g.h.SLUG}}),i()(d,c.E,{title:Object(a.__)("Visits per visitor","google-site-kit"),description:Object(a.__)("Average number of sessions per site visitor","google-site-kit"),infoTooltip:Object(a.__)("Average number of sessions per site visitor","google-site-kit"),metadata:{group:g.h.SLUG}}),i()(d,c.i,{title:Object(a.__)("Most engaging pages","google-site-kit"),description:Object(a.__)("Pages with the highest engagement rate","google-site-kit"),infoTooltip:Object(a.__)("Pages with the highest engagement rate","google-site-kit"),metadata:{group:g.d.SLUG}}),i()(d,c.h,{title:Object(a.__)("Least engaging pages","google-site-kit"),description:Object(a.__)("Pages with the highest percentage of visitors that left without engagement with your site","google-site-kit"),infoTooltip:Object(a.__)("Percentage of visitors that left without engagement with your site","google-site-kit"),metadata:{group:g.d.SLUG}}),i()(d,c.z,{title:Object(a.__)("Top pages by returning visitors","google-site-kit"),description:Object(a.__)("Pages that attracted the most returning visitors","google-site-kit"),infoTooltip:Object(a.__)("Pages that attracted the most returning visitors","google-site-kit"),metadata:{group:g.h.SLUG}}),i()(d,c.j,{title:Object(a.__)("New visitors","google-site-kit"),description:Object(a.__)("How many new visitors you got and how the overall audience changed","google-site-kit"),infoTooltip:Object(a.__)("Portion of visitors who visited your site for the first time in this timeframe","google-site-kit"),metadata:{group:g.h.SLUG}}),i()(d,c.o,{title:Object(a.__)("Returning visitors","google-site-kit"),description:Object(a.__)("Portion of people who visited your site more than once","google-site-kit"),infoTooltip:Object(a.__)("Portion of your site’s visitors that returned at least once in this timeframe","google-site-kit"),metadata:{group:g.h.SLUG}}),i()(d,c.A,{title:Object(a.__)("Top traffic source","google-site-kit"),description:Object(a.__)("Channel which brought in the most visitors to your site","google-site-kit"),infoTooltip:Object(a.__)("Channel (e.g. social, paid, search) that brought in the most visitors to your site","google-site-kit"),metadata:{group:g.e.SLUG}}),i()(d,c.B,{title:Object(a.__)("Top traffic source driving add to cart","google-site-kit"),description:Object(a.__)("Traffic source that generates the most add to cart events","google-site-kit"),infoTooltip:Object(a.__)("Traffic source that generates the most add to cart events","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),i()(d,c.C,{title:Object(a.__)("Top traffic source driving leads","google-site-kit"),description:Object(a.__)("Total number of leads for the top traffic source","google-site-kit"),infoTooltip:Object(a.__)("Total number of leads for the top traffic source","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.f.SLUG}}),i()(d,c.D,{title:Object(a.__)("Top traffic source driving purchases","google-site-kit"),description:Object(a.__)("Traffic source that generates the most purchases","google-site-kit"),infoTooltip:Object(a.__)("Traffic source that generates the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),i()(d,c.g,{title:Object(a.__)("Most engaged traffic source","google-site-kit"),description:Object(a.__)("Visitors coming via this channel spent the most time on your site","google-site-kit"),infoTooltip:Object(a.__)("Channel (e.g. social, paid, search) that brought in the most visitors who had a meaningful engagement with your site","google-site-kit"),metadata:{group:g.e.SLUG}}),i()(d,c.u,{title:Object(a.__)("Top converting traffic source","google-site-kit"),description:Object(a.__)("Channel which brought in the most visits that resulted in conversions","google-site-kit"),infoTooltip:Object(a.__)("Channel (e.g. social, paid, search) that brought in visitors who generated the most conversions","google-site-kit"),metadata:{group:g.e.SLUG}}),i()(d,c.q,{title:Object(a.__)("Top cities driving traffic","google-site-kit"),description:Object(a.__)("Which cities you get the most visitors from","google-site-kit"),infoTooltip:Object(a.__)("The cities where most of your visitors came from","google-site-kit"),metadata:{group:g.e.SLUG}}),i()(d,c.s,{title:Object(a.__)("Top cities driving leads","google-site-kit"),description:Object(a.__)("Cities driving the most contact form submissions","google-site-kit"),infoTooltip:Object(a.__)("Cities driving the most contact form submissions","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.f.SLUG}}),i()(d,c.r,{title:Object(a.__)("Top cities driving add to cart","google-site-kit"),description:Object(a.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),infoTooltip:Object(a.__)("Cities where visitors most frequently add products to their carts","google-site-kit"),requiredConversionEventName:["add_to_cart"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),i()(d,c.t,{title:Object(a.__)("Top cities driving purchases","google-site-kit"),description:Object(a.__)("Cities driving the most purchases","google-site-kit"),infoTooltip:Object(a.__)("Cities driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),i()(d,c.w,{title:Object(a.__)("Top device driving purchases","google-site-kit"),description:Object(a.__)("Top device driving the most purchases","google-site-kit"),infoTooltip:Object(a.__)("Top device driving the most purchases","google-site-kit"),requiredConversionEventName:["purchase"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.g.SLUG}}),i()(d,c.v,{title:Object(a.__)("Top countries driving traffic","google-site-kit"),description:Object(a.__)("Which countries you get the most visitors from","google-site-kit"),infoTooltip:Object(a.__)("The countries where most of your visitors came from","google-site-kit"),metadata:{group:g.e.SLUG}}),i()(d,c.G,{title:Object(a.__)("Top performing keywords","google-site-kit"),description:Object(a.__)("What people searched for before they came to your site","google-site-kit"),infoTooltip:Object(a.__)("The top search queries for your site by highest clickthrough rate","google-site-kit"),metadata:{group:g.e.SLUG}}),i()(d,c.x,{title:Object(a.__)("Top pages driving leads","google-site-kit"),description:Object(a.__)("Pages on which forms are most frequently submitted","google-site-kit"),requiredConversionEventName:["submit_lead_form","contact","generate_lead"],displayInSelectionPanel:u,displayInWidgetArea:function(){return Object(s.b)("conversionReporting")},displayInList:u,metadata:{group:g.f.SLUG}}),d)},,function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(1),l=n.n(o),s=n(0),u=n(20),d=n(8),g=n(18);function HelpMenuLink(t){var n=t.children,r=t.href,a=t.gaEventLabel,o=Object(g.a)(),l=Object(s.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!a){e.next=3;break}return e.next=3,Object(d.J)("".concat(o,"_headerbar_helpmenu"),"click_outgoing_link",a);case 3:case"end":return e.stop()}}),e)}))),[a,o]);return e.createElement("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none"},e.createElement(u.a,{className:"mdc-list-item__text",href:r,external:!0,hideExternalIndicator:!0,role:"menuitem",onClick:l},n))}HelpMenuLink.propTypes={children:l.a.node.isRequired,href:l.a.string.isRequired,gaEventLabel:l.a.string},t.a=HelpMenuLink}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(0),l=n(3),s=n(14),u=n(6),d=n(19),g=n(32),f=n(36),m=n(18);function p(e){var t=Object(m.a)(),n=Object(l.useSelect)((function(t){return t(d.a).getModule(e)})),r=Object(l.useSelect)((function(e){return e(u.a).hasCapability(u.K)})),a=Object(l.useDispatch)(d.a).activateModule,p=Object(l.useDispatch)(g.a).navigateTo,h=Object(l.useDispatch)(s.c).setInternalServerError,v=Object(o.useCallback)(c()(i.a.mark((function n(){var r,c,o;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,a(e);case 2:if(r=n.sent,c=r.error,o=r.response,c){n.next=11;break}return n.next=8,Object(f.b)("".concat(t,"_widget-activation-cta"),"activate_module",e);case 8:p(o.moduleReauthURL),n.next=12;break;case 11:h({id:"".concat(e,"-setup-error"),description:c.message});case 12:case"end":return n.stop()}}),n)}))),[a,e,p,h,t]);return(null==n?void 0:n.name)&&r?v:null}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(3),u=n(19);function ModuleIcon(t){var n=t.slug,r=t.size,a=c()(t,["slug","size"]),o=Object(s.useSelect)((function(e){return e(u.a).getModuleIcon(n)}));return o?e.createElement(o,i()({width:r,height:r},a)):null}ModuleIcon.propTypes={slug:l.a.string.isRequired,size:l.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LoadingWrapper}));var r=n(7),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(40);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function LoadingWrapper(t){var n=t.loading,r=t.children,i=c()(t,["loading","children"]);return n?e.createElement(s.a,i):r}LoadingWrapper.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({loading:l.a.bool,children:l.a.node},s.a.propTypes)}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notifications}));var r=n(7),i=n.n(r),a=n(1),c=n.n(a),o=n(3),l=n(18),s=n(60),u=n(285);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Notifications(t){var n,r=t.areaSlug,a=Object(l.a)(),c=Object(o.useSelect)((function(e){return e(s.a).getQueuedNotifications(a)}));if(void 0===(null==c?void 0:c[0])||(null==c||null===(n=c[0])||void 0===n?void 0:n.areaSlug)!==r)return null;var g=c[0],f=g.id,m=g.Component,p=function(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){i()(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}({},Object(u.a)(f));return e.createElement(m,p)}Notifications.propTypes={viewContext:c.a.string,areaSlug:c.a.string}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"d",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return p.a})),n.d(t,"g",(function(){return p.c})),n.d(t,"a",(function(){return o.a})),n.d(t,"f",(function(){return h})),n.d(t,"e",(function(){return s}));var r=n(15),i=n.n(r),a=n(27),c=n.n(a),o=n(96),l=n(92);function s(e){return!!e&&e.Component===l.a}function u(e,t){if(9!==t)return[e,t];for(var n=(e=c()(e)).length-1;0!==t&&n>=0;)3===e[n]?(t-=3,e[n]=4):6===e[n]&&(t-=6,e[n]=8),n--;return[e,t]}function d(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+o.c[t],width:t}}))}function g(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var a=0,c=0,l=function(e,t){return e.counter-t.counter},g=function(e,t){var n=e.counter;return t.counter-n},f=function(e){return e.counter<=12};if(e.forEach((function(m,p){if(s(t[m.slug]))return n.push(0),void r.push(c);var h=d(a,m),v=function(e,t,n){for(;++e<t.length;)if(!s(n[t[e].slug]))return t[e];return null}(p,e,t);null!==v&&0!==d(h.sort(l)[0].counter,v).filter(f).length||h.some(f)&&(h=(h=h.sort(g)).filter(f));var b=h[0].width;if(r.push(c),(a+=o.c[b])>12){if(a-=o.c[b],r[p]++,9===a){var E=u(n,a),_=i()(E,2);n=_[0],a=_[1]}a=o.c[b],c++}else 12===a&&(a=0,c++);n.push(o.c[b])})),9===a){var m=u(n,a),p=i()(m,2);n=p[0],a=p[1]}return{columnWidths:n,rowIndexes:r}}var f=n(13);function m(e,t,n){var r=n.columnWidths,i=n.rowIndexes,a=[],l=c()(r);if(!(null==e?void 0:e.length))return{gridColumnWidths:l,overrideComponents:a};var s=null,u=-1,d=[];if(function(e,t){for(var n={},r=0;r<e.length;r++){var i,a=e[r],c=null==t?void 0:t[a.slug],l=null==c?void 0:c.Component,s=null==c||null===(i=c.metadata)||void 0===i?void 0:i.moduleSlug,u=o.b.includes(l);if(!l||!s||!u)return!1;if(n[s]){if(n[s]!==l)return!1}else n[s]=l}return!(Object.keys(n).length>1)}(e,t)){var g=Array.from({length:e.length-1}).fill(0);return{overrideComponents:[t[e[0].slug]],gridColumnWidths:[12].concat(c()(g))}}return e.forEach((function(n,c){var o,g,m,p,h;if(a.push(null),s=t[n.slug],u=i[c],s)if(g=s,m=t[null===(o=e[c+1])||void 0===o?void 0:o.slug],p=u,h=i[c+1],p===h&&Object(f.isEqual)(g,m))d.push(r[c]),l[c]=0;else if(d.length>0){d.push(r[c]);var v=d.reduce((function(e,t){return e+t}),0);a[c]=s,l[c]=v,d=[]}})),{gridColumnWidths:l,overrideComponents:a}}var p=n(207);function h(e){return(Array.isArray(e)?e:[e]).filter((function(e){return"string"==typeof e&&e.length>0}))}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h2v7H0zm0 10h2v2H0z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgWarningIcon(e){return r.createElement("svg",i({viewBox:"0 0 2 12"},e),a)}},,,,,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return r.createElement("svg",i({viewBox:"0 0 28 25"},e),a)}},,function(e,t,n){"use strict";(function(e){var r=n(13),i=n(1),a=n.n(i),c=n(0),o=n(54),l=n(3),s=n(34),u=n(24),d=n(153),g=n(442),f=n(108),m=n(8),p=n(18),h=Object(f.a)(g.a);function AudienceSegmentationErrorWidget(t){var n=t.Widget,i=t.errors,a=t.onRetry,o=t.showRetryButton,g=Object(p.a)(),f=Object(l.useDispatch)(u.b).setValue,v=i?Object(r.castArray)(i):[],b=v.some(s.e);return Object(c.useEffect)((function(){f(d.b,!0)}),[f]),e.createElement(h,{Widget:n,errors:v,onRetry:function(){Object(m.J)("".concat(g,"_audiences-all-tiles"),"data_loading_error_retry").finally((function(){f(d.b,!1),null==a||a()}))},onRequestAccess:function(){Object(m.J)("".concat(g,"_audiences-all-tiles"),"insufficient_permissions_error_request_access")},showRetryButton:o,onInView:function(){var e=b?"insufficient_permissions_error":"data_loading_error";Object(m.J)("".concat(g,"_audiences-all-tiles"),e)}})}AudienceSegmentationErrorWidget.propTypes={Widget:a.a.elementType.isRequired,errors:a.a.oneOfType([a.a.object,a.a.arrayOf(a.a.object)]).isRequired,onRetry:a.a.func,showRetryButton:a.a.bool},t.a=Object(o.a)({moduleName:"analytics-4"})(AudienceSegmentationErrorWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(186),c=n.n(a),o=n(1),l=n.n(o),s=n(0),u=n(2),d=n(254),g=n(412),f=n(413),m=n(10);function ReportErrorButton(t){var n=t.message,r=t.componentStack,a=Object(s.useState)(!1),o=i()(a,2),l=o[0],p=o[1];return e.createElement(m.Button,{"aria-label":l?Object(u.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){c()("`".concat(n,"\n").concat(r,"`")),p(!0)},trailingIcon:e.createElement(d.a,{className:"mdc-button__icon",icon:l?g.a:f.a})},l?Object(u.__)("Copied to clipboard","google-site-kit"):Object(u.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:l.a.string,componentStack:l.a.string},t.a=ReportErrorButton}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Dismiss}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(1),l=n.n(o),s=n(2),u=n(3),d=n(120),g=n(60),f=n(10);function Dismiss(t){var n=t.id,r=t.primary,a=void 0===r||r,o=t.dismissLabel,l=void 0===o?Object(s.__)("OK, Got it!","google-site-kit"):o,m=t.dismissExpires,p=void 0===m?0:m,h=t.disabled,v=t.onDismiss,b=void 0===v?function(){}:v,E=t.gaTrackingEventArgs,_=Object(d.a)(n),O=Object(u.useDispatch)(g.a).dismissNotification,y=function(){var e=c()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==b?void 0:b(t);case 2:_.dismiss(null==E?void 0:E.label,null==E?void 0:E.value),O(n,{expiresInSeconds:p});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(f.Button,{tertiary:!a,onClick:y,disabled:h},l)}Dismiss.propTypes={id:l.a.string,primary:l.a.bool,dismissLabel:l.a.string,dismissExpires:l.a.number,disabled:l.a.bool,onDismiss:l.a.func,gaTrackingEventArgs:l.a.shape({label:l.a.string,value:l.a.string})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(15),c=n.n(a),o=n(0),l=n(519),s=n(157);t.a=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=Object(o.useState)(Object(l.a)(r.location.href,t)||n),u=c()(a,2),d=u[0],g=u[1],f=function(e){g(e);var n=Object(s.a)(r.location.href,i()({},t,e));r.history.replaceState(null,"",n)};return[d,f]}}).call(this,n(26))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return FeatureTours}));var i=n(91),a=n(0),c=n(3),o=n(6),l=n(18),s=n(106);function FeatureTours(){var t=Object(l.a)(),n=Object(c.useDispatch)(o.a).triggerTourForView;Object(i.a)((function(){n(t)}));var u=Object(c.useSelect)((function(e){return e(o.a).getCurrentTour()}));return Object(a.useEffect)((function(){if(u){var t=document.getElementById("js-googlesitekit-main-dashboard");if(t){var n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}}),[u]),u?r.createElement(s.a,{tourID:u.slug,steps:u.steps,gaEventCategory:u.gaEventCategory,callback:u.callback}):null}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(0),l=n(17),s=Object(o.forwardRef)((function(t,n){var r=t.id,i=t.className,a=t.children,s=t.secondaryPane;return e.createElement("section",{id:r,className:c()(i,"googlesitekit-publisher-win"),ref:n},e.createElement(l.e,null,e.createElement(l.k,null,a)),s&&e.createElement(o.Fragment,null,e.createElement("div",{className:"googlesitekit-publisher-win__secondary-pane-divider"}),e.createElement(l.e,{className:"googlesitekit-publisher-win__secondary-pane"},e.createElement(l.k,null,e.createElement(l.a,{className:"googlesitekit-publisher-win__secondary-pane",size:12},s)))))}));s.displayName="Banner",s.propTypes={id:i.a.string,className:i.a.string,secondaryPane:i.a.node},t.a=s}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerTitle}));var r=n(7),i=n.n(r),a=n(1),c=n.n(a),o=n(12),l=n.n(o),s=n(93);function BannerTitle(t){var n=t.title,r=t.badgeLabel,a=t.WinImageSVG,c=t.winImageFormat,o=void 0===c?"":c,u=t.smallWinImageSVGWidth,d=void 0===u?75:u,g=t.smallWinImageSVGHeight,f=void 0===g?75:g;return n?e.createElement("div",{className:"googlesitekit-publisher-win__title-image-wrapper"},e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n,r&&e.createElement(s.a,{label:r})),a&&e.createElement("div",{className:l()(i()({},"googlesitekit-publisher-win__image-".concat(o),o))},e.createElement(a,{width:d,height:f}))):null}BannerTitle.propTypes={title:c.a.string,badgeLabel:c.a.string,WinImageSVG:c.a.elementType,winImageFormat:c.a.string,smallWinImageSVGWidth:c.a.number,smallWinImageSVGHeight:c.a.number}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerActions}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(221),g=n(0),f=n(3),m=n(10),p=n(32);function BannerActions(t){var n=t.ctaLink,r=t.ctaLabel,a=t.ctaComponent,o=t.ctaTarget,s=t.ctaCallback,u=t.dismissLabel,h=t.dismissCallback,v=Object(g.useState)(!1),b=l()(v,2),E=b[0],_=b[1],O=Object(d.a)(),y=Object(f.useSelect)((function(e){return!!n&&e(p.a).isNavigatingTo(n)})),k=function(){var e=c()(i.a.mark((function e(){var t,n,r,a=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(_(!0),t=a.length,n=new Array(t),r=0;r<t;r++)n[r]=a[r];return e.next=4,null==s?void 0:s.apply(void 0,n);case 4:O()&&_(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return n||u||a?e.createElement("div",{className:"googlesitekit-publisher-win__actions"},a,r&&e.createElement(m.SpinnerButton,{className:"googlesitekit-notification__cta",href:n,target:o,onClick:k,disabled:E||y,isSaving:E||y},r),u&&e.createElement(m.Button,{tertiary:n||a,onClick:h,disabled:E||y},u)):null}BannerActions.propTypes={ctaLink:u.a.string,ctaLabel:u.a.string,ctaComponent:u.a.element,ctaTarget:u.a.string,ctaCallback:u.a.func,dismissLabel:u.a.string,dismissCallback:u.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var r=n(1),i=n.n(r),a=n(0);function SettingsNoticeSingleRow(t){var n=t.notice,r=t.LearnMore,i=t.CTA;return e.createElement(a.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),i&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(i,null)))}SettingsNoticeSingleRow.propTypes={notice:i.a.node.isRequired,LearnMore:i.a.elementType,CTA:i.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(7),i=n.n(r),a=n(1),c=n.n(a),o=n(118),l=n(92);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(o.a)(n,l.a,u),e.createElement(l.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:c.a.string.isRequired},l.a.propTypes)}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var r=n(1),i=n.n(r),a=n(71),c=n(188),o=n(17);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var r="win-warning"===n?e.createElement(a.a,{width:34}):e.createElement(c.a,{width:28});return e.createElement(o.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},r))}BannerIcon.propTypes={type:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerLogo}));var r=n(1),i=n.n(r),a=n(17),c=n(143),o=n(177);function BannerLogo(t){var n=t.module,r=t.moduleName;return e.createElement(a.a,{size:12},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},n&&e.createElement(o.a,{slug:n,size:19}),!n&&e.createElement(c.a,{height:"34",width:"32"})),r&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},r))}BannerLogo.propTypes={module:i.a.string,moduleName:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerDescription}));var r=n(1),i=n.n(r),a=n(0),c=n(72),o=n(20),l=n(74);function BannerDescription(t){var n=t.description,r=t.learnMoreLabel,i=t.learnMoreURL,s=t.learnMoreTarget,u=t.learnMoreDescription,d=t.onLearnMoreClick;if(!n)return null;var g;return r&&(g=e.createElement(a.Fragment,null,e.createElement(o.a,{onClick:function(e){e.persist(),null==d||d()},href:i,external:s===l.a.EXTERNAL},r),u)),e.createElement("div",{className:"googlesitekit-publisher-win__desc"},Object(a.isValidElement)(n)?e.createElement(a.Fragment,null,n,g&&e.createElement("p",null,g)):e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(c.a)(n,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",g))}BannerDescription.propTypes={description:i.a.node,learnMoreURL:i.a.string,learnMoreDescription:i.a.string,learnMoreLabel:i.a.string,learnMoreTarget:i.a.oneOf(Object.values(l.a)),onLearnMoreClick:i.a.func}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(154),i=(r.a.Consumer,r.a.Provider);t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return SurveyViewTrigger}));var r=n(0),i=n(1),a=n.n(i),c=n(3),o=n(14),l=n(6);function SurveyViewTrigger(e){var t=e.triggerID,n=e.ttl,i=void 0===n?0:n,a=Object(c.useSelect)((function(e){return e(o.c).isUsingProxy()})),s=Object(c.useDispatch)(l.a).triggerSurvey;return Object(r.useEffect)((function(){a&&s(t,{ttl:i})}),[a,t,i,s]),null}SurveyViewTrigger.propTypes={triggerID:a.a.string.isRequired,ttl:a.a.number}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return v}));var r=n(21),i=n.n(r),a=n(57),c=n.n(a),o=n(229),l=n(258),s=n(259),u=n(199),d=n(230),g=n(260),f=n(0),m=c()((function(e){return{widgetSlug:e,Widget:p(e)(o.a),WidgetRecoverableModules:p(e)(d.a),WidgetReportZero:p(e)(l.a),WidgetReportError:p(e)(s.a),WidgetNull:p(e)(u.a)}}));function p(t){return function(n){var r=Object(f.forwardRef)((function(r,a){return e.createElement(n,i()({},r,{ref:a,widgetSlug:t}))}));return r.displayName="WithWidgetSlug",(n.displayName||n.name)&&(r.displayName+="(".concat(n.displayName||n.name,")")),r}}var h=function(t){var n=m(t);return function(t){function DecoratedComponent(r){return e.createElement(t,i()({},r,n))}return DecoratedComponent.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(DecoratedComponent.displayName+="(".concat(t.displayName||t.name,")")),DecoratedComponent}},v=function(t){return function(n){function DecoratedComponent(r){return e.createElement(n,i()({},r,{WPDashboardReportError:p(t)(g.a)}))}return DecoratedComponent.displayName="WithWPDashboardWidgetComponentProps",(n.displayName||n.name)&&(DecoratedComponent.displayName+="(".concat(n.displayName||n.name,")")),DecoratedComponent}}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return JoyrideTooltip}));var i=n(7),a=n.n(i),c=n(15),o=n.n(c),l=n(1),s=n(31),u=n(506),d=n(0),g=n(130),f=n(76),m=n(106);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JoyrideTooltip(t){var n=t.title,i=t.content,a=t.dismissLabel,c=t.target,l=t.cta,p=void 0!==l&&l,v=t.className,b=t.styles,E=void 0===b?{}:b,_=t.slug,O=void 0===_?"":_,y=t.onDismiss,k=void 0===y?function(){}:y,j=t.onView,S=void 0===j?function(){}:j,w=t.onTourStart,x=void 0===w?function(){}:w,C=t.onTourEnd,A=void 0===C?function(){}:C,N=function(){return!!e.document.querySelector(c)},T=Object(d.useState)(N),D=o()(T,2),M=D[0],R=D[1];if(Object(u.a)((function(){N()&&R(!0)}),M?null:250),Object(d.useEffect)((function(){if(M&&e.ResizeObserver){var t=e.document.querySelector(c),n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}),[c,M]),!M)return null;var B=[{title:n,target:c,content:i,disableBeacon:!0,isFixed:!0,placement:"auto",cta:p,className:v}],I={last:a};return r.createElement(f.a,{slug:O},r.createElement(s.e,{callback:function(t){switch(t.type){case s.b.TOUR_START:x(),e.document.body.classList.add("googlesitekit-showing-tooltip");break;case s.b.TOUR_END:A(),e.document.body.classList.remove("googlesitekit-showing-tooltip");break;case s.b.STEP_AFTER:k();break;case s.b.TOOLTIP:S()}},disableOverlay:!0,disableScrolling:!0,spotlightPadding:0,floaterProps:m.b,locale:I,steps:B,styles:h(h(h({},m.c),E),{},{options:h(h({},m.c.options),null==E?void 0:E.options),spotlight:h(h({},m.c.spotlight),null==E?void 0:E.spotlight)}),tooltipComponent:g.a,run:!0}))}JoyrideTooltip.propTypes={title:l.PropTypes.string.isRequired,content:l.PropTypes.string,dismissLabel:l.PropTypes.string,target:l.PropTypes.string.isRequired,onDismiss:l.PropTypes.func,onShow:l.PropTypes.func,className:l.PropTypes.string,styles:l.PropTypes.object,slug:l.PropTypes.string,onView:l.PropTypes.func}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotification}));var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(151),l=n(71),s=n(17);function SubtleNotification(t){var n=t.className,r=t.title,i=t.description,a=t.dismissCTA,u=t.additionalCTA,d=t.type,g=void 0===d?"success":d,f=t.icon;return e.createElement(s.e,null,e.createElement(s.k,null,e.createElement(s.a,{alignMiddle:!0,size:12,className:c()("googlesitekit-subtle-notification",n,{"googlesitekit-subtle-notification--success":"success"===g,"googlesitekit-subtle-notification--warning":"warning"===g})},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},f,"success"===g&&!f&&e.createElement(o.a,{width:24,height:24}),"warning"===g&&!f&&e.createElement(l.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,r),e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},i)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},a,u))))}SubtleNotification.propTypes={className:i.a.string,title:i.a.string.isRequired,description:i.a.node,dismissCTA:i.a.node,additionalCTA:i.a.node,type:i.a.string,icon:i.a.object}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),i=n(158),a=n(44),c=function(e){var t=Object(r.useContext)(i.a);return Object(a.b)(e,t)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var r=n(1),i=n.n(r),a=n(0);function SettingsNoticeMultiRow(t){var n=t.notice,r=t.LearnMore,i=t.CTA,c=t.children;return e.createElement(a.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"},c),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),i&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(i,null))))}SettingsNoticeMultiRow.propTypes={children:i.a.node.isRequired,notice:i.a.node.isRequired,LearnMore:i.a.elementType,CTA:i.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WarningNotice}));var r=n(12),i=n.n(r),a=n(1),c=n.n(a);function WarningNotice(t){var n=t.children,r=t.className;return e.createElement("div",{className:i()("googlesitekit-warning-notice",r)},n)}WarningNotice.propTypes={children:c.a.node.isRequired,className:c.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OverlayNotification}));var r=n(574),i=n(12),a=n.n(i),c=n(1),o=n.n(c),l=n(0),s=n(3),u=n(24),d=n(25);function OverlayNotification(t){var n=t.className,i=t.children,c=t.GraphicDesktop,o=t.GraphicMobile,g=t.notificationID,f=t.onShow,m=t.shouldShowNotification,p=Object(d.e)(),h=Object(s.useSelect)((function(e){return e(u.b).isShowingOverlayNotification(g)})),v=Object(s.useDispatch)(u.b).setOverlayNotificationToShow;if(Object(l.useEffect)((function(){m&&!h&&(v(g),null==f||f())}),[h,g,f,v,m]),!m||!h)return null;var b=a()("googlesitekit-overlay-notification",n);return p===d.b?e.createElement("div",{className:b},i,o&&e.createElement(o,null)):e.createElement(r.a,{direction:"up",in:h},e.createElement("div",{className:b},c&&e.createElement(c,null),i))}OverlayNotification.propTypes={className:o.a.string,children:o.a.node,GraphicDesktop:o.a.elementType,GraphicMobile:o.a.elementType,onShow:o.a.func,notificationID:o.a.string.isRequired,shouldShowNotification:o.a.bool}}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptIn}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(1),l=n.n(o),s=n(12),u=n.n(s),d=n(0),g=n(38),f=n(2),m=n(3),p=n(10),h=n(6),v=n(36),b=n(20),E=n(18);function OptIn(t){var n=t.id,r=void 0===n?"googlesitekit-opt-in":n,a=t.name,o=void 0===a?"optIn":a,l=t.className,s=t.trackEventCategory,_=t.alignLeftCheckbox,O=void 0!==_&&_,y=Object(m.useSelect)((function(e){return e(h.a).isTrackingEnabled()})),k=Object(m.useSelect)((function(e){return e(h.a).isSavingTrackingEnabled()})),j=Object(m.useSelect)((function(e){return e(h.a).getErrorForAction("setTrackingEnabled",[!y])})),S=Object(m.useDispatch)(h.a).setTrackingEnabled,w=Object(E.a)(),x=Object(d.useCallback)(function(){var e=c()(i.a.mark((function e(t){var n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S(!!t.target.checked);case 2:n=e.sent,r=n.response,n.error||(Object(v.a)(r.enabled),r.enabled&&Object(v.b)(s||w,"tracking_optin"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[S,s,w]);return e.createElement("div",{className:u()("googlesitekit-opt-in",l)},e.createElement(p.Checkbox,{id:r,name:o,value:"1",checked:y,disabled:k,onChange:x,loading:void 0===y,alignLeft:O},Object(g.a)(Object(f.__)("<span>Help us improve Site Kit by sharing anonymous usage data.</span> <span>All collected data is treated in accordance with the <a>Google Privacy Policy.</a></span>","google-site-kit"),{a:e.createElement(b.a,{key:"link",href:"https://policies.google.com/privacy",external:!0}),span:e.createElement("span",null)})),(null==j?void 0:j.message)&&e.createElement("div",{className:"googlesitekit-error-text"},null==j?void 0:j.message))}OptIn.propTypes={id:l.a.string,name:l.a.string,className:l.a.string,trackEventCategory:l.a.string,alignLeftCheckbox:l.a.bool}}).call(this,n(4))},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(0),l=n(3),s=n(14),u=n(24);function d(e){var t=Object(l.useDispatch)(u.b).setValue,n=Object(l.useSelect)((function(e){return e(s.c).hasMinimumWordPressVersion("6.2")})),r=Object(l.useSelect)((function(e){return e(s.c).hasMinimumWordPressVersion("6.4")}));return Object(o.useCallback)(c()(i.a.mark((function a(){var c,o,l,s;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(c=document.querySelector("#adminmenu").offsetHeight>0){i.next=7;break}if(!(o=document.getElementById("wp-admin-bar-menu-toggle"))){i.next=7;break}return o.firstChild.click(),i.next=7,new Promise((function(e){setTimeout(e,0)}));case 7:"#adminmenu [href*='page=googlesitekit-dashboard']",(l=!!document.querySelector("".concat("#adminmenu [href*='page=googlesitekit-dashboard']","[aria-haspopup=true]")))&&document.querySelector("#adminmenu [href*='page=googlesitekit-dashboard']").click(),n&&!r&&(s=document.hasFocus,document.hasFocus=function(){return document.hasFocus=s,!1}),t(e,{isTooltipVisible:!0,rehideAdminMenu:!c,rehideAdminSubMenu:l});case 12:case"end":return i.stop()}}),a)}))),[n,r,t,e])}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminMenuTooltip}));var r=n(7),i=n.n(r),a=n(21),c=n.n(a),o=n(5),l=n.n(o),s=n(16),u=n.n(s),d=n(23),g=n.n(d),f=n(0),m=n(1),p=n.n(m),h=n(3),v=n(208),b=n(24),E=n(160);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(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}function AdminMenuTooltip(t){var n=t.onDismiss,r=t.tooltipStateKey,i=g()(t,["onDismiss","tooltipStateKey"]),a=Object(h.useDispatch)(b.b).setValue,o=Object(E.a)(r),s=o.rehideAdminMenu,d=o.rehideAdminSubMenu,m=Object(f.useCallback)(u()(l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s&&document.querySelector("#adminmenu").offsetHeight>0&&(null===(t=document.getElementById("wp-admin-bar-menu-toggle"))||void 0===t||t.click()),d&&document.querySelector("body").click(),e.next=4,null==n?void 0:n();case 4:a(r,void 0);case 5:case"end":return e.stop()}}),e)}))),[n,s,d,a,r]);return e.createElement(v.a,c()({slug:"ga4-activation-banner-admin-menu-tooltip",onDismiss:m},i))}AdminMenuTooltip.propTypes=O(O({},v.a.propTypes),{},{target:p.a.string,tooltipStateKey:p.a.string.isRequired}),AdminMenuTooltip.defaultProps={target:'#adminmenu [href*="page=googlesitekit-settings"]'}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceErrorModal}));var r=n(1),i=n.n(r),a=n(38),c=n(2),o=n(3),l=n(20),s=n(114),u=n(76),d=n(14),g=n(9),f=n(34),m=n(8);function AudienceErrorModal(t){var n=t.apiErrors,r=t.hasOAuthError,i=t.inProgress,p=t.title,h=t.description,v=t.trackEventCategory,b=t.onCancel,E=void 0===b?function(){}:b,_=t.onRetry,O=void 0===_?function(){}:_,y=Array.isArray(n)?n:[n],k=Object(o.useSelect)((function(e){return e(d.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),j=Object(o.useSelect)((function(e){return e(g.p).getServiceEntityAccessURL()})),S=Object(o.useSelect)((function(e){return e(d.c).getErrorTroubleshootingLinkURL({code:"access_denied"})}));if(!y.length&&!r)return null;var w,x,C,A,N=y.some((function(e){return Object(f.e)(e)}));return r?(w=Object(c.__)("Analytics update failed","google-site-kit"),x=Object(a.a)(Object(c.__)("Setup was interrupted because you did not grant the necessary permissions. <HelpLink />","google-site-kit"),{HelpLink:e.createElement(l.a,{href:S,external:!0,hideExternalIndicator:!0},Object(c.__)("Get help","google-site-kit"))}),C=Object(c.__)("Retry","google-site-kit")):N?(w=Object(c.__)("Insufficient permissions","google-site-kit"),x=Object(a.a)(Object(c.__)("You’ll need to contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(l.a,{href:k,external:!0,hideExternalIndicator:!0},Object(c.__)("Get help","google-site-kit"))}),C=Object(c.__)("Request access","google-site-kit"),A=j):(w=p||Object(c.__)("Failed to set up visitor groups","google-site-kit"),x=h||Object(c.__)("Oops! Something went wrong. Retry enabling groups.","google-site-kit"),C=Object(c.__)("Retry","google-site-kit")),e.createElement(u.a,null,e.createElement(s.a,{dialogActive:!0,buttonLink:A,title:w,subtitle:x,handleConfirm:function(){var e;e=r?"auth_error_retry":N?"insufficient_permissions_error_request_access":"setup_error_retry",Object(m.J)(v,e).finally((function(){N||O()}))},confirmButton:C,handleDialog:function(){var e;e=r?"auth_error_cancel":N?"insufficient_permissions_error_cancel":"setup_error_cancel",Object(m.J)(v,e).finally(E)},onOpen:function(){var e;e=r?"auth_error":N?"insufficient_permissions_error":"setup_error",Object(m.J)(v,e)},onClose:E,danger:!0,inProgress:i}))}AudienceErrorModal.propTypes={apiErrors:i.a.oneOfType([i.a.arrayOf(i.a.object),i.a.object,i.a.array]),hasOAuthError:i.a.bool,inProgress:i.a.bool,title:i.a.string,description:i.a.string,trackEventCategory:i.a.string,onCancel:i.a.func,onRetry:i.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(0),l=n(10),s=n(474),u=Object(o.forwardRef)((function(t,n){var r=t.className,a=t.content,c=t.dismissLabel,o=t.Icon,u=void 0===o?s.a:o,d=t.onDismiss;return e.createElement("div",{ref:n,className:i()("googlesitekit-audience-segmentation-info-notice",r)},e.createElement(u,{width:"20",height:"20"}),e.createElement("div",{className:"googlesitekit-audience-segmentation-info-notice__body"},e.createElement("p",null,a),c&&e.createElement(l.Button,{tertiary:!0,onClick:d,className:"googlesitekit-audience-segmentation-info-notice__dismiss"},c)))}));u.propTypes={className:c.a.string,content:c.a.string.isRequired,dismissLabel:c.a.string,Icon:c.a.elementType,onDismiss:c.a.func},t.a=u}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(7),i=n.n(r),a=n(23),c=n.n(a),o=n(57),l=n.n(o),s=n(13);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=l()((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.metrics,n=e.dimensions,r=c()(e,["metrics","dimensions"]);return d({metrics:f(t),dimensions:m(n)},r)})),f=function(e){return Object(s.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(s.isPlainObject)(e)}))},m=function(e){return Object(s.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(s.isPlainObject)(e)}))}},function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(0),l=Object(o.forwardRef)((function(t,n){var r=t.children,a=t.className,c=t.widgetSlug,o=t.noPadding,l=t.Header,s=t.Footer;return e.createElement("div",{className:i()("googlesitekit-widget","googlesitekit-widget--".concat(c),{"googlesitekit-widget--no-padding":o},{"googlesitekit-widget--with-header":l},a),ref:n},l&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(l,null)),e.createElement("div",{className:"googlesitekit-widget__body"},r),s&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(s,null)))}));l.defaultProps={children:void 0,noPadding:!1},l.propTypes={children:c.a.node,widgetSlug:c.a.string.isRequired,noPadding:c.a.bool,Header:c.a.elementType,Footer:c.a.elementType},t.a=l}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var r=n(7),i=n.n(r),a=n(21),c=n.n(a),o=n(27),l=n.n(o),s=n(23),u=n.n(s),d=n(1),g=n.n(d),f=n(0),m=n(118),p=n(136);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,r=t.moduleSlugs,i=u()(t,["widgetSlug","moduleSlugs"]),a=Object(f.useMemo)((function(){return{moduleSlug:l()(r).sort().join(","),moduleSlugs:r}}),[r]);return Object(m.a)(n,p.a,a),e.createElement(p.a,c()({moduleSlugs:r},i))}WidgetRecoverableModules.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:g.a.string.isRequired},p.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BadgeWithTooltip}));var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(122);function BadgeWithTooltip(t){var n=t.className,r=void 0===n?"":n,i=t.label,a=t.onTooltipOpen,l=t.tooltipTitle;return e.createElement("span",{className:c()("googlesitekit-badge-with-tooltip","googlesitekit-badge",r)},i,l&&e.createElement(o.a,{onOpen:a,title:l}))}BadgeWithTooltip.propTypes={onTooltipOpen:i.a.func,tooltipTitle:i.a.node,className:i.a.string,label:i.a.node.isRequired}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Item}));var r=n(1),i=n.n(r);function Item(t){var n=t.icon,r=t.label;return e.createElement("div",{className:"googlesitekit-user-menu__item"},e.createElement("div",{className:"googlesitekit-user-menu__item-icon"},n),e.createElement("span",{className:"googlesitekit-user-menu__item-label"},r))}Item.propTypes={icon:i.a.node,label:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Root}));var r=n(15),i=n.n(r),a=n(1),c=n.n(a),o=n(505),l=n(536),s=n(0),u=n(3),d=n.n(u),g=n(236),f=n(237),m=n(44),p=n(238),h=n(240),v=n(241),b=n(63),E=n(204),_=n(169);function Root(t){var n=t.children,r=t.registry,a=t.viewContext,c=void 0===a?null:a,d=o.a,O=Object(s.useState)({key:"Root",value:!0}),y=i()(O,1)[0];return e.createElement(s.StrictMode,null,e.createElement(E.a,{value:y},e.createElement(u.RegistryProvider,{value:r},e.createElement(f.a,{value:m.a},e.createElement(b.a,{value:c},e.createElement(l.a,{theme:d()},e.createElement(g.a,null,e.createElement(h.a,null,n,c&&e.createElement(v.a,null)),Object(_.a)(c)&&e.createElement(p.a,null))))))))}Root.propTypes={children:c.a.node,registry:c.a.object,viewContext:c.a.string.isRequired},Root.defaultProps={registry:d.a}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){var i=n(50),a=n.n(i),c=n(51),o=n.n(c),l=n(69),s=n.n(l),u=n(70),d=n.n(u),g=n(49),f=n.n(g),m=n(1),p=n.n(m),h=n(0),v=n(2),b=n(168),E=n(63),_=n(65),O=n(8);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var i=f()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d()(this,n)}}var k=function(t){s()(ErrorHandler,t);var n=y(ErrorHandler);function ErrorHandler(e){var t;return a()(this,ErrorHandler),(t=n.call(this,e)).state={error:null,info:null,copied:!1},t}return o()(ErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t,info:n}),Object(O.J)("react_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,i=t.info;return n?r.createElement(_.b,{id:"googlesitekit-error",className:"googlesitekit-error-handler",title:Object(v.__)("Site Kit encountered an error","google-site-kit"),description:r.createElement(b.a,{message:n.message,componentStack:i.componentStack}),isDismissible:!1,format:"small",type:"win-error"},r.createElement("pre",{className:"googlesitekit-overflow-auto"},n.message,i.componentStack)):e}}]),ErrorHandler}(h.Component);k.contextType=E.b,k.propTypes={children:p.a.node.isRequired},t.a=k}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(158),i=(r.a.Consumer,r.a.Provider);t.a=i},function(e,t,n){"use strict";(function(e){var r=n(3),i=n(239),a=n(6);t.a=function PermissionsModal(){return Object(r.useSelect)((function(e){return e(a.a).isAuthenticated()}))?e.createElement(i.a,null):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){var i=n(5),a=n.n(i),c=n(16),o=n.n(c),l=n(2),s=n(0),u=n(3),d=n(114),g=n(28),f=n(32),m=n(6),p=n(133),h=n(76);t.a=function AuthenticatedPermissionsModal(){var t,n,i,c,v=Object(u.useRegistry)(),b=Object(u.useSelect)((function(e){return e(m.a).getPermissionScopeError()})),E=Object(u.useSelect)((function(e){return e(m.a).getUnsatisfiedScopes()})),_=Object(u.useSelect)((function(t){var n,r,i;return t(m.a).getConnectURL({additionalScopes:null==b||null===(n=b.data)||void 0===n?void 0:n.scopes,redirectURL:(null==b||null===(r=b.data)||void 0===r?void 0:r.redirectURL)||e.location.href,errorRedirectURL:null==b||null===(i=b.data)||void 0===i?void 0:i.errorRedirectURL})})),O=Object(u.useDispatch)(m.a).clearPermissionScopeError,y=Object(u.useDispatch)(f.a).navigateTo,k=Object(u.useDispatch)(g.a).setValues,j=Object(s.useCallback)((function(){O()}),[O]),S=Object(s.useCallback)(o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(m.d,{permissionsError:b}),e.next=3,Object(p.c)(v);case 3:y(_);case 4:case"end":return e.stop()}}),e)}))),[v,_,y,b,k]);return Object(s.useEffect)((function(){(function(){var e=o()(a.a.mark((function e(){var t,n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==b||null===(t=b.data)||void 0===t?void 0:t.skipModal)||!(null==b||null===(n=b.data)||void 0===n||null===(r=n.scopes)||void 0===r?void 0:r.length)){e.next=3;break}return e.next=3,S();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[S,b]),b?(null==b||null===(t=b.data)||void 0===t||null===(n=t.scopes)||void 0===n?void 0:n.length)?(null==b||null===(i=b.data)||void 0===i?void 0:i.skipModal)||E&&(null==b||null===(c=b.data)||void 0===c?void 0:c.scopes.every((function(e){return E.includes(e)})))?null:r.createElement(h.a,null,r.createElement(d.a,{title:Object(l.__)("Additional Permissions Required","google-site-kit"),subtitle:b.message,confirmButton:Object(l.__)("Proceed","google-site-kit"),dialogActive:!0,handleConfirm:S,handleDialog:j,medium:!0})):(e.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",b),null):null}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(0),u=n(3),d=n(133);t.a=function RestoreSnapshots(e){var t=e.children,n=Object(u.useRegistry)(),r=Object(s.useState)(!1),a=l()(r,2),o=a[0],g=a[1];return Object(s.useEffect)((function(){o||c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.b)(n);case 2:g(!0);case 3:case"end":return e.stop()}}),e)})))()}),[n,o]),o?t:null}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return FeatureToursDesktop}));var r=n(7),i=n.n(r),a=n(79),c=n(194);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function FeatureToursDesktop(t){return Object(a.a)()<783?null:e.createElement(c.a,t)}FeatureToursDesktop.propTypes=function(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){i()(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}({},c.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(1),c=n.n(a),o=n(12),l=n.n(o),s=n(594),u=n(2),d=n(0),g=n(3),f=n(261),m=n(278),p=n(282),h=n(6),v=n(17),b=n(288),E=n(295),_=n(297),O=n(303),y=n(35),k=n(52),j=n(20),S=n(304),w=n(14),x=n(305);function Header(t){var n,r=t.children,a=t.subHeader,c=t.showNavigation,o=!!Object(k.c)(),C=Object(y.a)();Object(x.a)();var A=Object(g.useSelect)((function(e){return e(w.c).getAdminURL("googlesitekit-dashboard")})),N=Object(g.useSelect)((function(e){return e(h.a).isAuthenticated()})),T=Object(s.a)({childList:!0}),D=i()(T,2),M=D[0],R=!!(null===(n=D[1].target)||void 0===n?void 0:n.childElementCount);return e.createElement(d.Fragment,null,e.createElement("header",{className:l()("googlesitekit-header",{"googlesitekit-header--has-subheader":R,"googlesitekit-header--has-navigation":c})},e.createElement(v.e,null,e.createElement(v.k,null,e.createElement(v.a,{smSize:1,mdSize:2,lgSize:4,className:"googlesitekit-header__logo",alignMiddle:!0},e.createElement(j.a,{"aria-label":Object(u.__)("Go to dashboard","google-site-kit"),className:"googlesitekit-header__logo-link",href:A},e.createElement(f.a,null))),e.createElement(v.a,{smSize:3,mdSize:6,lgSize:8,className:"googlesitekit-header__children",alignMiddle:!0},r,!N&&o&&C&&e.createElement(_.a,null),N&&!C&&e.createElement(m.a,null))))),e.createElement("div",{className:"googlesitekit-subheader",ref:M},e.createElement(p.a,null),e.createElement(O.a,null),a),c&&e.createElement(b.a,null),o&&e.createElement(S.a,null),e.createElement(E.a,null))}Header.displayName="Header",Header.propTypes={children:c.a.node,subHeader:c.a.element,showNavigation:c.a.bool},Header.defaultProps={children:null,subHeader:null},t.a=Header}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return HelpMenu}));var r=n(15),i=n.n(r),a=n(1),c=n.n(a),o=n(217),l=n(0),s=n(56),u=n(2),d=n(3),g=n(10),f=n(306),m=n(129),p=n(8),h=n(174),v=n(19),b=n(18),E=n(14);function HelpMenu(t){var n=t.children,r=Object(l.useState)(!1),a=i()(r,2),c=a[0],_=a[1],O=Object(l.useRef)(),y=Object(b.a)();Object(o.a)(O,(function(){return _(!1)})),Object(m.a)([s.c,s.f],O,(function(){return _(!1)}));var k=Object(d.useSelect)((function(e){return e(v.a).isModuleActive("adsense")})),j=Object(l.useCallback)((function(){c||Object(p.J)("".concat(y,"_headerbar"),"open_helpmenu"),_(!c)}),[c,y]),S=Object(l.useCallback)((function(){_(!1)}),[]),w=Object(d.useSelect)((function(e){return e(E.c).getDocumentationLinkURL("fix-common-issues")}));return e.createElement("div",{ref:O,className:"googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},e.createElement(g.Button,{"aria-controls":"googlesitekit-help-menu","aria-expanded":c,"aria-label":Object(u.__)("Help","google-site-kit"),"aria-haspopup":"menu",className:"googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon googlesitekit-help-menu__button mdc-button--dropdown",icon:e.createElement(f.a,{width:"20",height:"20"}),onClick:j,text:!0,tooltipEnterDelayInMS:500}),e.createElement(g.Menu,{className:"googlesitekit-width-auto",menuOpen:c,id:"googlesitekit-help-menu",onSelected:S},n,e.createElement(h.a,{gaEventLabel:"fix_common_issues",href:w},Object(u.__)("Fix common issues","google-site-kit")),e.createElement(h.a,{gaEventLabel:"documentation",href:"https://sitekit.withgoogle.com/documentation/"},Object(u.__)("Read help docs","google-site-kit")),e.createElement(h.a,{gaEventLabel:"support_forum",href:"https://wordpress.org/support/plugin/google-site-kit/"},Object(u.__)("Get support","google-site-kit")),k&&e.createElement(h.a,{gaEventLabel:"adsense_help",href:"https://support.google.com/adsense/"},Object(u.__)("Get help with AdSense","google-site-kit"))))}HelpMenu.propTypes={children:c.a.node}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return SpinnerButton}));var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(12),u=n.n(s),d=n(313),g=n(247),f={BEFORE:"before",AFTER:"after"};function SpinnerButton(t){var n=t.className,r=t.onClick,a=void 0===r?function(){}:r,o=t.isSaving,l=void 0!==o&&o,s=t.spinnerPosition,m=void 0===s?f.AFTER:s,p=c()(t,["className","onClick","isSaving","spinnerPosition"]);return e.createElement(d.a,i()({className:u()(n,"googlesitekit-button-icon--spinner",{"googlesitekit-button-icon--spinner__running":l,"googlesitekit-button-icon--spinner__before":m===f.BEFORE,"googlesitekit-button-icon--spinner__after":m===f.AFTER}),icon:l&&m===f.BEFORE?e.createElement(g.a,{size:14}):void 0,trailingIcon:l&&m===f.AFTER?e.createElement(g.a,{size:14}):void 0,onClick:a},p))}SpinnerButton.propTypes={className:l.a.string,onClick:l.a.func,isSaving:l.a.bool,spinnerPosition:l.a.oneOf(Object.values(f))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CircularProgress}));var r=n(627);function CircularProgress(t){return e.createElement(r.a,t)}}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(0);t.a=function(t,n){var r=Object(a.useState)(null),c=i()(r,2),o=c[0],l=c[1];return Object(a.useEffect)((function(){if(t.current&&"function"==typeof e.IntersectionObserver){var r=new e.IntersectionObserver((function(e){l(e[e.length-1])}),n);return r.observe(t.current),function(){l(null),r.disconnect()}}return function(){}}),[t.current,n.threshold,n.root,n.rootMargin]),o}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n(9);function r(e){var t;return 400===(null==e?void 0:e.code)&&(null==e||null===(t=e.message)||void 0===t?void 0:t.includes("is not a valid dimension"))}},,,function(e,t,n){"use strict";(function(e){var r=n(53),i=n.n(r),a=n(257),c=e._googlesitekitAPIFetchData||{},o=c.nonce,l=c.nonceEndpoint,s=c.preloadedData,u=c.rootURL;i.a.nonceEndpoint=l,i.a.nonceMiddleware=i.a.createNonceMiddleware(o),i.a.rootURLMiddleware=i.a.createRootURLMiddleware(u),i.a.preloadingMiddleware=Object(a.a)(s),i.a.use(i.a.nonceMiddleware),i.a.use(i.a.mediaUploadMiddleware),i.a.use(i.a.rootURLMiddleware),i.a.use(i.a.preloadingMiddleware),t.default=i.a}).call(this,n(26))},function(e,t,n){"use strict";var r=n(248);t.a=function(e){var t=Object.keys(e).reduce((function(t,n){return t[Object(r.getStablePath)(n)]=e[n],t}),{}),n=!1;return function(e,i){if(n)return i(e);setTimeout((function(){n=!0}),1e3);var a=e.parse,c=void 0===a||a,o=e.path;if("string"==typeof e.path){var l,s=(null===(l=e.method)||void 0===l?void 0:l.toUpperCase())||"GET",u=Object(r.getStablePath)(o);if(c&&"GET"===s&&t[u]){var d=Promise.resolve(t[u].body);return delete t[u],d}if("OPTIONS"===s&&t[s]&&t[s][u]){var g=Promise.resolve(t[s][u]);return delete t[s][u],g}}return i(e)}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(7),i=n.n(r),a=n(21),c=n.n(a),o=n(23),l=n.n(o),s=n(1),u=n.n(s),d=n(0),g=n(118),f=n(142);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,i=l()(t,["widgetSlug","moduleSlug"]),a=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(g.a)(n,f.a,a),e.createElement(f.a,c()({moduleSlug:r},i))}WidgetReportZero.propTypes=function(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){i()(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}({widgetSlug:u.a.string.isRequired},f.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(7),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(141);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportError(t){t.widgetSlug;var n=c()(t,["widgetSlug"]);return e.createElement(s.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:l.a.string.isRequired},s.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPDashboardReportError}));var r=n(1),i=n.n(r),a=n(520),c=n(200),o=n(3),l=n(24),s=n(141);function WPDashboardReportError(t){var n=t.moduleSlug,r=t.error,i=Object(c.a)(WPDashboardReportError,"WPDashboardReportError"),u=Object(o.useDispatch)(l.b).setValue,d=r.message,g=Object(o.useSelect)((function(e){return e(l.b).getValue("WPDashboardReportError-".concat(n,"-").concat(d))}));return Object(a.a)((function(){u("WPDashboardReportError-".concat(n,"-").concat(d),i)}),(function(){u("WPDashboardReportError-".concat(n,"-").concat(d),void 0)})),g!==i?null:e.createElement(s.a,{moduleSlug:n,error:r})}WPDashboardReportError.propTypes={moduleSlug:i.a.string.isRequired,error:i.a.object.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n(143),a=n(262),c=n(105);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(i.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(a.a,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),e.createElement(c.a,null,Object(r.__)("Site Kit by Google Logo","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M62.09 1.664h3.038v.1L58.34 9.593l7.241 10.224v.1H62.7L56.755 11.4 53.95 14.64v5.278h-2.351V1.664h2.35v9.415h.1l8.04-9.415zM69.984 3.117c0 .454-.166.853-.487 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.599 1.599 0 01-.488-1.175c0-.466.166-.854.488-1.176.321-.322.71-.488 1.175-.488.455 0 .854.166 1.176.488.332.333.487.72.487 1.176zm-.476 4.313v12.498h-2.351V7.43h2.35zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943-.676-.632-1.02-1.508-1.031-2.628V9.57h-2.196V7.43h2.196V3.603h2.35V7.43h3.061v2.14h-3.06v6.222c0 .831.166 1.397.488 1.696.321.3.687.444 1.097.444.189 0 .366-.022.555-.067.188-.044.344-.1.499-.166l.743 2.096c-.632.222-1.342.333-2.162.333zM2.673 18.952C1.375 18.009.488 16.678 0 14.97l2.883-1.176c.289 1.076.799 1.94 1.542 2.628.732.677 1.619 1.02 2.65 1.02.965 0 1.774-.244 2.45-.742.677-.5 1.01-1.187 1.01-2.052 0-.798-.3-1.453-.887-1.974-.588-.521-1.62-1.042-3.094-1.564l-1.22-.432C4.025 10.224 2.928 9.57 2.04 8.716 1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673C2.018 1.852 2.75 1.209 3.693.72 4.624.244 5.678 0 6.864 0c1.708 0 3.072.41 4.081 1.242 1.02.832 1.697 1.752 2.04 2.795L10.236 5.2c-.2-.621-.576-1.164-1.142-1.63-.565-.477-1.286-.71-2.173-.71s-1.641.222-2.251.676c-.61.455-.91 1.032-.91 1.742 0 .676.278 1.22.82 1.663.544.432 1.398.854 2.563 1.253l1.22.41c1.674.577 2.96 1.342 3.88 2.274.921.931 1.376 2.184 1.376 3.748 0 1.275-.322 2.34-.976 3.193a6.01 6.01 0 01-2.495 1.919 8.014 8.014 0 01-3.116.621c-1.62 0-3.072-.466-4.358-1.408zM15.969 3.449a1.95 1.95 0 01-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0117.399 0c.566 0 1.043.2 1.43.588.389.388.588.865.588 1.43 0 .566-.2 1.043-.587 1.43a1.95 1.95 0 01-1.43.589c-.566-.012-1.043-.2-1.431-.588zm-.067 2.595h2.994v13.883h-2.994V6.044zM25.405 19.85c-.543-.2-.986-.466-1.33-.788-.776-.776-1.176-1.84-1.176-3.182V8.683h-2.428v-2.64h2.428V2.13h2.994v3.926h3.372v2.639h-3.372v6.531c0 .743.145 1.276.433 1.575.277.366.743.543 1.42.543.31 0 .576-.044.82-.122.233-.077.488-.21.765-.399v2.917c-.599.277-1.32.41-2.173.41a5.01 5.01 0 01-1.753-.3zM33.623 19.407a6.63 6.63 0 01-2.529-2.628c-.61-1.12-.909-2.373-.909-3.77 0-1.332.3-2.551.887-3.693.588-1.132 1.409-2.04 2.462-2.706 1.053-.666 2.251-1.01 3.593-1.01 1.397 0 2.606.311 3.637.921a6.123 6.123 0 012.34 2.528c.532 1.076.799 2.274.799 3.627 0 .255-.023.576-.078.953H33.179c.111 1.287.566 2.285 1.375 2.983a4.162 4.162 0 002.817 1.043c.854 0 1.597-.189 2.218-.588a4.266 4.266 0 001.508-1.597l2.528 1.198c-.654 1.142-1.508 2.04-2.561 2.694-1.054.655-2.318.976-3.782.976-1.364.022-2.584-.288-3.66-.931zm7.23-8.051a3.332 3.332 0 00-.466-1.453c-.277-.477-.687-.887-1.242-1.208-.554-.322-1.23-.488-2.03-.488-.964 0-1.773.288-2.439.853-.665.566-1.12 1.342-1.375 2.296h7.552z",fill:"#5F6368"});t.a=function SvgLogoSitekit(e){return r.createElement("svg",i({viewBox:"0 0 80 21",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(0),l=n(2),s=n(10),u=n(93),d=n(20);function NewBadge(t){var n=t.tooltipTitle,r=t.learnMoreLink,i=t.forceOpen,a=t.hasLeftSpacing,g=t.hasNoSpacing,f=t.onLearnMoreClick,m=void 0===f?function(){}:f,p=e.createElement(u.a,{className:c()("googlesitekit-new-badge",{"googlesitekit-new-badge--has-no-spacing":g}),label:Object(l.__)("New","google-site-kit"),hasLeftSpacing:a});return n?e.createElement(s.Tooltip,{tooltipClassName:"googlesitekit-new-badge__tooltip",title:e.createElement(o.Fragment,null,n,e.createElement("br",null),e.createElement(d.a,{href:r,onClick:m,external:!0,hideExternalIndicator:!0},Object(l.__)("Learn more","google-site-kit"))),placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,open:i},p):p}NewBadge.propTypes={tooltipTitle:i.a.string,learnMoreLink:i.a.string,forceOpen:i.a.bool,onLearnMoreClick:i.a.func,hasLeftSpacing:i.a.bool,hasNoSpacing:i.a.bool},t.a=NewBadge}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CTALinkSubtle}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(1),l=n.n(o),s=n(120),u=n(10),d=n(80);function CTALinkSubtle(t){var n=t.id,r=t.ctaLink,a=t.ctaLabel,o=t.onCTAClick,l=t.isCTALinkExternal,g=void 0!==l&&l,f=t.gaTrackingEventArgs,m=Object(s.a)(n),p=function(){var e=c()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==o?void 0:o(t);case 2:m.confirm(null==f?void 0:f.label,null==f?void 0:f.value);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(u.Button,{className:"googlesitekit-subtle-notification__cta",href:r,onClick:p,target:g?"_blank":"_self",trailingIcon:g?e.createElement(d.a,{width:14,height:14}):void 0},a)}CTALinkSubtle.propTypes={id:l.a.string,ctaLink:l.a.string,ctaLabel:l.a.string,onCTAClick:l.a.func,isCTALinkExternal:l.a.bool,gaTrackingEventArgs:l.a.shape({label:l.a.string,value:l.a.string})}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileMetric}));var r=n(1),i=n.n(r),a=n(8);function AudienceTileMetric(t){var n=t.TileIcon,r=t.title,i=t.metricValue,c=t.Badge,o=t.metricValueFormat;return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__icon"},e.createElement(n,null)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__container"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__value"},Object(a.C)(i,o)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__title"},r)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__badge-container"},e.createElement(c,null)))}AudienceTileMetric.propTypes={TileIcon:i.a.elementType.isRequired,title:i.a.string.isRequired,metricValue:i.a.number.isRequired,Badge:i.a.elementType.isRequired,metricValueFormat:i.a.object}}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="consent-mode-setup-cta-widget"},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(13),i=n(95);function a(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(r.isPlainObject)(e)&&(!(!e.hasOwnProperty("fieldNames")||!Array.isArray(e.fieldNames)||0===e.fieldNames.length)&&(!(!e.hasOwnProperty("limit")||"number"!=typeof e.limit)&&!(e.hasOwnProperty("orderby")&&!Object(i.e)(e.orderby))))}))}},,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.149 7.96l-5.166 5.166a.344.344 0 00-.094.176l-.35 1.755a.344.344 0 00.404.404l1.755-.35a.344.344 0 00.175-.095l5.166-5.165-1.89-1.89zm2.301-1.814a1.031 1.031 0 00-1.458 0L6.497 12.64a1.031 1.031 0 00-.282.527l-.35 1.755a1.031 1.031 0 001.213 1.213l1.754-.35c.2-.04.383-.139.527-.283l6.495-6.494a1.031 1.031 0 000-1.459L14.45 6.146z"}),c=r.createElement("path",{d:"M12.149 7.96l.117-.116a.165.165 0 00-.234 0l.117.117zm-5.166 5.166l-.116-.116.116.116zm-.094.176l.162.033-.162-.033zm-.35 1.755l.161.032-.162-.032zm.404.404l.032.162-.032-.162zm1.755-.35l.032.161-.032-.162zm.175-.095l.117.117-.117-.117zm5.166-5.165l.116.116a.165.165 0 000-.233l-.116.117zm-1.047-3.705l.116.116-.116-.116zm1.458 0l-.116.116.116-.116zM6.497 12.64l.117.117-.117-.117zm-.282.527l-.162-.032.162.032zm-.35 1.755l.161.032-.162-.032zm1.213 1.213l-.033-.162.033.162zm1.754-.35l.033.161-.033-.162zm.527-.283l.117.117-.117-.117zm6.495-6.494l-.117-.117.117.117zm0-1.459l.117-.116-.117.116zm-3.822.295L6.867 13.01l.233.233 5.166-5.165-.234-.234zM6.867 13.01a.509.509 0 00-.14.26l.324.065a.18.18 0 01.05-.092l-.234-.233zm-.14.26l-.35 1.754.323.065.351-1.755-.323-.064zm-.35 1.754a.509.509 0 00.598.599l-.064-.324a.179.179 0 01-.21-.21l-.324-.065zm.598.599l1.755-.35-.065-.325-1.754.351.064.324zm1.755-.35a.508.508 0 00.26-.14l-.233-.233a.18.18 0 01-.092.048l.065.324zm.26-.14l5.165-5.166-.233-.233L8.757 14.9l.233.233zm3.042-7.055l1.89 1.89.233-.234-1.89-1.89-.233.234zm1.076-1.816a.866.866 0 011.226 0l.233-.233a1.196 1.196 0 00-1.692 0l.233.233zm-6.494 6.495l6.494-6.495-.233-.233-6.494 6.495.233.233zm-.237.443a.866.866 0 01.237-.443l-.233-.233c-.167.167-.281.38-.328.61l.324.066zm-.35 1.754l.35-1.754-.324-.065-.35 1.755.323.064zm1.018 1.02a.866.866 0 01-1.019-1.02l-.323-.065a1.196 1.196 0 001.407 1.408l-.065-.324zm1.755-.351l-1.755.35.065.324 1.755-.35-.065-.324zm.443-.237a.866.866 0 01-.443.237l.065.323c.231-.046.444-.16.611-.327l-.233-.233zm6.494-6.495l-6.494 6.495.233.233 6.495-6.494-.234-.234zm0-1.225a.866.866 0 010 1.225l.234.234a1.196 1.196 0 000-1.692l-.234.233zm-1.403-1.404l1.403 1.404.234-.233-1.404-1.404-.233.233z"});t.a=function SvgPencilAlt(e){return r.createElement("svg",i({viewBox:"0 0 22 22",fill:"currentColor"},e),a,c)}},,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M7.334 11.333h1.333v-4H7.334v4zM8.001 6a.658.658 0 00.667-.667.605.605 0 00-.2-.467.605.605 0 00-.467-.2.658.658 0 00-.667.667c0 .189.061.35.183.483A.69.69 0 008.001 6zm0 8.666a6.583 6.583 0 01-2.6-.516 6.85 6.85 0 01-2.117-1.434A6.85 6.85 0 011.851 10.6 6.582 6.582 0 011.334 8c0-.923.172-1.79.517-2.6a6.85 6.85 0 011.433-2.117c.6-.6 1.306-1.072 2.117-1.417A6.404 6.404 0 018 1.333c.922 0 1.789.178 2.6.533a6.618 6.618 0 012.116 1.417c.6.6 1.072 1.306 1.417 2.117.355.81.533 1.677.533 2.6 0 .922-.178 1.789-.533 2.6a6.619 6.619 0 01-1.417 2.116 6.85 6.85 0 01-2.116 1.434 6.583 6.583 0 01-2.6.516zm0-1.333c1.489 0 2.75-.517 3.783-1.55s1.55-2.294 1.55-3.783c0-1.49-.517-2.75-1.55-3.784-1.033-1.033-2.294-1.55-3.783-1.55-1.49 0-2.75.517-3.784 1.55C3.184 5.25 2.667 6.511 2.667 8c0 1.489.517 2.75 1.55 3.783 1.034 1.033 2.295 1.55 3.784 1.55z",fill:"#108080"});t.a=function SvgInfoGreen(e){return r.createElement("svg",i({viewBox:"0 0 16 16",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UserMenu}));var i=n(5),a=n.n(i),c=n(16),o=n.n(c),l=n(15),s=n.n(l),u=n(217),d=n(0),g=n(2),f=n(56),m=n(3),p=n(10),h=n(114),v=n(8),b=n(41),E=n(76),_=n(279),O=n(234),y=n(280),k=n(281),j=n(28),S=n(14),w=n(6),x=n(32),C=n(9),A=n(129),N=n(18);function UserMenu(){var t=Object(m.useSelect)((function(e){return e(S.c).getProxyPermissionsURL()})),n=Object(m.useSelect)((function(e){return e(w.a).getEmail()})),i=Object(m.useSelect)((function(e){return e(w.a).getPicture()})),c=Object(m.useSelect)((function(e){return e(w.a).getFullName()})),l=Object(m.useSelect)((function(e){return e(S.c).getAdminURL("googlesitekit-splash",{googlesitekit_context:"revoked"})})),T=Object(m.useSelect)((function(e){return e(j.a).getValue(C.d,"isAutoCreatingCustomDimensionsForAudience")})),D=Object(d.useState)(!1),M=s()(D,2),R=M[0],B=M[1],I=Object(d.useState)(!1),P=s()(I,2),F=P[0],L=P[1],z=Object(d.useRef)(),V=Object(d.useRef)(),W=Object(N.a)(),G=Object(m.useDispatch)(x.a).navigateTo;Object(u.a)(z,(function(){return L(!1)})),Object(A.a)([f.c,f.f],z,(function(){var e;L(!1),null===(e=V.current)||void 0===e||e.focus()})),Object(d.useEffect)((function(){var t=function(e){f.c===e.keyCode&&(B(!1),L(!1))};return e.addEventListener("keyup",t),function(){e.removeEventListener("keyup",t)}}),[]);var U,H=Object(d.useCallback)((function(){F||Object(v.J)("".concat(W,"_headerbar"),"open_usermenu"),L(!F)}),[F,W]),q=Object(d.useCallback)((function(){B(!R),L(!1)}),[R]),K=Object(d.useCallback)(function(){var e=o()(a.a.mark((function e(n,r){var i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=r.detail.item,e.t0=null==i?void 0:i.id,e.next="manage-sites"===e.t0?4:"disconnect"===e.t0?9:11;break;case 4:if(!t){e.next=8;break}return e.next=7,Object(v.J)("".concat(W,"_headerbar_usermenu"),"manage_sites");case 7:G(t);case 8:return e.abrupt("break",12);case 9:return q(),e.abrupt("break",12);case 11:H();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[t,H,q,G,W]),J=Object(d.useCallback)(o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return B(!1),e.next=3,Object(b.b)();case 3:return e.next=5,Object(v.J)("".concat(W,"_headerbar_usermenu"),"disconnect_user");case 5:G(l);case 6:case"end":return e.stop()}}),e)}))),[l,G,W]);return n?(c&&n&&(U=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name 2: User's email address. */ Object(g.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),c,n)),c&&!n&&(U=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name. */ Object(g.__)("Google Account for %1$s","google-site-kit"),c)),!c&&n&&(U=Object(g.sprintf)( /* translators: Account info text. 1: User's email address. */ Object(g.__)("Google Account (Email: %1$s)","google-site-kit"),n)),r.createElement(d.Fragment,null,r.createElement("div",{ref:z,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},r.createElement(p.Button,{disabled:T,ref:V,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",text:!0,onClick:H,icon:!!i&&r.createElement("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true"},r.createElement("img",{className:"mdc-button__icon--image",src:i,alt:Object(g.__)("User Avatar","google-site-kit")})),"aria-haspopup":"menu","aria-expanded":F,"aria-controls":"user-menu","aria-label":T?void 0:Object(g.__)("Account","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500,customizedTooltip:T?null:r.createElement("span",{"aria-label":U},r.createElement("strong",null,Object(g.__)("Google Account","google-site-kit")),r.createElement("br",null),r.createElement("br",null),c,c&&r.createElement("br",null),n)}),r.createElement(p.Menu,{className:"googlesitekit-user-menu",menuOpen:F,onSelected:K,id:"user-menu"},r.createElement("li",null,r.createElement(_.a,null)),!!t&&r.createElement("li",{id:"manage-sites",className:"mdc-list-item",role:"menuitem"},r.createElement(O.a,{icon:r.createElement(k.a,{width:"22"}),label:Object(g.__)("Manage Sites","google-site-kit")})),r.createElement("li",{id:"disconnect",className:"mdc-list-item",role:"menuitem"},r.createElement(O.a,{icon:r.createElement(y.a,{width:"22"}),label:Object(g.__)("Disconnect","google-site-kit")})))),r.createElement(E.a,null,r.createElement(h.a,{dialogActive:R,handleConfirm:J,handleDialog:q,title:Object(g.__)("Disconnect","google-site-kit"),subtitle:Object(g.__)("Disconnecting Site Kit by Google will remove your access to all services. After disconnecting, you will need to re-authorize to restore service.","google-site-kit"),confirmButton:Object(g.__)("Disconnect","google-site-kit"),danger:!0,small:!0})))):null}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Details}));var r=n(2),i=n(3),a=n(6);function Details(){var t=Object(i.useSelect)((function(e){return e(a.a).getPicture()})),n=Object(i.useSelect)((function(e){return e(a.a).getFullName()})),c=Object(i.useSelect)((function(e){return e(a.a).getEmail()}));return e.createElement("div",{className:"googlesitekit-user-menu__details","aria-label":Object(r.__)("Google account","google-site-kit")},!!t&&e.createElement("img",{className:"googlesitekit-user-menu__details-avatar",src:t,alt:""}),e.createElement("div",{className:"googlesitekit-user-menu__details-info"},e.createElement("p",{className:"googlesitekit-user-menu__details-info__name"},n),e.createElement("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":Object(r.__)("Email","google-site-kit")},c)))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M6.83 2H20a2 2 0 012 2v12c0 .34-.09.66-.23.94L20 15.17V6h-9.17l-4-4zm13.66 19.31L17.17 18H4a2 2 0 01-2-2V4c0-.34.08-.66.23-.94L.69 1.51 2.1.1l19.8 19.8-1.41 1.41zM15.17 16l-10-10H4v10h11.17z",fill:"#6C726E"});t.a=function SvgDisconnect(e){return r.createElement("svg",i({viewBox:"0 0 22 22",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M20 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h18v12zm-2-9H7v2h11V5zm0 4H7v2h11V9zM6 5H4v2h2V5zm0 4H4v2h2V9z",fill:"#6C726E"});t.a=function SvgManageSites(e){return r.createElement("svg",i({viewBox:"0 0 22 18",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return ErrorNotifications}));var i=n(0),a=n(2),c=n(3),o=n(283),l=n(284),s=n(6),u=n(14),d=n(28),g=n(65),f=n(180),m=n(60);function ErrorNotifications(){var t,n=Object(c.useSelect)((function(e){return e(s.a).isAuthenticated()})),p=Object(c.useSelect)((function(e){return e(u.c).getSetupErrorCode()})),h=Object(c.useSelect)((function(e){return e(u.c).getSetupErrorMessage()})),v=Object(c.useSelect)((function(e){return e(d.a).getValue(s.d,"permissionsError")})),b=Object(c.useSelect)((function(t){var r,i;return(null==v?void 0:v.data)?t(s.a).getConnectURL({additionalScopes:null==v||null===(r=v.data)||void 0===r?void 0:r.scopes,redirectURL:(null==v||null===(i=v.data)||void 0===i?void 0:i.redirectURL)||e.location.href}):"access_denied"===p&&!(null==v?void 0:v.data)&&n?null:t(u.c).getSetupErrorRedoURL()})),E=Object(c.useSelect)((function(e){return e(u.c).getErrorTroubleshootingLinkURL({code:p})})),_=Object(a.__)("Error connecting Site Kit","google-site-kit"),O=Object(a.__)("Redo the plugin setup","google-site-kit");return"access_denied"===p&&(_=Object(a.__)("Permissions Error","google-site-kit"),(null==v?void 0:v.data)?O=Object(a.__)("Grant permission","google-site-kit"):!(null==v?void 0:v.data)&&n&&(O=null)),(null==v||null===(t=v.data)||void 0===t?void 0:t.skipDefaultErrorNotifications)?null:r.createElement(i.Fragment,null,r.createElement(l.a,null),r.createElement(o.a,null),h&&r.createElement(g.b,{id:"setup_error",type:"win-error",title:_,description:h,isDismissible:!1,ctaLink:b,ctaLabel:O,learnMoreLabel:Object(a.__)("Get help","google-site-kit"),learnMoreURL:E}),r.createElement(f.a,{areaSlug:m.b.ERRORS}))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AuthError}));var r=n(2),i=n(3),a=n(6),c=n(65);function AuthError(){var t=Object(i.useSelect)((function(e){return e(a.a).getAuthError()}));return t?e.createElement(c.b,{id:"autherror",title:Object(r.__)("Site Kit can’t access necessary data","google-site-kit"),description:t.message,ctaLink:t.data.reconnectURL,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit")}):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(3),i=n(14),a=n(65);function InternalServerError(){var t=Object(r.useSelect)((function(e){return e(i.c).getInternalServerError()}));return t?e.createElement(a.b,t):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l}));var r=n(21),i=n.n(r),a=n(57),c=n.n(a),o=n(286),l=c()((function(e){return{id:e,Notification:s(e)(o.a)}}));function s(t){return function(n){function WithNotificationID(r){return e.createElement(n,i()({},r,{id:t}))}return WithNotificationID.displayName="WithNotificationID",(n.displayName||n.name)&&(WithNotificationID.displayName+="(".concat(n.displayName||n.name,")")),WithNotificationID}}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notification}));var r=n(15),i=n.n(r),a=n(1),c=n.n(a),o=n(0),l=n(287),s=n(170),u=n(120);function Notification(t){var n=t.id,r=t.className,a=t.gaTrackingEventArgs,c=t.children,d=Object(o.useRef)(),g=Object(s.a)(n),f=Object(u.a)(n),m=Object(o.useState)(!1),p=i()(m,2),h=p[0],v=p[1];return Object(o.useEffect)((function(){!h&&g&&(f.view(null==a?void 0:a.label,null==a?void 0:a.value),v(!0))}),[g,f,h,a]),e.createElement("section",{id:n,ref:d,className:r},c,!g&&e.createElement(l.a,{id:n,observeRef:d,threshold:.5}))}Notification.propTypes={id:c.a.string,className:c.a.string,gaTrackingEventArgs:c.a.shape({label:c.a.string,value:c.a.string}),children:c.a.node}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return ViewedStateObserver}));var r=n(1),i=n.n(r),a=n(0),c=n(3),o=n(24),l=n(252),s=n(170);function ViewedStateObserver(e){var t=e.id,n=e.observeRef,r=e.threshold,i=Object(l.a)(n,{threshold:r}),u=Object(c.useDispatch)(o.b).setValue,d=!!(null==i?void 0:i.isIntersecting),g=Object(s.a)(t);return Object(a.useEffect)((function(){!g&&d&&u(s.a.getKey(t),!0)}),[g,d,u,t]),null}ViewedStateObserver.propTypes={id:i.a.string,observeRef:i.a.object,threshold:i.a.number}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(3),i=n(6),a=n(35),c=n(178),o=n(289);function DashboardNavigation(){var t=Object(a.a)(),n=Object(r.useSelect)((function(e){return t?e(i.a).getViewableModules():null})),l=Object(r.useSelect)((function(e){return e(i.a).getKeyMetrics()}));return e.createElement(c.a,{loading:void 0===n||void 0===l,width:"100%",smallHeight:"59px",height:"71px"},e.createElement(o.a,null))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var i=n(27),a=n.n(i),c=n(15),o=n.n(c),l=n(12),s=n.n(l),u=n(13),d=n(91),g=n(156),f=n(0),m=n(2),p=n(3),h=n(290),v=n(291),b=n(292),E=n(293),_=n(294),O=n(22),y=n(6),k=n(46),j=n(24),S=n(73),w=n(52),x=n(25),C=n(89),A=n(8),N=n(18),T=n(35);function D(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){o=!0,a=e},f:function(){try{c||null==n.return||n.return()}finally{if(o)throw a}}}}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Navigation(){var t,n=Object(w.c)(),i=Object(f.useRef)(),c=Object(x.e)(),l=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),M=Object(f.useState)(l),R=o()(M,2),B=R[0],I=R[1],P=Object(f.useState)(l||void 0),F=o()(P,2),L=F[0],z=F[1],V=Object(f.useState)(!1),W=o()(V,2),G=W[0],U=W[1],H=Object(N.a)(),q=Object(T.a)(),K=Object(p.useDispatch)(j.b).setValue,J=Object(p.useSelect)((function(e){return q?e(y.a).getViewableModules():null})),Y=Object(p.useSelect)((function(e){return e(y.a).isKeyMetricsWidgetHidden()})),X={modules:J||void 0},$=Object(p.useSelect)((function(e){return n===w.b&&!0!==Y&&e(k.a).isWidgetContextActive(S.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,X)})),Q=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_TRAFFIC:S.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,X)})),Z=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_CONTENT:S.CONTEXT_ENTITY_DASHBOARD_CONTENT,X)})),ee=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_SPEED:S.CONTEXT_ENTITY_DASHBOARD_SPEED,X)})),te=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_MONETIZATION:S.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,X)})),ne=Object(f.useCallback)((function(){return $?O.b:q?Q?O.e:Z?O.a:ee?O.d:te?O.c:"":O.e}),[$,Q,Z,ee,te,q]),re=Object(f.useCallback)((function(t){var n,r=t.target.closest(".mdc-chip"),i=null==r||null===(n=r.dataset)||void 0===n?void 0:n.contextId;e.history.replaceState({},"","#".concat(i)),z(i),Object(A.J)("".concat(H,"_navigation"),"tab_select",i),e.scrollTo({top:i!==ne()?Object(C.a)("#".concat(i),c):0,behavior:"smooth"}),setTimeout((function(){K(j.a,i)}),50)}),[c,H,K,ne]);return Object(d.a)((function(){var t=ne();if(!l)return I(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=l;(function(e){return!(!$||e!==O.b)||(!(!Q||e!==O.e)||(!(!Z||e!==O.a)||(!(!ee||e!==O.d)||!(!te||e!==O.c))))})(n)||(n=t),K(j.a,n),I(n),setTimeout((function(){var r=n!==t?Object(C.a)("#".concat(n),c):0;e.scrollY!==r?e.scrollTo({top:r,behavior:"smooth"}):K(j.a,void 0)}),50)})),Object(f.useEffect)((function(){var t=function(e){K(j.a,void 0),I(e),z(void 0)},n=Object(u.throttle)((function(n){var r,c,o,l,s=e.scrollY,u=null===(r=document.querySelector(".googlesitekit-entity-header"))||void 0===r||null===(c=r.getBoundingClientRect())||void 0===c?void 0:c.bottom,d=null==i||null===(o=i.current)||void 0===o?void 0:o.getBoundingClientRect(),g=d.bottom,f=d.top,m=[].concat(a()($?[O.b]:[]),a()(Q?[O.e]:[]),a()(Z?[O.a]:[]),a()(ee?[O.d]:[]),a()(te?[O.c]:[])),p=ne();if(0===s)U(!1);else{var h,v=null===(h=document.querySelector(".googlesitekit-header"))||void 0===h?void 0:h.getBoundingClientRect().bottom;U(f===v)}var b,E=D(m);try{for(E.s();!(b=E.n()).done;){var _=b.value,y=document.getElementById(_);if(y){var k=y.getBoundingClientRect().top-20-(u||g||0);k<0&&(void 0===l||l<k)&&(l=k,p=_)}}}catch(e){E.e(e)}finally{E.f()}if(L)L===p&&t(p);else{var j=e.location.hash;p!==(null==j?void 0:j.substring(1))&&(n&&Object(A.J)("".concat(H,"_navigation"),"tab_scroll",p),e.history.replaceState({},"","#".concat(p)),t(p))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[L,$,Q,Z,ee,te,H,K,ne]),r.createElement("nav",{className:s()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":G}),ref:i},$&&r.createElement(g.Chip,{id:O.b,label:Object(m.__)("Key metrics","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"18",height:"16"}),onClick:re,selected:B===O.b,"data-context-id":O.b}),Q&&r.createElement(g.Chip,{id:O.e,label:Object(m.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"16"}),onClick:re,selected:B===O.e,"data-context-id":O.e}),Z&&r.createElement(g.Chip,{id:O.a,label:Object(m.__)("Content","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"18"}),onClick:re,selected:B===O.a,"data-context-id":O.a}),ee&&r.createElement(g.Chip,{id:O.d,label:Object(m.__)("Speed","google-site-kit"),leadingIcon:r.createElement(E.a,{width:"20",height:"16"}),onClick:re,selected:B===O.d,"data-context-id":O.d}),te&&r.createElement(g.Chip,{id:O.c,label:Object(m.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"18",height:"16"}),onClick:re,selected:B===O.c,"data-context-id":O.c}))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("rect",{x:.5,width:5,height:5,rx:1,fill:"currentColor"}),c=r.createElement("rect",{x:7.5,width:5,height:5,rx:1,fill:"currentColor"}),o=r.createElement("rect",{x:.5,y:7,width:5,height:5,rx:1,fill:"currentColor"}),l=r.createElement("rect",{x:7.5,y:7,width:5,height:5,rx:1,fill:"currentColor"});t.a=function SvgNavKeyMetricsIcon(e){return r.createElement("svg",i({viewBox:"0 0 13 12",fill:"none"},e),a,c,o,l)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return r.createElement("svg",i({viewBox:"0 0 18 16",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return r.createElement("svg",i({viewBox:"0 0 18 18",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),c=r.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return r.createElement("svg",i({viewBox:"0 0 20 16",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return r.createElement("svg",i({viewBox:"0 0 23 12",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e,r){var i=n(15),a=n.n(i),c=n(13),o=n(2),l=n(0),s=n(3),u=n(10),d=n(14),g=n(296),f=n(32),m=n(20),p=n(83),h=n(8),v=n(52),b=n(18);t.a=function EntityHeader(){var t=Object(b.a)(),n=Object(v.c)(),i=Object(s.useSelect)((function(e){return e(d.c).getCurrentEntityTitle()})),E=Object(s.useSelect)((function(e){return e(d.c).getCurrentEntityURL()})),_=Object(l.useRef)(),O=Object(l.useState)(E),y=a()(O,2),k=y[0],j=y[1];Object(l.useEffect)((function(){var t=function(){if(_.current){var t=_.current.clientWidth-40,n=e.getComputedStyle(_.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);j(Object(p.d)(E,r))}},n=Object(c.throttle)(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[E,_,j]);var S=Object(s.useDispatch)(f.a).navigateTo,w=Object(s.useSelect)((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),x=Object(l.useCallback)((function(){Object(h.J)("".concat(t,"_navigation"),"return_to_dashboard"),S(w)}),[w,S,t]);return v.a!==n||null===E||null===i?null:r.createElement("div",{className:"googlesitekit-entity-header"},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(u.Button,{icon:r.createElement(g.a,{width:24,height:24}),"aria-label":Object(o.__)("Back to dashboard","google-site-kit"),onClick:x,text:!0,tertiary:!0},Object(o.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:_,className:"googlesitekit-entity-header__details"},r.createElement("p",null,i),r.createElement(m.a,{secondary:!0,href:E,"aria-label":E,external:!0},k)))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),c=r.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z",fill:"currentColor"});t.a=function SvgKeyboardBackspace(e){return r.createElement("svg",i({viewBox:"0 0 24 24"},e),a,c)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var r=n(15),i=n.n(r),a=n(217),c=n(12),o=n.n(c),l=n(0),s=n(2),u=n(56),d=n(10),g=n(18),f=n(129),m=n(8),p=n(298),h=n(299),v=n(300),b=n(302),E=n(3),_=n(6);function ViewOnlyMenu(){var t=Object(l.useState)(!1),n=i()(t,2),r=n[0],c=n[1],O=Object(l.useRef)(),y=Object(g.a)();Object(a.a)(O,(function(){return c(!1)})),Object(f.a)([u.c,u.f],O,(function(){return c(!1)}));var k=Object(l.useCallback)((function(){r||Object(m.J)("".concat(y,"_headerbar"),"open_viewonly"),c(!r)}),[r,y]),j=Object(E.useSelect)((function(e){return e(_.a).hasCapability(_.H)}));return e.createElement("div",{ref:O,className:o()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":j})},e.createElement(d.Button,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:k,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(p.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":r,"aria-controls":"view-only-menu","aria-label":Object(s.__)("View only","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500},Object(s.__)("View only","google-site-kit")),e.createElement(d.Menu,{menuOpen:r,nonInteractive:!0,onSelected:k,id:"view-only-menu"},e.createElement(h.a,null),e.createElement(v.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(b.a,null)))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return r.createElement("svg",i({viewBox:"0 0 16 10",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(0),l=n(38),s=n(2),u=n(3),d=n(10),g=n(32),f=n(14),m=n(6),p=n(8),h=n(20),v=n(18),b=n(41);function Description(){var t=Object(v.a)(),n=Object(u.useSelect)((function(e){return e(m.a).hasCapability(m.H)})),r=Object(u.useSelect)((function(e){return e(f.c).getProxySetupURL()})),a=Object(u.useSelect)((function(e){return e(f.c).getDocumentationLinkURL("dashboard-sharing")})),E=Object(u.useDispatch)(g.a).navigateTo,_=Object(o.useCallback)(function(){var e=c()(i.a.mark((function e(n){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Promise.all([Object(b.f)("start_user_setup",!0),Object(p.J)("".concat(t,"_headerbar_viewonly"),"start_user_setup",r?"proxy":"custom-oauth")]);case 3:E(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,E,t]),O=Object(o.useCallback)((function(){Object(p.J)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),y=n?Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(h.a,{href:a,external:!0,onClick:O,"aria-label":Object(s.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,y),n&&e.createElement(d.Button,{onClick:_},Object(s.__)("Sign in with Google","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var r=n(2),i=n(3),a=n(6),c=n(301);function SharedServices(){var t=Object(i.useSelect)((function(e){return e(a.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(r.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(c.a,{key:t,module:t})}))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var r=n(1),i=n.n(r),a=n(38),c=n(2),o=n(3),l=n(19),s=n(6);function Service(t){var n=t.module,r=Object(o.useSelect)((function(e){return e(s.a).hasCapability(s.H)})),i=Object(o.useSelect)((function(e){return e(l.a).getModule(n)||{}})),u=i.name,d=i.owner,g=Object(o.useSelect)((function(e){return e(l.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(g,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},u),r&&(null==d?void 0:d.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(a.a)(Object(c.sprintf)( /* translators: %s: module owner Google Account email address */ Object(c.__)("Shared by <strong>%s</strong>","google-site-kit"),d.login),{strong:e.createElement("strong",{title:d.login})})))}Service.propTypes={module:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(38),i=n(2),a=n(218),c=n(18);function Tracking(){var t=Object(c.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(i.__)("Thanks for using Site Kit!<br />Help us make it even better","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(a.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly"),alignCheckboxLeft:!0}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupErrorNotification}));var r=n(2),i=n(3),a=n(65),c=n(14),o=n(28),l=n(6);function SetupErrorNotification(){var t=Object(i.useSelect)((function(e){return e(c.c).getSetupErrorMessage()})),n=Object(i.useSelect)((function(e){return e(c.c).getSetupErrorRedoURL()})),s=Object(i.useSelect)((function(e){return e(o.a).getValue(l.d,"permissionsError")||{}})).data;return!t||(null==s?void 0:s.skipDefaultErrorNotifications)?null:e.createElement(a.b,{id:"setup_error",type:"win-error",title:Object(r.__)("Oops! There was a problem during set up. Please try again.","google-site-kit"),description:t,isDismissible:!1,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit"),ctaLink:n})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotifications}));var r=n(180),i=n(60);function SubtleNotifications(){return e.createElement(r.a,{areaSlug:i.b.BANNERS_BELOW_NAV})}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(0),l=n(3),s=n(14),u=n(18),d=n(41),g=n(8),f=function(){var e=Object(u.a)(),t=Object(l.useSelect)((function(e){return e(s.c).isUsingProxy()})),n=Object(l.useSelect)((function(e){return e(s.c).getSetupErrorMessage()}));Object(o.useEffect)((function(){n||void 0===t||function(){var n=c()(i.a.mark((function n(){var r,a;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(d.d)("start_user_setup");case 2:return r=n.sent,n.next=5,Object(d.d)("start_site_setup");case 5:if(a=n.sent,!r.cacheHit){n.next=10;break}return n.next=9,Object(d.c)("start_user_setup");case 9:Object(g.J)("".concat(e,"_setup"),"complete_user_setup",t?"proxy":"custom-oauth");case 10:if(!a.cacheHit){n.next=14;break}return n.next=13,Object(d.c)("start_site_setup");case 13:Object(g.J)("".concat(e,"_setup"),"complete_site_setup",t?"proxy":"custom-oauth");case 14:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}()()}),[e,t,n])}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},,,,,,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(3),c=n(54),o=n(9),l=n(6),s=n(472),u=n(108),d=n(8),g=n(18),f=Object(u.a)(s.a);function NoAudienceBannerWidget(t){var n=t.Widget,r=t.WidgetNull,i=Object(g.a)(),c=Object(a.useSelect)((function(e){var t=e(o.p).getAvailableAudiences();return null==t?void 0:t.map((function(e){return e.name}))})),s=Object(a.useSelect)((function(e){return e(l.a).getConfiguredAudiences()})),u=Object(a.useSelect)((function(e){return e(l.a).didSetAudiences()})),m=null==s?void 0:s.every((function(e){return Array.isArray(c)&&!c.includes(e)}));return s&&(0===(null==s?void 0:s.length)||m)?e.createElement(n,{noPadding:!0},e.createElement(f,{onInView:function(){Object(d.J)("".concat(i,"_audiences-no-audiences"),"view_banner",u?"no-longer-available":"none-selected")}})):e.createElement(r,null)}NoAudienceBannerWidget.propTypes={Widget:i.a.elementType.isRequired,WidgetNull:i.a.elementType.isRequired},t.a=Object(c.a)({moduleName:"analytics-4"})(NoAudienceBannerWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(12),l=n.n(o),s=n(1),u=n.n(s),d=n(387),g=n(0),f=n(2),m=n(17),p=n(314),h=Object(g.forwardRef)((function(t,n){var r=t.children,a=t.href,o=t.text,s=t.className,u=t.danger,h=t.disabled,v=t.target,b=t.icon,E=t.trailingIcon,_=t["aria-label"],O=t.title,y=t.customizedTooltip,k=t.tooltip,j=t.inverse,S=t.hideTooltipTitle,w=void 0!==S&&S,x=t.tooltipEnterDelayInMS,C=void 0===x?100:x,A=t.tertiary,N=void 0!==A&&A,T=t.callout,D=t.calloutStyle,M=c()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","customizedTooltip","tooltip","inverse","hideTooltipTitle","tooltipEnterDelayInMS","tertiary","callout","calloutStyle"]),R=Object(g.useCallback)((function(e){null!==e&&m.i.attachTo(e)}),[]),B=Object(d.a)(n,R),I=a&&!h?"a":"button",P=e.createElement(I,i()({className:l()("mdc-button",s,{"mdc-button--raised":!o&&!N&&!T,"mdc-button--danger":u,"mdc-button--inverse":j,"mdc-button--tertiary":N,"mdc-button--callout":T,"mdc-button--callout-primary":T||"primary"===D,"mdc-button--callout-warning":"warning"===D,"mdc-button--callout-error":"error"===D}),href:h?void 0:a,ref:B,disabled:!!h,"aria-label":function(){var e=_;if("_blank"!==v)return e;var t=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof r&&(e=e||r),e?"".concat(e," ").concat(t):t}(),target:v||"_self",role:"a"===I?"button":void 0},M),b,r&&e.createElement("span",{className:"mdc-button__label"},r),E),F=w?null:O||y||_;return!h&&(k&&F||b&&F&&void 0===r)?e.createElement(p.a,{title:F,enterDelay:C},P):P}));h.displayName="Button",h.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,customizedTooltip:u.a.element,tooltip:u.a.bool,inverse:u.a.bool,hideTooltipTitle:u.a.bool,callout:u.a.bool,calloutStyle:u.a.oneOf(["primary","warning","error"])},h.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null,customizedTooltip:null,tooltip:!1,inverse:!1,calloutStyle:null,callout:null},t.a=h}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tooltip}));var r=n(21),i=n.n(r),a=n(23),c=n.n(a),o=n(1),l=n.n(o),s=n(12),u=n.n(s),d=n(628),g=n(0);function Tooltip(t){var n=t.children,r=t.popperClassName,a=t.tooltipClassName,o=t.onOpen,l=t.onClose,s=c()(t,["children","popperClassName","tooltipClassName","onOpen","onClose"]),f=Object(g.useRef)(!1),m=o?function(){f.current||(f.current=!0,null==o||o())}:void 0,p=o?function(){f.current=!1,null==l||l()}:l;return e.createElement(d.a,i()({classes:{popper:u()("googlesitekit-tooltip-popper",r),tooltip:u()("googlesitekit-tooltip",a)},arrow:!0,onOpen:m,onClose:p},s),n)}Tooltip.propTypes={children:l.a.node,popperClassName:l.a.string,tooltipClassName:l.a.string,onOpen:l.a.func,onClose:l.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GetHelpLink}));var r=n(1),i=n.n(r),a=n(38),c=n(2),o=n(20);function GetHelpLink(t){var n=t.linkURL;return Object(a.a)(Object(c.__)("Contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(o.a,{href:n,external:!0,hideExternalIndicator:!0},Object(c.__)("Get help","google-site-kit"))})}GetHelpLink.propTypes={linkURL:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileNoData}));var r=n(2);function AudienceTileNoData(){return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__no-data"},Object(r.__)("No data to show yet","google-site-kit"))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PartialDataNotice}));var r=n(1),i=n.n(r);function PartialDataNotice(t){var n=t.content;return e.createElement("span",{className:"googlesitekit-audience-segmentation-partial-data-notice"},n)}PartialDataNotice.propTypes={content:i.a.node}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M2.675 72.31a29.248 29.248 0 005.678 8.74c9.451 9.955 23.416 10.799 36.223 8.308a88.838 88.838 0 0035.776-15.752c6.09-4.513 12.104-10.113 20.167-10.363 3.027-.093 6.158.741 8.445 2.71 4.753 4.063 4.668 11.012 8.377 15.829 4.932 6.405 12.026 8.389 19.764 9.128 21.862 2.086 47.902-4.758 62.939-21.412 13.426-14.868 15.038-38.526-1.214-52.08-7.425-6.192-17.606-9.03-27.216-7.584-7.345 1.105-14.801 4.467-22.404 5.401-8.954 1.103-14.49-2.659-21.734-7.04C114.852.58 98.164-2.345 83.874 2.072 70.195 6.301 60.35 17.846 47.04 22.918c-11.502 4.385-25.089 3.717-35.082 10.86C.133 42.228-2.84 59.286 2.675 72.31z",fill:"#B8E6CA"}),c=r.createElement("path",{d:"M108.273 109c54.612 0 98.883-1.735 98.883-3.874 0-2.14-44.271-3.875-98.883-3.875-54.611 0-98.882 1.735-98.882 3.875 0 2.139 44.27 3.874 98.882 3.874z",fill:"#161B18",opacity:.1}),o=r.createElement("path",{d:"M108.273 109c54.612 0 98.883-1.735 98.883-3.874 0-2.14-44.271-3.875-98.883-3.875-54.611 0-98.882 1.735-98.882 3.875 0 2.139 44.27 3.874 98.882 3.874z",fill:"#CBD0D3"}),l=r.createElement("path",{d:"M134.765 53.225c-1.065 16.927-6.936 32.112-3.012 51.193h-4.468M139.814 104.418h-4.47l7.9-51.193",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),s=r.createElement("path",{d:"M120.504 36.651c-3.814 1.73-11.135 5.58-11.135 13.398M147.266 35.787c3.493 1.787 11.06 7.678 11.977 13.225",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),u=r.createElement("path",{d:"M151.555 75.952l-3.102.282-18.926 1.719-11.063 1.002-1.049-24.735-1.825-43.046 34.528-1.262.697 32.058.094 4.316.642 29.565.004.1z",fill:"#77AD8C"}),d=r.createElement("path",{d:"M148.453 76.234l1.78-.162 1.323-.12-1.439-66.042-1.983.091 1.281 63.2-24.976 2.127.862-19.15-7.844-1.074.86 20.438.107 2.465.041.946 11.063-1.002 18.927-1.719-.002.002z",fill:"#5C9271"}),g=r.createElement("path",{d:"M135.891 70.752c.032.916-.392-20.197-.629-27.044-6.628-3.008-13.797-3.559-20.67-1.228l.628 27.043c6.874-2.33 14.043-1.779 20.671 1.23z",fill:"#CBD0D3"}),f=r.createElement("path",{d:"M135.926 70.752c.01.916-.547-20.194-.629-27.044 6.481-3.306 13.617-4.182 20.592-2.166l.629 27.043c-6.975-2.015-14.111-1.139-20.592 2.167z",fill:"#EBEEF0"}),m=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M133.233 60.796c-.083-3.907-.202-9.298-.333-14.96l.196-.005a8403.731 8403.731 0 01.43 19.559l.023 1.18.004.262a.337.337 0 010 .046v.004l-.001.008a.179.179 0 01-.093.083.177.177 0 01-.1-.08l-.002-.007v-.004-.003l-.001-.02h.001v-.025l-.004-.26-.023-1.18-.097-4.598zm.126 6.063a.19.19 0 01.093-.08.19.19 0 01.097.073l-.19.007zm.194.01v-.001.001zM130.917 60.007c-.084-3.912-.203-9.29-.334-14.911l.197-.004a10934.46 10934.46 0 01.432 19.528l.024 1.198.004.271.001.05v.008l-.004.02c-.054.062-.17.035-.189-.002a.054.054 0 01-.003-.015l-.001-.005v-.018-.035l-.005-.27-.024-1.198c-.022-1.071-.055-2.66-.098-4.617zm.129 6.12l.193-.006-.001-.006c-.02-.037-.135-.063-.19-.002a.079.079 0 00-.002.014zM128.613 59.401c-.086-3.923-.206-9.285-.335-14.834l.197-.005a9889.942 9889.942 0 01.459 20.704l.005.284.001.055v.008l-.001.006a.179.179 0 01-.094.087.184.184 0 01-.1-.082l-.001-.007-.001-.017h.001l-.001-.047-.005-.283-.025-1.221-.1-4.648zm.131 6.199l.195-.007a.192.192 0 00-.1-.081.187.187 0 00-.095.086v.002zM126.303 58.977c-.087-3.938-.207-9.284-.334-14.744l.196-.005c.127 5.46.248 10.807.335 14.744l.102 4.688a412.921 412.921 0 01.032 1.545l.001.061v.012l-.001.009c-.005.02-.109.084-.191.017a.156.156 0 01-.004-.02v-.004-.002-.002l-.001-.007h.001v-.001l-.001-.06-.006-.296-.026-1.248-.103-4.688zm.136 6.292l.195-.007a.08.08 0 00-.004-.018c-.081-.066-.186-.003-.19.017l-.001.008zm.196-.002zM124.002 58.73c-.088-3.958-.209-9.292-.334-14.653l.196-.004a14128.617 14128.617 0 01.439 19.391l.028 1.28.006.312.002.068v.015l-.002.014c-.08.078-.19.014-.194-.004l-.001-.007v-.002-.007l.196-.006v-.005c-.005-.018-.114-.082-.194-.004a.157.157 0 00-.002.014v-.006l-.001-.066-.006-.312-.028-1.28-.105-4.738zM121.709 58.698c-.09-3.97-.211-9.281-.333-14.54l.196-.005a15730.945 15730.945 0 01.44 19.316l.029 1.306.006.327.002.074v.021a.191.191 0 01-.021.056.165.165 0 01-.175-.05v-.006l-.001-.004.197-.007-.001-.003a.163.163 0 00-.174-.05.193.193 0 00-.021.056v.003l-.001-.013-.001-.073-.007-.326-.028-1.307-.107-4.775zM119.414 58.855c-.091-3.986-.212-9.28-.332-14.44l.196-.005c.12 5.16.242 10.454.333 14.44l.109 4.818.03 1.336.008.34.001.082.001.017v.006c0 .004-.098.096-.196.009l-.001-.007v-.002l.197-.006-.001-.006c-.098-.087-.196.005-.196.01v.001V65.43l-.002-.081-.007-.34-.03-1.336-.11-4.819zM116.797 44.873l.196-.004.489 21.033h-.01a271.267 271.267 0 01-.186.005l-.489-21.034z",fill:"#CBD0D3"}),p=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M133.317 67.22c-5.153-1.86-10.563-2.237-15.85-.939a.388.388 0 11-.188-.754c5.447-1.338 11.016-.948 16.306.963a.388.388 0 11-.268.73zM133.267 64.222c-5.159-1.867-10.574-2.245-15.866-.946a.388.388 0 11-.189-.754c5.454-1.34 11.027-.947 16.323.97a.387.387 0 01.234.498.392.392 0 01-.502.232zM133.204 61.217c-5.162-1.867-10.576-2.245-15.866-.946a.393.393 0 01-.475-.284.389.389 0 01.287-.47c5.45-1.339 11.023-.946 16.323.97a.388.388 0 01.234.498.393.393 0 01-.503.232zM133.134 58.212c-5.163-1.866-10.576-2.245-15.866-.946a.388.388 0 11-.189-.755c5.451-1.338 11.024-.945 16.323.97a.386.386 0 01.234.499.392.392 0 01-.502.232zM133.071 55.213c-5.163-1.872-10.584-2.252-15.881-.95a.388.388 0 11-.189-.754c5.459-1.342 11.038-.947 16.339.974a.388.388 0 01.234.498.393.393 0 01-.503.232zM133.001 52.208c-5.164-1.87-10.584-2.252-15.882-.95a.389.389 0 11-.188-.755c5.458-1.34 11.038-.945 16.339.975a.388.388 0 11-.269.73z",fill:"#B8BDB9"}),h=r.createElement("path",{d:"M116.886 44.87c5.378-1.32 10.878-.934 16.11.963l.054 2.999c-5.227-1.891-10.721-2.276-16.094-.957l-.07-3.004z",fill:"#B8BDB9"}),v=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M117.284 45.175l.051 2.211c5.118-1.161 10.331-.806 15.312.893l-.039-2.17c-4.989-1.759-10.21-2.127-15.324-.934zm-.494-.68c5.459-1.342 11.038-.948 16.339.974l.253.091.069 3.832-.536-.194c-5.159-1.867-10.574-2.245-15.866-.945l-.475.116-.089-3.8.305-.075z",fill:"#B8BDB9"}),b=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M137.87 60.692a7073.26 7073.26 0 01-.362-14.961l.196-.005a8741.186 8741.186 0 00.48 19.558 754.986 754.986 0 00.04 1.44v.025h.001l.001.02-.001.003v.012a.187.187 0 01-.097.084.178.178 0 01-.097-.08l-.002-.008v-.003l-.002-.046-.008-.262-.032-1.18c-.028-1.06-.068-2.644-.117-4.597zm.352 6.057a.189.189 0 00-.096-.076.184.184 0 00-.093.078l.189-.002zm-.193.018v0zM140.148 59.798c-.098-3.912-.228-9.29-.359-14.91l.196-.005a10306.992 10306.992 0 00.507 20.724l.008.27.001.036h.001v.023a.13.13 0 01-.002.015c-.018.038-.132.07-.189.01l-.005-.02v-.004-.004l-.002-.05a1047.874 1047.874 0 01-.04-1.47c-.027-1.07-.068-2.659-.116-4.615zm.352 6.115l-.003-.014c-.057-.06-.172-.027-.189.01l-.001.006.193-.002zM142.426 59.087c-.097-3.922-.227-9.284-.356-14.834l.197-.004c.129 5.55.258 10.911.355 14.834l.116 4.647.032 1.22.008.284.002.047v.024a.185.185 0 01-.096.086.186.186 0 01-.099-.082l-.001-.006v-.008l-.002-.055a22.176 22.176 0 01-.008-.284l-.032-1.22-.116-4.648zm.353 6.194v-.002a.187.187 0 00-.099-.082.18.18 0 00-.095.086l.194-.002zM144.711 58.559c-.096-3.937-.225-9.283-.352-14.744l.197-.004c.127 5.46.255 10.806.351 14.743l.115 4.688.032 1.247.008.297.002.059v.001h.001V64.857l-.001.004a.121.121 0 01-.003.02c-.078.07-.186.012-.191-.008l-.002-.01v-.004-.007l-.002-.06-.008-.298-.032-1.248-.115-4.687zm.353 6.287l-.001-.008c-.006-.02-.113-.078-.191-.008l-.004.018.196-.002zm-.196.007c0 .001 0 0 0 0z",fill:"#EBEEF0"}),E=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M137.979 66.391c5.195-2.149 10.74-2.792 16.244-1.703a.389.389 0 11-.153.762c-5.342-1.057-10.728-.435-15.789 1.659a.394.394 0 01-.513-.21.388.388 0 01.211-.508zM137.889 63.393c5.201-2.155 10.751-2.8 16.261-1.71a.39.39 0 01.308.457.392.392 0 01-.461.305c-5.348-1.058-10.739-.434-15.806 1.665a.392.392 0 01-.512-.209.387.387 0 01.21-.508zM137.823 60.389c5.2-2.155 10.749-2.8 16.256-1.71a.388.388 0 11-.153.762c-5.345-1.057-10.735-.434-15.801 1.665a.394.394 0 01-.513-.21.388.388 0 01.211-.508zM137.749 57.383c5.2-2.154 10.748-2.8 16.256-1.71a.388.388 0 11-.154.762c-5.344-1.057-10.735-.433-15.8 1.665a.393.393 0 01-.513-.209.388.388 0 01.211-.508zM137.663 54.385c5.206-2.16 10.761-2.807 16.276-1.716a.389.389 0 11-.153.763c-5.352-1.06-10.75-.434-15.821 1.67a.394.394 0 01-.513-.208.388.388 0 01.211-.509zM137.596 51.38c5.206-2.16 10.762-2.808 16.277-1.716a.39.39 0 01.308.457.393.393 0 01-.462.305c-5.352-1.06-10.749-.432-15.82 1.67a.393.393 0 01-.513-.208.387.387 0 01.21-.508zM137.542 48.368c5.201-2.154 10.751-2.8 16.26-1.71a.389.389 0 11-.153.763c-5.346-1.058-10.739-.434-15.805 1.665a.393.393 0 01-.513-.21.388.388 0 01.211-.508zM137.456 45.37c5.206-2.16 10.761-2.808 16.276-1.716a.39.39 0 01.308.457.392.392 0 01-.461.306c-5.353-1.06-10.75-.434-15.821 1.67a.394.394 0 01-.513-.209.388.388 0 01.211-.508z",fill:"#CBD0D3"}),_=r.createElement("path",{d:"M137.608 45.729c5.139-2.133 10.618-2.768 16.049-1.693l.21 9.014c-5.434-1.075-10.91-.439-16.049 1.693l-.21-9.014z",fill:"#CBD0D3"}),O=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M138.005 45.986l.19 8.184c4.901-1.928 10.097-2.52 15.267-1.592l-.191-8.22c-5.162-.96-10.364-.356-15.266 1.628zm-.55-.616c5.206-2.16 10.765-2.807 16.277-1.716a.39.39 0 01.315.372l.21 9.015a.387.387 0 01-.14.307.394.394 0 01-.329.083c-5.352-1.06-10.749-.434-15.82 1.67a.395.395 0 01-.365-.032.387.387 0 01-.178-.317l-.21-9.015a.389.389 0 01.24-.367z",fill:"#CBD0D3"}),y=r.createElement("path",{d:"M159.24 49.011c.761 4.603-4.117 7.506-7.486 6.434M109.37 50.05c.001 4.55 5.159 7.83 8.838 6.226",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),k=r.createElement("path",{d:"M31.757 63.326l-5.175 13.74a22.86 22.86 0 00-.534 1.593c-1.686 5.718-.919 11.872 1.862 17.155l4.678 8.598h-4.473",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),j=r.createElement("path",{d:"M39.988 67.196l.768 37.221",stroke:"#161B18",strokeWidth:1.472,strokeMiterlimit:10,strokeLinecap:"round"}),S=r.createElement("path",{d:"M31.757 63.326a27.536 27.536 0 00-2.058 5.225",stroke:"#1967D2",strokeWidth:2.748,strokeLinejoin:"round"}),w=r.createElement("path",{d:"M47.8 52.642c4.738 2.161 9.71 4.53 10.766 11.237M13.781 61.718c-2.557 3.62-6.986 9.225-5.039 14.72",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),x=r.createElement("path",{d:"M1.535 51.315L54.34 35.316s5.107 29.415-22.04 34.95c-.009 0-18.561 4.185-30.764-18.952z",fill:"#70B2F5"}),C=r.createElement("path",{d:"M1.535 51.315L54.34 35.316s5.107 29.415-22.04 34.95c-.009 0-18.561 4.185-30.764-18.952z",fill:"#77AD8C"}),A=r.createElement("path",{d:"M33.856 67.557S16.353 71.503 4.163 50.519l-2.628.796C13.738 74.452 32.29 70.266 32.29 70.266c10.329-2.105 15.985-7.67 19.032-13.753-3.297 4.975-8.696 9.256-17.466 11.044z",fill:"#5C9271"}),N=r.createElement("path",{d:"M45.22 104.418h-4.47",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),T=r.createElement("path",{d:"M38.095 85.802c.172.861-3.494-19.049-4.776-25.49-6.736-1.845-13.604-1.284-19.746 1.959l4.776 25.49c6.143-3.243 13.01-3.804 19.746-1.96z",fill:"#CBD0D3"}),D=r.createElement("path",{d:"M38.129 85.796c.152.865-3.64-19.022-4.776-25.491 5.62-4.106 12.236-6.013 19.146-5.159l4.776 25.49c-6.91-.853-13.525 1.053-19.146 5.16z",fill:"#EBEEF0"}),M=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.042 76.784c-.683-3.684-1.629-8.766-2.629-14.104l.185-.033A7851.454 7851.454 0 0135.233 82.2a55.731 55.731 0 01.052.29v.011a.174.174 0 01-.075.093.175.175 0 01-.106-.06l-.003-.007v-.003l-.001-.003v-.001a3796.705 3796.705 0 00-1.057-5.736zm1.057 5.717a.18.18 0 01.075-.09c.05.007.09.041.103.055l-.178.035zm.184-.02zM31.73 76.386A9015.12 9015.12 0 0029.11 62.33l.184-.034a9007.929 9007.929 0 013.637 19.54 80.445 80.445 0 01.055.307v.024c-.042.066-.155.058-.18.026a.162.162 0 01-.004-.013l-.001-.006a.528.528 0 01-.004-.016h.001l-.006-.034a4684.226 4684.226 0 00-1.06-5.738zm1.068 5.771l.181-.035a.058.058 0 00-.002-.005c-.024-.032-.137-.04-.178.026l-.001.014zM29.453 76.162c-.687-3.698-1.63-8.753-2.61-13.984l.185-.033a10403.315 10403.315 0 013.636 19.517 66.685 66.685 0 01.058.32v.008l.001.006a.176.176 0 01-.076.096.178.178 0 01-.107-.063l-.002-.006-.003-.016a4941.913 4941.913 0 00-1.082-5.845zm1.083 5.845l.183-.035a.181.181 0 00-.107-.063.176.176 0 00-.076.096v.002zM27.204 76.11c-.69-3.712-1.631-8.752-2.596-13.898l.185-.034a13167.584 13167.584 0 013.687 19.775l.01.057.002.007v.013c0 .02-.09.095-.177.045a.185.185 0 01-.008-.023v-.001-.002l-.002-.007a6801.028 6801.028 0 00-1.1-5.932zm1.101 5.932l.184-.035a.257.257 0 00-.006-.017c-.088-.05-.177.025-.178.045v.007zm.185-.03v-.001zM24.99 76.224c-.695-3.732-1.634-8.76-2.58-13.813l.184-.033a16040.945 16040.945 0 013.637 19.486l.055.294c.005.03.01.052.011.064a.39.39 0 01.003.028c-.063.086-.176.042-.183.025a.13.13 0 01-.002-.006v-.003l-.002-.005.184-.036v-.005c-.008-.016-.12-.06-.184.026V82.254a16.67 16.67 0 00-.066-.357l-.224-1.206-.832-4.467zM22.813 76.54c-.698-3.743-1.634-8.749-2.563-13.706l.185-.034a20172.54 20172.54 0 013.701 19.818l.003.014v.005a.19.19 0 01-.01.057c-.09.047-.172-.018-.174-.022v-.006l-.002-.002.185-.037-.001-.003c-.001-.004-.083-.069-.173-.021a.191.191 0 00-.01.059l-.003-.012-.012-.07a302.24 302.24 0 00-.057-.307l-.23-1.232-.839-4.501zM20.668 77.034l-2.547-13.61.184-.034a29372.29 29372.29 0 013.69 19.733l.015.076.003.017v.005c.001.004-.077.105-.183.038a.117.117 0 01-.001-.006v-.002l.184-.035-.002-.006c-.106-.067-.184.035-.183.038v.002-.002l-.003-.016-.014-.076-.06-.32-.235-1.26-.848-4.542zM16.023 64.202l.185-.034 3.715 19.826-.01.001-.165.03-.01.002-3.715-19.825z",fill:"#CBD0D3"}),R=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.112 82.85c-5.163-.983-10.34-.522-15.14 1.505a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.947-2.089 10.276-2.56 15.576-1.551a.373.373 0 01.298.436.375.375 0 01-.44.295zM34.601 80.02c-5.17-.987-10.35-.527-15.157 1.502a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.953-2.09 10.287-2.561 15.593-1.548a.373.373 0 01.299.436.375.375 0 01-.44.296zM34.078 77.187c-5.173-.986-10.353-.526-15.157 1.501a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.95-2.09 10.283-2.56 15.593-1.547a.373.373 0 11-.141.731zM33.547 74.355c-5.173-.986-10.354-.527-15.157 1.5a.377.377 0 01-.493-.196.371.371 0 01.198-.489c4.95-2.089 10.282-2.559 15.593-1.547a.373.373 0 01.298.436.375.375 0 01-.44.296zM33.023 71.527c-5.175-.991-10.362-.532-15.172 1.5a.377.377 0 01-.493-.197.37.37 0 01.198-.489c4.957-2.093 10.296-2.563 15.609-1.545a.373.373 0 11-.142.73zM32.492 68.695c-5.175-.99-10.362-.532-15.172 1.5a.377.377 0 01-.494-.198.37.37 0 01.198-.488c4.957-2.093 10.297-2.562 15.61-1.546a.373.373 0 11-.142.732z",fill:"#B8BDB9"}),B=r.createElement("path",{d:"M16.109 64.187c4.884-2.062 10.147-2.527 15.39-1.523l.515 2.83c-5.238-1-10.495-.535-15.374 1.525l-.531-2.832z",fill:"#B8BDB9"}),I=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.538 64.414l.39 2.084c4.663-1.872 9.65-2.323 14.625-1.468l-.373-2.047c-4.991-.91-9.988-.47-14.642 1.431zm-.572-.57c4.957-2.093 10.296-2.563 15.609-1.545l.253.048.658 3.614-.538-.102c-5.169-.987-10.35-.527-15.157 1.502l-.43.182-.672-3.582.277-.117z",fill:"#B8BDB9"}),P=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.41 75.985c-.698-3.682-1.656-8.762-2.656-14.1l.185-.033a7931.958 7931.958 0 003.477 18.43 592.343 592.343 0 00.26 1.357l.005.023h.001a.711.711 0 01.004.022v.011a.173.173 0 01-.077.094.175.175 0 01-.105-.06.16.16 0 01-.003-.01 3677.586 3677.586 0 01-1.092-5.733zm1.269 5.677a.182.182 0 00-.102-.057.181.181 0 00-.077.088l.179-.03zm-.18.046v0zM40.426 74.796c-.697-3.687-1.652-8.755-2.645-14.053l.185-.034a9325.56 9325.56 0 003.684 19.53l.049.255.006.034h.001a.53.53 0 01.003.016v.019c-.01.04-.113.087-.176.04a.164.164 0 01-.008-.023l-.001-.004-.01-.046-.049-.256c-.046-.242-.12-.624-.215-1.128a5105.31 5105.31 0 01-.824-4.35zm1.278 5.732a.194.194 0 00-.005-.013c-.063-.047-.166 0-.177.039v.005l.182-.031zM42.474 73.78c-.698-3.697-1.65-8.75-2.63-13.98l.184-.034a10585.806 10585.806 0 003.678 19.51l.05.266.01.044.003.016a.07.07 0 010 .006.176.176 0 01-.077.097.178.178 0 01-.106-.063l-.002-.006a2.407 2.407 0 01-.012-.06l-.051-.266-.219-1.15c-.194-1.023-.48-2.532-.828-4.38zm1.291 5.806v-.001a.178.178 0 00-.106-.063.178.178 0 00-.077.096l.183-.032zM44.553 72.934c-.7-3.71-1.647-8.748-2.612-13.895l.185-.034a13096.468 13096.468 0 003.722 19.768l.011.055v.001l.002.007v.027c-.062.078-.172.039-.181.021a.116.116 0 01-.005-.02l-.011-.056a264.523 264.523 0 01-.277-1.456l-.834-4.418zm1.306 5.895l-.002-.007c-.008-.017-.119-.057-.182.021v.018l.184-.032zm-.184.037z",fill:"#EBEEF0"}),F=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.398 81.36c4.582-2.818 9.729-4.263 15.104-4.064.208.007.37.18.362.386a.374.374 0 01-.389.358c-5.217-.193-10.217 1.208-14.681 3.953a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM38.848 78.537c4.587-2.824 9.738-4.273 15.12-4.073.207.007.369.18.361.386a.374.374 0 01-.389.358c-5.222-.193-10.227 1.211-14.695 3.962a.378.378 0 01-.518-.12.37.37 0 01.12-.513zM38.316 75.705c4.587-2.824 9.737-4.272 15.115-4.073.208.007.37.18.362.386a.374.374 0 01-.389.358c-5.22-.193-10.223 1.211-14.69 3.962a.378.378 0 01-.518-.12.37.37 0 01.12-.513zM37.789 72.873c4.587-2.824 9.736-4.272 15.115-4.073.207.007.37.18.362.386a.374.374 0 01-.389.358c-5.22-.193-10.223 1.211-14.691 3.962a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM37.243 70.05c4.591-2.83 9.747-4.282 15.134-4.082.207.007.37.18.362.386a.374.374 0 01-.39.358c-5.227-.194-10.236 1.213-14.709 3.97a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM36.712 67.216c4.591-2.829 9.747-4.281 15.134-4.08.207.007.369.18.361.385a.374.374 0 01-.389.358c-5.227-.194-10.236 1.214-14.71 3.97a.378.378 0 01-.516-.12.37.37 0 01.12-.513zM36.195 64.376c4.588-2.824 9.74-4.273 15.12-4.074.207.008.37.181.362.386a.374.374 0 01-.39.359c-5.22-.194-10.226 1.21-14.695 3.961a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM35.65 61.552c4.59-2.83 9.747-4.281 15.133-4.081.207.008.37.18.362.386a.374.374 0 01-.39.358c-5.227-.194-10.236 1.213-14.709 3.97a.378.378 0 01-.517-.12.37.37 0 01.12-.513z",fill:"#CBD0D3"}),L=r.createElement("path",{d:"M35.851 61.868c4.532-2.793 9.618-4.222 14.922-4.025l1.592 8.497c-5.307-.198-10.39 1.232-14.922 4.025l-1.592-8.497z",fill:"#CBD0D3"}),z=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.268 62.051l1.446 7.715c4.338-2.565 9.162-3.91 14.197-3.812l-1.452-7.749c-5.032-.127-9.86 1.23-14.191 3.846zm-.615-.5c4.591-2.83 9.75-4.28 15.134-4.08a.375.375 0 01.355.304l1.593 8.497a.37.37 0 01-.085.31.376.376 0 01-.298.13c-5.228-.195-10.237 1.212-14.71 3.97a.378.378 0 01-.568-.25l-1.592-8.496a.37.37 0 01.171-.384z",fill:"#CBD0D3"}),V=r.createElement("path",{d:"M58.565 63.879c.876 5.566-4.736 9.076-8.612 7.78M8.738 76.438c1.616 4.56 7.623 6.458 13.652 0",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),W=r.createElement("path",{d:"M160.68 68.356c.934 6.676 1.531 14.409 0 20.996M171.536 72.568l-3.781 31.849h-4.47",stroke:"#161B18",strokeWidth:1.472,strokeMiterlimit:10,strokeLinecap:"round"}),G=r.createElement("path",{d:"M187.455 104.418h-4.471c.637-10.18 1.817-24.67 1.817-24.67",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),U=r.createElement("path",{d:"M199.766 66.904c2.35 3.645 6.395 13.017 4.381 17.69M161.004 59.99c-3.656 2.734-9.85 8.336-9.904 15.127",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),H=r.createElement("path",{d:"M161.004 59.99c-3.656 2.734-9.85 8.336-9.904 15.127-.045 5.634 4.35 10.804 12.101 6.915",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),q=r.createElement("path",{d:"M188.416 36.69c5.324 1.935 9.926 5.533 12.45 10.684 5.586 11.402.195 27.178-11.38 32.714-10.499 5.032-24.499 1.152-30.83-8.532-6.33-9.683-4.157-23.882 4.792-31.286 6.7-5.538 16.706-6.574 24.968-3.58z",fill:"#77AD8C"}),K=r.createElement("path",{d:"M200.868 47.374a19.785 19.785 0 00-4.03-5.505c.638.885 1.2 1.822 1.68 2.8 5.587 11.402.196 27.177-11.38 32.714-9.081 4.35-20.778 2.028-27.868-4.939 6.584 9.03 20.044 12.517 30.218 7.648 11.568-5.54 16.966-21.316 11.38-32.718z",fill:"#5C9271"}),J=r.createElement("path",{d:"M182.034 67.78c-2.79 3.71-7.987 4.925-11.944.505",stroke:"#161B18",strokeWidth:1.105,strokeMiterlimit:10,strokeLinecap:"round"}),Y=r.createElement("path",{d:"M175.979 96.185c-.089.946 2.303-20.818 2.977-27.89-6.413-3.959-13.71-5.464-21.09-3.967l-2.976 27.888c7.38-1.496 14.677.009 21.089 3.969z",fill:"#CBD0D3"}),X=r.createElement("path",{d:"M176.015 96.189c-.112.943 2.142-20.835 2.976-27.89 7.107-2.55 14.561-2.518 21.463.468l-2.976 27.888c-6.902-2.985-14.356-3.017-21.463-.466z",fill:"#EBEEF0"}),$=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M174.58 85.6c.437-4.028 1.037-9.587 1.66-15.427l.203.022a8024.607 8024.607 0 01-2.178 20.167 469.931 469.931 0 01-.165 1.486l-.006.048-.001.004a.035.035 0 01-.002.008.188.188 0 01-.107.073.193.193 0 01-.093-.094v-.009-.003l.001-.003v-.001l.002-.02h.001l.003-.026.03-.268.135-1.217.517-4.74zm-.683 6.25a.196.196 0 01.106-.07.2.2 0 01.09.089l-.196-.018zm.198.037v-.002.002zM172.305 84.486c.438-4.034 1.035-9.579 1.654-15.376l.203.022a10437.849 10437.849 0 01-2.172 20.136l-.136 1.235-.031.28-.006.05-.001.005-.001.004-.007.02c-.063.057-.179.014-.194-.027l-.001-.015.001-.006.001-.018h.001l.004-.036.032-.28.135-1.234c.121-1.104.3-2.743.518-4.76zm-.688 6.31l.2.019-.001-.006c-.015-.04-.13-.083-.194-.028a.101.101 0 00-.005.015zM170.011 83.561c.437-4.044 1.033-9.574 1.643-15.297l.203.022a10697.615 10697.615 0 01-2.163 20.089l-.138 1.259-.033.292-.007.057-.001.008-.001.007a.196.196 0 01-.109.076.19.19 0 01-.092-.097v-.007l.001-.018h.001l.006-.049.032-.291.138-1.258.52-4.793zm-.696 6.391l.201.019a.192.192 0 00-.091-.097.189.189 0 00-.109.077l-.001.001zM167.698 82.823c.438-4.06 1.03-9.573 1.631-15.204l.202.021a14091.811 14091.811 0 01-2.153 20.038l-.141 1.287-.033.306-.008.063-.001.007v.004a.05.05 0 01-.002.01c-.008.02-.124.072-.199-.008-.001-.008-.002-.019-.001-.021v-.004-.002-.002l.001-.007v-.001l.007-.061.034-.306.14-1.287c.124-1.136.304-2.803.523-4.833zm-.704 6.488l.202.018a.171.171 0 00-.002-.018c-.074-.08-.19-.028-.198-.008l-.002.008zm.202.024zM165.365 82.269c.44-4.083 1.03-9.583 1.62-15.111l.202.021a15535.246 15535.246 0 01-2.146 19.997l-.143 1.319-.035.322-.008.07-.002.015-.004.015c-.092.07-.196-.01-.198-.03v-.01l.001-.006.202.019v-.005c-.002-.02-.106-.1-.198-.03a.088.088 0 00-.004.014v.002l.001-.008.007-.068.036-.322.143-1.319.526-4.885zM163.009 81.934c.44-4.093 1.027-9.57 1.606-14.994l.202.021a31558.74 31558.74 0 01-2.135 19.918l-.146 1.348-.037.336-.008.077-.002.016-.001.006a.204.204 0 01-.029.055.17.17 0 01-.173-.075v-.007l.001-.003.202.019.001-.004c0-.005-.066-.097-.173-.075a.225.225 0 00-.03.055v.003l.001-.012.009-.076.037-.337.145-1.347.53-4.924zM160.626 81.796c.441-4.111 1.025-9.57 1.593-14.891l.203.02c-.568 5.322-1.153 10.781-1.593 14.892l-.533 4.968-.148 1.378-.038.35a8.768 8.768 0 01-.009.084l-.002.018-.001.006c0 .004-.113.086-.202-.016V88.596l.203.02v-.007c-.089-.102-.202-.02-.202-.016l-.001.002.001-.002.001-.017a8.44 8.44 0 00.009-.084l.038-.35.148-1.378.533-4.968zM159.809 67.077l.202.02-2.315 21.692h-.01l-.182-.02h-.01l2.315-21.692z",fill:"#CBD0D3"}),Q=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M173.801 92.217c-5.049-2.588-10.56-3.683-16.171-3.04a.406.406 0 01-.45-.354.405.405 0 01.358-.447c5.78-.662 11.454.468 16.637 3.125a.401.401 0 01.174.543.408.408 0 01-.548.173zM174.149 89.126c-5.054-2.595-10.57-3.692-16.187-3.048a.406.406 0 01-.45-.354.405.405 0 01.358-.447c5.787-.663 11.465.47 16.654 3.134a.401.401 0 01.173.543.408.408 0 01-.548.172zM174.49 86.028c-5.059-2.594-10.575-3.691-16.188-3.048a.405.405 0 01-.45-.354.405.405 0 01.358-.447c5.783-.662 11.461.47 16.653 3.134a.4.4 0 01.174.543.407.407 0 01-.547.172zM174.822 82.93c-5.059-2.595-10.575-3.692-16.188-3.049a.405.405 0 01-.45-.354.405.405 0 01.358-.446c5.783-.663 11.461.47 16.653 3.133a.4.4 0 01.174.543.407.407 0 01-.547.173zM175.157 79.838c-5.059-2.6-10.581-3.7-16.202-3.055a.404.404 0 11-.093-.8c5.792-.665 11.476.47 16.669 3.14a.4.4 0 01.174.543.409.409 0 01-.548.172zM175.485 76.739c-5.059-2.6-10.581-3.7-16.202-3.056a.404.404 0 11-.093-.8c5.792-.665 11.476.472 16.67 3.14a.401.401 0 01.173.543.408.408 0 01-.548.173z",fill:"#B8BDB9"}),Z=r.createElement("path",{d:"M159.902 67.086c5.707-.655 11.31.463 16.436 3.098l-.346 3.09c-5.121-2.628-10.719-3.743-16.42-3.09l.33-3.098z",fill:"#B8BDB9"}),ee=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M160.27 67.451l-.243 2.28c5.417-.524 10.73.523 15.624 2.922l.251-2.237c-4.894-2.461-10.214-3.522-15.632-2.965zm-.416-.765c5.792-.665 11.476.47 16.67 3.14l.247.127-.442 3.949-.526-.27c-5.054-2.594-10.571-3.691-16.187-3.047l-.504.057.419-3.919.323-.037z",fill:"#B8BDB9"}),te=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M179.36 86.1c.423-4.031 1.009-9.591 1.632-15.431l.203.021c-.623 5.84-1.21 11.4-1.632 15.43-.211 2.015-.382 3.648-.495 4.742l-.125 1.218-.027.269-.002.025h.001a.222.222 0 01-.003.02l-.001.004v.004a.035.035 0 01-.002.008.191.191 0 01-.11.074.188.188 0 01-.09-.094v-.01-.002l.004-.049.027-.27.125-1.217.495-4.743zm-.449 6.274a.193.193 0 00-.088-.09.197.197 0 00-.107.067l.195.023zm-.201-.007v0zM181.821 85.478c.424-4.035 1.01-9.582 1.628-15.378l.203.02a9452.743 9452.743 0 00-2.255 21.376l-.029.28a.595.595 0 01-.003.036h.001a.189.189 0 01-.003.018l-.001.006-.004.015c-.023.037-.145.055-.195-.013-.002-.008-.002-.02-.002-.022v-.004-.004l.005-.052.028-.28.128-1.236.499-4.762zm-.457 6.334a.084.084 0 00-.002-.015c-.051-.068-.172-.05-.196-.013l-.001.005.199.023zM184.261 85.046c.426-4.045 1.011-9.576 1.622-15.299l.202.021c-.61 5.723-1.195 11.254-1.621 15.3-.213 2.022-.387 3.674-.503 4.793l-.131 1.26-.03.291-.005.05h.001l-.002.017a.024.024 0 01-.002.006.19.19 0 01-.11.077.198.198 0 01-.091-.097l.001-.007v-.008l.005-.057.03-.293.131-1.26.503-4.794zm-.466 6.415v-.002a.189.189 0 00-.09-.097.193.193 0 00-.11.076l.2.023zM186.679 84.801c.429-4.06 1.013-9.574 1.614-15.205l.202.02a14313.317 14313.317 0 00-2.288 21.634l-.007.061v.001h.001l-.001.008v.002l-.001.002v.003l-.006.021c-.09.062-.193-.012-.196-.033v-.01-.005l.001-.007.006-.063.031-.306.135-1.288.509-4.835zm-.479 6.511v-.008c-.003-.02-.106-.095-.195-.033l-.006.018.201.023zm-.202-.018z",fill:"#EBEEF0"}),ne=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M178.707 91.973c5.63-1.53 11.417-1.465 16.931.375.212.07.327.3.255.51a.408.408 0 01-.515.254c-5.351-1.786-10.973-1.852-16.457-.361a.407.407 0 01-.499-.282.403.403 0 01.285-.496zM179.019 88.88c5.636-1.536 11.429-1.473 16.948.368a.403.403 0 11-.259.764c-5.357-1.787-10.984-1.851-16.475-.356a.403.403 0 11-.214-.777zM179.351 85.78c5.635-1.534 11.427-1.471 16.943.369a.403.403 0 11-.259.764c-5.354-1.786-10.98-1.85-16.47-.356a.403.403 0 11-.214-.777zM179.683 82.682c5.635-1.535 11.427-1.472 16.943.368a.403.403 0 11-.259.764c-5.354-1.786-10.98-1.85-16.469-.355a.403.403 0 11-.215-.777zM179.994 79.588c5.643-1.54 11.442-1.479 16.966.365.213.071.327.3.255.51a.407.407 0 01-.515.254c-5.361-1.79-10.994-1.853-16.49-.352a.403.403 0 11-.216-.777zM180.323 76.489c5.642-1.54 11.441-1.479 16.965.365.213.072.327.3.255.51a.407.407 0 01-.515.254c-5.361-1.79-10.994-1.852-16.49-.352a.403.403 0 11-.215-.777zM180.671 73.385c5.637-1.534 11.43-1.471 16.949.37.212.071.327.3.255.51a.407.407 0 01-.515.254c-5.356-1.787-10.984-1.852-16.474-.357a.402.402 0 11-.215-.777zM180.987 70.291c5.642-1.54 11.441-1.478 16.965.366.213.071.327.3.255.51a.406.406 0 01-.514.254c-5.362-1.79-10.995-1.853-16.491-.353a.403.403 0 11-.215-.777z",fill:"#CBD0D3"}),re=r.createElement("path",{d:"M181.096 70.68c5.569-1.52 11.288-1.457 16.728.358l-.992 9.297c-5.443-1.817-11.159-1.88-16.728-.36l.992-9.296z",fill:"#CBD0D3"}),ie=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M181.469 70.996l-.901 8.44c5.297-1.34 10.719-1.27 15.911.361l.905-8.477c-5.179-1.662-10.609-1.722-15.915-.323zm-.482-.705c5.642-1.54 11.444-1.477 16.965.366.18.06.294.236.274.424l-.992 9.296a.404.404 0 01-.534.34c-5.361-1.79-10.994-1.853-16.49-.352a.409.409 0 01-.371-.082.402.402 0 01-.141-.349l.992-9.296a.404.404 0 01.297-.347z",fill:"#CBD0D3"}),ae=r.createElement("path",{d:"M204.146 84.595c-1.671 3.879-7.751 2.74-10.354-.297M151.096 75.116c-.045 5.635 4.349 10.805 12.1 6.915",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),ce=r.createElement("path",{d:"M91.429 81.618c-.729 8.2-.457 15.965 1.975 22.796h4.47M80.227 81.238c-.76 8.178-.245 15.966 2.153 23.178h-4.478",stroke:"#161B18",strokeWidth:1.472,strokeLinecap:"round",strokeLinejoin:"round"}),oe=r.createElement("path",{d:"M118.418 79.006c7.32 3.89 10.2 8.445 9.473 12.335M60.719 71.227c-7.51 3.313-11.627 6.373-11.627 13.398",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"}),le=r.createElement("path",{d:"M57.84 49.763l-3.38 33.985 68.342 6.303 1.443-32.81-66.405-7.478z",fill:"#77AD8C"}),se=r.createElement("path",{d:"M57.476 82.268l2.638-32.25-2.273-.255-3.38 33.985 68.341 6.303.127-2.876-65.453-4.907z",fill:"#5C9271"}),ue=r.createElement("path",{d:"M80.625 72.749c3.832 4.721 11.357 6.736 17.468 1.896",stroke:"#161B18",strokeWidth:1.105,strokeMiterlimit:10,strokeLinecap:"round"}),de=r.createElement("path",{d:"M86.74 98.236c-.1.945 2.55-20.79 3.308-27.852-6.365-4.035-13.644-5.624-21.041-4.213L65.7 94.023c7.397-1.41 14.676.179 21.04 4.213z",fill:"#CBD0D3"}),ge=r.createElement("path",{d:"M86.776 98.24c-.123.942 2.39-20.808 3.308-27.852 7.137-2.468 14.59-2.35 21.455.717l-3.307 27.851c-6.865-3.065-14.319-3.184-21.456-.716z",fill:"#EBEEF0"}),fe=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M85.467 87.637c.485-4.024 1.151-9.575 1.844-15.407l.202.023a8546.627 8546.627 0 01-2.418 20.141 653.021 653.021 0 01-.192 1.544.19.19 0 01-.108.072.188.188 0 01-.091-.095v-.009-.003-.005l.002-.02h.001l.004-.025.033-.268.15-1.215.573-4.733zm-.757 6.242a.197.197 0 01.106-.069c.05.022.08.071.089.09l-.195-.021zm.197.038v-.001.001zM83.205 86.496c.485-4.028 1.149-9.566 1.836-15.355l.202.023a9660.973 9660.973 0 01-2.561 21.343 80.824 80.824 0 01-.042.335l-.001.004a.187.187 0 01-.007.02c-.065.056-.18.012-.194-.03a.164.164 0 010-.02c0-.005 0-.011.002-.019l.005-.036.035-.278.15-1.233.575-4.754zm-.763 6.302l.199.02v-.005c-.015-.041-.13-.085-.194-.03a.183.183 0 00-.005.015zM80.927 85.544c.485-4.04 1.146-9.561 1.825-15.277l.202.023A11320.95 11320.95 0 0180.4 91.61a113.556 113.556 0 01-.043.35.14.14 0 01-.003.014.192.192 0 01-.11.076.19.19 0 01-.09-.1.14.14 0 01.001-.023l.007-.05.036-.29.153-1.257.577-4.786zm-.772 6.383l.201.02a.193.193 0 00-.09-.097.194.194 0 00-.11.075v.002zM78.619 84.779c.486-4.055 1.144-9.56 1.811-15.184l.203.024a14137.83 14137.83 0 01-2.593 21.664l-.001.007a.093.093 0 01-.003.014c-.008.02-.124.07-.198-.01a.187.187 0 01-.002-.025v-.002-.001l.001-.008.001-.001.008-.06.037-.306.156-1.285.58-4.827zm-.781 6.48l.202.02-.002-.019c-.074-.08-.19-.03-.198-.01l-.002.008zm.201.026zM76.295 84.198c.488-4.077 1.144-9.57 1.8-15.091l.201.023a17204.58 17204.58 0 01-2.59 21.68l-.002.015-.004.014c-.093.07-.196-.012-.198-.032V90.798v-.007l.203.022v-.005c-.001-.02-.104-.101-.198-.033a.244.244 0 00-.004.015v.001l.001-.007.009-.069c.008-.067.02-.174.039-.32l.158-1.318c.14-1.157.341-2.84.585-4.88zM73.94 83.836c.489-4.088 1.14-9.558 1.784-14.975l.202.024a21886.98 21886.98 0 01-2.584 21.65l-.002.017v.005a.206.206 0 01-.03.055.17.17 0 01-.172-.077v-.01l.203.021v-.003a.17.17 0 00-.172-.077.208.208 0 00-.03.054v.004l.001-.013.01-.076.04-.336.162-1.346.588-4.917zM71.563 83.67l1.77-14.872.201.024a33930.12 33930.12 0 01-2.568 21.56l-.01.083-.002.018v.006c-.001.004-.115.084-.203-.019V90.461l.203.022v-.006c-.088-.103-.201-.023-.202-.019v.002-.001l.002-.018.01-.083.042-.35.165-1.376.592-4.962zM70.918 68.942l.202.023-2.572 21.664-.01-.001a70.908 70.908 0 01-.182-.022h-.01l2.572-21.664z",fill:"#CBD0D3"}),me=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M84.613 94.243c-5.017-2.647-10.516-3.805-16.133-3.227a.405.405 0 01-.446-.36.404.404 0 01.362-.442c5.789-.596 11.448.6 16.6 3.318a.401.401 0 01.167.545.408.408 0 01-.55.166zM84.997 91.157c-5.023-2.653-10.527-3.815-16.15-3.236a.405.405 0 01-.446-.36.404.404 0 01.363-.442c5.794-.596 11.459.603 16.615 3.327a.4.4 0 01.167.545.408.408 0 01-.55.166zM85.372 88.063c-5.028-2.653-10.53-3.814-16.15-3.236a.405.405 0 01-.446-.36.404.404 0 01.363-.442c5.791-.595 11.455.604 16.615 3.327a.4.4 0 01.167.545.408.408 0 01-.55.166zM85.739 84.969c-5.027-2.653-10.53-3.815-16.15-3.237a.405.405 0 01-.446-.359.404.404 0 01.363-.442c5.791-.596 11.455.603 16.615 3.326a.401.401 0 01.168.545.408.408 0 01-.55.167zM86.113 81.88c-5.027-2.658-10.536-3.822-16.165-3.243a.405.405 0 01-.445-.359.404.404 0 01.362-.442c5.8-.598 11.47.604 16.631 3.333a.401.401 0 01.167.546.408.408 0 01-.55.165zM86.477 78.786c-5.028-2.658-10.537-3.823-16.165-3.243a.405.405 0 01-.446-.36.404.404 0 01.362-.442c5.8-.597 11.47.606 16.632 3.334a.401.401 0 01.167.545.408.408 0 01-.55.166z",fill:"#B8BDB9"}),pe=r.createElement("path",{d:"M71.012 68.953c5.714-.588 11.303.594 16.398 3.288l-.383 3.087c-5.09-2.688-10.674-3.868-16.383-3.28l.368-3.095z",fill:"#B8BDB9"}),he=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.377 69.322l-.27 2.277c5.424-.461 10.724.647 15.589 3.103l.277-2.234c-4.864-2.518-10.171-3.64-15.596-3.146zm-.406-.77c5.8-.597 11.47.604 16.63 3.334l.247.13-.49 3.943-.522-.276c-5.023-2.652-10.526-3.814-16.15-3.235l-.504.052.465-3.915.323-.033z",fill:"#B8BDB9"}),ve=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M90.243 88.191c.47-4.025 1.123-9.578 1.816-15.41l.202.023a8576.285 8576.285 0 00-2.367 20.146 755.542 755.542 0 00-.172 1.51h.001a.8.8 0 01-.003.02v.006l-.001.002a.145.145 0 01-.002.008.19.19 0 01-.111.073.19.19 0 01-.089-.096v-.008-.004l.005-.047.03-.27.14-1.216.551-4.737zm-.523 6.269a.194.194 0 00-.088-.091.197.197 0 00-.107.066l.195.025zm-.201-.01zM92.712 87.598c.472-4.03 1.124-9.57 1.811-15.359l.203.024a9910.386 9910.386 0 00-2.51 21.348l-.031.279-.004.036c0 .008 0 .014-.002.018v.006l-.005.015c-.024.036-.146.053-.195-.016a.181.181 0 01-.002-.021v-.005-.004l.006-.051.031-.28.143-1.234.555-4.756zm-.532 6.328c0-.004 0-.01-.002-.015-.05-.069-.171-.052-.195-.016l-.002.006.199.025zM95.153 87.195c.475-4.041 1.125-9.564 1.804-15.28l.202.023a11129.421 11129.421 0 00-2.509 21.325 89.368 89.368 0 00-.038.34.504.504 0 01-.002.018l-.002.007a.192.192 0 01-.111.075.19.19 0 01-.09-.098v-.007l.001-.008.007-.057.033-.293a5635.92 5635.92 0 01.706-6.046zm-.542 6.409v-.002c0-.007-.03-.07-.09-.099a.194.194 0 00-.11.075l.2.026zM97.576 86.978c.478-4.056 1.127-9.562 1.795-15.186l.202.023a13876.904 13876.904 0 00-2.546 21.606l-.007.06v.013l-.001.004a.203.203 0 01-.007.02c-.09.062-.192-.014-.195-.035v-.01-.004l.001-.008.007-.063.035-.306.15-1.285.566-4.83zm-.556 6.505v-.008c-.003-.021-.104-.097-.195-.036a.18.18 0 00-.006.018l.201.026zm-.202-.02z",fill:"#EBEEF0"}),be=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M89.522 94.057c5.648-1.465 11.434-1.333 16.925.57a.401.401 0 01.249.514.407.407 0 01-.517.247c-5.33-1.848-10.95-1.978-16.452-.552a.403.403 0 11-.205-.78zM89.865 90.966c5.655-1.47 11.446-1.34 16.943.566a.4.4 0 01.249.514.407.407 0 01-.517.247c-5.336-1.85-10.961-1.979-16.47-.547a.403.403 0 11-.206-.78zM90.236 87.872c5.654-1.47 11.444-1.34 16.938.565a.4.4 0 01.249.513.407.407 0 01-.517.248c-5.333-1.849-10.957-1.978-16.464-.547a.403.403 0 11-.205-.78zM90.603 84.776c5.654-1.469 11.444-1.339 16.939.566a.402.402 0 11-.269.76c-5.332-1.848-10.957-1.977-16.464-.546a.403.403 0 11-.206-.78zM90.954 81.687c5.66-1.474 11.458-1.346 16.96.563a.402.402 0 01.249.513.408.408 0 01-.518.247c-5.339-1.852-10.971-1.98-16.485-.544a.403.403 0 11-.206-.78zM91.317 78.592c5.66-1.473 11.458-1.346 16.961.563a.402.402 0 11-.269.76c-5.34-1.852-10.972-1.979-16.486-.544a.403.403 0 11-.206-.78zM91.705 75.492c5.654-1.469 11.447-1.339 16.943.567a.402.402 0 01.249.513.407.407 0 01-.518.247c-5.334-1.849-10.96-1.978-16.469-.548a.403.403 0 11-.205-.78zM92.056 72.402c5.66-1.474 11.458-1.345 16.96.563a.402.402 0 01.249.513.407.407 0 01-.518.248c-5.34-1.852-10.972-1.98-16.486-.544a.403.403 0 11-.206-.78z",fill:"#CBD0D3"}),Ee=r.createElement("path",{d:"M92.158 72.792c5.587-1.455 11.305-1.326 16.723.553l-1.103 9.284c-5.421-1.88-11.136-2.008-16.723-.553l1.103-9.284z",fill:"#CBD0D3"}),_e=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M92.53 73.113l-1.002 8.43c5.313-1.28 10.734-1.147 15.906.545l1.005-8.467c-5.159-1.721-10.587-1.844-15.91-.508zm-.475-.71c5.66-1.475 11.461-1.345 16.961.562.179.062.291.24.269.427l-1.103 9.285a.4.4 0 01-.188.294.41.41 0 01-.35.039c-5.339-1.852-10.971-1.98-16.485-.544a.408.408 0 01-.37-.086.4.4 0 01-.136-.35l1.102-9.285c.02-.164.139-.3.3-.343z",fill:"#CBD0D3"}),Oe=r.createElement("path",{d:"M127.892 91.34c-1.329 7.115-12.918 8.843-24.256 0M49.088 84.625c0 6.05 9.181 11.081 24.545 3.457",stroke:"#000",strokeWidth:1.468,strokeLinecap:"round"});t.a=function SvgNoAudienceBannerGraphic(e){return r.createElement("svg",i({viewBox:"0 0 211 109",fill:"none"},e),a,c,o,l,s,u,d,g,f,m,p,h,v,b,E,_,O,y,k,j,S,w,x,C,A,N,T,D,M,R,B,I,P,F,L,z,V,W,G,U,H,q,K,J,Y,X,$,Q,Z,ee,te,ne,re,ie,ae,ce,oe,le,se,ue,de,ge,fe,me,pe,he,ve,be,Ee,_e,Oe)}},function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(0),l=Object(o.forwardRef)((function(t,n){var r=t.className,a=t.children,c=t.Icon,o=t.SVGGraphic;return e.createElement("div",{ref:n,className:i()("googlesitekit-lean-cta-banner",r)},e.createElement("div",{className:"googlesitekit-lean-cta-banner__body"},c&&e.createElement("div",{className:"googlesitekit-lean-cta-banner__body-icon"},e.createElement(c,{width:"32",height:"32"})),e.createElement("div",{className:"googlesitekit-lean-cta-banner__body-content"},a)),o&&e.createElement("div",{className:"googlesitekit-lean-cta-banner__graphic"},e.createElement(o,null)))}));l.propTypes={className:c.a.string,children:c.a.node.isRequired,Icon:c.a.elementType,SVGGraphic:c.a.elementType},t.a=l}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M2.956 80.014a32.365 32.365 0 006.283 9.673c10.459 11.015 25.911 11.949 40.083 9.193A98.307 98.307 0 0088.91 81.449c6.738-4.994 13.394-11.19 22.316-11.467 3.35-.103 6.814.82 9.345 2.998 5.259 4.497 5.165 12.186 9.269 17.516 5.458 7.088 13.308 9.283 21.87 10.101 24.191 2.309 53.006-5.265 69.646-23.694 14.857-16.452 16.64-42.63-1.343-57.629-8.216-6.852-19.483-9.992-30.117-8.392-8.127 1.223-16.378 4.942-24.791 5.977-9.908 1.22-16.033-2.943-24.05-7.79C127.086.641 108.62-2.597 92.807 2.292 77.671 6.972 66.777 19.747 52.048 25.36c-12.727 4.852-27.762 4.114-38.82 12.017C.143 46.727-3.146 65.603 2.956 80.014z",fill:"#F3F5F7"}),c=r.createElement("path",{d:"M118.945 116.194c32.642 0 59.104-1.654 59.104-3.694s-26.462-3.694-59.104-3.694c-32.643 0-59.105 1.654-59.105 3.694s26.462 3.694 59.105 3.694z",fill:"#161B18",opacity:.1}),o=r.createElement("path",{d:"M118.945 116.194c32.642 0 59.104-1.654 59.104-3.694s-26.462-3.694-59.104-3.694c-32.643 0-59.105 1.654-59.105 3.694s26.462 3.694 59.105 3.694z",fill:"#CBD0D3"}),l=r.createElement("path",{d:"M99.725 51.387c1.758 6.518 7.872 11.126 14.356 13.01 6.484 1.882 13.377 1.514 20.12 1.177 3.188-.158 6.449-.298 9.503.627 3.054.925 5.912 3.137 6.724 6.222.466 1.773.121 3.686-.787 5.274",stroke:"#161B18",strokeWidth:1.396,strokeLinecap:"round",strokeLinejoin:"round"}),s=r.createElement("path",{d:"M87.114 62.487c-1.015 16.075-6.61 30.497-2.87 48.618h-4.26M91.929 111.105h-4.261l7.53-48.618",stroke:"#161B18",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),u=r.createElement("path",{d:"M73.527 57.419c-3.635 1.642-10.613 5.299-10.613 12.724",stroke:"#000",strokeWidth:1.396,strokeLinecap:"round"}),d=r.createElement("path",{d:"M103.118 84.07l-2.957.269-18.04 1.632-10.545.952-1-23.491-1.74-40.88 32.912-1.199.664 30.445.09 4.099.612 28.078.004.095z",fill:"#CBD0D3"}),g=r.createElement("path",{d:"M100.163 84.338l1.697-.154 1.261-.114-1.371-62.719-1.891.087 1.017 59.457-29.439 2.786.103 2.34.04.9 10.544-.952 18.041-1.632-.002.001z",fill:"#999F9B"}),f=r.createElement("path",{d:"M62.912 70.143c0 4.321 4.917 7.437 8.424 5.913",stroke:"#000",strokeWidth:1.396,strokeLinecap:"round"}),m=r.createElement("path",{d:"M159.169 21.79l-22.985 89.068",stroke:"#7B807D",strokeWidth:3.607,strokeMiterlimit:10,strokeLinecap:"round"}),p=r.createElement("path",{d:"M157.57 14.896l-34.151 34.351a3.61 3.61 0 00.016 5.1 3.608 3.608 0 001.62.929l46.822 12.4a3.606 3.606 0 004.404-4.435l-12.674-46.745a3.599 3.599 0 00-2.557-2.542 3.605 3.605 0 00-3.48.942z",fill:"#E77D5B"}),h=r.createElement("path",{d:"M153.345 35.252l2.003-7.566 3.905 1.034-2.003 7.566-2.874 9.163-3.103-.822 2.072-9.375zm-2.709 18.123a2.77 2.77 0 01-1.715-1.274 2.768 2.768 0 01-.259-2.121c.197-.744.619-1.304 1.265-1.68a2.77 2.77 0 012.121-.259c.744.197 1.304.619 1.68 1.266.375.646.465 1.342.268 2.085a2.77 2.77 0 01-1.275 1.715c-.646.376-1.342.465-2.085.268z",fill:"#962C0A"}),v=r.createElement("path",{d:"M149.639 77.697a6.848 6.848 0 01-3.747 3.098c-3.335 1.14-7.399-.673-8.778-3.916",stroke:"#161B18",strokeWidth:1.396,strokeLinecap:"round",strokeLinejoin:"round"});t.a=function SvgAudienceSegmentationErrorFullWidth(e){return r.createElement("svg",i({viewBox:"0 0 233 117",fill:"none"},e),a,c,o,l,s,u,d,g,f,m,p,h,v)}},,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(0);function i(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Object(r.useEffect)((function(){var r,i=!1,a=function(){r=e.setTimeout((function(){i=!0}),n)},c=function(){e.clearTimeout(r),i&&(i=!1,t())};return e.addEventListener("focus",c),e.addEventListener("blur",a),function(){e.removeEventListener("focus",c),e.removeEventListener("blur",a),e.clearTimeout(r)}}),[n,t])}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(10),l=n(151),s=n(80),u=n(71),d={SUCCESS:"success",WARNING:"warning"};function SubtleNotification(t){var n=t.title,r=t.description,a=t.Icon,c=t.ctaLink,g=t.ctaLabel,f=t.className,m=t.onCTAClick,p=t.isCTALinkExternal,h=t.dismissLabel,v=t.onDismiss,b=t.variant,E=void 0===b?d.SUCCESS:b,_=t.hideIcon,O=void 0!==_&&_;return e.createElement("div",{className:i()("googlesitekit-subtle-notification",{"googlesitekit-subtle-notification--success":E===d.SUCCESS,"googlesitekit-subtle-notification--warning":E===d.WARNING},f)},!O&&e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},a&&e.createElement(a,{width:24,height:24}),!a&&E===d.SUCCESS&&e.createElement(l.a,{width:24,height:24}),!a&&E===d.WARNING&&e.createElement(u.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,n),r&&e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},r)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},h&&e.createElement(o.Button,{tertiary:!0,onClick:v},h),g&&e.createElement(o.Button,{className:"googlesitekit-subtle-notification__cta",href:c,onClick:m,target:p?"_blank":"_self",trailingIcon:p?e.createElement(s.a,{width:14,height:14}):void 0},g)))}SubtleNotification.propTypes={title:c.a.string.isRequired,description:c.a.string,Icon:c.a.elementType,ctaLink:c.a.string,ctaLabel:c.a.string,className:c.a.string,onCTAClick:c.a.func,isCTALinkExternal:c.a.bool,dismissLabel:c.a.string,onDismiss:c.a.func,variant:c.a.oneOf(Object.values(d)),hideIcon:c.a.bool},t.b=SubtleNotification}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelHeader}));var r=n(1),i=n.n(r),a=n(20),c=n(119);function SelectionPanelHeader(t){var n=t.children,r=t.title,i=t.onCloseClick;return e.createElement("header",{className:"googlesitekit-selection-panel-header"},e.createElement("div",{className:"googlesitekit-selection-panel-header__row"},e.createElement("h3",null,r),e.createElement(a.a,{className:"googlesitekit-selection-panel-header__close",onClick:i,linkButton:!0},e.createElement(c.a,{width:"15",height:"15"}))),n)}SelectionPanelHeader.propTypes={children:i.a.node,title:i.a.string,onCloseClick:i.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelItem}));var r=n(1),i=n.n(r),a=n(345);function SelectionPanelItem(t){var n=t.children,r=t.id,i=t.slug,c=t.title,o=t.description,l=t.isItemSelected,s=t.isItemDisabled,u=t.onCheckboxChange,d=t.subtitle,g=t.suffix,f=t.badge;return e.createElement("div",{className:"googlesitekit-selection-panel-item"},e.createElement(a.a,{badge:f,checked:l,disabled:s,id:r,onChange:u,title:c,value:i},d&&e.createElement("span",{className:"googlesitekit-selection-panel-item__subtitle"},d),o,n),g&&e.createElement("span",{className:"googlesitekit-selection-panel-item__suffix"},g))}SelectionPanelItem.propTypes={children:i.a.node,id:i.a.string,slug:i.a.string,title:i.a.string,description:i.a.string,isItemSelected:i.a.bool,isItemDisabled:i.a.bool,onCheckboxChange:i.a.func,subtitle:i.a.string,suffix:i.a.node,badge:i.a.node}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelItems}));var r=n(21),i=n.n(r),a=n(1),c=n.n(a),o=n(0),l=n(2);function SelectionPanelItems(t){var n=t.currentSelectionTitle,r=void 0===n?Object(l.__)("Current selection","google-site-kit"):n,a=t.availableItemsTitle,c=void 0===a?Object(l.__)("Additional items","google-site-kit"):a,s=t.savedItemSlugs,u=void 0===s?[]:s,d=t.availableSavedItems,g=void 0===d?{}:d,f=t.availableUnsavedItems,m=void 0===f?{}:f,p=t.ItemComponent,h=function(t){return Object.keys(t).map((function(n){return e.createElement(p,i()({key:n,slug:n,savedItemSlugs:u},t[n]))}))},v=Object.keys(m).length;return e.createElement("div",{className:"googlesitekit-selection-panel-items"},0!==u.length&&e.createElement(o.Fragment,null,e.createElement("p",{className:"googlesitekit-selection-panel-items__subheading"},r),e.createElement("div",{className:"googlesitekit-selection-panel-items__subsection"},h(g)),v>0&&e.createElement("p",{className:"googlesitekit-selection-panel-items__subheading"},c)),v>0&&e.createElement("div",{className:"googlesitekit-selection-panel-items__subsection"},h(m)))}SelectionPanelItems.propTypes={currentSelectionTitle:c.a.string,availableItemsTitle:c.a.string,savedItemSlugs:c.a.array,availableSavedItems:c.a.object,availableUnsavedItems:c.a.object,ItemComponent:c.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanelFooter}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(13),u=n(1),d=n.n(u),g=n(0),f=n(38),m=n(2),p=n(3),h=n(10),v=n(116),b=n(8),E=n(9),_=n(40),O=n(67);function SelectionPanelFooter(t){var n=t.savedItemSlugs,r=void 0===n?[]:n,a=t.selectedItemSlugs,o=void 0===a?[]:a,u=t.saveSettings,d=void 0===u?function(){}:u,y=t.saveError,k=t.itemLimitError,j=t.minSelectedItemCount,S=void 0===j?0:j,w=t.maxSelectedItemCount,x=void 0===w?0:w,C=t.isBusy,A=t.onSaveSuccess,N=void 0===A?function(){}:A,T=t.onCancel,D=void 0===T?function(){}:T,M=t.isOpen,R=t.closePanel,B=void 0===R?function(){}:R,I=Object(g.useState)(null),P=l()(I,2),F=P[0],L=P[1],z=Object(g.useState)(!1),V=l()(z,2),W=V[0],G=V[1],U=Object(p.useSelect)((function(e){return e(E.p).isFetchingSyncAvailableAudiences()})),H=Object(g.useMemo)((function(){return!Object(s.isEqual)(Object(b.F)(o),Object(b.F)(r))}),[r,o]),q=(null==r?void 0:r.length)>0&&H?Object(m.__)("Apply changes","google-site-kit"):Object(m.__)("Save selection","google-site-kit"),K=Object(g.useCallback)(c()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d(o);case 2:t=e.sent,t.error||(N(),B(),L(q),G(!0));case 5:case"end":return e.stop()}}),e)}))),[d,o,N,B,q]),J=Object(g.useCallback)((function(){B(),D()}),[B,D]),Y=Object(g.useState)(null),X=l()(Y,2),$=X[0],Q=X[1];Object(g.useEffect)((function(){null!==$&&$!==M&&M&&(L(null),G(!1)),Q(M)}),[M,$]);var Z=(null==o?void 0:o.length)||0,ee=U?e.createElement(_.a,{width:"89px",height:"20px"}):e.createElement("p",{className:"googlesitekit-selection-panel-footer__item-count"},Object(f.a)(Object(m.sprintf)( /* translators: 1: Number of selected items. 2: Maximum number of items that can be selected. */ Object(m.__)("%1$d selected <MaxCount>(up to %2$d)</MaxCount>","google-site-kit"),Z,x),{MaxCount:e.createElement("span",{className:"googlesitekit-selection-panel-footer__item-count--max-count"})}));return e.createElement("footer",{className:"googlesitekit-selection-panel-footer"},y&&e.createElement(v.a,{error:y}),e.createElement("div",{className:"googlesitekit-selection-panel-footer__content"},H&&k?e.createElement(O.a,{noPrefix:!0,message:k}):ee,e.createElement("div",{className:"googlesitekit-selection-panel-footer__actions"},e.createElement(h.Button,{tertiary:!0,onClick:J,disabled:C},Object(m.__)("Cancel","google-site-kit")),e.createElement(h.SpinnerButton,{onClick:K,isSaving:C,disabled:Z<S||Z>x||C||!M&&W},F||q))))}SelectionPanelFooter.propTypes={savedItemSlugs:d.a.array,selectedItemSlugs:d.a.array,saveSettings:d.a.func,saveError:d.a.object,itemLimitError:d.a.string,minSelectedItemCount:d.a.number,maxSelectedItemCount:d.a.number,isBusy:d.a.bool,onSaveSuccess:d.a.func,onCancel:d.a.func,isOpen:d.a.bool,closePanel:d.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionPanel}));var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(344);function SelectionPanel(t){var n=t.children,r=t.isOpen,a=t.onOpen,c=t.closePanel,l=t.className;return e.createElement(o.a,{className:i()("googlesitekit-selection-panel",l),isOpen:r,onOpen:a,closeSheet:c,focusTrapOptions:{initialFocus:".googlesitekit-selection-panel-item .googlesitekit-selection-box input"}},n)}SelectionPanel.propTypes={children:c.a.node,isOpen:c.a.bool,onOpen:c.a.func,closePanel:c.a.func,className:c.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SideSheet}));var r=n(7),i=n.n(r),a=n(12),c=n.n(a),o=n(405),l=n.n(o),s=n(1),u=n.n(s),d=n(217),g=n(401),f=n(0),m=n(56),p=n(76);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function SideSheet(t){var n=t.className,r=t.children,i=t.isOpen,a=t.onOpen,o=void 0===a?function(){}:a,s=t.closeSheet,u=void 0===s?function(){}:s,h=t.focusTrapOptions,b=void 0===h?{}:h,E=Object(f.useRef)();return Object(f.useEffect)((function(){i?(o(),document.body.classList.add("googlesitekit-side-sheet-scroll-lock")):document.body.classList.remove("googlesitekit-side-sheet-scroll-lock")}),[i,o]),Object(d.a)(E,u),Object(g.a)((function(e){return i&&m.c===e.keyCode}),u),e.createElement(p.a,null,e.createElement(l.a,{active:!!i,focusTrapOptions:v({fallbackFocus:"body"},b)},e.createElement("section",{ref:E,className:c()("googlesitekit-side-sheet",n,{"googlesitekit-side-sheet--open":i}),role:"dialog","aria-modal":"true","aria-hidden":!i,tabIndex:"0"},r)),i&&e.createElement("span",{className:"googlesitekit-side-sheet-overlay"}))}SideSheet.propTypes={className:u.a.string,children:u.a.node,isOpen:u.a.bool,onOpen:u.a.func,closeSheet:u.a.func,focusTrapOptions:u.a.object}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SelectionBox}));var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(10);function SelectionBox(t){var n=t.badge,r=t.checked,i=t.children,a=t.disabled,l=t.id,s=t.onChange,u=t.title,d=t.value;return e.createElement("div",{className:c()("googlesitekit-selection-box",{"googlesitekit-selection-box--disabled":a})},e.createElement(o.Checkbox,{checked:r,description:i,disabled:a,id:l,name:l,onChange:s,value:d,badge:n},u))}SelectionBox.propTypes={badge:i.a.node,checked:i.a.bool,children:i.a.node,disabled:i.a.bool,id:i.a.string,onChange:i.a.func,title:i.a.string,value:i.a.string}}).call(this,n(4))},,,,,,,,function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AudienceSegmentationIntroductoryOverlayNotification}));var i=n(2),a=n(10),c=n(3),o=n(380),l=n(381),s=n(213),u=n(89),d=n(25),g=n(24),f=n(6),m=n(19),p=n(18),h=n(35),v=n(8),b=n(9),E=n(52);function AudienceSegmentationIntroductoryOverlayNotification(){var t=Object(p.a)(),n=Object(h.a)(),_=Object(d.e)(),O=Object(E.c)(),y=Object(c.useSelect)((function(e){return e(f.a).isDismissingItem("audienceSegmentationIntroductoryOverlayNotification")})),k=Object(c.useSelect)((function(e){var t=e(f.a).isItemDismissed("audienceSegmentationIntroductoryOverlayNotification"),r=e(f.a).isAudienceSegmentationWidgetHidden(),i=e(m.a).isModuleActive("analytics-4"),a=!n||e(f.a).canViewSharedModule("analytics-4"),c=e(b.p).getAudienceSegmentationSetupCompletedBy(),o=e(f.a).getID();return E.b===O&&!1===t&&!1===r&&i&&a&&Number.isInteger(c)&&c!==o})),j=Object(c.useDispatch)(g.b).dismissOverlayNotification,S=function(){j("audienceSegmentationIntroductoryOverlayNotification")};return r.createElement(s.a,{shouldShowNotification:k,GraphicDesktop:o.a,GraphicMobile:l.a,notificationID:"audienceSegmentationIntroductoryOverlayNotification",onShow:function(){Object(v.J)("".concat(t,"_audiences-secondary-user-intro"),"view_notification")}},r.createElement("div",{className:"googlesitekit-overlay-notification__body"},r.createElement("h3",null,Object(i.__)("New! Visitor groups","google-site-kit")),r.createElement("p",null,Object(i.__)("You can now learn more about your site visitor groups by comparing different metrics","google-site-kit"))),r.createElement("div",{className:"googlesitekit-overlay-notification__actions"},r.createElement(a.Button,{tertiary:!0,disabled:y,onClick:function(){Object(v.J)("".concat(t,"_audiences-secondary-user-intro"),"dismiss_notification").finally((function(){S()}))}},Object(i.__)("Got it","google-site-kit")),r.createElement(a.Button,{disabled:y,onClick:function(n){n.preventDefault();setTimeout((function(){e.scrollTo({top:Object(u.a)(".googlesitekit-widget-area--mainDashboardTrafficAudienceSegmentation",_),behavior:"smooth"})}),0),Object(v.J)("".concat(t,"_audiences-secondary-user-intro"),"confirm_notification").finally((function(){S()}))}},Object(i.__)("Show me","google-site-kit"))))}}).call(this,n(26),n(4))},,,,,function(e,t,n){"use strict";var r=n(226);n.d(t,"b",(function(){return r.a}));n(190),n(353);var i=n(422);n.d(t,"c",(function(){return i.a}));var a=n(423);n.d(t,"e",(function(){return a.a}));var c=n(424);n.d(t,"d",(function(){return c.a}));var o=n(425);n.d(t,"a",(function(){return o.a}));var l=n(426);n.d(t,"f",(function(){return l.a}));var s=n(427);n.d(t,"g",(function(){return s.a}));var u=n(428);n.d(t,"h",(function(){return u.a}));n(227),n(312);var d=n(429);n.d(t,"i",(function(){return d.a}))},,,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 22c-1.522 0-2.952-.284-4.29-.852a11.303 11.303 0 01-3.493-2.366 11.303 11.303 0 01-2.365-3.492A10.86 10.86 0 01.5 11c0-1.522.284-2.952.853-4.29a11.302 11.302 0 012.364-3.493A10.92 10.92 0 017.21.88 10.567 10.567 0 0111.5 0c1.522 0 2.952.293 4.29.88a10.92 10.92 0 013.492 2.337c.99.99 1.77 2.155 2.338 3.493.587 1.338.88 2.768.88 4.29 0 1.522-.293 2.952-.88 4.29a10.92 10.92 0 01-2.338 3.492c-.99.99-2.154 1.779-3.492 2.366A10.86 10.86 0 0111.5 22zm0-14.3c.312 0 .569-.1.77-.303.22-.22.33-.485.33-.797a.999.999 0 00-.33-.77.999.999 0 00-.77-.33c-.311 0-.577.11-.797.33a1.043 1.043 0 00-.303.77c0 .312.101.578.303.798.22.201.486.302.797.302zm-1.1 8.8V9.9h2.2v6.6h-2.2z",fill:"#161B18"});t.a=function SvgInfoCircle(e){return r.createElement("svg",i({viewBox:"0 0 23 22",fill:"none"},e),a)}},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTooltipMessage}));var r=n(1),i=n.n(r),a=n(0),c=n(38),o=n(2),l=n(3),s=n(20),u=n(14);function AudienceTooltipMessage(t){var n=t.audienceSlug,r=t.audienceName,i=Object(l.useSelect)((function(e){return e(u.c).getDocumentationLinkURL("visitor-groups")}));return Object(a.useMemo)((function(){switch(n){case"new-visitors":return Object(c.a)(Object(o.sprintf)( /* translators: %s: is the audience name */ Object(o.__)('%s are people who visited your site for the first time. Note that under some circumstances it\'s possible for a visitor to be counted in both the "new" and "returning" groups. <link>Learn more</link>',"google-site-kit"),"<strong>New visitors</strong>"),{strong:e.createElement("strong",null),link:e.createElement(s.a,{href:i,external:!0,hideExternalIndicator:!0})});case"returning-visitors":return Object(c.a)(Object(o.sprintf)( /* translators: %s: is the audience name */ Object(o.__)('%s are people who have visited your site at least once before. Note that under some circumstances it\'s possible for a visitor to be counted in both the "new" and "returning" groups. <link>Learn more</link>',"google-site-kit"),"<strong>Returning visitors</strong>"),{strong:e.createElement("strong",null),link:e.createElement(s.a,{href:i,external:!0,hideExternalIndicator:!0})});default:return Object(c.a)(Object(o.sprintf)( /* translators: %s: is the audience name */ Object(o.__)("%s is an audience that already exists in your Analytics property. Note that it's possible for a visitor to be counted in more than one group. <link>Learn more</link>","google-site-kit"),"<strong>".concat(r,"</strong>")),{strong:e.createElement("strong",null),link:e.createElement(s.a,{href:i,external:!0,hideExternalIndicator:!0})})}}),[n,r,i])}AudienceTooltipMessage.propTypes={audienceSlug:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RetryButton}));var r=n(1),i=n.n(r),a=n(2),c=n(10),o=n(8),l=n(18);function RetryButton(t){var n=t.handleRetry,r=Object(l.a)();return e.createElement(c.Button,{className:"googlesitekit-audience-selection-panel__error-notice-action",onClick:function(){n(),Object(o.J)("".concat(r,"_audiences-sidebar"),"data_loading_error_retry")},tertiary:!0},Object(a.__)("Retry","google-site-kit"))}RetryButton.propTypes={handleRetry:i.a.func.isRequired}}).call(this,n(4))},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(13);function i(e){var t;if(void 0!==e)return!((null==e?void 0:e.rows)&&(null==e?void 0:e.totals)&&!(null==e||null===(t=e.totals)||void 0===t?void 0:t.every(r.isEmpty)))||!e.totals.some((function(e){return!!e.metricValues&&e.metricValues.some((function(e){return e.value>0}))}))}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),i=n(19),a=n(6),c=n(30),o=n(9),l=n(64);function s(){return Object(r.useSelect)((function(e){var t=e(a.a).isItemDismissed(c.l),n=u(e,"search-console",l.b),r=u(e,"analytics-4",o.p);return!1===t&&n&&r}),[])}function u(e,t,n){if(e(i.a).isModuleConnected(t)){var r=e(n),a=r.isGatheringData,c=r.isDataAvailableOnLoad;return a(),c()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return KeyMetricsSetupCTARenderedEffect}));var r=n(271),i=n(3),a=n(24),c="KEY_METRICS_SETUP_CTA_RENDERED";function KeyMetricsSetupCTARenderedEffect(){var e=Object(i.useDispatch)(a.b).setValue;return Object(r.a)((function(){e(c,!0)})),null}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricItem}));var r=n(7),i=n.n(r),a=n(27),c=n.n(a),o=n(1),l=n.n(o),s=n(0),u=n(2),d=n(3),g=n(28),f=n(46),m=n(19),p=n(30),h=n(115);function MetricItem(t){var n=t.slug,r=t.title,a=t.description,o=t.savedItemSlugs,l=void 0===o?[]:o,v=Object(d.useSelect)((function(e){var t=e(m.a).getModule,r=e(f.a).getWidget(n);return null==r?void 0:r.modules.reduce((function(e,n){var r=t(n);return(null==r?void 0:r.connected)||!(null==r?void 0:r.name)?e:[].concat(c()(e),[r.name])}),[])})),b=Object(d.useSelect)((function(e){return e(g.a).getValue(p.j,p.i)})),E=Object(d.useSelect)((function(e){return e(g.a)})).getValue,_=Object(d.useDispatch)(g.a).setValues,O=Object(s.useCallback)((function(e){var t=E(p.j,p.i);_(p.j,i()({},p.i,e.target.checked?t.concat([n]):t.filter((function(e){return e!==n}))))}),[E,_,n]),y=null==b?void 0:b.includes(n),k=!l.includes(n)&&v.length>0,j="key-metric-selection-checkbox-".concat(n);return e.createElement(h.c,{id:j,slug:n,title:r,description:a,isItemSelected:y,isItemDisabled:k,onCheckboxChange:O},v.length>0&&e.createElement("div",{className:"googlesitekit-selection-panel-item-error"},Object(u.sprintf)( /* translators: %s: module names. */ Object(u._n)("%s is disconnected, no data to show","%s are disconnected, no data to show",v.length,"google-site-kit"),v.join(Object(u.__)(" and ","google-site-kit")))))}MetricItem.propTypes={slug:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string.isRequired,savedItemSlugs:l.a.array}}).call(this,n(4))},,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#audience-segmentation-introductory-graphic-desktop_svg__clip0_1395_20972)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-desktop_svg__filter0_d_1395_20972)"},r.createElement("rect",{x:-10,y:25,width:153,height:174,rx:11,fill:"#fff"})),r.createElement("rect",{x:9.031,y:110.641,width:53.016,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:9.031,y:95.688,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:9.031,y:148.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M94.672 108.602a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 010 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:9,y:46,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M94.672 161.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-desktop_svg__filter1_d_1395_20972)"},r.createElement("rect",{x:152,y:25,width:153,height:174,rx:11,fill:"#fff"})),r.createElement("rect",{x:170.955,y:110.641,width:52.805,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:170.955,y:95.688,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:170.955,y:148.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M256.256 108.602a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:171,y:46,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M295 73.5H152",stroke:"#EBEEF0",strokeWidth:2}),r.createElement("path",{d:"M256.256 161.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("path",{d:"M143 73.5H0",stroke:"#EBEEF0",strokeWidth:2})),c=r.createElement("defs",null,r.createElement("filter",{id:"audience-segmentation-introductory-graphic-desktop_svg__filter0_d_1395_20972",x:-26,y:13,width:185,height:206,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1395_20972"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1395_20972",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-introductory-graphic-desktop_svg__filter1_d_1395_20972",x:136,y:13,width:185,height:206,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1395_20972"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1395_20972",result:"shape"})),r.createElement("clipPath",{id:"audience-segmentation-introductory-graphic-desktop_svg__clip0_1395_20972"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})));t.a=function SvgAudienceSegmentationIntroductoryGraphicDesktop(e){return r.createElement("svg",i({viewBox:"0 0 296 163",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z",fill:"#B8E6CA"}),c=r.createElement("path",{d:"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z",fill:"#B8E6CA"}),o=r.createElement("g",{mask:"url(#audience-segmentation-introductory-graphic-mobile_svg__a)"},r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-mobile_svg__filter0_d_2898_16651)"},r.createElement("rect",{x:71.449,y:21.433,width:100.401,height:136.493,rx:7.218,fill:"#fff"})),r.createElement("rect",{x:83.941,y:77.631,width:34.79,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:83.941,y:67.819,width:12.489,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:83.941,y:99.983,width:12.489,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("path",{d:"M140.133 76.293a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.596h-8.921a5.798 5.798 0 01-5.798-5.798z",fill:"#B8E6CA"}),r.createElement("rect",{x:83.926,y:35.213,width:23.624,height:5.906,rx:2.953,fill:"#EBEEF0"}),r.createElement("path",{d:"M140.133 108.458a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.597h-8.921a5.798 5.798 0 01-5.798-5.799z",fill:"#FFDED3"}),r.createElement("rect",{x:83.043,y:109.796,width:36.574,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("path",{d:"M171.848 53.259H72.103",stroke:"#EBEEF0",strokeWidth:1.312}),r.createElement("g",{filter:"url(#audience-segmentation-introductory-graphic-mobile_svg__filter1_d_2898_16651)"},r.createElement("rect",{x:184.973,y:21.433,width:100.401,height:136.493,rx:7.218,fill:"#fff"})),r.createElement("rect",{x:197.414,y:77.631,width:34.652,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:197.414,y:67.819,width:12.439,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("rect",{x:197.41,y:99.983,width:12.439,height:6.244,rx:3.122,fill:"#EBEEF0"}),r.createElement("path",{d:"M253.391 76.293a5.798 5.798 0 015.798-5.798h8.839a5.798 5.798 0 010 11.596h-8.839a5.798 5.798 0 01-5.798-5.798z",fill:"#B8E6CA"}),r.createElement("rect",{x:197.449,y:35.213,width:23.624,height:5.906,rx:2.953,fill:"#EBEEF0"}),r.createElement("path",{d:"M278.82 53.259h-93.838",stroke:"#EBEEF0",strokeWidth:1.312}),r.createElement("path",{d:"M253.391 108.458a5.798 5.798 0 015.798-5.798h8.839a5.798 5.798 0 010 11.597h-8.839a5.798 5.798 0 01-5.798-5.799z",fill:"#FFDED3"}),r.createElement("rect",{x:196.523,y:109.796,width:36.429,height:6.244,rx:3.122,fill:"#EBEEF0"})),l=r.createElement("defs",null,r.createElement("filter",{id:"audience-segmentation-introductory-graphic-mobile_svg__filter0_d_2898_16651",x:55.449,y:9.433,width:132.402,height:168.493,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16651"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16651",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-introductory-graphic-mobile_svg__filter1_d_2898_16651",x:168.973,y:9.433,width:132.402,height:168.493,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16651"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16651",result:"shape"})),r.createElement("clipPath",{id:"audience-segmentation-introductory-graphic-mobile_svg__clip0_2898_16651"},r.createElement("path",{fill:"#fff",d:"M0 0h343v128H0z"})));t.a=function SvgAudienceSegmentationIntroductoryGraphicMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 123",fill:"none"},e),r.createElement("g",{clipPath:"url(#audience-segmentation-introductory-graphic-mobile_svg__clip0_2898_16651)"},a,r.createElement("mask",{id:"audience-segmentation-introductory-graphic-mobile_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:24,y:5,width:295,height:203},c),o),l)}},,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return SetupSuccess}));var r=n(3),i=n(6),a=n(18),c=n(108),o=n(8),l=n(443),s=Object(c.a)(l.a),u="settings_visitor_groups_setup_success_notification";function SetupSuccess(){var t=Object(a.a)(),n=Object(r.useSelect)((function(e){return e(i.a).isItemDismissed(u)}));return void 0===n||n?null:e.createElement(s,{onInView:function(){Object(o.J)("".concat(t,"_audiences-setup-cta-settings-success"),"view_notification")}})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return b}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(221),u=n(2),d=n(0),g=n(157),f=n(3),m=n(28),p=n(6),h=n(34),v=n(9);function b(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.redirectURL,r=t.onSuccess,a=t.onError,o=Object(s.a)(),b=Object(d.useState)([]),E=l()(b,2),_=E[0],O=E[1],y=Object(d.useState)([]),k=l()(y,2),j=k[0],S=k[1],w=Object(d.useState)(!1),x=l()(w,2),C=x[0],A=x[1],N=Object(f.useSelect)((function(e){return e(p.a).hasScope(v.g)})),T=Object(f.useSelect)((function(e){return e(m.a).getValue(v.c,"autoSubmit")})),D=Object(f.useDispatch)(m.a),M=D.setValues,R=Object(f.useDispatch)(p.a),B=R.setPermissionScopeError,I=Object(f.useDispatch)(v.p),P=I.enableAudienceGroup;n||(n=Object(g.a)(e.location.href,{notification:"audience_segmentation"}));var F=Object(d.useCallback)(c()(i.a.mark((function t(){var c,l,s;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(A(!0),N){t.next=5;break}return M(v.c,{autoSubmit:!0}),B({code:h.a,message:Object(u.__)("Additional permissions are required to create new audiences in Analytics.","google-site-kit"),data:{status:403,scopes:[v.g],skipModal:!0,skipDefaultErrorNotifications:!0,redirectURL:n,errorRedirectURL:e.location.href}}),t.abrupt("return");case 5:return M(v.c,{autoSubmit:!1}),t.next=8,P(j);case 8:if(t.t0=t.sent,t.t0){t.next=11;break}t.t0={};case 11:c=t.t0,l=c.error,s=c.failedSiteKitAudienceSlugs,l||s?null==a||a():null==r||r(),o()&&(l?(O([l]),S([])):Array.isArray(s)?(S(s),O([])):(O([]),S([])),A(!1));case 16:case"end":return t.stop()}}),t)}))),[N,M,P,j,o,B,n,a,r]);return Object(d.useEffect)((function(){N&&T&&F()}),[N,T,F]),{apiErrors:_,failedAudiences:j,isSaving:C,onEnableGroups:F}}}).call(this,n(26))},,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M4.522 143.34c2.283 6.363 5.534 12.204 9.6 17.248 15.98 19.643 39.589 21.308 61.242 16.393 21.924-5.009 42.593-15.632 60.484-31.083 10.296-8.905 20.465-19.956 34.097-20.448 5.118-.184 10.412 1.462 14.278 5.346 8.035 8.019 7.892 21.731 14.162 31.235 8.339 12.64 20.332 16.554 33.415 18.013 36.961 4.116 80.986-9.39 106.41-42.253 22.699-29.338 25.423-76.02-2.053-102.765-12.553-12.22-29.767-17.818-46.014-14.965-12.418 2.18-25.024 8.813-37.878 10.657-15.138 2.177-24.497-5.246-36.745-13.892-21.342-15.026-49.557-20.8-73.716-12.081-23.127 8.343-39.771 31.125-62.275 41.133-19.446 8.653-42.416 7.336-59.313 21.43C.225 83.98-4.8 117.641 4.522 143.34z",fill:"#F9FAF9"}),c=r.createElement("g",{filter:"url(#ga4-success-green_svg__filter0_d_826_6999)"},r.createElement("rect",{x:83,y:3,width:218.232,height:149,rx:11.919,fill:"#fff"}),r.createElement("rect",{x:82.409,y:2.409,width:219.414,height:150.182,rx:12.51,stroke:"#CBD0D3",strokeWidth:1.182})),o=r.createElement("path",{d:"M83 14.92C83 8.336 88.337 3 94.92 3h194.393c6.583 0 11.919 5.337 11.919 11.92v6.14H83v-6.14z",fill:"#EBEEF0"}),l=r.createElement("rect",{x:92.03,y:9.02,width:6.02,height:6.02,rx:3.01,fill:"#CBD0D3"}),s=r.createElement("rect",{x:101.061,y:9.02,width:6.02,height:6.02,rx:3.01,fill:"#CBD0D3"}),u=r.createElement("rect",{x:95.002,y:30.603,width:25.582,height:9.303,rx:4.651,fill:"#EBEEF0"}),d=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M111.598 49.79H96.481v-2.907h15.117v2.907zM108.11 57.93H96.481v-2.907h11.629v2.906zM104.621 66.07h-8.14v-2.908h8.14v2.907zM109.273 74.21H96.481v-2.908h12.792v2.907z",fill:"#EBEEF0"}),g=r.createElement("rect",{x:237.141,y:30.151,width:49.924,height:49.078,rx:3.07,fill:"#EBEEF0"}),f=r.createElement("rect",{x:255.516,y:70.242,width:13.305,height:3.07,rx:1.023,fill:"#CBD0D3"}),m=r.createElement("circle",{cx:262.167,cy:51.309,r:10.746,stroke:"#F5C3EA",strokeWidth:3.07}),p=r.createElement("path",{d:"M272.914 51.309c0 5.934-4.812 10.746-10.747 10.746-5.934 0-10.746-4.812-10.746-10.746 0-5.935 4.812-10.746 10.746-10.746",stroke:"#E399D3",strokeWidth:3.07,strokeLinecap:"round"}),h=r.createElement("rect",{x:136.446,y:85.999,width:49.924,height:49.078,rx:3.07,fill:"#EBEEF0"}),v=r.createElement("rect",{x:155.258,y:125.508,width:13.305,height:3.07,rx:1.023,fill:"#CBD0D3"}),b=r.createElement("circle",{cx:161.911,cy:106.574,r:10.746,stroke:"#F5C3EA",strokeWidth:3.295}),E=r.createElement("path",{d:"M158.294 116.693c-5.589-1.997-8.5-8.147-6.502-13.736 1.997-5.588 8.147-8.5 13.736-6.502",stroke:"#E399D3",strokeWidth:3.07,strokeLinecap:"round"}),_=r.createElement("rect",{x:136.446,y:30.151,width:93.079,height:49.078,rx:3.07,fill:"#EBEEF0"}),O=r.createElement("rect",{x:141.639,y:37.492,width:44.008,height:3.07,rx:1.023,fill:"#CBD0D3"}),y=r.createElement("rect",{x:141.639,y:43.633,width:28.656,height:3.07,rx:1.023,fill:"#CBD0D3"}),k=r.createElement("rect",{x:141.523,y:50.459,width:82.925,height:23.693,rx:2.047,fill:"#fff"}),j=r.createElement("g",{mask:"url(#ga4-success-green_svg__a)"},r.createElement("path",{d:"M152.343 70.074c-8.033 0-11.243-1.866-13.358-3.732v11.195h87.156V57.906c-.668-1.348-2.296-4.908-7.984-4.908-7.346 0-13.306 14.277-24.284 14.277-10.977 0-12.308-6.84-18.628-6.84-7.984 0-12.551 9.639-22.902 9.639z",fill:"#F5C3EA",stroke:"#E399D3",strokeWidth:3.07}),r.createElement("path",{d:"M178.129 60.008a3.07 3.07 0 11-6.141-.001 3.07 3.07 0 016.141 0z",fill:"#AC629B"})),S=r.createElement("rect",{x:193.986,y:85.999,width:93.079,height:49.078,rx:3.07,fill:"#EBEEF0"}),w=r.createElement("rect",{x:199.267,y:92.758,width:19.445,height:3.07,rx:1.023,fill:"#CBD0D3"}),x=r.createElement("rect",{x:199.267,y:98.898,width:10.234,height:3.07,rx:1.023,fill:"#CBD0D3"}),C=r.createElement("rect",{x:204.875,y:127.555,width:12.281,height:3.07,rx:1.023,transform:"rotate(-90 204.875 127.555)",fill:"#F5C3EA"}),A=r.createElement("rect",{x:213.062,y:127.555,width:6.141,height:3.07,rx:1.023,transform:"rotate(-90 213.062 127.555)",fill:"#F5C3EA"}),N=r.createElement("rect",{x:221.25,y:127.555,width:6.141,height:3.07,rx:1.023,transform:"rotate(-90 221.25 127.555)",fill:"#F5C3EA"}),T=r.createElement("rect",{x:229.438,y:127.555,width:8.188,height:3.07,rx:1.023,transform:"rotate(-90 229.438 127.555)",fill:"#E399D3"}),D=r.createElement("rect",{x:237.625,y:127.555,width:12.281,height:3.07,rx:1.023,transform:"rotate(-90 237.625 127.555)",fill:"#E399D3"}),M=r.createElement("rect",{x:245.812,y:127.555,width:15.352,height:3.07,rx:1.023,transform:"rotate(-90 245.812 127.555)",fill:"#E399D3"}),R=r.createElement("rect",{x:254,y:127.555,width:18.422,height:3.07,rx:1.023,transform:"rotate(-90 254 127.555)",fill:"#E399D3"}),B=r.createElement("rect",{x:262.188,y:127.555,width:15.352,height:3.07,rx:1.023,transform:"rotate(-90 262.188 127.555)",fill:"#E399D3"}),I=r.createElement("rect",{x:270.375,y:127.555,width:9.211,height:3.07,rx:1.023,transform:"rotate(-90 270.375 127.555)",fill:"#E399D3"}),P=r.createElement("path",{d:"M79.162 126.71l-10.25 43.198H55M95.27 126.71l5.124 12.447-8.786 30.751h12.447",stroke:"#000",strokeWidth:2.758,strokeLinecap:"round"}),F=r.createElement("path",{d:"M120.896 104.725c5.939.696 30.067 6.234 23.615-15.253l5.672-1.395",stroke:"#191C1A",strokeWidth:2.758,strokeLinecap:"round",strokeLinejoin:"round"}),L=r.createElement("path",{d:"M58.868 105.86c.72 9.731.871 20.959-1.877 30.341",stroke:"#191C1A",strokeWidth:2.758,strokeMiterlimit:10,strokeLinecap:"round"}),z=r.createElement("circle",{cx:88.68,cy:97.424,r:32.215,fill:"#77AD8C"}),V=r.createElement("path",{d:"M98.93 111.803c-4.788 6.599-13.708 8.761-20.5.899",stroke:"#191C1A",strokeWidth:2.758,strokeMiterlimit:10,strokeLinecap:"round"}),W=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M85.02 126.711c18.196 0 32.947-14.752 32.947-32.948a32.791 32.791 0 00-5.113-17.637 32.09 32.09 0 018.042 21.296c0 17.792-14.423 32.216-32.215 32.216a32.093 32.093 0 01-21.282-8.03 32.788 32.788 0 0017.62 5.103z",fill:"#59866A"}),G=r.createElement("defs",null,r.createElement("filter",{id:"ga4-success-green_svg__filter0_d_826_6999",x:81.818,y:1.818,width:223.98,height:155.594,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:3.385,dy:4.231}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.796078 0 0 0 0 0.815686 0 0 0 0 0.827451 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_826_6999"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_826_6999",result:"shape"})));t.a=function SvgGa4SuccessGreen(e){return r.createElement("svg",i({viewBox:"0 0 356 181",fill:"none"},e),a,c,o,l,s,u,d,g,f,m,p,h,v,b,E,_,O,y,r.createElement("mask",{id:"ga4-success-green_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:141,y:50,width:84,height:25},k),j,S,w,x,C,A,N,T,D,M,R,B,I,P,F,L,z,V,W,G)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M16.666 7.5V5H15v2.5h-2.5v1.666H15v2.5h1.666v-2.5h2.5V7.5h-2.5zM7.5 10a3.332 3.332 0 100-6.667A3.332 3.332 0 107.5 10zm0-5c.916 0 1.666.75 1.666 1.666 0 .917-.75 1.667-1.666 1.667-.917 0-1.667-.75-1.667-1.667C5.833 5.75 6.583 5 7.5 5zm5.325 7.133c-1.4-.717-3.217-1.3-5.325-1.3-2.109 0-3.925.583-5.325 1.3A2.476 2.476 0 00.833 14.35v2.316h13.333V14.35c0-.934-.508-1.792-1.341-2.217zM12.5 15h-10v-.65c0-.317.166-.6.433-.734A10.09 10.09 0 017.5 12.5c1.975 0 3.575.608 4.566 1.116a.81.81 0 01.434.734V15z",fill:"currentColor"});t.a=function SvgShare(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),c=n.n(a),o=n(3),l=n(682),s=n(6),u=n(46),d=n(17),g=n(35);function WidgetContextRenderer(t){var n=t.id,r=t.slug,i=t.className,a=t.Header,f=t.Footer,m=Object(g.a)(),p=Object(o.useSelect)((function(e){return m?e(s.a).getViewableModules():null})),h=Object(o.useSelect)((function(e){return r?e(u.a).getWidgetAreas(r):null})),v=Object(o.useSelect)((function(e){return!!r&&e(u.a).isWidgetContextActive(r,{modules:p||void 0})}));return void 0===p?null:e.createElement("div",{id:n,className:c()("googlesitekit-widget-context",{"googlesitekit-hidden":!v},i)},a&&v&&e.createElement(d.e,null,e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(a,null)))),h&&h.map((function(t){return e.createElement(l.a,{key:t.slug,slug:t.slug,contextID:n})})),f&&v&&e.createElement(d.e,null,e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(f,null)))))}WidgetContextRenderer.propTypes={id:i.a.string,slug:i.a.string,className:i.a.string,Header:i.a.elementType,Footer:i.a.elementType},t.a=WidgetContextRenderer}).call(this,n(4))},,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(371),g=n(2),f=n(0),m=n(3),p=n(54),h=n(28),v=n(6),b=n(14),E=n(60),_=n(9),O=n(391),y=n(18),k=n(110),j=n(181),S=n(8),w=n(108),x=n(392),C=n(226),A=n(444),N=Object(w.a)(A.a);function AudienceSegmentationSetupCTAWidget(t){var n=t.Widget,r=t.WidgetNull,a=Object(y.a)(),o=Object(m.useDispatch)(E.a).invalidateResolution,s=Object(m.useDispatch)(h.a).setValues,u=Object(k.b)("audience_segmentation_setup_cta-notification"),d=Object(k.c)("audience_segmentation_setup_cta-notification").isTooltipVisible,p=Object(m.useSelect)((function(e){return e(v.a).isPromptDismissed("audience_segmentation_setup_cta-notification")})),j=Object(m.useSelect)((function(e){return e(v.a).getPromptDismissCount("audience_segmentation_setup_cta-notification")})),w=Object(m.useSelect)((function(e){return e(v.a).hasFinishedResolution("getDismissedPrompts",[])})),A=Object(m.useSelect)((function(e){return e(v.a).getConfiguredAudiences()})),T=Object(m.useSelect)((function(e){return e(h.a).getValue(_.c,"autoSubmit")})),D=Object(f.useState)(!1),M=l()(D,2),R=M[0],B=M[1],I=Object(m.useDispatch)(v.a),P=I.dismissItem,F=I.dismissPrompt,L=Object(x.a)({onSuccess:function(){o("getQueuedNotifications",[a]),F("audience_segmentation_setup_cta-notification",{expiresInSeconds:0}),P(O.a)},onError:function(){B(!0)}}),z=L.apiErrors,V=L.failedAudiences,W=L.isSaving,G=L.onEnableGroups,U=Object(m.useSelect)((function(e){return e(_.p).isGatheringData(),e(_.p).isDataAvailableOnLoad()})),H=Object(m.useSelect)((function(e){return e(_.p).getAudienceSegmentationSetupCompletedBy()}));var q=Object(m.useDispatch)(v.a).clearPermissionScopeError,K=Object(m.useDispatch)(b.c).setSetupErrorCode,J=Object(f.useCallback)((function(){s(_.c,{autoSubmit:!1}),q(),K(null),B(!1)}),[q,K,s]),Y=Object(m.useSelect)((function(e){return e(b.c).getSetupErrorCode()})),X=T&&"access_denied"===Y;if(Object(f.useEffect)((function(){d&&Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"tooltip_view")}),[d,a]),d)return e.createElement(f.Fragment,null,e.createElement(r,null),e.createElement(k.a,{title:Object(g.__)("You can always enable groups from Settings later","google-site-kit"),content:Object(g.__)("The visitors group section will be added to your dashboard once you set it up.","google-site-kit"),dismissLabel:Object(g.__)("Got it","google-site-kit"),onDismiss:function(){Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"tooltip_dismiss")},tooltipStateKey:"audience_segmentation_setup_cta-notification"}));if(null!==H||void 0===A||(null==A?void 0:A.length)||!U||p||!w)return null;return e.createElement(f.Fragment,null,e.createElement(N,{Widget:n,onEnableGroups:function(){Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"confirm_notification").finally(G)},isSaving:W,dismissCount:j,handleDismissClick:function(){u(),Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"dismiss_notification").finally(c()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(j<1)){e.next=6;break}return t=2*S.g,e.next=4,F("audience_segmentation_setup_cta-notification",{expiresInSeconds:t});case 4:e.next=8;break;case 6:return e.next=8,F("audience_segmentation_setup_cta-notification");case 8:case"end":return e.stop()}}),e)}))))},onInView:function(){Object(S.J)("".concat(a,"_audiences-setup-cta-dashboard"),"view_notification")}}),(R||X)&&e.createElement(C.a,{hasOAuthError:X,apiErrors:z.length?z:V,onRetry:G,inProgress:W,onCancel:X?J:function(){return B(!1)},trackEventCategory:"".concat(a,"_audiences-setup")}))}AudienceSegmentationSetupCTAWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType},t.a=Object(d.a)(Object(p.a)({moduleName:"analytics-4"}),Object(j.g)("audienceSegmentationSetupCTA"))(AudienceSegmentationSetupCTAWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(0),g=n(3),f=n(54),m=n(9),p=n(6),h=n(448),v=n(163),b=n(190),E=n(312),_=n(199),O=n(34);function AudienceTilesWidget(t){var n=t.Widget,r=Object(g.useSelect)((function(e){var t=e(m.p).getAvailableAudiences();return null==t?void 0:t.map((function(e){return e.name}))})),a=Object(g.useSelect)((function(e){return e(p.a).getConfiguredAudiences()})),o=Object(d.useState)(!1),s=l()(o,2),u=s[0],f=s[1],y=Object(g.useDispatch)(m.p),k=y.clearErrors,j=y.maybeSyncAvailableAudiences,S=y.syncAvailableAudiences,w=Object(g.useSelect)((function(e){return e(m.p).isSettingUpAudiences()})),x=Object(g.useSelect)((function(e){return e(m.p).getErrorForAction("syncAvailableAudiences")}));if(Object(d.useEffect)((function(){u||w||function(){var e=c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j();case 2:f(!0);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()()}),[u,w,j]),x){var C=Object(O.e)(x);return e.createElement(b.a,{errors:x,Widget:n,onRetry:C?void 0:c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k("syncAvailableAudiences");case 2:return e.next=4,S();case 4:case"end":return e.stop()}}),e)}))),showRetryButton:!C})}return(null==a?void 0:a.some((function(e){return null==r?void 0:r.includes(e)})))?e.createElement(h.a,{Widget:n,widgetLoading:!u||!r||!a}):u?e.createElement(E.a,{Widget:n,WidgetNull:_.a}):e.createElement(n,{className:"googlesitekit-widget-audience-tiles",noPadding:!0},e.createElement("div",{className:"googlesitekit-widget-audience-tiles__body"},e.createElement(n,{noPadding:!0},e.createElement(v.a,null)),e.createElement(n,{noPadding:!0},e.createElement(v.a,null))))}AudienceTilesWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType.isRequired},t.a=Object(f.a)({moduleName:"analytics-4"})(AudienceTilesWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceSelectionPanel}));var r=n(7),i=n.n(r),a=n(0),c=n(3),o=n(18),l=n(35),s=n(8),u=n(39),d=n(28),g=n(24),f=n(6),m=n(9),p=n(473),h=n(475),v=n(478),b=n(480),E=n(481),_=n(482),O=n(115),y=n(483),k=n(485);function AudienceSelectionPanel(){var t=Object(o.a)(),n=Object(l.a)(),r=Object(c.useSelect)((function(e){return e(g.b).getValue(u.i)})),j=Object(c.useSelect)((function(e){var t=e(m.p).getConfigurableAudiences,n=(0,e(f.a).getConfiguredAudiences)()||[],r=t()||[];return r.length&&n.length?r.filter((function(e){var t=e.name;return n.includes(t)})).map((function(e){return e.name})):[]})),S=Object(c.useSelect)((function(e){return e(d.a).getValue(u.c,"autoSubmit")})),w=Object(c.useDispatch)(d.a).setValues,x=Object(c.useDispatch)(g.b).setValue,C=Object(a.useCallback)((function(){var e;w(u.h,(e={},i()(e,u.f,j),i()(e,u.g,!1),e)),Object(s.J)("".concat(t,"_audiences-sidebar"),"audiences_sidebar_view")}),[j,w,t]),A=Object(a.useCallback)((function(){r&&(x(u.i,!1),x(u.e,!1))}),[x,r]);return e.createElement(O.e,{className:"googlesitekit-audience-selection-panel",closePanel:A,isOpen:r||S,onOpen:C},e.createElement(E.a,{closePanel:A}),e.createElement(h.a,{savedItemSlugs:j}),e.createElement(p.a,null),!n&&e.createElement(y.a,null),e.createElement(_.a,null),e.createElement(v.a,null),e.createElement(k.a,null),e.createElement(b.a,{closePanel:A,isOpen:r,savedItemSlugs:j}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceAreaFooter}));var r=n(2),i=n(3),a=n(6),c=n(9),o=n(19),l=n(134),s=n(35);function AudienceAreaFooter(){var t=Object(s.a)(),n=Object(i.useSelect)((function(e){return e(a.a).getDateRangeDates({offsetDays:c.f})})),u=Object(i.useSelect)((function(e){return t?null:e(c.p).getServiceReportURL("audiences",{dates:n})}));return Object(i.useSelect)((function(e){return e(o.a).isModuleConnected("analytics-4")}))?e.createElement(l.a,{className:"googlesitekit-audience-widget__source",name:Object(r._x)("Analytics","Service name","google-site-kit"),href:u,external:!0}):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeGroupsLink}));var r=n(0),i=n(2),a=n(3),c=n(18),o=n(8),l=n(39),s=n(24),u=n(9),d=n(20),g=n(275);function ChangeGroupsLink(){var t=Object(c.a)(),n=Object(a.useInViewSelect)((function(e){return e(u.p).getConfigurableAudiences()}),[]),f=Object(a.useDispatch)(s.b).setValue,m=Object(r.useCallback)((function(){f(l.i,!0),Object(o.J)("".concat(t,"_audiences-sidebar"),"change_groups")}),[f,t]);return Array.isArray(n)&&(null==n?void 0:n.length)>0?e.createElement(r.Fragment,null,e.createElement(d.a,{secondary:!0,linkButton:!0,className:"googlesitekit-widget-area__cta-link",onClick:m,leadingIcon:e.createElement(g.a,{width:22,height:22})},Object(i.__)("Change groups","google-site-kit"))):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConnectAnalyticsCTAWidget}));var r=n(1),i=n.n(r),a=n(38),c=n(0),o=n(2),l=n(3),s=n(486),u=n(487),d=n(20),g=n(19),f=n(176),m=n(25),p=n(319);function ConnectAnalyticsCTAWidget(t){var n=t.Widget,r=Object(m.e)()===m.c,i=Object(f.a)("analytics-4"),h=Object(l.useSelect)((function(e){return e(g.a).getModuleIcon("analytics-4")})),v=r?e.createElement("p",null,Object(a.a)(Object(o.__)("Google Analytics is disconnected, your audience metrics can’t be displayed. <a>Connect Google Analytics</a>","google-site-kit"),{a:e.createElement(d.a,{secondary:!0,onClick:i})})):e.createElement(c.Fragment,null,e.createElement("p",null,Object(o.__)("Google Analytics is disconnected, your audience metrics can’t be displayed","google-site-kit")),e.createElement(d.a,{secondary:!0,onClick:i},Object(o.__)("Connect Google Analytics","google-site-kit")));return e.createElement(n,{noPadding:!0},e.createElement(p.a,{Icon:h,SVGGraphic:r?u.a:s.a},v))}ConnectAnalyticsCTAWidget.propTypes={Widget:i.a.elementType.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),c=n(2),o=n(3),l=n(6),s=n(8),u=n(54),d=n(227),g=n(153),f=n(9),m=n(24),p=n(108),h=n(18),v=Object(p.a)(d.a);function InfoNoticeWidget(t){var n=t.Widget,r=t.WidgetNull,i=Object(h.a)(),u=Object(o.useInViewSelect)((function(e){var t=e(f.p).getAvailableAudiences();return null==t?void 0:t.map((function(e){return e.name}))}),[]),d=Object(o.useInViewSelect)((function(e){return e(l.a).getConfiguredAudiences()}),[]),p=null==d?void 0:d.some((function(e){return null==u?void 0:u.includes(e)})),b=g.a.length,E=Object(o.useInViewSelect)((function(e){return e(l.a).isPromptDismissed(g.c)}),[]),_=Object(o.useSelect)((function(e){return e(m.b).getValue(g.b)})),O=Object(o.useInViewSelect)((function(e){return e(l.a).getPromptDismissCount(g.c)}),[]),y=Object(o.useDispatch)(l.a).dismissPrompt,k=Object(a.useCallback)((function(){void 0!==O&&Object(s.J)("".concat(i,"_audiences-info-notice"),"dismiss_notice",g.a[O].slug).finally((function(){var e=2*s.g,t=O+1<b?e:0;y(g.c,{expiresInSeconds:t})}))}),[O,y,b,i]);if(!0!==p||E||void 0===O||O>=b||!0===_)return e.createElement(r,null);var j=g.a[O],S=j.slug,w=j.content;return e.createElement(n,{noPadding:!0},e.createElement(v,{content:w,dismissLabel:Object(c.__)("Got it","google-site-kit"),onDismiss:k,onInView:function(){Object(s.J)("".concat(i,"_audiences-info-notice"),"view_notice",S)}}))}InfoNoticeWidget.propTypes={Widget:i.a.elementType.isRequired,WidgetNull:i.a.elementType.isRequired},t.a=Object(u.a)({moduleName:"analytics-4"})(InfoNoticeWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SecondaryUserSetupWidget}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(91),g=n(0),f=n(3),m=n(163),p=n(9),h=n(190),v=n(34);function SecondaryUserSetupWidget(t){var n=t.Widget,r=Object(g.useState)(null),a=l()(r,2),o=a[0],s=a[1],u=Object(f.useSelect)((function(e){return e(p.p).isSettingUpAudiences()})),b=Object(f.useDispatch)(p.p).enableSecondaryUserAudienceGroup,E=function(){var e=c()(i.a.mark((function e(){var t,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(null),e.next=3,b();case 3:t=e.sent,(n=t.error)&&s(n);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(d.a)((function(){u||c()(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,b();case 2:t=e.sent,(n=t.error)&&s(n);case 5:case"end":return e.stop()}}),e)})))()})),o?e.createElement(h.a,{Widget:n,errors:o,onRetry:E,showRetryButton:!Object(v.e)(o)}):e.createElement(n,{className:"googlesitekit-widget-audience-tiles",noPadding:!0},e.createElement("div",{className:"googlesitekit-widget-audience-tiles__body"},e.createElement(n,{noPadding:!0},e.createElement(m.a,null)),e.createElement(n,{noPadding:!0},e.createElement(m.a,null))))}SecondaryUserSetupWidget.propTypes={Widget:u.a.elementType.isRequired}}).call(this,n(4))},,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),c=n(2),o=n(10),l=n(17),s=n(25),u=n(320),d=n(34),g=n(117),f=n(315),m=Object(a.forwardRef)((function(t,n){var r=t.Widget,i=t.errors,a=t.onRetry,m=t.onRequestAccess,p=t.showRetryButton,h=Object(s.e)(),v=h===s.b,b=h===s.c,E=i.some(d.e);return e.createElement(r,{ref:n,noPadding:!0,className:"googlesitekit-audience-segmentation-error-widget"},e.createElement(l.e,{collapsed:!0,className:"googlesitekit-audience-segmentation-error__widget-primary-cell"},e.createElement(l.k,null,e.createElement(l.a,{smSize:6,mdSize:8,lgSize:7},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},E?Object(c.__)("Insufficient permissions","google-site-kit"):Object(c.__)("Your visitor groups data loading failed","google-site-kit")),e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-error__actions"},p&&a?e.createElement(o.Button,{onClick:a,danger:!0},Object(c.__)("Retry","google-site-kit")):e.createElement(g.a,{moduleSlug:"analytics-4",error:i,GetHelpLink:E?f.a:void 0,hideGetHelpLink:!E,buttonVariant:"danger",getHelpClassName:"googlesitekit-error-retry-text",onRetry:a,onRequestAccess:m}))),!v&&!b&&e.createElement(l.a,{className:"googlesitekit-widget-audience-segmentation-error__svg-wrapper",smSize:6,mdSize:3,lgSize:5},e.createElement(u.a,{width:"233px"})),b&&e.createElement(l.a,{className:"googlesitekit-widget-audience-segmentation-error__svg-wrapper",mdSize:8},e.createElement(u.a,{width:"233px"})),v&&e.createElement(l.a,{className:"googlesitekit-widget-audience-segmentation-error__svg-wrapper",smSize:8},e.createElement(u.a,{width:"233px"})))))}));m.propTypes={Widget:i.a.elementType.isRequired,errors:i.a.arrayOf(i.a.object).isRequired,onRetry:i.a.func.isRequired,onRequestAccess:i.a.func.isRequired,showRetryButton:i.a.bool},t.a=m}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(0),l=n(2),s=n(157),u=n(84),d=n(32),g=n(14),f=n(6),m=n(8),p=n(18),h=n(3),v=n(10),b=n(151),E=Object(o.forwardRef)((function(t,n){var r=Object(p.a)(),a=Object(h.useSelect)((function(e){var t=e(g.c).getAdminURL("googlesitekit-dashboard");return Object(s.a)(t,{widgetArea:u.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION})})),o=Object(h.useDispatch)(d.a).navigateTo,E=Object(h.useDispatch)(f.a).dismissItem;function _(){return E("settings_visitor_groups_setup_success_notification")}return e.createElement("div",{ref:n,className:"googlesitekit-settings-visitor-groups__setup-success googlesitekit-subtle-notification"},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},e.createElement(b.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,Object(l.__)("We’ve added the audiences section to your dashboard!","google-site-kit"))),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},e.createElement(v.Button,{tertiary:!0,onClick:function(){Object(m.J)("".concat(r,"_audiences-setup-cta-settings-success"),"dismiss_notification").finally(_)}},Object(l.__)("Got it","google-site-kit")),e.createElement(v.Button,{onClick:function(){Object(m.J)("".concat(r,"_audiences-setup-cta-settings-success"),"confirm_notification").finally(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_();case 2:o(a);case 3:case"end":return e.stop()}}),e)}))))}},Object(l.__)("Show me","google-site-kit"))))}));t.a=E}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(2),c=n(0),o=n(445),l=n(446),s=n(447),u=n(10),d=n(17),g=n(25),f=Object(c.forwardRef)((function(t,n){var r=t.Widget,i=t.onEnableGroups,f=t.isSaving,m=t.dismissCount,p=t.handleDismissClick,h=Object(g.e)(),v=h===g.b,b=h===g.c;return e.createElement("div",{ref:n,className:"googlesitekit-widget-context"},e.createElement(d.e,{className:"googlesitekit-widget-area"},e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(r,{noPadding:!0,className:"googlesitekit-audience-segmentation-setup-cta-widget"},e.createElement(d.e,{collapsed:!0},e.createElement(d.k,null,e.createElement(d.a,{smSize:6,mdSize:8,lgSize:7,className:"googlesitekit-widget-audience-segmentation-primary-cell"},e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-text__wrapper"},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},Object(a.__)("Learn how different types of visitors interact with your site","google-site-kit")),e.createElement("p",null,Object(a.__)('Understand what brings new visitors to your site and keeps them coming back. Site Kit can now group your site visitors into relevant segments like "new" and "returning". To set up these new groups, Site Kit needs to update your Google Analytics property.',"google-site-kit"))),e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-actions__wrapper"},e.createElement(c.Fragment,null,e.createElement(u.SpinnerButton,{className:"googlesitekit-audience-segmentation-cta-button",onClick:i,isSaving:f},f?Object(a.__)("Enabling groups","google-site-kit"):Object(a.__)("Enable groups","google-site-kit")),e.createElement(u.Button,{tertiary:!0,onClick:p},m<1?Object(a.__)("Maybe later","google-site-kit"):Object(a.__)("Don’t show again","google-site-kit"))))),!v&&!b&&e.createElement(d.a,{alignBottom:!0,className:"googlesitekit-widget-audience-segmentation-svg__wrapper",smSize:6,mdSize:3,lgSize:5},e.createElement(o.a,null)),b&&e.createElement(d.a,{className:"googlesitekit-widget-audience-segmentation-svg__wrapper",mdSize:8},e.createElement(l.a,null)),v&&e.createElement(d.a,{className:"googlesitekit-widget-audience-segmentation-svg__wrapper",smSize:8},e.createElement(s.a,null)))))))))}));f.propTypes={Widget:i.a.elementType.isRequired,onEnableGroups:i.a.func.isRequired,isSaving:i.a.bool.isRequired,dismissCount:i.a.number.isRequired,handleDismissClick:i.a.func.isRequired},t.a=f}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#audience-segmentation-setup-desktop_svg__clip0_1782_21770)"},r.createElement("path",{d:"M39.03 49.706a97.776 97.776 0 019.93-8.943c33.321-26.138 60.851-26.096 98.964-21.325C173.69 22.662 188.743 34.928 223.871 33 259 31.07 268 22.14 311 25c34.038 2.265 49.308 8.985 79.57 24.706 28.007 14.55 53.437 40.114 66.216 73.922 21.906 57.948-17.152 162.243-69.53 167.16-37.953 3.565-69.275-38.468-107.583-28.733-23.599 5.998-37.595 31.155-55.802 47.757-21.241 19.371-66.999 18.153-91.871 7.816-23.702-9.851-46.759-29.374-54.5-58.128-5.893-21.897-7.5-48-24-68-19.968-24.204-32.167-35-39.022-67.872-5.954-28.55 6.856-55.631 24.552-73.922z",fill:"#B8E6CA"}),r.createElement("rect",{x:85,y:41,width:153,height:208,rx:11,fill:"#fff"}),r.createElement("rect",{x:104.031,y:126.641,width:53.016,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:104.031,y:111.688,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:104.031,y:160.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:104.031,y:207.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M189.672 124.602a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:104,y:62,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M189.672 173.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("path",{d:"M189.672 220.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:102.672,y:175.656,width:55.734,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M238 89.5H86",stroke:"#EBEEF0",strokeWidth:2}),r.createElement("rect",{x:258,y:41,width:153,height:208,rx:11,fill:"#fff"}),r.createElement("rect",{x:276.955,y:126.641,width:52.805,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:276.955,y:111.688,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:276.955,y:160.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:276.955,y:207.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M362.256 124.602a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:277,y:62,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M401 89.5H258",stroke:"#EBEEF0",strokeWidth:2}),r.createElement("path",{d:"M362.256 173.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836zM362.256 220.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("rect",{x:275.602,y:175.656,width:55.513,height:9.516,rx:4.758,fill:"#EBEEF0"})),c=r.createElement("defs",null,r.createElement("clipPath",{id:"audience-segmentation-setup-desktop_svg__clip0_1782_21770"},r.createElement("path",{fill:"#fff",d:"M0 0h496v216H0z"})));t.a=function SvgAudienceSegmentationSetupDesktop(e){return r.createElement("svg",i({viewBox:"0 0 496 216",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#audience-segmentation-setup-tablet_svg__clip0_1925_26844)"},r.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#93C9A8"}),r.createElement("rect",{x:93,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:107.008,y:92.222,width:39.025,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:107.008,y:81.214,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:107.008,y:117.295,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M170.051 90.72a6.504 6.504 0 016.504-6.504h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:106.984,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M170.051 126.802a6.504 6.504 0 016.504-6.505h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:106.008,y:128.303,width:41.027,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M205.625 64.882H93.736",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("rect",{x:220.348,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:234.301,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:234.301,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:234.301,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M297.094 90.72a6.504 6.504 0 016.504-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:234.332,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M325.613 64.882H220.349",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M297.094 126.802a6.504 6.504 0 016.504-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:233.305,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:347.695,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:361.648,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:361.648,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:361.648,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M424.441 90.72a6.504 6.504 0 016.505-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:361.68,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M452.961 64.882H347.697",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M424.441 126.802a6.505 6.505 0 016.505-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:360.652,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"})),c=r.createElement("defs",null,r.createElement("clipPath",{id:"audience-segmentation-setup-tablet_svg__clip0_1925_26844"},r.createElement("path",{fill:"#fff",d:"M0 0h553v158H0z"})));t.a=function SvgAudienceSegmentationSetupTablet(e){return r.createElement("svg",i({viewBox:"0 0 553 146",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#audience-segmentation-setup-mobile_svg__clip0_1657_37513)"},r.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter0_d_1657_37513)"},r.createElement("rect",{x:-16.047,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),r.createElement("rect",{x:-15.682,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),r.createElement("rect",{x:-2.152,y:62.522,width:38.704,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:-2.152,y:51.605,width:13.894,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:-2.152,y:90.309,width:13.894,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M60.367 61.033a6.45 6.45 0 016.45-6.45h9.925a6.45 6.45 0 010 12.9h-9.924a6.45 6.45 0 01-6.45-6.45z",fill:"#B8E6CA"}),r.createElement("rect",{x:-2.176,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),r.createElement("path",{d:"M60.367 99.737a6.45 6.45 0 016.45-6.45h9.925a6.45 6.45 0 010 12.9h-9.924a6.45 6.45 0 01-6.45-6.45z",fill:"#FFDED3"}),r.createElement("rect",{x:-3.145,y:101.226,width:40.689,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M95.648 35.407H-15.319",stroke:"#EBEEF0",strokeWidth:1.46}),r.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter1_d_1657_37513)"},r.createElement("rect",{x:115.648,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),r.createElement("rect",{x:116.013,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),r.createElement("rect",{x:129.488,y:62.522,width:38.55,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:129.488,y:51.605,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:129.488,y:90.309,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M191.762 61.033a6.45 6.45 0 016.45-6.45h9.834a6.451 6.451 0 010 12.9h-9.834a6.45 6.45 0 01-6.45-6.45z",fill:"#B8E6CA"}),r.createElement("rect",{x:129.52,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),r.createElement("path",{d:"M220.047 35.407H115.65",stroke:"#EBEEF0",strokeWidth:1.46}),r.createElement("path",{d:"M191.762 99.737a6.45 6.45 0 016.45-6.45h9.834a6.451 6.451 0 010 12.9h-9.834a6.45 6.45 0 01-6.45-6.45z",fill:"#FFDED3"}),r.createElement("rect",{x:128.5,y:101.226,width:40.527,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter2_d_1657_37513)"},r.createElement("rect",{x:247.348,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),r.createElement("rect",{x:247.713,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),r.createElement("rect",{x:261.188,y:62.522,width:38.55,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:261.188,y:51.605,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:261.188,y:90.309,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M323.461 61.033a6.45 6.45 0 016.451-6.45h9.833a6.45 6.45 0 110 12.9h-9.833a6.45 6.45 0 01-6.451-6.45z",fill:"#B8E6CA"}),r.createElement("rect",{x:261.219,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),r.createElement("path",{d:"M351.746 35.407H247.349",stroke:"#EBEEF0",strokeWidth:1.46}),r.createElement("path",{d:"M323.461 99.737a6.45 6.45 0 016.451-6.45h9.833a6.45 6.45 0 110 12.9h-9.833a6.45 6.45 0 01-6.451-6.45z",fill:"#FFDED3"}),r.createElement("rect",{x:260.199,y:101.226,width:40.527,height:6.947,rx:3.473,fill:"#EBEEF0"})),c=r.createElement("defs",null,r.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter0_d_1657_37513",x:-16.047,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:2.92,dy:3.65}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter1_d_1657_37513",x:115.648,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:2.92,dy:3.65}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter2_d_1657_37513",x:247.348,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:2.92,dy:3.65}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),r.createElement("clipPath",{id:"audience-segmentation-setup-mobile_svg__clip0_1657_37513"},r.createElement("path",{fill:"#fff",d:"M0 0h343v157.69H0z"})));t.a=function SvgAudienceSegmentationSetupMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 120",fill:"none"},e),a,c)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTiles}));var r=n(27),i=n.n(r),a=n(15),c=n.n(a),o=n(1),l=n.n(o),s=n(0),u=n(10),d=n(3),g=n(25),f=n(6),m=n(9),p=n(449),h=n(122),v=n(365),b=n(190),E=n(466),_=n(163),O=n(469),y=n(471),k=n(253),j=n(18),S=n(35),w=n(8),x=function(e,t){var n,r,i,a=null==e||null===(n=e.rows)||void 0===n?void 0:n.find((function(e){var n,r;return(null===(n=e.dimensionValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value)===t}));return 0===((null==a||null===(r=a.metricValues)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.value)||0)};function AudienceTiles(t){var n=t.Widget,r=t.widgetLoading,a=Object(j.a)(),o=Object(S.a)(),l=Object(g.e)(),C=l===g.b||l===g.c,A=Object(d.useInViewSelect)((function(e){return e(f.a).getConfiguredAudiences()}),[]),N=Object(d.useInViewSelect)((function(e){return e(m.p).getAvailableAudiences()}),[]),T=Object(d.useSelect)((function(e){return e(m.p).getConfiguredSiteKitAndOtherAudiences()}))||[[],[]],D=c()(T,2),M=D[0],R=D[1],B=Object(d.useSelect)((function(e){return e(m.p).hasAudiencePartialData(M)})),I=Object(y.a)({isSiteKitAudiencePartialData:B,siteKitAudiences:M,otherAudiences:R}),P=I.report,F=I.reportLoaded,L=I.reportError,z=I.siteKitAudiencesReport,V=I.siteKitAudiencesReportLoaded,W=I.siteKitAudiencesReportError,G=I.totalPageviews,U=I.totalPageviewsReportLoaded,H=I.totalPageviewsReportError,q=I.topCitiesReport,K=I.topCitiesReportLoaded,J=I.topCitiesReportErrors,Y=I.topContentReport,X=I.topContentReportLoaded,$=I.topContentReportErrors,Q=I.topContentPageTitlesReport,Z=I.topContentPageTitlesReportLoaded,ee=I.topContentPageTitlesReportErrors,te=function(e,t){var n,r,i,a,c,o,l=(null==N||null===(n=N.filter((function(t){return t.name===e})))||void 0===n||null===(r=n[0])||void 0===r?void 0:r.displayName)||"",s=(null==N||null===(i=N.filter((function(t){return t.name===e})))||void 0===i||null===(a=i[0])||void 0===a?void 0:a.audienceSlug)||"",u=function(e){var t,n=M.some((function(t){return t.name===e})),r=null===(t=M.find((function(t){return t.name===e})))||void 0===t?void 0:t.audienceSlug,i=function(t){var i,a,c,o,l,s,u,d,g,f,m,p,h;if(n&&B){var v,b="new-visitors"===r?"new":"returning";h=null==z||null===(v=z.rows)||void 0===v?void 0:v.find((function(e){var n,r,i=e.dimensionValues;return(null==i||null===(n=i[0])||void 0===n?void 0:n.value)===b&&(null==i||null===(r=i[1])||void 0===r?void 0:r.value)===t}))}else{var E;h=null==P||null===(E=P.rows)||void 0===E?void 0:E.find((function(n){var r,i,a=n.dimensionValues;return(null==a||null===(r=a[0])||void 0===r?void 0:r.value)===e&&(null==a||null===(i=a[1])||void 0===i?void 0:i.value)===t}))}return[Number((null===(i=h)||void 0===i||null===(a=i.metricValues)||void 0===a||null===(c=a[0])||void 0===c?void 0:c.value)||0),Number((null===(o=h)||void 0===o||null===(l=o.metricValues)||void 0===l||null===(s=l[1])||void 0===s?void 0:s.value)||0),Number((null===(u=h)||void 0===u||null===(d=u.metricValues)||void 0===d||null===(g=d[2])||void 0===g?void 0:g.value)||0),Number((null===(f=h)||void 0===f||null===(m=f.metricValues)||void 0===m||null===(p=m[3])||void 0===p?void 0:p.value)||0)]};return{current:i("date_range_0"),previous:i("date_range_1")}}(e),d=u.current,g=u.previous,f=d[0],m=g[0],p=d[1],h=g[1],v=d[2],b=g[2],E=d[3],_=g[3],O=null==q?void 0:q[t],y=null==Y?void 0:Y[t],k=(null==Q||null===(c=Q[t])||void 0===c||null===(o=c.rows)||void 0===o?void 0:o.reduce((function(e,t){return e[t.dimensionValues[0].value]=t.dimensionValues[1].value,e}),{}))||{},j=M.some((function(t){return t.name===e})),S=P,w=e;return j&&B&&(S=z,w="new-visitors"===s?"new":"returning"),{audienceName:l,audienceSlug:s,visitors:f,prevVisitors:m,visitsPerVisitors:p,prevVisitsPerVisitors:h,pagesPerVisit:v,prevPagesPerVisit:b,pageviews:E,prevPageviews:_,topCities:O,topContent:y,topContentTitles:k,isZeroData:x(S,w),isPartialData:!j&&oe[e]}},ne=null==A?void 0:A.reduce((function(e,t){return e[t]=[],[J,$,ee].forEach((function(n){var r=n[t];r&&!Object(k.a)(r)&&e[t].push(r)})),e}),{}),re=Object(d.useSelect)((function(e){return e(f.a).getDismissedItems()})),ie=Object(d.useSelect)((function(e){return e(f.a)})).isDismissingItem,ae=Object(d.useDispatch)(f.a).dismissItem,ce=Object(s.useCallback)((function(e){ae("audience-tile-".concat(e))}),[ae]),oe=Object(d.useInViewSelect)((function(e){return null==A?void 0:A.reduce((function(t,n){return t[n]=e(m.p).isAudiencePartialData(n),t}),{})}),[A]),le=Object(s.useRef)({}),se=Object(s.useMemo)((function(){for(var e=[],t=[],n=null==A?void 0:A.slice().filter((function(e){return N.some((function(t){return t.name===e}))})),r=function(){var r,i=n.shift(),a=null==re?void 0:re.includes("audience-tile-".concat(i)),c=M.some((function(e){return e.name===i})),o=P,l=i;c&&B&&(o=z,l="new-visitors"===(null===(r=M.find((function(e){return e.name===i})))||void 0===r?void 0:r.audienceSlug)?"new":"returning");var s=x(o,l),u=n.length+t.length>0;if(a&&s&&u)return"continue";a&&!s&&e.push(i),t.push(i)};(null==n?void 0:n.length)>0;)r();return[e,t]}),[N,A,re,B,P,M,z]),ue=c()(se,2),de=ue[0],ge=ue[1];var fe,me=(fe=[],P&&fe.push(L),z&&fe.push(W),!(!fe.every(Boolean)&&!H)||(null==A?void 0:A.every((function(e){return ne[e].length>0}))));Object(s.useEffect)((function(){de.forEach((function(e){var t="audience-tile-".concat(e);le.current[t]||(ae(t,{expiresInSeconds:1}),le.current[t]=!0)}))}),[de,ae,ie]);var pe=Object(d.useSelect)((function(e){return e(m.p).isFetchingSyncAvailableCustomDimensions()})),he=Object(d.useDispatch)(m.p).fetchSyncAvailableCustomDimensions,ve=Object.values($).some(k.a)||Object.values(ee).some(k.a);Object(s.useEffect)((function(){!o&&ve&&he()}),[he,ve,o]);var be=Object(s.useState)(ge[0]),Ee=c()(be,2),_e=Ee[0],Oe=Ee[1],ye=Object(s.useCallback)((function(e){var t=ge.indexOf(e);return-1===t?0:t}),[ge]);Object(s.useEffect)((function(){ge.includes(_e)||Oe(ge[0])}),[_e,ge]);var ke=ye(_e),je=r||!F||!V||!U||!K||!X||!Z||pe,Se=0;return e.createElement(n,{className:"googlesitekit-widget-audience-tiles",noPadding:!0},!1===me&&!je&&C&&ge.length>0&&e.createElement(u.TabBar,{key:ge.length,className:"googlesitekit-widget-audience-tiles__tabs",activeIndex:ke,handleActiveIndexUpdate:function(e){return Oe(ge[e])}},ge.map((function(t,n){var r,i,c,o,l=(null==N||null===(r=N.filter((function(e){return e.name===t})))||void 0===r||null===(i=r[0])||void 0===i?void 0:i.displayName)||"",s=(null==N||null===(c=N.filter((function(e){return e.name===t})))||void 0===c||null===(o=c[0])||void 0===o?void 0:o.audienceSlug)||"",d=e.createElement(v.a,{audienceName:l,audienceSlug:s});return e.createElement(u.Tab,{key:n,"aria-label":l},l,e.createElement(h.a,{title:d,tooltipClassName:"googlesitekit-info-tooltip__content--audience",onOpen:function(){Object(w.J)("".concat(a,"_audiences-tile"),"view_tile_tooltip",s)}}))}))),e.createElement("div",{className:"googlesitekit-widget-audience-tiles__body"},me&&!je&&e.createElement(b.a,{Widget:n,errors:[].concat(i()(Object.values(ne).flat(2)),[L,H])}),(!1===me||je)&&ge.map((function(t,r){var i,a,c,o,l,s,u,d,g,f,m,h,b,O,y,k,j,S,w,x,A,N,T,D,M,R,B,I,P,F,L,z,V,W,U,H;if(C&&r!==ke)return null;var q=te(t,r),K=q.audienceName,J=q.audienceSlug,Y=q.visitors,X=q.prevVisitors,$=q.visitsPerVisitors,Q=q.prevVisitsPerVisitors,Z=q.pagesPerVisit,ee=q.prevPagesPerVisit,re=q.pageviews,ie=q.prevPageviews,ae=q.topCities,oe=q.topContent,le=q.topContentTitles,se=q.isZeroData,ue=q.isPartialData;return je||void 0===se||void 0===ue?e.createElement(n,{key:t,noPadding:!0},e.createElement(_.a,null)):ne[t].length>0?e.createElement(E.a,{key:t,audienceSlug:J,errors:ne[t]}):e.createElement(p.a,{key:t,audienceTileNumber:Se++,audienceSlug:J,title:K,infoTooltip:e.createElement(v.a,{audienceName:K,audienceSlug:J}),visitors:{currentValue:Y,previousValue:X},visitsPerVisitor:{currentValue:$,previousValue:Q},pagesPerVisit:{currentValue:Z,previousValue:ee},pageviews:{currentValue:re,previousValue:ie},percentageOfTotalPageViews:0!==G?re/G:0,topCities:{dimensionValues:[null==ae||null===(i=ae.rows)||void 0===i||null===(a=i[0])||void 0===a||null===(c=a.dimensionValues)||void 0===c?void 0:c[0],null==ae||null===(o=ae.rows)||void 0===o||null===(l=o[1])||void 0===l||null===(s=l.dimensionValues)||void 0===s?void 0:s[0],null==ae||null===(u=ae.rows)||void 0===u||null===(d=u[2])||void 0===d||null===(g=d.dimensionValues)||void 0===g?void 0:g[0]],metricValues:[null==ae||null===(f=ae.rows)||void 0===f||null===(m=f[0])||void 0===m||null===(h=m.metricValues)||void 0===h?void 0:h[0],null==ae||null===(b=ae.rows)||void 0===b||null===(O=b[1])||void 0===O||null===(y=O.metricValues)||void 0===y?void 0:y[0],null==ae||null===(k=ae.rows)||void 0===k||null===(j=k[2])||void 0===j||null===(S=j.metricValues)||void 0===S?void 0:S[0]],total:Y},topContent:{dimensionValues:[null==oe||null===(w=oe.rows)||void 0===w||null===(x=w[0])||void 0===x||null===(A=x.dimensionValues)||void 0===A?void 0:A[0],null==oe||null===(N=oe.rows)||void 0===N||null===(T=N[1])||void 0===T||null===(D=T.dimensionValues)||void 0===D?void 0:D[0],null==oe||null===(M=oe.rows)||void 0===M||null===(R=M[2])||void 0===R||null===(B=R.dimensionValues)||void 0===B?void 0:B[0]],metricValues:[null==oe||null===(I=oe.rows)||void 0===I||null===(P=I[0])||void 0===P||null===(F=P.metricValues)||void 0===F?void 0:F[0],null==oe||null===(L=oe.rows)||void 0===L||null===(z=L[1])||void 0===z||null===(V=z.metricValues)||void 0===V?void 0:V[0],null==oe||null===(W=oe.rows)||void 0===W||null===(U=W[2])||void 0===U||null===(H=U.metricValues)||void 0===H?void 0:H[0]]},topContentTitles:le,hasInvalidCustomDimensionError:ve,Widget:n,audienceResourceName:t,isZeroData:se,isPartialData:ue,isTileHideable:ge.length>1,onHideTile:function(){return ce(t)}})})),!C&&e.createElement(O.a,{Widget:n,loading:je,allTilesError:me,visibleAudienceCount:ge.length})))}AudienceTiles.propTypes={Widget:l.a.elementType.isRequired,widgetLoading:l.a.bool.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTile}));var r=n(12),i=n.n(r),a=n(1),c=n.n(a),o=n(2),l=n(3),s=n(25),u=n(35),d=n(9),g=n(450),f=n(451),m=n(452),p=n(453),h=n(454),v=n(455),b=n(268),E=n(456),_=n(457),O=n(171),y=n(122),k=n(317),j=n(8),S=n(231),w=n(18),x=n(460);function AudienceTile(t){var n=t.audienceTileNumber,r=void 0===n?0:n,a=t.audienceSlug,c=t.title,C=t.infoTooltip,A=t.visitors,N=t.visitsPerVisitor,T=t.pagesPerVisit,D=t.pageviews,M=t.percentageOfTotalPageViews,R=t.topCities,B=t.topContent,I=t.topContentTitles,P=t.hasInvalidCustomDimensionError,F=t.Widget,L=t.audienceResourceName,z=t.isZeroData,V=t.isPartialData,W=t.isTileHideable,G=t.onHideTile,U=Object(s.e)(),H=Object(w.a)(),q=Object(u.a)(),K=Object(l.useInViewSelect)((function(e){var t=e(d.p).getPropertyID();return t&&e(d.p).isPropertyPartialData(t)})),J=Object(l.useSelect)((function(e){return e(d.p).isSiteKitAudience(L)})),Y=Object(l.useInViewSelect)((function(e){return!J&&void 0!==K&&(!K&&L&&e(d.p).isAudiencePartialData(L))}),[K,J,L]),X=Object(l.useInViewSelect)((function(e){return void 0!==K&&(!K&&!Y&&e(d.p).isCustomDimensionPartialData("googlesitekit_post_type"))}),[Y]),$=Object(l.useInViewSelect)((function(e){return e(d.p).hasCustomDimensions("googlesitekit_post_type")}),[]),Q=[s.b,s.c].includes(U);return V&&z?e.createElement(x.a,{Widget:F,audienceSlug:a,title:c,infoTooltip:C,isMobileBreakpoint:Q,isTileHideable:W,onHideTile:G}):e.createElement(F,{noPadding:!0},e.createElement("div",{className:i()("googlesitekit-audience-segmentation-tile",{"googlesitekit-audience-segmentation-tile--partial-data":Y})},!Q&&e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header-title"},c,C&&e.createElement(y.a,{title:C,tooltipClassName:"googlesitekit-info-tooltip__content--audience",onOpen:function(){return Object(j.J)("".concat(H,"_audiences-tile"),"view_tile_tooltip",a)}})),Y&&e.createElement(S.a,{className:"googlesitekit-audience-segmentation-partial-data-badge",label:Object(o.__)("Partial data","google-site-kit"),tooltipTitle:Object(o.__)("Still collecting full data for this timeframe, partial data is displayed for this group","google-site-kit"),onTooltipOpen:function(){Object(j.J)("".concat(H,"_audiences-tile"),"view_tile_partial_data_tooltip",a)}})),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__metrics"},Q&&Y&&e.createElement(k.a,{content:Object(o.__)("Still collecting full data for this timeframe, partial data is displayed for this group","google-site-kit")}),e.createElement(b.a,{TileIcon:g.a,title:Object(o.__)("Visitors","google-site-kit"),metricValue:A.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:A.previousValue,currentValue:A.currentValue})}}),e.createElement(b.a,{TileIcon:f.a,title:Object(o.__)("Visits per visitor","google-site-kit"),metricValue:N.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:N.previousValue,currentValue:N.currentValue})}}),e.createElement(b.a,{TileIcon:m.a,title:Object(o.__)("Pages per visit","google-site-kit"),metricValue:T.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:T.previousValue,currentValue:T.currentValue})},metricValueFormat:{style:"decimal",maximumFractionDigits:2}}),e.createElement(b.a,{TileIcon:p.a,title:Object(o.sprintf)( /* translators: %s: is a percentage value such as 33.3%. */ Object(o.__)("%s of total pageviews","google-site-kit"),Object(j.C)(M,{style:"percent",maximumFractionDigits:1})),metricValue:D.currentValue,Badge:function Badge(){return e.createElement(O.a,{previousValue:D.previousValue,currentValue:D.currentValue})}}),e.createElement(E.a,{TileIcon:h.a,title:Object(o.__)("Cities with the most visitors","google-site-kit"),topCities:R}),(!q||$&&!P)&&e.createElement(_.a,{audienceTileNumber:r,audienceSlug:a,TileIcon:v.a,title:Object(o.__)("Top content by pageviews","google-site-kit"),topContentTitles:I,topContent:B,isTopContentPartialData:X}))))}AudienceTile.propTypes={audienceTileNumber:c.a.number,audienceSlug:c.a.string.isRequired,title:c.a.string.isRequired,infoTooltip:c.a.oneOfType([c.a.string,c.a.element]),visitors:c.a.object,visitsPerVisitor:c.a.object,pagesPerVisit:c.a.object,pageviews:c.a.object,percentageOfTotalPageViews:c.a.number,topCities:c.a.object,topContent:c.a.object,topContentTitles:c.a.object,hasInvalidCustomDimensionError:c.a.bool,Widget:c.a.elementType.isRequired,audienceResourceName:c.a.string.isRequired,isZeroData:c.a.bool,isPartialData:c.a.bool,isTileHideable:c.a.bool,onHideTile:c.a.func}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M.833 16.667v-2.334c0-.472.118-.902.354-1.291a2.48 2.48 0 01.98-.917c.86-.43 1.735-.75 2.624-.958a11.126 11.126 0 012.709-.333c.916 0 1.82.11 2.708.333.889.208 1.764.528 2.625.958.403.209.722.514.958.917.25.389.375.82.375 1.292v2.333H.833zm15 0v-2.5c0-.611-.174-1.195-.52-1.75-.334-.57-.813-1.056-1.438-1.458.708.083 1.375.229 2 .437a9.852 9.852 0 011.75.73c.5.277.882.59 1.145.937.264.333.396.701.396 1.104v2.5h-3.333zM7.5 10a3.21 3.21 0 01-2.354-.979 3.21 3.21 0 01-.98-2.354c0-.917.327-1.702.98-2.354a3.21 3.21 0 012.354-.98 3.21 3.21 0 012.354.98 3.21 3.21 0 01.979 2.354 3.21 3.21 0 01-.98 2.354 3.21 3.21 0 01-2.353.98zm8.333-3.333a3.21 3.21 0 01-.98 2.354 3.21 3.21 0 01-2.353.98c-.153 0-.348-.015-.584-.042a6.732 6.732 0 01-.583-.125c.375-.445.66-.938.854-1.48a4.662 4.662 0 00.313-1.687c0-.583-.104-1.146-.313-1.688a4.784 4.784 0 00-.854-1.479c.194-.07.389-.11.583-.125a4.12 4.12 0 01.584-.042 3.21 3.21 0 012.354.98 3.21 3.21 0 01.979 2.354zM2.5 15h10v-.666a.735.735 0 00-.125-.417.737.737 0 00-.292-.292 10.446 10.446 0 00-2.27-.833 9.342 9.342 0 00-4.626 0c-.764.18-1.52.458-2.27.833a.894.894 0 00-.313.292.843.843 0 00-.104.417V15zm5-6.666c.458 0 .847-.16 1.166-.48.334-.333.5-.729.5-1.187 0-.458-.166-.847-.5-1.167-.32-.333-.708-.5-1.166-.5-.459 0-.854.167-1.188.5-.32.32-.479.708-.479 1.167 0 .458.16.854.48 1.187.333.32.728.48 1.187.48z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconVisitors(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M10 17.5a7.443 7.443 0 01-2.938-.583 8.045 8.045 0 01-2.375-1.605 8.045 8.045 0 01-1.604-2.374A7.443 7.443 0 012.5 10c0-1.042.194-2.014.583-2.917a7.7 7.7 0 011.604-2.375 7.548 7.548 0 012.375-1.604A7.221 7.221 0 0110 2.5c1.139 0 2.215.243 3.23.73a7.252 7.252 0 012.603 2.062V3.333H17.5v5h-5V6.667h2.292a6.194 6.194 0 00-2.104-1.834A5.625 5.625 0 0010 4.167c-1.625 0-3.007.57-4.146 1.708C4.73 7 4.167 8.375 4.167 10s.562 3.007 1.687 4.146c1.14 1.125 2.521 1.687 4.146 1.687 1.458 0 2.73-.472 3.813-1.416 1.097-.945 1.743-2.14 1.937-3.584h1.708c-.208 1.903-1.027 3.493-2.458 4.771-1.417 1.264-3.083 1.896-5 1.896zm2.333-4l-3.166-3.167v-4.5h1.666v3.834l2.667 2.666-1.167 1.167z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconVisitsPerVisitor(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M13.125 16.667H3.334c-.459 0-.855-.16-1.188-.48-.32-.333-.479-.729-.479-1.187V5c0-.458.16-.847.48-1.167.332-.333.728-.5 1.187-.5h13.333c.458 0 .847.167 1.167.5.333.32.5.709.5 1.167v10c0 .459-.167.854-.5 1.188-.32.32-.709.479-1.167.479H15.5l-3.916-3.917c-.292.195-.611.34-.959.438-.333.097-.68.146-1.041.146-1.042 0-1.93-.362-2.667-1.084-.722-.736-1.083-1.625-1.083-2.666 0-1.042.36-1.924 1.083-2.646a3.633 3.633 0 012.667-1.104c1.041 0 1.923.368 2.646 1.104.736.722 1.104 1.604 1.104 2.646 0 .375-.049.729-.146 1.062a3.393 3.393 0 01-.438.938L16.167 15h.5V5H3.334v10h8.125l1.666 1.667zm-3.541-5c.583 0 1.076-.202 1.479-.604.403-.403.604-.896.604-1.48 0-.583-.201-1.076-.604-1.479a2.012 2.012 0 00-1.48-.604c-.583 0-1.076.202-1.479.604a2.012 2.012 0 00-.604 1.48c0 .583.202 1.076.604 1.479.403.402.896.604 1.48.604zM3.334 15V5v10z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconPagesPerVisit(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M4.167 17.5c-.459 0-.854-.16-1.188-.48-.32-.332-.479-.728-.479-1.187V4.167c0-.459.16-.848.48-1.167.333-.333.728-.5 1.187-.5h11.666c.459 0 .848.167 1.167.5.333.32.5.708.5 1.167v11.666c0 .459-.167.854-.5 1.188-.32.32-.708.479-1.167.479H4.167zm0-1.667h11.666v-10H4.167v10zM10 14.167c-1.139 0-2.16-.306-3.063-.917A5.398 5.398 0 015 10.833a5.271 5.271 0 011.938-2.396C7.84 7.814 8.86 7.5 10 7.5c1.139 0 2.153.313 3.042.938A5.229 5.229 0 0115 10.832a5.353 5.353 0 01-1.958 2.417c-.89.611-1.903.917-3.042.917zm0-1.25c.778 0 1.486-.18 2.125-.542a4 4 0 001.5-1.542 3.854 3.854 0 00-1.5-1.52A4.12 4.12 0 0010 8.75a4.12 4.12 0 00-2.125.563 3.854 3.854 0 00-1.5 1.52 4 4 0 001.5 1.542 4.243 4.243 0 002.125.542zm0-.834a1.26 1.26 0 01-.896-.354 1.26 1.26 0 01-.354-.896c0-.347.118-.639.354-.875.25-.25.549-.375.896-.375s.639.125.875.375c.25.236.375.528.375.875 0 .348-.125.646-.375.896a1.189 1.189 0 01-.875.354z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconPageviews(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M10 18.333a.776.776 0 01-.5-.166 1.012 1.012 0 01-.312-.438 11.597 11.597 0 00-1-2.188c-.39-.68-.938-1.479-1.646-2.395-.708-.917-1.285-1.792-1.73-2.625-.43-.834-.645-1.84-.645-3.021 0-1.625.562-3 1.687-4.125C6.994 2.235 8.375 1.667 10 1.667s3 .569 4.125 1.708c1.14 1.125 1.709 2.5 1.709 4.125 0 1.264-.243 2.32-.73 3.166-.472.834-1.02 1.66-1.645 2.48-.75 1-1.32 1.833-1.709 2.5a11.765 11.765 0 00-.937 2.083.94.94 0 01-.334.458.814.814 0 01-.479.146zm0-2.979c.236-.472.5-.938.792-1.396.306-.458.75-1.07 1.333-1.833a19.693 19.693 0 001.459-2.146c.389-.667.583-1.493.583-2.48 0-1.152-.41-2.131-1.23-2.937-.805-.82-1.784-1.229-2.937-1.229-1.152 0-2.139.41-2.958 1.23-.806.805-1.208 1.784-1.208 2.937 0 .986.187 1.812.562 2.479.39.653.882 1.368 1.48 2.146.583.764 1.02 1.375 1.312 1.833.305.458.576.924.812 1.396zm0-5.77c.584 0 1.077-.202 1.48-.605.402-.403.604-.896.604-1.48 0-.582-.202-1.076-.604-1.478A2.012 2.012 0 0010 5.417c-.583 0-1.076.2-1.479.604A2.012 2.012 0 007.917 7.5c0 .583.201 1.076.604 1.479.403.403.896.604 1.48.604z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconCities(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M3.334 16.667c-.459 0-.855-.16-1.188-.48-.32-.333-.479-.729-.479-1.187V5c0-.458.16-.847.48-1.167.332-.333.728-.5 1.187-.5h13.333c.458 0 .847.167 1.167.5.333.32.5.709.5 1.167v10c0 .459-.167.854-.5 1.188-.32.32-.709.479-1.167.479H3.334zm0-1.667h8.75v-2.916h-8.75V15zm10.416 0h2.917V7.5H13.75V15zM3.334 10.417h8.75V7.5h-8.75v2.917z",fill:"#6C726E"});t.a=function SvgAudienceMetricIconTopContent(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileCitiesMetric}));var r=n(1),i=n.n(r),a=n(8),c=n(316);function AudienceTileCitiesMetric(t){var n,r=t.TileIcon,i=t.title,o=t.topCities,l=(null==o||null===(n=o.dimensionValues)||void 0===n?void 0:n.filter(Boolean))||[],s=!!l.length;return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric googlesitekit-audience-segmentation-tile-metric--cities"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__icon"},e.createElement(r,null)),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__container"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__title"},i),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__content"},!s&&e.createElement(c.a,null),s&&l.map((function(t,n){var r;return e.createElement("div",{key:null==t?void 0:t.value,className:"googlesitekit-audience-segmentation-tile-metric__cities-metric"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__cities-metric-name"},null==t?void 0:t.value),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__cities-metric-value"},Object(a.C)((null==o||null===(r=o.metricValues[n])||void 0===r?void 0:r.value)/(null==o?void 0:o.total),{style:"percent",maximumFractionDigits:1})))})))))}AudienceTileCitiesMetric.propTypes={TileIcon:i.a.elementType.isRequired,title:i.a.string.isRequired,topCities:i.a.object}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AudienceTilePagesMetric}));var i=n(1),a=n.n(i),c=n(0),o=n(157),l=n(2),s=n(3),u=n(25),d=n(28),g=n(14),f=n(6),m=n(9),p=n(34),h=n(231),v=n(458),b=n(226),E=n(84),_=n(18),O=n(8);function AudienceTilePagesMetric(t){var n=t.audienceTileNumber,i=t.audienceSlug,a=t.TileIcon,y=t.title,k=t.topContent,j=t.topContentTitles,S=t.isTopContentPartialData,w=Object(u.e)(),x=Object(_.a)(),C=m.e.googlesitekit_post_type.parameterName,A=Object(s.useSelect)((function(e){return!e(m.p).hasCustomDimensions(C)})),N=Object(s.useSelect)((function(e){return e(f.a).hasScope(m.g)})),T=Object(o.a)(e.location.href,{notification:"audience_segmentation",widgetArea:E.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION}),D=Object(o.a)(e.location.href,{widgetArea:E.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION}),M=Object(s.useSelect)((function(e){return e(d.a).getValue(m.d,"isAutoCreatingCustomDimensionsForAudience")})),R=Object(s.useSelect)((function(e){return e(m.p).isCreatingCustomDimension(C)})),B=Object(s.useSelect)((function(e){return e(m.p).isFetchingSyncAvailableCustomDimensions()})),I=Object(s.useSelect)((function(e){return e(m.p).getCreateCustomDimensionError(C)})),P=Object(s.useSelect)((function(e){return e(m.p).getPropertyID()})),F=Object(s.useDispatch)(m.p).clearError,L=Object(s.useDispatch)(d.a).setValues,z=Object(s.useDispatch)(f.a),V=z.setPermissionScopeError,W=z.clearPermissionScopeError,G=Object(s.useSelect)((function(e){return e(d.a).getValue(m.d,"isRetrying")})),U=Object(s.useSelect)((function(e){return e(d.a).getValue(m.d,"autoSubmit")})),H=Object(s.useSelect)((function(e){return e(g.c).getSetupErrorCode()})),q=Object(s.useDispatch)(g.c).setSetupErrorCode,K=U&&"access_denied"===H,J=Object(c.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.isRetrying;L(m.d,{autoSubmit:!0,isRetrying:t}),N||V({code:p.a,message:Object(l.__)("Additional permissions are required to create new audiences in Analytics.","google-site-kit"),data:{status:403,scopes:[m.g],skipModal:!0,skipDefaultErrorNotifications:!0,redirectURL:T,errorRedirectURL:D}})}),[N,T,D,V,L]),Y=Object(c.useCallback)((function(){L(m.d,{autoSubmit:!1,isRetrying:!1}),q(null),W(),F("createCustomDimension",[P,m.e.googlesitekit_post_type])}),[F,W,P,q,L]),X=[u.b,u.c].includes(w),$=M||R||B;return r.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric googlesitekit-audience-segmentation-tile-metric--top-content"},r.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__icon"},r.createElement(a,null)),r.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__container"},r.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__title"},y,!X&&S&&r.createElement(h.a,{className:"googlesitekit-audience-segmentation-partial-data-badge",label:Object(l.__)("Partial data","google-site-kit"),onTooltipOpen:function(){Object(O.J)("".concat(x,"_audiences-tile"),"view_top_content_partial_data_tooltip",i)},tooltipTitle:Object(l.__)("Still collecting full data for this timeframe, partial data is displayed for this metric","google-site-kit")})),r.createElement(v.a,{topContentTitles:j,topContent:k,isTopContentPartialData:S,hasCustomDimension:!A,onCreateCustomDimension:J,isSaving:$}),0===n&&(I&&!$||G&&!M||K)&&r.createElement(b.a,{apiErrors:[I],title:Object(l.__)("Failed to enable metric","google-site-kit"),description:Object(l.__)("Oops! Something went wrong. Retry enabling the metric.","google-site-kit"),onRetry:function(){return J({isRetrying:!0})},onCancel:Y,inProgress:$,hasOAuthError:K,trackEventCategory:"".concat(x,"_audiences-top-content-cta")})))}AudienceTilePagesMetric.propTypes={audienceTileNumber:a.a.number,audienceSlug:a.a.string.isRequired,TileIcon:a.a.elementType.isRequired,title:a.a.string.isRequired,topContent:a.a.object,topContentTitles:a.a.object,isTopContentPartialData:a.a.bool}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTilePagesMetricContent}));var r=n(1),i=n.n(r),a=n(2),c=n(3),o=n(25),l=n(6),s=n(9),u=n(316),d=n(20),g=n(317),f=n(8),m=n(108),p=n(18),h=n(35),v=n(459),b=Object(m.a)(v.a);function AudienceTilePagesMetricContent(t){var n,r=t.topContentTitles,i=t.topContent,m=t.isTopContentPartialData,v=t.hasCustomDimension,E=t.onCreateCustomDimension,_=t.isSaving,O=Object(p.a)(),y=Object(h.a)(),k=Object(o.e)(),j=[o.b,o.c].includes(k),S=(null==i||null===(n=i.dimensionValues)||void 0===n?void 0:n.filter(Boolean))||[],w=!!S.length,x=Object(c.useSelect)((function(e){return e(l.a).getDateRangeDates({offsetDays:s.f})}));function ContentLinkComponent(t){var n=t.content,i=r[null==n?void 0:n.value],a=null==n?void 0:n.value,o=Object(c.useSelect)((function(e){return y?null:e(s.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:a},dates:x})}));return y?e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__top-content-metric-name"},i):e.createElement(d.a,{href:o,title:i,external:!0,hideExternalIndicator:!0},i)}return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__content"},!v&&e.createElement(b,{onClick:function(){Object(f.J)("".concat(O,"_audiences-top-content-cta"),"create_custom_dimension").finally(E)},isSaving:_,onInView:function(){Object(f.J)("".concat(O,"_audiences-top-content-cta"),"view_cta")}}),v&&!w&&e.createElement(u.a,null),v&&w&&S.map((function(t,n){var r;return e.createElement("div",{key:null==t?void 0:t.value,className:"googlesitekit-audience-segmentation-tile-metric__page-metric-container"},e.createElement(ContentLinkComponent,{content:t}),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-metric__page-metric-value"},Object(f.C)(null==i||null===(r=i.metricValues[n])||void 0===r?void 0:r.value)))})),j&&m&&e.createElement(g.a,{content:Object(a.__)("Still collecting full data for this timeframe, partial data is displayed for this metric","google-site-kit")}))}AudienceTilePagesMetricContent.propTypes={topContentTitles:i.a.object,topContent:i.a.object,isTopContentPartialData:i.a.bool,hasCustomDimension:i.a.bool,onCreateCustomDimension:i.a.func,isSaving:i.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),c=n(2),o=n(10),l=Object(a.forwardRef)((function(t,n){var r=t.onClick,i=t.isSaving;return e.createElement("div",{ref:n,className:"googlesitekit-audience-segmentation-tile-metric__no-data"},Object(c.__)("No data to show","google-site-kit"),e.createElement("p",null,Object(c.__)("Update Analytics to track metric","google-site-kit")),e.createElement(o.SpinnerButton,{danger:!0,onClick:r,isSaving:i,disabled:i},Object(c.__)("Update","google-site-kit")))}));l.propTypes={onClick:i.a.func.isRequired,isSaving:i.a.bool},t.a=l}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileZeroData}));var r=n(1),i=n.n(r),a=n(18),c=n(108),o=n(8),l=n(461),s=Object(c.a)(l.a);function AudienceTileZeroData(t){var n=t.Widget,r=t.audienceSlug,i=t.title,c=t.infoTooltip,l=t.isMobileBreakpoint,u=t.isTileHideable,d=t.onHideTile,g=Object(a.a)();return e.createElement(s,{Widget:n,audienceSlug:r,title:i,infoTooltip:c,isMobileBreakpoint:l,isTileHideable:u,onHideTile:function(){Object(o.J)("".concat(g,"_audiences-tile"),"temporarily_hide",r).finally(d)},onInView:function(){Object(o.J)("".concat(g,"_audiences-tile"),"view_tile_collecting_data",r)}})}AudienceTileZeroData.propTypes={Widget:i.a.elementType.isRequired,audienceSlug:i.a.string.isRequired,title:i.a.string.isRequired,infoTooltip:i.a.oneOfType([i.a.string,i.a.element]),isMobileBreakpoint:i.a.bool,isTileHideable:i.a.bool,onHideTile:i.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),c=n(18),o=n(8),l=n(122),s=n(462),u=n(464),d=Object(a.forwardRef)((function(t,n){var r=t.Widget,i=t.audienceSlug,a=t.title,d=t.infoTooltip,g=t.isMobileBreakpoint,f=t.isTileHideable,m=t.onHideTile,p=Object(c.a)();return e.createElement(r,{ref:n,noPadding:!0},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__zero-data-container"},!g&&e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__header-title"},a,d&&e.createElement(l.a,{title:d,tooltipClassName:"googlesitekit-info-tooltip__content--audience",onOpen:function(){return Object(o.J)("".concat(p,"_audiences-tile"),"view_tile_tooltip",i)}}))),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile__zero-data-content"},e.createElement(s.a,null),f&&e.createElement(u.a,{onHideTile:m})))))}));d.propTypes={Widget:i.a.elementType.isRequired,audienceSlug:i.a.string.isRequired,title:i.a.string.isRequired,infoTooltip:i.a.oneOfType([i.a.string,i.a.element]),isMobileBreakpoint:i.a.bool,isTileHideable:i.a.bool,onHideTile:i.a.func},t.a=d}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileCollectingData}));var r=n(0),i=n(2),a=n(463);function AudienceTileCollectingData(){return e.createElement(r.Fragment,null,e.createElement(a.a,{className:"googlesitekit-audience-segmentation-tile__zero-data-image"}),e.createElement("p",{className:"googlesitekit-audience-segmentation-tile__zero-data-description"},Object(i.__)("Site Kit is collecting data for this group.","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M54.323 93.529c21.908 0 39.667-17.76 39.667-39.667 0-21.908-17.76-39.667-39.667-39.667s-39.667 17.76-39.667 39.667 17.76 39.667 39.667 39.667z",fill:"#EBEEF0"}),c=r.createElement("path",{d:"M37.717 38.469l52.162 18.445a12.955 12.955 0 0016.533-7.896v0a12.948 12.948 0 00-3.553-13.955 12.952 12.952 0 00-4.349-2.582L87.023 28.42l-.014.042c.3-1.877.323-3.787.07-5.67",stroke:"#161B18",strokeWidth:2.578,strokeLinecap:"round",strokeLinejoin:"round"}),o=r.createElement("path",{d:"M70.947 38.469L18.785 56.914A12.955 12.955 0 012.25 49.018v0a12.955 12.955 0 017.902-16.537L21.64 28.42l.016.042a19.431 19.431 0 01-.07-5.668",stroke:"#161B18",strokeWidth:2.578,strokeLinecap:"round",strokeLinejoin:"round"}),l=r.createElement("path",{d:"M27.61.51l.497 83.126a39.625 39.625 0 0053.598-1.071l1.19-82.11L27.61.51z",fill:"#70B2F5"}),s=r.createElement("path",{d:"M27.61.51l.497 83.126a39.625 39.625 0 0053.598-1.071l1.19-82.11L27.61.51z",fill:"#77AD8C"}),u=r.createElement("path",{d:"M82.648 17.112l.24-16.66h-5.853l-1.033 86.633a39.782 39.782 0 005.702-4.526l.944-65.447z",fill:"#77AD8C",opacity:.2}),d=r.createElement("path",{d:"M44.723 46.377c4.916 3.946 11.868 4.892 19.218.273",stroke:"#161B18",strokeWidth:1.785,strokeLinecap:"round",strokeLinejoin:"round"}),g=r.createElement("path",{d:"M80.38 24.992c0-9.563-11.446-17.056-26.059-17.056-14.613 0-26.06 7.49-26.06 17.056h52.12z",fill:"#7B807D"}),f=r.createElement("path",{d:"M39.588 39.736c8.143 0 14.744-6.6 14.744-14.744 0-8.143-6.601-14.744-14.744-14.744s-14.744 6.601-14.744 14.744 6.601 14.744 14.744 14.744z",fill:"#fff",stroke:"#464B48",strokeWidth:4.363,strokeLinejoin:"round"}),m=r.createElement("path",{d:"M69.076 39.736c8.143 0 14.745-6.6 14.745-14.744 0-8.143-6.602-14.744-14.745-14.744-8.143 0-14.744 6.601-14.744 14.744s6.601 14.744 14.744 14.744z",fill:"#fff",stroke:"#464B48",strokeWidth:4.363,strokeLinejoin:"round"}),p=r.createElement("path",{d:"M30.86 24.992a8.739 8.739 0 018.726-8.726M60.348 24.992a8.738 8.738 0 018.726-8.726",stroke:"#B8BDB9",strokeWidth:3.173,strokeLinejoin:"round"});t.a=function SvgAudienceSegmentationCollectingData(e){return r.createElement("svg",i({viewBox:"0 0 109 94",fill:"none"},e),a,c,o,l,s,u,d,g,f,m,p)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileCollectingDataHideable}));var r=n(1),i=n.n(r),a=n(0),c=n(2),o=n(20),l=n(465);function AudienceTileCollectingDataHideable(t){var n=t.onHideTile;return e.createElement(a.Fragment,null,e.createElement("p",{className:"googlesitekit-audience-segmentation-tile__zero-data-description"},Object(c.__)("You can hide this group until data is available.","google-site-kit")),e.createElement(o.a,{secondary:!0,linkButton:!0,className:"googlesitekit-audience-segmentation-tile-hide-cta",onClick:n,leadingIcon:e.createElement(l.a,{width:22,height:22})},Object(c.__)("Temporarily hide","google-site-kit")))}AudienceTileCollectingDataHideable.propTypes={onHideTile:i.a.func.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12.907 10.523l-1.088-1.088c.113-.587-.056-1.137-.506-1.65-.45-.512-1.031-.712-1.743-.6L8.482 6.098c.213-.1.425-.175.638-.225.225-.05.462-.075.712-.075.938 0 1.731.331 2.381.994.663.65.994 1.443.994 2.381 0 .25-.025.487-.075.712-.05.213-.125.425-.225.638zm2.4 2.362l-1.088-1.05a8.11 8.11 0 001.257-1.18 6.69 6.69 0 00.956-1.482 7.287 7.287 0 00-2.7-3c-1.162-.75-2.462-1.125-3.9-1.125-.362 0-.719.025-1.069.075-.35.05-.693.125-1.031.225L6.57 4.185a7.851 7.851 0 011.575-.468 8.22 8.22 0 011.687-.169c1.887 0 3.569.525 5.044 1.575a8.87 8.87 0 013.206 4.05 8.766 8.766 0 01-1.144 2.063 8.16 8.16 0 01-1.631 1.65zm.375 4.613l-3.15-3.113a9.803 9.803 0 01-1.331.32 9.675 9.675 0 01-1.369.093c-1.887 0-3.569-.519-5.044-1.556a8.983 8.983 0 01-3.206-4.07 8.663 8.663 0 01.994-1.837c.4-.575.856-1.087 1.369-1.537l-2.063-2.1 1.05-1.05 13.8 13.8-1.05 1.05zM4.995 6.848A8.054 8.054 0 004 7.917c-.3.387-.556.806-.769 1.256a7.46 7.46 0 002.681 3.019c1.175.737 2.482 1.106 3.919 1.106.25 0 .494-.013.731-.038.238-.037.481-.075.731-.112l-.675-.713a5.889 5.889 0 01-.393.094 3.96 3.96 0 01-.394.019c-.937 0-1.737-.325-2.4-.975-.65-.662-.975-1.463-.975-2.4 0-.138.006-.269.019-.394.025-.125.056-.256.094-.394L4.995 6.848z",fill:"#108080"});t.a=function SvgVisibility(e){return r.createElement("svg",i({viewBox:"0 0 19 19",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceTileError}));var r=n(1),i=n.n(r),a=n(34),c=n(467),o=n(108),l=n(18),s=n(8),u=Object(o.a)(c.a);function AudienceTileError(t){var n=t.audienceSlug,r=t.errors,i=Object(l.a)(),c=r.some((function(e){return Object(a.e)(e)}));return e.createElement(u,{errors:r,onInView:function(){var e=c?"insufficient_permissions_error":"data_loading_error";Object(s.J)("".concat(i,"_audiences-tile"),e,n)},onRetry:function(){Object(s.J)("".concat(i,"_audiences-tile"),"data_loading_error_retry",n)},onRequestAccess:function(){Object(s.J)("".concat(i,"_audiences-tile"),"insufficient_permissions_error_request_access",n)}})}AudienceTileError.propTypes={audienceSlug:i.a.string.isRequired,errors:i.a.array.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),c=n(2),o=n(34),l=n(468),s=n(117),u=n(315),d=Object(a.forwardRef)((function(t,n){var r=t.errors,i=t.onRetry,a=t.onRequestAccess,d=r.some((function(e){return Object(o.e)(e)}));return e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error",ref:n},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__container"},e.createElement(l.a,{className:"googlesitekit-audience-segmentation-tile-error__image"}),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__body"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__message"},e.createElement("h3",{className:"googlesitekit-audience-segmentation-tile-error__title"},d?Object(c.__)("Insufficient permissions","google-site-kit"):Object(c.__)("Data loading failed","google-site-kit"))),e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-error__actions"},e.createElement(s.a,{moduleSlug:"analytics-4",error:r,GetHelpLink:d?u.a:void 0,hideGetHelpLink:!d,buttonVariant:"danger",onRetry:i,onRequestAccess:a})))))}));d.propTypes={errors:i.a.array.isRequired,onRetry:i.a.func.isRequired,onRequestAccess:i.a.func.isRequired},t.a=d}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M11.755 110.799a44.227 44.227 0 004.457 4.095c14.958 11.965 27.316 11.946 44.424 9.762 15.862-2.025 17.862-10.923 35.362-10.923 17.5 0 25.665 6.38 46 5s38.081-23.761 44.757-41.774c9.833-26.528-4.519-57.596-24.82-66.096-18.699-8.5-31.437.01-51.437-3.63C84.998 2.59 79.998-4.051 60.636 4c-20.53 8.701-20.455 23.533-32.699 38.667C18.974 53.747 4.956 56.312.734 76.959c-2.673 13.07 3.077 25.467 11.021 33.84z",fill:"#F3F5F7"}),c=r.createElement("path",{d:"M96.07 141.772c39.765 0 72-2.014 72-4.5 0-2.485-32.235-4.5-72-4.5-39.764 0-72 2.015-72 4.5 0 2.486 32.236 4.5 72 4.5z",fill:"#161B18",opacity:.1}),o=r.createElement("path",{d:"M96.07 141.772c39.765 0 72-2.014 72-4.5 0-2.485-32.235-4.5-72-4.5-39.764 0-72 2.015-72 4.5 0 2.486 32.236 4.5 72 4.5z",fill:"#CBD0D3"}),l=r.createElement("path",{d:"M72.657 62.826c2.14 7.94 9.59 13.553 17.488 15.847 7.898 2.295 16.295 1.846 24.51 1.435 3.883-.192 7.855-.363 11.576.764 3.72 1.127 7.202 3.821 8.191 7.58.568 2.16.147 4.49-.959 6.424",stroke:"#161B18",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round"}),s=r.createElement("path",{d:"M57.306 76.348c-1.237 19.582-8.053 37.15-3.497 59.224h-5.188M63.171 135.572h-5.19l9.173-59.224",stroke:"#161B18",strokeWidth:1.705,strokeLinecap:"round",strokeLinejoin:"round"}),u=r.createElement("path",{d:"M40.754 70.174c-4.429 2-12.93 6.455-12.929 15.5",stroke:"#000",strokeWidth:1.7,strokeLinecap:"round"}),d=r.createElement("path",{d:"M76.804 102.64l-3.602.327-21.976 1.988-12.845 1.16-1.22-28.616-2.118-49.8 40.092-1.46.81 37.088.109 4.993.745 34.204.005.116z",fill:"#CBD0D3"}),g=r.createElement("path",{d:"M73.203 102.967l2.067-.188 1.537-.139-1.671-76.403-2.303.105 1.24 72.43-35.862 3.393.125 2.852.048 1.095 12.845-1.159 21.977-1.989-.003.003z",fill:"#999F9B"}),f=r.createElement("path",{d:"M27.827 85.674c0 5.264 5.99 9.06 10.262 7.203",stroke:"#000",strokeWidth:1.7,strokeLinecap:"round"}),m=r.createElement("path",{d:"M145.07 26.773l-28 108.499",stroke:"#7B807D",strokeWidth:4.393,strokeMiterlimit:10,strokeLinecap:"round"}),p=r.createElement("path",{d:"M143.121 18.374L101.519 60.22a4.387 4.387 0 00-1.124 4.247 4.395 4.395 0 003.116 3.096l57.038 15.105a4.394 4.394 0 005.365-5.402l-15.439-56.943a4.393 4.393 0 00-7.354-1.949z",fill:"#E77D5B"}),h=r.createElement("path",{d:"M138.137 42.556l2.44-9.216 4.756 1.26-2.44 9.215-3.501 11.163-3.78-1.001 2.525-11.421zm-3.301 22.078a3.372 3.372 0 01-2.088-1.553 3.37 3.37 0 01-.316-2.584c.24-.906.753-1.588 1.541-2.046a3.375 3.375 0 012.584-.316c.906.24 1.588.754 2.046 1.542.458.788.567 1.635.327 2.54a3.375 3.375 0 01-1.553 2.09c-.788.457-1.635.567-2.541.327z",fill:"#962C0A"}),v=r.createElement("path",{d:"M133.461 94.876a8.345 8.345 0 01-4.565 3.774c-4.063 1.39-9.013-.82-10.694-4.77",stroke:"#161B18",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round"});t.a=function SvgAnalyticsAudienceSegmentationTileError(e){return r.createElement("svg",i({viewBox:"0 0 190 142",fill:"none"},e),a,c,o,l,s,u,d,g,f,m,p,h,v)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MaybePlaceholderTile}));var r=n(1),i=n.n(r),a=n(163),c=n(470);function MaybePlaceholderTile(t){var n=t.Widget,r=t.loading,i=t.allTilesError,o=t.visibleAudienceCount;return!1!==i&&!r||1!==o?null:r?e.createElement(n,{noPadding:!0},e.createElement(a.a,null)):e.createElement(c.a,{Widget:n})}MaybePlaceholderTile.propTypes={Widget:i.a.elementType.isRequired,loading:i.a.bool.isRequired,allTilesError:i.a.bool,visibleAudienceCount:i.a.number.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PlaceholderTile}));var r=n(12),i=n.n(r),a=n(38),c=n(2),o=n(3),l=n(14),s=n(24),u=n(6),d=n(9),g=n(20),f=n(318),m=n(39);function PlaceholderTile(t){var n=t.Widget,r=Object(o.useSelect)((function(e){var t=e(u.a).getConfiguredAudiences();return e(d.p).getConfigurableAudiences().some((function(e){return"DEFAULT_AUDIENCE"!==e.audienceType&&!t.includes(e.name)}))})),p=Object(o.useSelect)((function(e){return e(l.c).getGoogleSupportURL({path:"/analytics/answer/12799087"})})),h=Object(o.useDispatch)(s.b).setValue,v=e.createElement(g.a,{secondary:!0,href:p,external:!0,hideExternalIndicator:!0});return e.createElement(n,{className:"googlesitekit-audience-segmentation-tile-placeholder"},e.createElement("div",{className:"googlesitekit-audience-segmentation-tile-placeholder__container"},e.createElement(f.a,{className:"googlesitekit-audience-segmentation-tile-placeholder__image"}),e.createElement("div",{className:i()("googlesitekit-audience-segmentation-tile-placeholder__body",{"googlesitekit-audience-segmentation-tile-placeholder__body--without-selectable-audiences":!r})},e.createElement("h3",{className:"googlesitekit-audience-segmentation-tile-placeholder__title"},r?Object(c.__)("Compare your group to other groups","google-site-kit"):Object(c.__)("Create more visitor groups","google-site-kit")),e.createElement("p",{className:"googlesitekit-audience-segmentation-tile-placeholder__description"},r?Object(a.a)(Object(c.__)("<SelectGroupLink>Select</SelectGroupLink> another group to compare with your current group or learn more about how to group site visitors in <AnalyticsLink>Analytics</AnalyticsLink>","google-site-kit"),{AnalyticsLink:v,SelectGroupLink:e.createElement(g.a,{secondary:!0,onClick:function(){return h(m.i,!0)}})}):Object(a.a)(Object(c.__)("Learn more about how to group site visitors in <AnalyticsLink>Analytics</AnalyticsLink>","google-site-kit"),{AnalyticsLink:v})))))}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(7),i=n.n(r),a=n(3),c=n(6),o=n(9);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){return Object(a.useSelect)((function(n){return t.every((function(t){var r=n(o.p).getPartialDataSiteKitAudience(t);if(void 0===r)return!1;var i={};return r?i.newVsReturning="new-visitors"===r.audienceSlug?"new":"returning":i.audienceResourceName=t,n(o.p).hasFinishedResolution("getReport",[s(s({},e),{},{dimensionFilters:s(s({},e.dimensionFilters),i)})])}))}))}function d(e,t){return Object(a.useSelect)((function(n){return t.reduce((function(t,r){var i=n(o.p).getPartialDataSiteKitAudience(r);if(void 0===i)return t;var a={};i?a.newVsReturning="new-visitors"===i.audienceSlug?"new":"returning":a.audienceResourceName=r;var c=n(o.p).getErrorForSelector("getReport",[s(s({},e),{},{dimensionFilters:s(s({},e.dimensionFilters),a)})]);return c&&(t[r]=c),t}),{})}))}function g(e){var t,n,r,i,l=e.isSiteKitAudiencePartialData,g=e.siteKitAudiences,f=e.otherAudiences,m=Object(a.useSelect)((function(e){return e(c.a).getConfiguredAudiences()})),p={audienceResourceName:m},h=Object(a.useSelect)((function(e){return e(c.a).getDateRangeDates({offsetDays:o.f,compare:!0})})),v=h.startDate,b=h.endDate,E=void 0===l?void 0:f.length>0||!1===l,_=g.length>0&&l,O=s(s({},h),{},{dimensions:[{name:"audienceResourceName"}],dimensionFilters:p,metrics:[{name:"totalUsers"},{name:"sessionsPerUser"},{name:"screenPageViewsPerSession"},{name:"screenPageViews"}]}),y=Object(a.useInViewSelect)((function(e){if(void 0!==E)return E?e(o.p).getReport(O):null}),[E,O]),k=Object(a.useSelect)((function(e){if(void 0!==E)return!E||e(o.p).hasFinishedResolution("getReport",[O])})),j=Object(a.useSelect)((function(e){if(void 0!==E)return E?e(o.p).getErrorForSelector("getReport",[O]):null})),S=s(s({},h),{},{dimensions:[{name:"newVsReturning"}],dimensionFilters:{newVsReturning:["new","returning"]},metrics:[{name:"totalUsers"},{name:"sessionsPerUser"},{name:"screenPageViewsPerSession"},{name:"screenPageViews"}]}),w=Object(a.useInViewSelect)((function(e){if(void 0!==_)return _?e(o.p).getReport(S):null}),[_,S]),x=Object(a.useSelect)((function(e){if(void 0!==_)return!_||e(o.p).hasFinishedResolution("getReport",[S])})),C=Object(a.useSelect)((function(e){if(void 0!==_)return _?e(o.p).getErrorForSelector("getReport",[S]):null})),A={startDate:v,endDate:b,metrics:[{name:"screenPageViews"}]},N=Object(a.useInViewSelect)((function(e){return e(o.p).getReport(A)})),T=Object(a.useSelect)((function(e){return e(o.p).hasFinishedResolution("getReport",[A])})),D=Object(a.useSelect)((function(e){return e(o.p).getErrorForSelector("getReport",[A])})),M=Number(null==N||null===(t=N.totals)||void 0===t||null===(n=t[0])||void 0===n||null===(r=n.metricValues)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.value)||0,R={startDate:v,endDate:b,dimensions:["city"],metrics:[{name:"totalUsers"}],orderby:[{metric:{metricName:"totalUsers"},desc:!0}],limit:3},B=Object(a.useInViewSelect)((function(e){return e(o.p).getReportForAllAudiences(R,m)})),I=u(R,m),P=d(R,m),F={startDate:v,endDate:b,dimensions:["pagePath"],metrics:[{name:"screenPageViews"}],dimensionFilters:{"customEvent:googlesitekit_post_type":{filterType:"stringFilter",matchType:"EXACT",value:"post"}},orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:3},L=Object(a.useInViewSelect)((function(e){return e(o.p).getReportForAllAudiences(F,m)})),z=u(F,m),V=d(F,m),W={startDate:v,endDate:b,dimensions:["pagePath","pageTitle"],metrics:[{name:"screenPageViews"}],dimensionFilters:{"customEvent:googlesitekit_post_type":{filterType:"stringFilter",matchType:"EXACT",value:"post"}},orderby:[{metric:{metricName:"screenPageViews"},desc:!0}],limit:15};return{report:y,reportLoaded:k,reportError:j,siteKitAudiencesReport:w,siteKitAudiencesReportLoaded:x,siteKitAudiencesReportError:C,totalPageviews:M,totalPageviewsReportLoaded:T,totalPageviewsReportError:D,topCitiesReport:B,topCitiesReportLoaded:I,topCitiesReportErrors:P,topContentReport:L,topContentReportLoaded:z,topContentReportErrors:V,topContentPageTitlesReport:Object(a.useInViewSelect)((function(e){return e(o.p).getReportForAllAudiences(W,m)})),topContentPageTitlesReportLoaded:u(W,m),topContentPageTitlesReportErrors:d(W,m)}}},function(e,t,n){"use strict";(function(e){var r=n(0),i=n(38),a=n(2),c=n(3),o=n(318),l=n(20),s=n(19),u=n(319),d=n(32),g=n(14),f=n(24),m=n(6),p=n(39),h=n(18),v=n(35),b=n(8),E=Object(r.forwardRef)((function(t,n){var r=Object(h.a)(),E=Object(v.a)(),_=Object(c.useSelect)((function(e){return e(m.a).didSetAudiences()})),O=Object(c.useSelect)((function(e){return e(s.a).getModuleIcon("analytics-4")})),y=Object(c.useSelect)((function(e){return e(g.c).getAdminURL("googlesitekit-settings")})),k=Object(c.useDispatch)(f.b).setValue,j=Object(c.useDispatch)(d.a).navigateTo,S=_?"no-longer-available":"none-selected";function w(){Object(b.J)("".concat(r,"_audiences-no-audiences"),"select_groups",S).finally((function(){k(p.i,!0)}))}return e.createElement(u.a,{ref:n,className:"googlesitekit-no-audience-banner",Icon:O,SVGGraphic:o.a},e.createElement("p",null,_&&Object(i.a)(Object(a.__)("It looks like your visitor groups aren’t available anymore. <a>Select other groups</a>.","google-site-kit"),{a:e.createElement(l.a,{secondary:!0,onClick:w})}),!_&&Object(i.a)(Object(a.__)("You don’t have any visitor groups selected. <a>Select groups</a>.","google-site-kit"),{a:e.createElement(l.a,{secondary:!0,onClick:w})})),!E&&e.createElement("p",null,Object(i.a)(Object(a.__)("You can deactivate this widget in <a>Settings</a>.","google-site-kit"),{a:e.createElement(l.a,{secondary:!0,onClick:function(){Object(b.J)("".concat(r,"_audiences-no-audiences"),"change_settings",S).finally((function(){j("".concat(y,"#/admin-settings"))}))}})})))}));t.a=E}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AddGroupNotice}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(0),g=n(2),f=n(3),m=n(39),p=n(28),h=n(6),v=n(362),b=n(227),E=n(24),_=n(9);function AddGroupNotice(){var t=Object(d.useState)(!1),n=l()(t,2),r=n[0],a=n[1],o=Object(f.useSelect)((function(e){return e(h.a).isItemDismissed(m.a)})),s=Object(f.useSelect)((function(e){return e(E.b).getValue(m.i)})),u=Object(f.useSelect)((function(e){return e(_.p).isFetchingSyncAvailableAudiences()})),O=Object(f.useSelect)((function(e){return e(p.a).getValue(m.h,m.f)})),y=Object(f.useDispatch)(h.a).dismissItem,k=Object(d.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y(m.a);case 2:case"end":return e.stop()}}),e)}))),[y]);return Object(d.useEffect)((function(){Array.isArray(O)&&(O.length>1&&a(!0),s||1!==(null==O?void 0:O.length)||a(!1))}),[O,s,a]),o||r||u||!(null==O?void 0:O.length)?null:e.createElement(b.a,{className:"googlesitekit-audience-selection-panel__add-group-notice",content:Object(g.__)("By adding another group to your dashboard, you will be able to compare them and understand which content brings back users from each group","google-site-kit"),dismissLabel:Object(g.__)("Got it","google-site-kit"),Icon:v.a,onDismiss:k})}AddGroupNotice.propTypes={savedItemSlugs:u.a.array}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fill:"currentColor",d:"M10 18.333c-.458 0-.854-.16-1.188-.479a1.66 1.66 0 01-.479-1.188h3.334c0 .459-.167.855-.5 1.188-.32.32-.709.48-1.167.48zm-3.333-2.5v-1.667h6.666v1.667H6.667zm.208-2.5a6.47 6.47 0 01-2.292-2.292c-.555-.958-.833-2-.833-3.125 0-1.736.604-3.208 1.813-4.416C6.784 2.278 8.262 1.667 10 1.667c1.736 0 3.208.61 4.417 1.833 1.222 1.208 1.833 2.68 1.833 4.417a6.008 6.008 0 01-.854 3.124 6.303 6.303 0 01-2.271 2.292h-6.25zm.5-1.667h5.25a4.528 4.528 0 001.438-1.645c.347-.653.52-1.355.52-2.105 0-1.277-.444-2.36-1.333-3.25-.889-.888-1.972-1.333-3.25-1.333s-2.361.445-3.25 1.333c-.889.89-1.333 1.973-1.333 3.25 0 .75.166 1.452.5 2.105a4.722 4.722 0 001.458 1.645z"});t.a=function SvgLightbulb(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceItems}));var r=n(7),i=n.n(r),a=n(15),c=n.n(a),o=n(1),l=n.n(o),s=n(791),u=n(2),d=n(0),g=n(3),f=n(39),m=n(24),p=n(6),h=n(9),v=n(8),b=n(476),E=n(115),_=n(477);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(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){i()(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}function AudienceItems(t){var n=t.savedItemSlugs,r=void 0===n?[]:n,a=Object(d.useState)(!0),o=c()(a,2),l=o[0],O=o[1],k=Object(g.useDispatch)(p.a).setExpirableItemTimers,j=Object(g.useDispatch)(h.p).syncAvailableAudiences,S=Object(g.useSelect)((function(e){return e(m.b).getValue(f.i)})),w=Object(g.useSelect)((function(e){return e(h.p).isFetchingSyncAvailableAudiences()}));Object(d.useEffect)((function(){l&&S&&(j(),O(!1))}),[l,S,j]),Object(d.useEffect)((function(){if(!w&&S){var e=document.querySelector(".googlesitekit-audience-selection-panel .googlesitekit-selection-panel-item input");e&&e.focus()}}),[w,S]);var x=Object(g.useSelect)((function(e){var t=e(h.p),n=t.getConfigurableAudiences,r=t.getReport,i=t.getAudiencesUserCountReportOptions,a=t.getConfigurableSiteKitAndOtherAudiences,o=t.hasAudiencePartialData,l=n();if(void 0!==l){if(!l.length)return[];var s=a(),u=c()(s,2),d=u[0],g=u[1],f=o(d),m=e(p.a).getDateRangeDates({offsetDays:h.f}),v=f&&r(y(y({},m),{},{metrics:[{name:"totalUsers"}],dimensions:[{name:"newVsReturning"}]})),b=!1===f||!0===f&&(null==g?void 0:g.length)>0?r(i(f?g:l)):{},E=(v||{}).rows,_=void 0===E?[]:E,O=(b||{}).rows,k=void 0===O?[]:O;return l.map((function(e){var t,n,r,i;return i="SITE_KIT_AUDIENCE"===e.audienceType&&f?j(_,"new-visitors"===e.audienceSlug?"new":"returning"):j(k,e.name),y(y({},e),{},{userCount:Number(null===(t=i)||void 0===t||null===(n=t.metricValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value)||0})}))}function j(e,t){return e.find((function(e){var n,r;return(null==e||null===(n=e.dimensionValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value)===t}))}})),C=function(e,t){var n=t.audienceType,r=t.description,a=t.displayName,c=t.name,o=t.userCount,l="";switch(n){case"DEFAULT_AUDIENCE":l=Object(u.__)("Created by default by Google Analytics","google-site-kit"),r="";break;case"SITE_KIT_AUDIENCE":l=Object(u.__)("Created by Site Kit","google-site-kit");break;case"USER_AUDIENCE":l=Object(u.__)("Already exists in your Analytics property","google-site-kit")}return y(y({},e),{},i()({},c,{title:a,subtitle:r,description:l,userCount:o,audienceType:n}))},A=null==x?void 0:x.filter((function(e){var t=e.name;return r.includes(t)})).reduce(C,{}),N=null==x?void 0:x.filter((function(e){var t=e.name;return!r.includes(t)})).reduce(C,{}),T=Object(g.useSelect)((function(e){if(void 0!==x){var t=e(p.a),n=t.hasFinishedResolution,r=t.hasExpirableItem;if(n("getExpirableItems"))return x.filter((function(e){var t=e.audienceType,n=e.name;return"DEFAULT_AUDIENCE"!==t&&!r("".concat(h.b).concat(n))})).map((function(e){var t=e.name;return"".concat(h.b).concat(t)}))}}));return Object(s.a)((function(){S&&void 0!==T&&T.length&&k(T.map((function(e){return{slug:e,expiresInSeconds:4*v.g}})))}),[S,k,T]),e.createElement(E.d,{availableItemsTitle:Object(u.__)("Additional groups","google-site-kit"),availableSavedItems:A,availableUnsavedItems:N,ItemComponent:w?_.a:b.a,savedItemSlugs:r})}AudienceItems.propTypes={savedItemSlugs:l.a.array}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceItem}));var r=n(7),i=n.n(r),a=n(15),c=n.n(a),o=n(1),l=n.n(o),s=n(0),u=n(2),d=n(3),g=n(39),f=n(28),m=n(6),p=n(9),h=n(8),v=n(263),b=n(115),E=n(231);function AudienceItem(t){var n=t.slug,r=t.title,a=t.description,o=t.subtitle,l=t.userCount,_=t.audienceType,O="".concat(p.b).concat(n),y=Object(d.useSelect)((function(e){return e(f.a).getValue(g.h,g.f)})),k=Object(d.useSelect)((function(e){return e(m.a).hasExpirableItem(O)})),j=Object(d.useSelect)((function(e){return e(m.a).isExpirableItemActive(O)})),S=Object(d.useSelect)((function(e){return e(p.p).getAudienceUserCountReportErrors()}))||[],w=c()(S,2),x=w[0],C=w[1],A=[];C&&A.push(C),x&&A.push(x);var N=Object(d.useDispatch)(f.a).setValues,T=Object(d.useSelect)((function(e){return e(m.a).isItemDismissed("audience-tile-".concat(n))})),D=Object(s.useCallback)((function(e){var t;N(g.h,(t={},i()(t,g.f,e.target.checked?y.concat([n]):y.filter((function(e){return e!==n}))),i()(t,g.g,!0),t))}),[y,N,n]),M="DEFAULT_AUDIENCE"!==_&&(!1===k||j),R=null==y?void 0:y.includes(n),B="audience-selection-checkbox-".concat(n);function ItemBadge(){return T?e.createElement(E.a,{label:Object(u.__)("Temporarily hidden","google-site-kit"),tooltipTitle:Object(u.__)("Site Kit is collecting data for this group. Once data is available the group will be added to your dashboard.","google-site-kit")}):M?e.createElement(v.a,null):null}return e.createElement(b.c,{id:B,slug:n,title:r,subtitle:o,description:a,isItemSelected:R,onCheckboxChange:D,suffix:A.length?"-":Object(h.C)(l),badge:(T||M)&&e.createElement(ItemBadge,null)})}AudienceItem.propTypes={slug:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string.isRequired,subtitle:l.a.string.isRequired,userCount:l.a.number.isRequired,audienceType:l.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceItemPreviewBlock}));var r=n(40);function AudienceItemPreviewBlock(){return e.createElement("div",{className:"googlesitekit-selection-panel__loading"},e.createElement("div",{className:"googlesitekit-selection-panel__loading-left"},e.createElement(r.a,{width:"90px",height:"20px",className:"googlesitekit-selection-panel__loading-item"}),e.createElement(r.a,{width:"293px",height:"15px",className:"googlesitekit-selection-panel__loading-item"})),e.createElement("div",{className:"googlesitekit-selection-panel__loading-right"},e.createElement(r.a,{width:"43px",height:"20px",className:"googlesitekit-selection-panel__loading-item"})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(0),u=n(38),d=n(2),g=n(3),f=n(18),m=n(8),p=n(39),h=n(14),v=n(24),b=n(9),E=n(34),_=n(20),O=n(117),y=n(479),k=n(366);function ErrorNotice(){var t=Object(f.a)(),n=Object(g.useSelect)((function(e){return e(b.p).getErrorForAction("syncAvailableAudiences")})),r=Object(g.useSelect)((function(e){return e(b.p).getAudienceUserCountReportErrors()}))||[],a=l()(r,2),o=a[0],j=a[1],S=Object(g.useSelect)((function(e){return e(h.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),w=Object(g.useSelect)((function(e){return e(v.b).getValue(p.i)})),x=Object(g.useDispatch)(b.p),C=x.clearError,A=x.syncAvailableAudiences,N=Object(s.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,C("syncAvailableAudiences");case 2:A();case 3:case"end":return e.stop()}}),e)}))),[C,A]),T=[];n&&T.push(n),j&&T.push(j),o&&T.push(o);var D=T.length>0,M=T.some((function(e){return Object(E.e)(e)}));if(Object(s.useEffect)((function(){w&&D&&Object(m.J)("".concat(t,"_audiences-sidebar"),M?"insufficient_permissions_error":"data_loading_error")}),[D,M,w,t]),!T.length)return null;var R=[j,o].some((function(e){return!!e}));return e.createElement("div",{className:"googlesitekit-audience-selection-panel__error-notice"},e.createElement("p",null,M?Object(u.a)(Object(d.__)("Insufficient permissions, contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(_.a,{href:S,external:!0,hideExternalIndicator:!0},Object(d.__)("Get help","google-site-kit"))}):Object(d.__)("Data loading failed","google-site-kit")),e.createElement("div",{className:"googlesitekit-audience-selection-panel__error-notice-actions"},M||R?e.createElement(O.a,{moduleSlug:"analytics-4",error:T,hideGetHelpLink:!0,buttonVariant:"danger",RequestAccessButton:y.a,RetryButton:k.a}):e.createElement(k.a,{handleRetry:N})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RequestAccessButton}));var r=n(1),i=n.n(r),a=n(2),c=n(10),o=n(8),l=n(18);function RequestAccessButton(t){var n=t.requestAccessURL,r=Object(l.a)();return e.createElement(c.Button,{className:"googlesitekit-audience-selection-panel__error-notice-action",tertiary:!0,href:n,target:"_blank",onClick:function(){Object(o.J)("".concat(r,"_audiences-sidebar"),"insufficient_permissions_error_request_access")}},Object(a.__)("Request access","google-site-kit"))}RequestAccessButton.propTypes={requestAccessURL:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var r=n(5),i=n.n(r),a=n(27),c=n.n(a),o=n(16),l=n.n(o),s=n(15),u=n.n(s),d=n(7),g=n.n(d),f=n(1),m=n.n(f),p=n(0),h=n(2),v=n(3),b=n(18),E=n(8),_=n(39),O=n(28),y=n(6),k=n(9),j=n(115);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Footer(t){var n,r=t.isOpen,a=t.closePanel,o=t.savedItemSlugs,s=Object(b.a)(),d=Object(v.useSelect)((function(e){return e(O.a).getValue(_.h,_.f)})),g=Object(v.useSelect)((function(e){return e(y.a).getAudienceSettings()})),f=Object(v.useSelect)((function(e){return e(y.a).getErrorForAction("saveAudienceSettings",[w(w({},g),{},{configuredAudiences:d})])})),m=Object(v.useSelect)((function(e){return e(y.a).isSavingAudienceSettings()})),S=Object(v.useSelect)((function(e){var t=e(y.a).getDismissedItems();return null==t?void 0:t.filter((function(e){return e.startsWith("audience-tile-")}))})),x=Object(v.useSelect)((function(e){return e(k.p).getAvailableAudiences()})),C=Object(v.useDispatch)(y.a),A=C.saveAudienceSettings,N=C.removeDismissedItems,T=Object(v.useSelect)(y.a).getConfiguredAudiences,D=(null==d?void 0:d.length)||0;D<_.k?n=Object(h.sprintf)( /* translators: 1: Minimum number of groups that can be selected. 2: Number of selected groups. */ Object(h._n)("Select at least %1$d group (%2$d selected)","Select at least %1$d groups (%2$d selected)",_.k,"google-site-kit"),_.k,D):D>_.j&&(n=Object(h.sprintf)( /* translators: 1: Maximum number of groups that can be selected. 2: Number of selected groups. */ Object(h.__)("Select up to %1$d groups (%2$d selected)","google-site-kit"),_.j,D));var M=Object(p.useState)(null),R=u()(M,2),B=R[0],I=R[1],P=Object(p.useCallback)(function(){var e=l()(i.a.mark((function e(t){var n,r,a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return I(null),e.next=3,A({configuredAudiences:t});case 3:if(n=e.sent,r=n.error){e.next=14;break}if(a=(null==S?void 0:S.filter((function(e){var n=e.replace("audience-tile-","");return!t.includes(n)})))||[],t.every((function(e){return null==S?void 0:S.includes("audience-tile-".concat(e))}))&&a.push("audience-tile-".concat(t[0])),!((null==a?void 0:a.length)>0)){e.next=14;break}return e.next=11,N.apply(void 0,c()(a));case 11:o=e.sent,(r=o.error)&&I(r);case 14:return e.abrupt("return",{error:r});case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[S,N,A]),F=Object(p.useCallback)((function(){var e={USER_AUDIENCE:"user",SITE_KIT_AUDIENCE:"site-kit",DEFAULT_AUDIENCE:"default"},t=T(),n=Object.keys(e).map((function(n){var r=t.filter((function(e){var t=null==x?void 0:x.find((function(t){var n=t.name;return e===n}));return(null==t?void 0:t.audienceType)===n}));return"".concat(e[n],":").concat(r.length)})).join(",");Object(E.J)("".concat(s,"_audiences-sidebar"),"audiences_sidebar_save",n)}),[x,T,s]),L=Object(p.useCallback)((function(){Object(E.J)("".concat(s,"_audiences-sidebar"),"audiences_sidebar_cancel")}),[s]);return e.createElement(j.a,{savedItemSlugs:o,selectedItemSlugs:d,saveSettings:P,saveError:f||B,itemLimitError:n,minSelectedItemCount:_.k,maxSelectedItemCount:_.j,isBusy:m,isOpen:r,closePanel:a,onSaveSuccess:F,onCancel:L})}Footer.propTypes={isOpen:m.a.bool,closePanel:m.a.func.isRequired,savedItemSlugs:m.a.array}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Header}));var r=n(1),i=n.n(r),a=n(0),c=n(38),o=n(2),l=n(3),s=n(32),u=n(14),d=n(6),g=n(35),f=n(20),m=n(115);function Header(t){var n=t.closePanel,r=Object(g.a)(),i=Object(l.useSelect)((function(e){return e(u.c).getAdminURL("googlesitekit-settings")})),p=Object(l.useSelect)((function(e){return e(d.a).isSavingAudienceSettings()})),h=Object(l.useDispatch)(s.a).navigateTo,v=Object(a.useCallback)((function(){return h("".concat(i,"#/admin-settings"))}),[h,i]);return e.createElement(m.b,{title:Object(o.__)("Select visitor groups","google-site-kit"),onCloseClick:n},!r&&e.createElement("p",null,Object(c.a)(Object(o.__)("You can deactivate this widget in <link><strong>Settings</strong></link>","google-site-kit"),{link:e.createElement(f.a,{secondary:!0,onClick:v,disabled:p}),strong:e.createElement("strong",null)})))}Header.propTypes={closePanel:i.a.func.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LearnMoreLink}));var r=n(2),i=n(38),a=n(3),c=n(14),o=n(20);function LearnMoreLink(){var t=Object(a.useSelect)((function(e){return e(c.c).getGoogleSupportURL({path:"/analytics/answer/12799087"})}));return e.createElement("div",{className:"googlesitekit-audience-selection-panel__learn-more"},Object(i.a)(Object(r.__)("Learn more about grouping site visitors and audiences in <link><strong>Analytics</strong></link>","google-site-kit"),{link:e.createElement(o.a,{secondary:!0,href:t,external:!0,hideExternalIndicator:!0}),strong:e.createElement("strong",null)}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AudienceCreationNotice}));var i=n(5),a=n.n(i),c=n(16),o=n.n(c),l=n(15),s=n.n(l),u=n(2),d=n(0),g=n(157),f=n(3),m=n(18),p=n(8),h=n(39),v=n(28),b=n(14),E=n(6),_=n(24),O=n(9),y=n(34),k=n(20),j=n(119),S=n(246),w=n(334),x=n(484);function AudienceCreationNotice(){var t=Object(m.a)(),n=Object(d.useState)(!1),i=s()(n,2),c=i[0],l=i[1],C=Object(f.useSelect)((function(e){var t=(0,e(O.p).getConfigurableAudiences)();if(void 0!==t)return t.length?t.filter((function(e){return"SITE_KIT_AUDIENCE"===e.audienceType})):[]})),A=Object(f.useDispatch)(E.a).dismissItem,N=Object(f.useDispatch)(_.b).setValue,T=Object(f.useSelect)((function(e){return e(E.a).isItemDismissed(h.d)})),D=Object(f.useSelect)((function(e){return e(E.a).isItemDismissed(h.b)})),M=Object(f.useSelect)((function(e){return e(E.a).hasScope(O.g)})),R=Object(f.useSelect)((function(e){return e(_.b).getValue(h.i)})),B=Object(g.a)(e.location.href,{notification:"audience_segmentation"}),I=Object(f.useDispatch)(v.a).setValues,P=Object(f.useDispatch)(E.a).setPermissionScopeError,F=Object(f.useDispatch)(O.p),L=F.createAudience,z=F.syncAvailableAudiences,V=Object(f.useSelect)((function(e){return e(v.a).getValue(h.c,"autoSubmit")})),W=Object(f.useSelect)((function(e){return e(v.a).getValue(h.c,"audienceToCreate")})),G=Object(d.useState)([]),U=s()(G,2),H=U[0],q=U[1],K=Object(d.useCallback)(function(){var e=o()(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l(t),M){e.next=5;break}return I(h.c,{autoSubmit:!0,audienceToCreate:t}),P({code:y.a,message:Object(u.__)("Additional permissions are required to create a new audience in Analytics.","google-site-kit"),data:{status:403,scopes:[O.g],skipModal:!0,redirectURL:B}}),e.abrupt("return");case 5:return I(h.c,{autoSubmit:!1,audienceToCreate:void 0}),e.next=8,L(O.r[t]);case 8:return n=e.sent,r=n.error,q(r?[r]:[]),e.next=13,z();case 13:l(!1),r||N(h.e,!0);case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[M,L,z,I,P,B,N]),J=Object(f.useSelect)((function(e){return e(b.c).getSetupErrorCode()})),Y=V&&"access_denied"===J;Object(d.useEffect)((function(){function e(){return(e=o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!M||!V){e.next=4;break}return N(h.i,!0),e.next=4,K(W);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[W,K,M,V,N]);var X=!T&&(null==C?void 0:C.length)<2;if(Object(d.useEffect)((function(){R&&X&&Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"view_notice")}),[R,X,t]),Object(d.useEffect)((function(){!R||M||D||Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"view_oauth_notice")}),[M,D,R,t]),!X)return null;var $=Object.keys(O.r).filter((function(e){return!C.some((function(t){return t.audienceSlug===e}))}));return r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice"},r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-header"},r.createElement("p",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-title"},Object(u.__)("Create groups suggested by Site Kit","google-site-kit")),r.createElement(k.a,{className:"googlesitekit-audience-selection-panel__audience-creation-notice-close",onClick:function(){A(h.d)},linkButton:!0},r.createElement(j.a,{width:"15",height:"15"}))),r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-body"},$&&$.map((function(e){return r.createElement("div",{key:e,className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience"},r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience-details"},r.createElement("h3",null,O.r[e].displayName),r.createElement("p",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience-description"},O.r[e].description)),r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-audience-button"},r.createElement(S.b,{spinnerPosition:S.a.BEFORE,onClick:function(){Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"create_audience",e).finally((function(){K(e)}))},isSaving:c===e},Object(u.__)("Create","google-site-kit"))))}))),!M&&!D&&r.createElement("div",{className:"googlesitekit-audience-selection-panel__audience-creation-notice-info"},r.createElement(w.b,{title:Object(u.__)("Creating these groups require more data tracking. You will be directed to update your Analytics property.","google-site-kit"),dismissLabel:Object(u.__)("Got it","google-site-kit"),onDismiss:function(){Object(p.J)("".concat(t,"_audiences-sidebar-create-audiences"),"dismiss_oauth_notice").finally((function(){A(h.b)}))},variant:w.a.WARNING,hideIcon:!0})),(H.length>0||Y)&&r.createElement(x.a,{apiErrors:H,hasOAuthError:Y}))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceCreationErrorNotice}));var r=n(1),i=n.n(r),a=n(0),c=n(38),o=n(2),l=n(3),s=n(18),u=n(34),d=n(8),g=n(39),f=n(14),m=n(24),p=n(9),h=n(10),v=n(20),b=n(71);function AudienceCreationErrorNotice(t){var n,r,i=t.apiErrors,E=t.hasOAuthError,_=Object(s.a)(),O=Array.isArray(i)?i:[i],y=Object(l.useSelect)((function(e){return e(f.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),k=Object(l.useSelect)((function(e){return e(p.p).getServiceEntityAccessURL()})),j=Object(l.useSelect)((function(e){return e(f.c).getErrorTroubleshootingLinkURL({code:"access_denied"})})),S=Object(l.useSelect)((function(e){return e(m.b).getValue(g.i)})),w=O.length>0,x=O.some((function(e){return Object(u.e)(e)}));return Object(a.useEffect)((function(){if(S&&(w||E)){var e="setup_error";E?e="auth_error":x&&(e="insufficient_permissions_error"),Object(d.J)("".concat(_,"_audiences-sidebar-create-audiences"),e)}}),[w,x,E,S,_]),O.length||E?(E?r=Object(c.a)(Object(o.__)("Setup was interrupted because you didn’t grant the necessary permissions. Click on Create again to retry. If that doesn’t work, <HelpLink />","google-site-kit"),{HelpLink:e.createElement(v.a,{href:j,external:!0,hideExternalIndicator:!0},Object(o.__)("get help","google-site-kit"))}):x?(n=Object(o.__)("Insufficient permissions","google-site-kit"),r=Object(c.a)(Object(o.__)("Contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(v.a,{href:y,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))})):(n=Object(o.__)("Analytics update failed","google-site-kit"),r=Object(o.__)("Click on Create to try again.","google-site-kit")),e.createElement("div",{className:"googlesitekit-audience-creation-error-notice"},e.createElement(b.a,{width:24,height:24}),e.createElement("div",{className:"googlesitekit-audience-creation-error-notice__content"},n&&e.createElement("p",{className:"googlesitekit-audience-creation-error-notice__title"},n),e.createElement("p",{className:"googlesitekit-audience-creation-error-notice__description"},r)),x&&e.createElement("div",{className:"googlesitekit-audience-creation-error-notice__actions"},e.createElement(h.Button,{href:k,target:"_blank",danger:!0,onClick:function(){Object(d.J)("".concat(_,"_audiences-sidebar-create-audiences"),"insufficient_permissions_error_request_access")}},Object(o.__)("Request access","google-site-kit"))))):null}AudienceCreationErrorNotice.propTypes={apiErrors:i.a.oneOfType([i.a.arrayOf(i.a.object),i.a.object,i.a.array]),hasOAuthError:i.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceCreationSuccessNotice}));var r=n(0),i=n(2),a=n(3),c=n(18),o=n(8),l=n(39),s=n(24),u=n(10),d=n(151);function AudienceCreationSuccessNotice(){var t=Object(c.a)(),n=Object(a.useDispatch)(s.b).setValue,g=Object(a.useSelect)((function(e){return e(s.b).getValue(l.e)})),f=Object(a.useSelect)((function(e){return e(s.b).getValue(l.i)}));return Object(r.useEffect)((function(){f&&g&&Object(o.J)("".concat(t,"_audiences-sidebar-create-audiences-success"),"view_notification")}),[f,g,t]),g?e.createElement("div",{className:"googlesitekit-audience-selection-panel__success-notice"},e.createElement("div",{className:"googlesitekit-audience-selection-panel__success-notice-icon"},e.createElement(d.a,{width:24,height:24})),e.createElement("p",{className:"googlesitekit-audience-selection-panel__success-notice-message"},Object(i.__)("Visitor group created successfully!","google-site-kit")),e.createElement("div",{className:"googlesitekit-audience-selection-panel__success-notice-actions"},e.createElement(u.Button,{tertiary:!0,onClick:function(){Object(o.J)("".concat(t,"_audiences-sidebar-create-audiences-success"),"dismiss_notification").finally((function(){n(l.e,!1)}))}},Object(i.__)("Got it","google-site-kit")))):null}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("defs",null,r.createElement("filter",{id:"audience-connect-analytics-cta-graphic_svg__c",x:109.551,y:18.171,width:144.59,height:185.064,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1731_24094"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1731_24094",result:"shape"})),r.createElement("filter",{id:"audience-connect-analytics-cta-graphic_svg__d",x:236.859,y:18.171,width:144.59,height:185.064,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1731_24094"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1731_24094",result:"shape"})),r.createElement("clipPath",{id:"audience-connect-analytics-cta-graphic_svg__a"},r.createElement("path",{fill:"#fff",d:"M0 0h480v150H0z"}))),c=r.createElement("path",{d:"M91.722 36.579a71.937 71.937 0 017.307-6.582c24.521-19.234 44.779-19.204 72.826-15.693 18.961 2.373 30.038 11.4 55.889 9.98 25.851-1.42 32.474-7.992 64.117-5.887 25.048 1.667 36.285 6.612 58.554 18.182 20.61 10.707 39.324 29.519 48.728 54.397 16.12 42.644-12.622 119.393-51.166 123.012-27.93 2.623-50.979-28.308-79.169-21.145-17.366 4.414-27.666 22.927-41.064 35.144-15.631 14.255-49.304 13.359-67.607 5.751-17.442-7.248-34.409-21.615-40.106-42.775-4.337-16.114-5.519-35.322-17.661-50.04-14.694-17.811-23.672-25.756-28.716-49.947-4.382-21.009 5.045-40.938 18.068-54.397z",fill:"#B8E6CA"}),o=r.createElement("path",{d:"M91.722 36.579a71.937 71.937 0 017.307-6.582c24.521-19.234 44.779-19.204 72.826-15.693 18.961 2.373 30.038 11.4 55.889 9.98 25.851-1.42 32.474-7.992 64.117-5.887 25.048 1.667 36.285 6.612 58.554 18.182 20.61 10.707 39.324 29.519 48.728 54.397 16.12 42.644-12.622 119.393-51.166 123.012-27.93 2.623-50.979-28.308-79.169-21.145-17.366 4.414-27.666 22.927-41.064 35.144-15.631 14.255-49.304 13.359-67.607 5.751-17.442-7.248-34.409-21.615-40.106-42.775-4.337-16.114-5.519-35.322-17.661-50.04-14.694-17.811-23.672-25.756-28.716-49.947-4.382-21.009 5.045-40.938 18.068-54.397z",fill:"#B8E6CA"}),l=r.createElement("g",{mask:"url(#audience-connect-analytics-cta-graphic_svg__b)"},r.createElement("g",{filter:"url(#audience-connect-analytics-cta-graphic_svg__c)"},r.createElement("rect",{x:125.551,y:30.171,width:112.591,height:153.065,rx:8.095,fill:"#fff"})),r.createElement("rect",{x:139.555,y:93.193,width:39.014,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("rect",{x:139.555,y:82.189,width:14.005,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("rect",{x:139.555,y:118.259,width:14.005,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("path",{d:"M202.578 91.693a6.502 6.502 0 016.502-6.503h10.004a6.502 6.502 0 010 13.005H209.08a6.502 6.502 0 01-6.502-6.502z",fill:"#B8E6CA"}),r.createElement("rect",{x:139.535,y:45.625,width:26.492,height:6.623,rx:3.311,fill:"#EBEEF0"}),r.createElement("path",{d:"M202.578 127.763a6.502 6.502 0 016.502-6.502h10.004a6.502 6.502 0 110 13.004H209.08a6.502 6.502 0 01-6.502-6.502z",fill:"#FFDED3"}),r.createElement("rect",{x:138.555,y:129.263,width:41.014,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("path",{d:"M238.141 65.862H126.286",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("g",{filter:"url(#audience-connect-analytics-cta-graphic_svg__d)"},r.createElement("rect",{x:252.859,y:30.171,width:112.591,height:153.065,rx:8.095,fill:"#fff"})),r.createElement("rect",{x:266.809,y:93.193,width:38.859,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("rect",{x:266.809,y:82.189,width:13.949,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("rect",{x:266.805,y:118.259,width:13.949,height:7.002,rx:3.501,fill:"#EBEEF0"}),r.createElement("path",{d:"M329.582 91.693a6.502 6.502 0 016.502-6.503h9.912a6.502 6.502 0 110 13.005h-9.912a6.502 6.502 0 01-6.502-6.502z",fill:"#B8E6CA"}),r.createElement("rect",{x:266.844,y:45.625,width:26.492,height:6.623,rx:3.311,fill:"#EBEEF0"}),r.createElement("path",{d:"M358.094 65.862H252.862",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M329.582 127.763a6.502 6.502 0 016.502-6.502h9.912a6.502 6.502 0 110 13.004h-9.912a6.502 6.502 0 01-6.502-6.502z",fill:"#FFDED3"}),r.createElement("rect",{x:265.812,y:129.263,width:40.852,height:7.002,rx:3.501,fill:"#EBEEF0"}));t.a=function SvgAudienceConnectAnalyticsCtaGraphic(e){return r.createElement("svg",i({viewBox:"-3 1 333.666 149.252",fill:"none"},e),a,r.createElement("g",{clipPath:"url(#audience-connect-analytics-cta-graphic_svg__a)",transform:"translate(-73)"},c,r.createElement("mask",{id:"audience-connect-analytics-cta-graphic_svg__b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:72,y:12,width:332,height:228},o),l))}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#B8E6CA"}),c=r.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#B8E6CA"}),o=r.createElement("g",{filter:"url(#audience-connect-analytics-cta-graphic-tablet_svg__filter0_d_2898_16714)",mask:"url(#audience-connect-analytics-cta-graphic-tablet_svg__a)"},r.createElement("rect",{x:93,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:107.008,y:92.222,width:39.025,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:107.008,y:81.214,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:107.008,y:117.295,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M170.051 90.72a6.504 6.504 0 016.504-6.504h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:106.984,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M170.051 126.802a6.504 6.504 0 016.504-6.505h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:106.008,y:128.303,width:41.027,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M205.625 64.882H93.736",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("rect",{x:220.348,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:234.301,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:234.301,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:234.301,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M297.094 90.72a6.504 6.504 0 016.504-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:234.332,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M325.613 64.882H220.349",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M297.094 126.802a6.504 6.504 0 016.504-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:233.305,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:347.695,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:361.648,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:361.648,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:361.648,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M424.441 90.72a6.504 6.504 0 016.505-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:361.68,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M452.961 64.882H347.697",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M424.441 126.802a6.505 6.505 0 016.505-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:360.652,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"})),l=r.createElement("defs",null,r.createElement("clipPath",{id:"audience-connect-analytics-cta-graphic-tablet_svg__clip0_2898_16714"},r.createElement("path",{fill:"#fff",d:"M0 0h553v158H0z"})),r.createElement("filter",{id:"audience-connect-analytics-cta-graphic-tablet_svg__filter0_d_2898_16714",x:77,y:17.181,width:399.32,height:185.111,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2898_16714"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2898_16714",result:"shape"})));t.a=function SvgAudienceConnectAnalyticsCtaGraphicTablet(e){return r.createElement("svg",i({viewBox:"0 0 553 146",fill:"none"},e),r.createElement("g",{clipPath:"url(#audience-connect-analytics-cta-graphic-tablet_svg__clip0_2898_16714)"},a,r.createElement("mask",{id:"audience-connect-analytics-cta-graphic-tablet_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:48,y:1,width:441,height:237},c),o),l)}},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(371),c=n(0),o=n(38),l=n(2),s=n(3),u=n(10),d=n(25),g=n(176),f=n(557),m=n(181),p=n(19),h=n(6),v=n(48),b=n(17),E=n(558),_=n(559),O=n(560),y=n(20),k=n(8),j=n(110),S=n(18);function ReaderRevenueManagerSetupCTABanner(t){var n=t.Widget,r=t.WidgetNull,i=Object(S.a)(),a=Object(d.e)(),f=a===d.b,m=a===d.c,w=Object(g.a)(v.d),x=Object(c.useCallback)((function(){Object(k.J)("".concat(i,"_rrm-setup-notification"),"confirm_notification").finally((function(){w()}))}),[w,i]),C=Object(j.b)(v.f),A=Object(j.c)(v.f).isTooltipVisible,N=Object(s.useSelect)((function(e){return e(h.a).isPromptDismissed(v.f)})),T=Object(s.useSelect)((function(e){return e(h.a).getPromptDismissCount(v.f)})),D=Object(s.useSelect)((function(e){return e(h.a).hasFinishedResolution("getDismissedPrompts",[])})),M=Object(s.useDispatch)(h.a),R=M.dismissPrompt,B=M.triggerSurvey,I=Object(c.useCallback)((function(){Object(k.J)("".concat(i,"_rrm-setup-notification"),"dismiss_notification").finally((function(){var e=T<1?2*k.g:0;C(),R(v.f,{expiresInSeconds:e})}))}),[T,R,C,i]),P=Object(s.useSelect)((function(e){return e(p.a).canActivateModule(v.d)})),F=!1===N&&P&&!0===D;return Object(c.useEffect)((function(){F&&(Object(k.J)("".concat(i,"_rrm-setup-notification"),"view_notification"),B("view_reader_revenue_manager_cta"))}),[F,B,i]),A?e.createElement(c.Fragment,null,e.createElement(r,null),e.createElement(j.a,{title:"",content:Object(l.__)("You can always enable Reader Revenue Manager from Settings later","google-site-kit"),dismissLabel:Object(l.__)("Got it","google-site-kit"),tooltipStateKey:v.f})):F?e.createElement("div",{className:"googlesitekit-widget-context"},e.createElement(b.e,{className:"googlesitekit-widget-area"},e.createElement(b.k,null,e.createElement(b.a,{size:12},e.createElement(n,{noPadding:!0,className:"googlesitekit-setup-cta-banner googlesitekit-reader-revenue-manager-setup-cta-widget"},e.createElement(b.e,{collapsed:!0},e.createElement(b.k,null,e.createElement(b.a,{smSize:12,mdSize:8,lgSize:6,className:"googlesitekit-setup-cta-banner__primary-cell"},e.createElement("h4",{className:"googlesitekit-setup-cta-banner__title"},Object(l.__)("Grow your revenue and deepen reader engagement","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-cta-banner__description"},e.createElement("p",null,Object(o.a)(Object(l.__)("Turn casual visitors into loyal readers and earn more from your content with voluntary contributions, surveys, newsletter sign-ups and reader insight tools. <a>Learn more</a>","google-site-kit"),{a:e.createElement(y.a,{href:"https://readerrevenue.withgoogle.com",external:!0,"aria-label":Object(l.__)("Learn more about reader revenue manager","google-site-kit")})}),e.createElement("br",null),e.createElement("br",null),Object(l.__)("* Support for subscriptions coming soon","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-cta-banner__actions-wrapper"},e.createElement(u.Button,{className:"googlesitekit-key-metrics-cta-button",onClick:x},Object(l.__)("Set up Reader Revenue Manager","google-site-kit")),e.createElement(u.Button,{tertiary:!0,onClick:I},T<1?Object(l.__)("Maybe later","google-site-kit"):Object(l.__)("Don’t show again","google-site-kit")))),!f&&!m&&e.createElement(b.a,{alignBottom:!0,className:"googlesitekit-setup-cta-banner__svg-wrapper",mdSize:8,lgSize:6},e.createElement(E.a,null)),m&&e.createElement(b.a,{className:"googlesitekit-setup-cta-banner__svg-wrapper",mdSize:8},e.createElement(_.a,null)),f&&e.createElement(b.a,{alignBottom:!0,className:"googlesitekit-setup-cta-banner__svg-wrapper",smSize:12},e.createElement(O.a,null))))))))):e.createElement(r,null)}ReaderRevenueManagerSetupCTABanner.propTypes={Widget:i.a.elementType.isRequired,WidgetNull:i.a.elementType.isRequired},t.a=Object(a.a)(Object(f.a)({moduleName:v.d}),Object(m.g)("readerRevenueManagerSetupCTABanner"))(ReaderRevenueManagerSetupCTABanner)}).call(this,n(4))},,,,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(2),c=n(254),o=n(1241),l=n(10),s=n(143);function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.Button,{"aria-label":Object(a.__)("Dismiss","google-site-kit"),icon:e.createElement(c.a,{icon:o.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))}SurveyHeader.propTypes={title:i.a.string.isRequired,dismissSurvey:i.a.func.isRequired},t.a=SurveyHeader}).call(this,n(4))},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(31),i=n(2),a=n(6),c=(e._googlesitekitUserData||{}).hasMultipleAdmins,o=[{target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--view",title:Object(i.__)("Manage view access for other roles","google-site-kit"),content:Object(i.__)("Grant access to the view-only dashboard for each service for the specific roles you want. Users will see the Site Kit dashboard with only the services that have been shared with them without needing to sign-in with Google.","google-site-kit"),placement:"auto"}];c&&o.push({target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--manage",title:Object(i.__)("Share management with other admins","google-site-kit"),content:Object(i.__)("By default only the user who connects a service can control who it is shared with. This setting optionally lets these users allow any other admin signed in with Google to manage the roles a service is shared with.","google-site-kit"),placement:"auto"}),t.a={slug:"dashboardSharingSettings",gaEventCategory:function(e){return"".concat(e,"_dashboard-sharing")},steps:o,callback:function(e,t){var n=e.type,i=t.select,c=t.dispatch;r.b.TOOLTIP===n&&!1===i(a.a).isTourDismissed("dashboardSharing")&&c(a.a).dismissTour("dashboardSharing")}}}).call(this,n(26))},,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PublicationApprovedOverlayNotification}));var r=n(2),i=n(213),a=n(555),c=n(556),o=n(35),l=n(18),s=n(52),u=n(80),d=n(8),g=n(10),f=n(3),m=n(6),p=n(24),h=n(22),v=n(48);function PublicationApprovedOverlayNotification(){var t=Object(l.a)(),n=Object(o.a)(),b=Object(s.c)(),E=Object(f.useSelect)((function(e){return e(m.a).isItemDismissed("rrmPublicationApprovedOverlayNotification")})),_=Object(f.useDispatch)(p.b).dismissOverlayNotification,O=Object(f.useSelect)((function(e){return e(v.b).getServiceURL()})),y=Object(f.useSelect)((function(e){return e(p.b).getValue(v.k)})),k=!1===E&&!0===y&&!n&&b===h.n,j=Object(f.useSelect)((function(e){return e(m.a).isDismissingItem("rrmPublicationApprovedOverlayNotification")})),S=function(){_("rrmPublicationApprovedOverlayNotification")};return e.createElement(i.a,{className:"googlesitekit-reader-revenue-manager-publication-approved-notification",GraphicDesktop:a.a,GraphicMobile:c.a,onShow:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"view_notification")},shouldShowNotification:k,notificationID:"rrmPublicationApprovedOverlayNotification"},e.createElement("div",{className:"googlesitekit-overlay-notification__body"},e.createElement("h3",null,Object(r.__)("Your Reader Revenue Manager publication is approved","google-site-kit")),e.createElement("p",null,Object(r.__)("Unlock your full reader opportunity by enabling features like subscriptions, contributions and newsletter sign ups","google-site-kit"))),e.createElement("div",{className:"googlesitekit-overlay-notification__actions"},e.createElement(g.Button,{tertiary:!0,disabled:j,onClick:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"dismiss_notification").finally((function(){S()}))}},Object(r.__)("Maybe later","google-site-kit")),e.createElement(g.Button,{disabled:j,href:O,onClick:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"confirm_notification").finally((function(){S()}))},trailingIcon:e.createElement(u.a,{width:13,height:13}),target:"_blank"},Object(r.__)("Enable features","google-site-kit"))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return RRMSetupSuccessSubtleNotification}));var i=n(21),a=n.n(i),c=n(7),o=n.n(c),l=n(15),s=n.n(l),u=n(0),d=n(2),g=n(3),f=n(193),m=n(333),p=n(28),h=n(48),v=n(209),b=n(265),E=n(192),_=h.c.ONBOARDING_COMPLETE,O=h.c.PENDING_VERIFICATION,y=h.c.ONBOARDING_ACTION_REQUIRED;function RRMSetupSuccessSubtleNotification(t){var n=t.id,i=t.Notification,c=Object(f.a)("notification"),l=s()(c,2)[1],k=Object(f.a)("slug"),j=s()(k,2)[1],S=[O,y],w=Object(g.useSelect)((function(e){return e(h.b).getPublicationOnboardingState()})),x=Object(g.useSelect)((function(e){return e(h.b).getPublicationID()})),C=Object(g.useSelect)((function(e){return e(h.b).getServiceURL({path:"reader-revenue-manager",query:{publication:x}})})),A=Object(g.useSelect)((function(e){return e(p.a).getValue(h.e,h.j)&&S.includes(w)})),N=Object(g.useDispatch)(p.a).setValues,T=Object(g.useDispatch)(h.b).syncPublicationOnboardingState,D=function(){l(void 0),j(void 0)},M=function(t){t.preventDefault(),S.includes(w)&&N(h.e,o()({},h.j,!0)),e.open(C,"_blank")},R=Object(u.useCallback)((function(){A&&T()}),[A,T]);Object(m.a)(R,15e3);var B={gaTrackingEventArgs:{label:w}};return w===_?r.createElement(i,B,r.createElement(v.a,{title:Object(d.__)("Your Reader Revenue Manager account was successfully set up!","google-site-kit"),description:Object(d.__)("Unlock your full reader opportunity by enabling features like subscriptions, contributions and newsletter sign ups in the Reader Revenue Manager settings.","google-site-kit"),dismissCTA:r.createElement(E.a,a()({id:n,primary:!1,dismissLabel:Object(d.__)("Got it","google-site-kit"),onDismiss:D},B)),additionalCTA:r.createElement(b.a,a()({id:n,ctaLabel:Object(d.__)("Customize settings","google-site-kit"),ctaLink:C,onCTAClick:M,isCTALinkExternal:!0},B))})):w===O?r.createElement(i,B,r.createElement(v.a,{title:Object(d.__)("Your Reader Revenue Manager account was successfully set up!","google-site-kit"),description:Object(d.__)("Your publication is still awaiting review, you can check its status in Reader Revenue Manager.","google-site-kit"),dismissCTA:r.createElement(E.a,a()({id:n,primary:!1,dismissLabel:Object(d.__)("Got it","google-site-kit"),onDismiss:D},B)),additionalCTA:r.createElement(b.a,a()({id:n,ctaLabel:Object(d.__)("Check publication status","google-site-kit"),ctaLink:C,onCTAClick:M,isCTALinkExternal:!0},B))})):w===y?r.createElement(i,B,r.createElement(v.a,{title:Object(d.__)("Your Reader Revenue Manager account was successfully set up, but your publication still requires further setup in Reader Revenue Manager.","google-site-kit"),dismissCTA:r.createElement(E.a,a()({id:n,primary:!1,dismissLabel:Object(d.__)("Got it","google-site-kit"),onDismiss:D},B)),additionalCTA:r.createElement(b.a,a()({id:n,ctaLabel:Object(d.__)("Complete publication setup","google-site-kit"),ctaLink:C,onCTAClick:M,isCTALinkExternal:!0},B)),type:"warning"})):null}}).call(this,n(26),n(4))},,,,,,,,,,function(e,t,n){"use strict";var r=n(543);n.d(t,"a",(function(){return r.a}));n(508);var i=n(544);n.d(t,"b",(function(){return i.a}))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__clip0_192_4045)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h316c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter0_d_192_4045)"},r.createElement("rect",{x:101.5,y:79,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:218,y:108,width:64,height:38,rx:5.161,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter1_d_192_4045)"},r.createElement("rect",{x:81.5,y:56,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:97,y:85,width:165,height:96,rx:5.161,fill:"#EBEEF0"}),r.createElement("rect",{x:96,y:148,width:59,height:55,rx:5.457,fill:"#EBEEF0"}),r.createElement("rect",{x:167,y:148,width:54,height:10,rx:5,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter2_d_192_4045)"},r.createElement("rect",{x:61.5,y:30,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:76.5,y:50,width:165,height:51,rx:5.161,fill:"#6FD3D3"}),r.createElement("rect",{x:147.5,y:113,width:54,height:14,rx:7,fill:"#EBEEF0"}),r.createElement("rect",{x:147.5,y:135,width:94,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:135,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:124,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:146,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:113,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:147.5,y:146,width:94,height:5,rx:2.5,fill:"#EBEEF0"})),c=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter0_d_192_4045",x:91.5,y:73,width:215,height:192,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter1_d_192_4045",x:65.5,y:44,width:227,height:204,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter2_d_192_4045",x:45.5,y:18,width:227,height:204,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__clip0_192_4045"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h316c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})));t.a=function SvgReaderRevenueManagerIntroductoryGraphicDesktop(e){return r.createElement("svg",i({viewBox:"0 0 348 163",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__clip0_584_3892)"},r.createElement("path",{d:"M29.447 64.365c-2.4 22.73 4.803 32.78 23.025 59.949 18.222 27.17-7.404 59.277 20.78 89.869 33.527 36.394 150.685 39.364 201.231 24.212 50.546-15.153 63.581-46.473 59.948-75.155C329.5 124.314 302.482 112.077 289.5 93c-19.276-28.325 2.813-54.786-34.5-77.5s-80.086 6.697-120.326 4.388c-23.216-1.332-46.017-5.627-66.626.968-20.832 6.667-36.72 25.428-38.6 43.509z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter0_d_584_3892)"},r.createElement("rect",{x:108.926,y:53.721,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:203.365,y:77.23,width:51.881,height:30.804,rx:4.184,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter1_d_584_3892)"},r.createElement("rect",{x:92.713,y:35.077,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:105.277,y:58.585,width:133.755,height:77.821,rx:4.184,fill:"#EBEEF0"}),r.createElement("rect",{x:104.467,y:109.655,width:47.828,height:44.585,rx:4.424,fill:"#EBEEF0"}),r.createElement("rect",{x:162.021,y:109.655,width:43.775,height:8.106,rx:4.053,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter2_d_584_3892)"},r.createElement("rect",{x:76.5,y:14,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:88.66,y:30.213,width:133.755,height:41.343,rx:4.184,fill:"#6FD3D3"}),r.createElement("rect",{x:146.215,y:81.283,width:43.775,height:11.349,rx:5.674,fill:"#EBEEF0"}),r.createElement("rect",{x:146.215,y:99.117,width:76.2,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:99.117,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:90.2,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:108.034,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:81.283,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:146.215,y:108.034,width:76.2,height:4.053,rx:2.027,fill:"#EBEEF0"})),c=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter0_d_584_3892",x:95.926,y:43.721,width:184.074,height:165.43,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3}),r.createElement("feGaussianBlur",{stdDeviation:6.5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter1_d_584_3892",x:79.743,y:25.349,width:184.015,height:165.37,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.243}),r.createElement("feGaussianBlur",{stdDeviation:6.485}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter2_d_584_3892",x:63.53,y:4.272,width:184.015,height:165.37,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.243}),r.createElement("feGaussianBlur",{stdDeviation:6.485}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__clip0_584_3892"},r.createElement("path",{fill:"#fff",d:"M0 0h343v118H0z"})));t.a=function SvgReaderRevenueManagerIntroductoryGraphicMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 118",fill:"none"},e),a,c)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(3),i=n(19),a=n(78);function c(t){var n=t.moduleName,c=t.FallbackComponent;return function(t){function WhenInactiveComponent(a){var o=Object(r.useSelect)((function(e){return e(i.a).getModule(n)}),[n]);if(!o)return null;var l=c||a.WidgetNull||null;return!0===o.active?l&&e.createElement(l,a):e.createElement(t,a)}return WhenInactiveComponent.displayName="When".concat(Object(a.c)(n),"Inactive"),(t.displayName||t.name)&&(WhenInactiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenInactiveComponent}}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M74.032-2.916C70.583 36.886 92.52 48.59 92.52 103.233c0 54.644-91.918 88.181-52.084 179.603 31.917 73.252 194.23 87.748 287.396 67.074 93.167-20.673 127.301-72.44 122.081-122.662-7.085-68.16-44.978-103.341-59.664-164.902-14.686-61.56 10.917-93.72-27.996-124.067-39.469-30.78-75.267-11.025-116.573-11.025-33.439 0-66.088-25.668-114.278-6.874-29.933 11.674-54.665 45.044-57.369 76.704z",fill:"#B8E6CA"}),c=r.createElement("g",{filter:"url(#reader-revenue-manager-setup_svg__filter0_d_30_1196)"},r.createElement("rect",{x:168.849,y:39.561,width:136,height:270,rx:20,fill:"#fff"}),r.createElement("circle",{cx:54.898,cy:177.171,r:25.926,fill:"#2F9F9F"}),r.createElement("path",{d:"M60.112 170.211c-.678-.753-2.71-2.258-5.42-2.258-3.389 0-5.422 2.258-5.422 4.517 0 6.212 10.842 2.675 10.842 9.035 0 2.259-2.033 4.517-5.42 4.517-2.711 0-4.744-1.506-5.422-2.258M54.69 163.435v27.105",stroke:"#fff",strokeWidth:2,strokeLinecap:"round"}),r.createElement("circle",{cx:348.514,cy:36.337,r:17.485,fill:"#2F9F9F"}),r.createElement("path",{d:"M352.031 31.643c-.457-.508-1.828-1.523-3.656-1.523-2.285 0-3.656 1.523-3.656 3.046 0 4.19 7.312 1.805 7.312 6.094 0 1.523-1.371 3.047-3.656 3.047-1.828 0-3.199-1.016-3.656-1.524M348.375 27.073v18.28",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"}),r.createElement("circle",{cx:418.514,cy:149.337,r:21.515,fill:"#2F9F9F"}),r.createElement("path",{d:"M422.841 143.562c-.562-.625-2.249-1.875-4.499-1.875-2.811 0-4.498 1.875-4.498 3.749 0 5.155 8.997 2.22 8.997 7.497 0 1.875-1.687 3.749-4.499 3.749-2.249 0-3.936-1.249-4.498-1.874M418.343 137.939v22.492",stroke:"#fff",strokeWidth:2,strokeLinecap:"round"}),r.createElement("rect",{x:184.94,y:54.47,width:104.361,height:18.417,rx:4,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:104.458,width:104.361,height:114.008,rx:4,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:228.482,width:104.361,height:7.016,rx:3.508,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:241.482,width:104.361,height:7.016,rx:3.508,fill:"#F3F5F7"}),r.createElement("rect",{x:204.234,y:81.656,width:65.774,height:10.524,rx:5.262,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:82.533,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"}),r.createElement("rect",{x:184.94,y:86.041,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"}),r.createElement("rect",{x:184.94,y:89.549,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"})),o=r.createElement("g",{filter:"url(#reader-revenue-manager-setup_svg__filter1_d_30_1196)"},r.createElement("rect",{x:131.451,y:131.057,width:210,height:105,rx:8,fill:"#fff"}),r.createElement("rect",{x:180.451,y:166.057,width:112,height:5,rx:2.5,fill:"#F3F5F7"}),r.createElement("rect",{x:199.451,y:175.057,width:75,height:5,rx:2.5,fill:"#F3F5F7"}),r.createElement("rect",{x:181.849,y:190.057,width:108,height:20,rx:10,fill:"#6FD3D3"})),l=r.createElement("path",{d:"M236.5 158.266c14.762 0 26.638-12.259 26.638-27.266 0-15.007-11.876-27.266-26.638-27.266-14.762 0-26.638 12.259-26.638 27.266 0 15.007 11.876 27.266 26.638 27.266z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:4.276}),s=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M236.38 123.237l-.038-.009v-.686c0-.408-.157-.751-.472-1.029a1.508 1.508 0 00-1.103-.441c-.437 0-.814.147-1.129.441a1.354 1.354 0 00-.446 1.029v.686c-1.4.327-2.537 1.021-3.412 2.082-.875 1.046-1.313 2.246-1.313 3.602v6.86h-2.1v1.96h16.8v-1.96h-2.1v-6.86c0-.363-.031-.715-.094-1.055a5.002 5.002 0 01-4.593-4.62zm-1.613 17.435a2.169 2.169 0 01-1.496-.564c-.403-.392-.604-.857-.604-1.396h4.2c0 .539-.21 1.004-.63 1.396-.402.376-.892.564-1.47.564zM246.5 121.872h-7v-2h7v2z",fill:"#fff"}),u=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M241.867 124.372v-7h2v7h-2z",fill:"#fff"}),d=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup_svg__filter0_d_30_1196",x:12.972,y:6.852,width:443.057,height:322.709,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_30_1196"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_30_1196",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup_svg__filter1_d_30_1196",x:115.451,y:123.057,width:242,height:137,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:8}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_30_1196"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_30_1196",result:"shape"})));t.a=function SvgReaderRevenueManagerSetup(e){return r.createElement("svg",i({viewBox:"0 0 479 272",fill:"none"},e),a,c,o,l,s,u,d)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-setup-tablet_svg__clip0_545_5344)"},r.createElement("path",{d:"M134.999 170.5c0-40.522-17.5-50-18-88s26-61.5 47-66 23.5-1.302 51.5 0 39.5-17.5 79.5-14.5 45.5 19 69 25.5c23.874 6.603 33.464 1.321 48.5 21.5 19.001 25.5-2.875 51.848 8 97.5 14.77 62-276.999 64-285.5 24z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-tablet_svg__filter0_d_545_5344)"},r.createElement("rect",{x:234.539,y:17.537,width:86.677,height:172.078,rx:12.746,fill:"#fff"}),r.createElement("circle",{cx:169.523,cy:104.523,r:16.523,fill:"#2F9F9F"}),r.createElement("path",{d:"M172.845 100.088c-.432-.48-1.727-1.44-3.455-1.44-2.159 0-3.454 1.44-3.454 2.879 0 3.959 6.909 1.705 6.909 5.758 0 1.44-1.295 2.879-3.455 2.879-1.727 0-3.023-.959-3.454-1.439M169.391 95.769v17.274",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:105.5,cy:70.5,r:22.5,fill:"#2F9F9F"}),r.createElement("path",{d:"M110.022 64.46c-.588-.653-2.352-1.96-4.704-1.96-2.941 0-4.705 1.96-4.705 3.92 0 5.392 9.409 2.322 9.409 7.841 0 1.96-1.764 3.92-4.704 3.92-2.352 0-4.117-1.306-4.705-1.96M105.318 58.58v23.522",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:359.048,cy:37.482,r:11.144,fill:"#2F9F9F"}),r.createElement("path",{d:"M361.289 34.49c-.291-.323-1.165-.97-2.33-.97-1.456 0-2.33.97-2.33 1.941 0 2.67 4.66 1.15 4.66 3.884 0 .97-.874 1.942-2.33 1.942-1.165 0-2.039-.648-2.33-.971M358.959 31.578v11.65",stroke:"#fff",strokeWidth:.956,strokeLinecap:"round"}),r.createElement("circle",{cx:411.659,cy:109.5,r:13.712,fill:"#2F9F9F"}),r.createElement("path",{d:"M414.416 105.819c-.359-.398-1.434-1.195-2.867-1.195-1.792 0-2.867 1.195-2.867 2.39 0 3.285 5.734 1.414 5.734 4.778 0 1.195-1.075 2.389-2.867 2.389-1.434 0-2.509-.796-2.867-1.194M411.547 102.235v14.335",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:457.288,cy:50.288,r:19.288,fill:"#2F9F9F"}),r.createElement("path",{d:"M461.166 45.11c-.504-.56-2.017-1.68-4.033-1.68-2.521 0-4.033 1.68-4.033 3.36 0 4.622 8.066 1.99 8.066 6.722 0 1.68-1.513 3.36-4.033 3.36-2.017 0-3.529-1.12-4.033-1.68M457.131 40.069v20.165",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("rect",{x:244.795,y:29.038,width:66.512,height:11.737,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:60.897,width:66.512,height:72.66,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:137.941,width:66.512,height:4.471,rx:2.236,fill:"#F3F5F7"}),r.createElement("rect",{x:257.094,y:44.365,width:41.919,height:6.707,rx:3.354,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:44.924,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:244.795,y:47.16,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:244.795,y:49.396,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"})),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-tablet_svg__filter1_d_545_5344)"},r.createElement("rect",{x:211,y:64,width:134,height:63,rx:5.099,fill:"#fff"}),r.createElement("rect",{x:241.936,y:86.156,width:71.381,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:254.043,y:91.892,width:47.8,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:242.826,y:101.452,width:68.831,height:12.746,rx:6.373,fill:"#6FD3D3"})),r.createElement("path",{d:"M277.661 81.19c9.409 0 16.977-7.812 16.977-17.377 0-9.564-7.568-17.377-16.977-17.377-9.408 0-16.977 7.813-16.977 17.377 0 9.565 7.569 17.378 16.977 17.378z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:2.725}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M277.728 57.666a4.675 4.675 0 00-.166-.04v-.429c0-.255-.1-.469-.301-.642a.97.97 0 00-.702-.275c-.279 0-.519.092-.72.275a.837.837 0 00-.284.642v.428c-.892.204-1.617.637-2.175 1.3a3.357 3.357 0 00-.837 2.247v4.28h-1.338v1.223h10.707v-1.223h-1.338v-3.638a3.187 3.187 0 01-2.846-4.148zm-1.169 10.844c-.368 0-.686-.118-.954-.352a1.166 1.166 0 01-.385-.871h2.677c0 .336-.134.626-.402.871a1.336 1.336 0 01-.936.352zM284.032 57.996h-4.462V56.72h4.462v1.275z",fill:"#fff"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M281.077 59.59v-4.462h1.275v4.461h-1.275z",fill:"#fff"})),c=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup-tablet_svg__filter0_d_545_5344",x:72.803,y:9.889,width:413.971,height:192.473,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:2.549}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_5344"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_5344",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup-tablet_svg__filter1_d_545_5344",x:200.803,y:58.901,width:154.394,height:83.394,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:5.099}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_5344"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_5344",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-setup-tablet_svg__clip0_545_5344"},r.createElement("path",{fill:"#fff",d:"M0 0h553v140H0z"})));t.a=function SvgReaderRevenueManagerSetupTablet(e){return r.createElement("svg",i({viewBox:"0 0 553 140",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-setup-mobile_svg__clip0_545_3220)"},r.createElement("path",{d:"M48.29 62.984C45.736 92.5 61.979 101.179 61.979 141.7c0 40.523-68.064 65.392-38.567 133.189 23.634 54.322 143.822 65.071 212.81 49.74 68.988-15.331 94.263-53.72 90.398-90.963-5.246-50.546-33.305-76.635-44.18-122.287s8.084-69.5-20.73-92.004c-29.226-22.826-55.734-8.177-86.32-8.177-24.76 0-48.937-19.034-84.62-5.097-22.165 8.657-40.478 33.403-42.48 56.882z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-mobile_svg__filter0_d_545_3220)"},r.createElement("rect",{x:129.539,y:17.537,width:86.677,height:172.078,rx:12.746,fill:"#fff"}),r.createElement("circle",{cx:49.916,cy:77.24,r:16.523,fill:"#2F9F9F"}),r.createElement("path",{d:"M53.238 72.804c-.432-.48-1.728-1.44-3.455-1.44-2.16 0-3.455 1.44-3.455 2.88 0 3.959 6.91 1.704 6.91 5.757 0 1.44-1.296 2.88-3.455 2.88-1.727 0-3.023-.96-3.455-1.44M49.783 68.485V85.76",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:254.048,cy:37.482,r:11.144,fill:"#2F9F9F"}),r.createElement("path",{d:"M256.289 34.49c-.291-.323-1.165-.97-2.33-.97-1.456 0-2.33.97-2.33 1.941 0 2.67 4.66 1.15 4.66 3.884 0 .97-.874 1.942-2.33 1.942-1.165 0-2.039-.648-2.33-.971M253.959 31.578v11.65",stroke:"#fff",strokeWidth:.956,strokeLinecap:"round"}),r.createElement("circle",{cx:306.659,cy:109.5,r:13.712,fill:"#2F9F9F"}),r.createElement("path",{d:"M309.416 105.819c-.359-.398-1.434-1.195-2.867-1.195-1.792 0-2.867 1.195-2.867 2.39 0 3.285 5.734 1.414 5.734 4.778 0 1.195-1.075 2.389-2.867 2.389-1.434 0-2.509-.796-2.867-1.194M306.547 102.235v14.335",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("rect",{x:139.795,y:29.038,width:66.512,height:11.737,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:60.897,width:66.512,height:72.66,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:137.941,width:66.512,height:4.471,rx:2.236,fill:"#F3F5F7"}),r.createElement("rect",{x:152.094,y:44.365,width:41.919,height:6.707,rx:3.354,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:44.924,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:139.795,y:47.16,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:139.795,y:49.396,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"})),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-mobile_svg__filter1_d_545_3220)"},r.createElement("rect",{x:106,y:64,width:134,height:63,rx:5.099,fill:"#fff"}),r.createElement("rect",{x:136.936,y:86.156,width:71.381,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:149.043,y:91.892,width:47.8,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:137.826,y:101.452,width:68.831,height:12.746,rx:6.373,fill:"#6FD3D3"})),r.createElement("path",{d:"M172.661 81.19c9.409 0 16.977-7.812 16.977-17.377 0-9.564-7.568-17.377-16.977-17.377-9.408 0-16.977 7.813-16.977 17.377 0 9.565 7.569 17.378 16.977 17.378z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:2.725}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M172.728 57.666a4.675 4.675 0 00-.166-.04v-.429c0-.255-.1-.469-.301-.642a.97.97 0 00-.702-.275c-.279 0-.519.092-.72.275a.837.837 0 00-.284.642v.428c-.892.204-1.617.637-2.175 1.3a3.357 3.357 0 00-.837 2.247v4.28h-1.338v1.223h10.707v-1.223h-1.338v-3.638a3.187 3.187 0 01-2.846-4.148zm-1.169 10.844c-.368 0-.686-.118-.954-.352a1.166 1.166 0 01-.385-.871h2.677c0 .336-.134.626-.402.871a1.336 1.336 0 01-.936.352zM179.032 57.996h-4.462V56.72h4.462v1.275z",fill:"#fff"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M176.077 59.59v-4.462h1.275v4.461h-1.275z",fill:"#fff"})),c=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup-mobile_svg__filter0_d_545_3220",x:23.195,y:9.889,width:307.373,height:192.473,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:2.549}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_3220"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_3220",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup-mobile_svg__filter1_d_545_3220",x:95.803,y:58.901,width:154.394,height:83.394,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:5.099}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_3220"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_3220",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-setup-mobile_svg__clip0_545_3220"},r.createElement("path",{fill:"#fff",d:"M0 0h343v140H0z"})));t.a=function SvgReaderRevenueManagerSetupMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 140",fill:"none"},e),a,c)}},,,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 6.414L1.415 5l5.292 5.292-1.414 1.415z"}),r.createElement("path",{d:"M14.146.146l1.415 1.414L5.414 11.707 4 10.292z"}));t.a=function SvgCheck(e){return r.createElement("svg",i({viewBox:"0 0 16 12"},e),a)}},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNewBadge}));var r=n(1),i=n.n(r),a=n(0),c=n(3),o=n(6),l=n(263),s=n(8),u=n(46);function WidgetNewBadge(t){var n=t.slug,r=Object(c.useSelect)((function(e){return e(u.a).getWidgetArea(n)})).hasNewBadge,i="widget-area-expirable-new-badge-".concat(n),d=Object(c.useSelect)((function(e){return e(o.a).hasExpirableItem(i)})),g=Object(c.useSelect)((function(e){return e(o.a).isExpirableItemActive(i)})),f=r&&(!1===d||g),m=Object(c.useDispatch)(o.a).setExpirableItemTimers;return Object(a.useEffect)((function(){void 0!==d&&void 0!==g&&r&&!d&&m([{slug:i,expiresInSeconds:4*s.g}])}),[r,i,d,g,m]),!!f&&e.createElement(l.a,null)}WidgetNewBadge.propTypes={slug:i.a.string.isRequired}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=200},function(e,t,n){"use strict";n.d(t,"a",(function(){return ScrollEffect}));var r=n(697);function ScrollEffect(){return Object(r.a)(),null}},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(12),c=n.n(a),o=n(0),l=n(2),s=n(3),u=n(148),d=n(24),g=n(198),f=n(10);t.a=function OfflineNotification(){var t=Object(o.useState)(!1),n=i()(t,2),r=n[0],a=n[1],m=Object(s.useSelect)((function(e){return e(d.b).getIsOnline()}));return Object(o.useEffect)((function(){m&&r&&a(!1)}),[m,r]),e.createElement("div",{"aria-live":"polite"},!m&&!r&&e.createElement("div",{className:c()("googlesitekit-margin-top-0","googlesitekit-margin-bottom-0","googlesitekit-settings-notice-offline-notice","googlesitekit-settings-notice","googlesitekit-settings-notice--single-row","googlesitekit-settings-notice--".concat(u.b))},e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(g.a,{notice:Object(l.__)("You are currently offline. Some features may not be available.","google-site-kit")})),e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(f.Button,{onClick:function(){a(!0)}},Object(l.__)("OK, Got it!","google-site-kit")))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleDashboardEffects}));var r,i=n(27),a=n.n(i),c=n(7),o=n.n(c),l=n(3),s=n(19),u=n(52),d=(r={},o()(r,u.b,"DashboardMainEffectComponent"),o()(r,u.a,"DashboardEntityEffectComponent"),r);function ModuleDashboardEffects(){var t=Object(u.c)(),n=Object(l.useSelect)((function(e){return e(s.a).getModules()}));if(!n)return null;var r=d[t];return Object.values(n).reduce((function(t,n){var i=n[r];return n.active&&i?[].concat(a()(t),[e.createElement(i,{key:n.slug})]):t}),[])}}).call(this,n(4))},,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="enable-plugin-auto-update-notification",i="auto-update-banner-hide-notification-on-first-setup",a="auto-update-cta"},,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(7),c=n.n(a),o=n(16),l=n.n(o),s=n(15),u=n.n(s),d=n(0),g=n(2),f=n(3),m=n(28),p=n(19),h=n(6),v=n(9),b=n(149),E=n(160),_=n(224),O=n(225),y=n(663),k=n(664),j=n(665),S=n(8),w=n(54),x=n(61),C=n(18);t.a=Object(w.a)({moduleName:"analytics-4"})((function EnhancedMeasurementActivationBanner(){var t=Object(C.a)(),n=Object(d.useState)(b.b),r=u()(n,2),a=r[0],o=r[1],s=Object(d.useState)(void 0),w=u()(s,2),A=w[0],N=w[1],T=Object(d.useState)(!1),D=u()(T,2),M=D[0],R=D[1],B=Object(d.useState)(null),I=u()(B,2),P=I[0],F=I[1],L=Object(f.useSelect)((function(e){return e(v.p).getPropertyID()})),z=Object(f.useSelect)((function(e){return e(v.p).getWebDataStreamID()})),V=Object(f.useSelect)((function(e){return e(h.a).isItemDismissed(b.e)})),W=Object(f.useSelect)((function(e){return e(p.a).hasModuleOwnershipOrAccess("analytics-4")})),G=Object(f.useSelect)((function(e){if(Object(x.e)(L)&&Object(x.g)(z)&&W&&!V)return e(v.p).isEnhancedMeasurementStreamEnabled(L,z)})),U=Object(f.useSelect)((function(e){return e(h.a).hasScope(v.g)})),H=Object(f.useSelect)((function(e){return e(m.a).getValue(v.m,"autoSubmit")})),q=Object(f.useDispatch)(m.a).setValues,K=Object(f.useDispatch)(h.a).dismissItem,J=Object(f.useDispatch)(v.p).submitChanges,Y=Object(E.a)(b.f).isTooltipVisible,X=Object(_.a)(b.f),$=Object(d.useCallback)(l()(i.a.mark((function e(){var n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return R(!0),q(v.i,c()({},v.h,!0)),e.next=4,J();case 4:if(n=e.sent,r=n.error,R(!1),!r){e.next=11;break}return F(r),o(b.b),e.abrupt("return");case 11:Object(S.J)("".concat(t,"_enhanced-measurement-notification"),"confirm_notification"),o(b.c);case 13:case"end":return e.stop()}}),e)}))),[q,J,t]);return Object(d.useEffect)((function(){!1===G&&void 0===A&&N(!0)}),[A,G]),Object(d.useEffect)((function(){function e(){return(e=l()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return q(v.m,{autoSubmit:!1}),o(b.a),e.next=4,$();case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}H&&U&&function(){e.apply(this,arguments)}()}),[U,q,$,H]),Y?e.createElement(O.a,{title:Object(g.__)("Enable enhanced measurement later here","google-site-kit"),content:Object(g.__)("You can always turn on enhanced measurement later in Site Kit Settings","google-site-kit"),dismissLabel:Object(g.__)("Got it","google-site-kit"),tooltipStateKey:b.f}):!A||V?null:a===b.b?e.createElement(k.a,{errorNotice:P,isSaving:M,onDismiss:function(){X(),K(b.e,{expiresInSeconds:S.f})},onSubmit:$}):a===b.a?e.createElement(y.a,null):a===b.c?e.createElement(j.a,null):null}))}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InProgressBanner}));var r=n(2),i=n(3),a=n(14),c=n(10),o=n(65),l=n(394);function InProgressBanner(){var t=Object(i.useSelect)((function(e){return e(a.c).getGoogleSupportURL({path:"/analytics/answer/9216061"})}));return e.createElement(o.b,{id:"googlesitekit-enhanced-measurement-activation-banner",className:"googlesitekit-enhanced-measurement-success-banner",title:Object(r.__)("Setup in progress","google-site-kit"),description:Object(r.__)("Enhanced measurement is being enabled.","google-site-kit"),WinImageSVG:function WinImageSVG(){return e.createElement(l.a,null)},format:"small",type:"win-success",learnMoreLabel:Object(r.__)("Learn more","google-site-kit"),learnMoreURL:t},e.createElement(c.CircularProgress,{size:20}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return SetupBanner}));var i=n(5),a=n.n(i),c=n(16),o=n.n(c),l=n(1),s=n.n(l),u=n(0),d=n(2),g=n(157),f=n(3),m=n(10),p=n(28),h=n(32),v=n(14),b=n(6),E=n(9),_=n(34),O=n(8),y=n(65),k=n(394),j=n(116),S=n(205),w=n(18);function SetupBanner(t){var n=t.children,i=t.errorNotice,c=t.isDismissed,l=t.isSaving,s=t.onDismiss,x=t.onSubmit,C=Object(w.a)(),A=Object(g.a)(e.location.href,{notification:"enhanced_measurement"}),N=Object(f.useSelect)((function(e){return e(b.a).hasScope(E.g)})),T=Object(f.useSelect)((function(e){return e(v.c).getGoogleSupportURL({path:"/analytics/answer/9216061"})})),D=Object(f.useSelect)((function(e){var t=e(b.a).getConnectURL({additionalScopes:[E.g],redirectURL:A});return!!t&&e(h.a).isNavigatingTo(t)})),M=Object(f.useDispatch)(p.a).setValues,R=Object(f.useDispatch)(b.a).setPermissionScopeError,B=Object(u.useCallback)(o()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],!1===N&&t.push(E.g),!(t.length>0)){e.next=6;break}return M(E.m,{autoSubmit:!0}),R({code:_.a,message:Object(d.__)("Additional permissions are required to enable enhanced measurement for the selected web data stream","google-site-kit"),data:{status:403,scopes:t,skipModal:!0,redirectURL:A}}),e.abrupt("return");case 6:return e.next=8,x();case 8:case"end":return e.stop()}}),e)}))),[N,x,A,R,M]),I=Object(u.useCallback)((function(){Object(O.J)("".concat(C,"_enhanced-measurement-notification"),"dismiss_notification"),null==s||s()}),[s,C]),P=Object(u.useCallback)((function(){Object(O.J)("".concat(C,"_enhanced-measurement-notification"),"click_learn_more_link")}),[C]);Object(u.useEffect)((function(){Object(O.J)("".concat(C,"_enhanced-measurement-notification"),"view_notification")}),[C]);var F=N?Object(d.__)("Enable enhanced measurement in Analytics to automatically track metrics like file downloads, video plays, form interactions, etc. No extra code required.","google-site-kit"):Object(d.__)("Enable enhanced measurement in Analytics to automatically track metrics like file downloads, video plays, form interactions, etc. No extra code required — you’ll be redirected to give permission for Site Kit to enable it on your behalf.","google-site-kit");return r.createElement(y.b,{id:"googlesitekit-enhanced-measurement-activation-banner",className:"googlesitekit-enhanced-measurement-setup-banner",title:Object(d.__)("Understand how visitors interact with your content","google-site-kit"),description:F,learnMoreLabel:Object(d.__)("Learn more","google-site-kit"),learnMoreURL:T,onLearnMoreClick:P,ctaComponent:r.createElement(m.SpinnerButton,{onClick:B,isSaving:l||D},Object(d.__)("Enable now","google-site-kit")),footer:r.createElement("p",{className:"googlesitekit-enhanced-measurement-setup-banner__footer-notice"},Object(d.__)("You can always add/edit this in the Site Kit Settings","google-site-kit")),dismiss:Object(d.__)("Maybe later","google-site-kit"),WinImageSVG:function WinImageSVG(){return r.createElement(k.a,null)},format:"small",dismissExpires:O.f,onDismiss:I},i&&r.createElement(j.a,{error:i}),!c&&r.createElement(S.a,{triggerID:"view_enhanced_measurement_cta",ttl:O.a}),n)}SetupBanner.propTypes={onSubmitSuccess:s.a.func,onDismiss:s.a.func,children:s.a.node}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SuccessBanner}));var r=n(2),i=n(0),a=n(3),c=n(14),o=n(6),l=n(149),s=n(65),u=n(394),d=n(18),g=n(8);function SuccessBanner(){var t=Object(d.a)(),n=Object(a.useSelect)((function(e){return e(c.c).getGoogleSupportURL({path:"/analytics/answer/9216061"})})),f=Object(a.useDispatch)(o.a).dismissItem,m=Object(i.useCallback)((function(){f(l.e),Object(g.J)("".concat(t,"_enhanced-measurement-success"),"confirm_notification")}),[t,f]);return Object(i.useEffect)((function(){Object(g.J)("".concat(t,"_enhanced-measurement-success"),"view_notification")}),[t]),e.createElement(s.b,{id:"googlesitekit-enhanced-measurement-activation-banner",className:"googlesitekit-enhanced-measurement-success-banner",title:Object(r.__)("You successfully enabled enhanced measurement for your site","google-site-kit"),description:Object(r.__)("Your configured Analytics web data stream will now automatically measure interactions on your site in addition to standard page views measurement.","google-site-kit"),dismiss:Object(r.__)("OK, Got it","google-site-kit"),onDismiss:m,WinImageSVG:function WinImageSVG(){return e.createElement(u.a,null)},format:"small",type:"win-success",learnMoreLabel:Object(r.__)("Learn more","google-site-kit"),learnMoreURL:n})}}).call(this,n(4))},,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardSharingSettingsButton}));var r=n(2),i=n(0),a=n(3),c=n(10),o=n(395),l=n(18),s=n(8),u=n(28),d=n(24),g=n(14),f=n(9),m=n(147),p=n(676);function DashboardSharingSettingsButton(){var t=Object(l.a)(),n=Object(a.useDispatch)(d.b).setValue,h=Object(a.useSelect)((function(e){return e(g.c).hasMultipleAdmins()})),v=Object(a.useSelect)((function(e){return e(u.a).getValue(f.d,"isAutoCreatingCustomDimensionsForAudience")})),b=Object(i.useCallback)((function(){Object(s.J)("".concat(t,"_headerbar"),"open_sharing",h?"advanced":"simple"),n(m.c,!0)}),[n,t,h]);return e.createElement(i.Fragment,null,e.createElement(c.Button,{"aria-label":Object(r.__)("Open sharing settings","google-site-kit"),className:"googlesitekit-sharing-settings__button googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon",onClick:b,icon:e.createElement(o.a,{width:20,height:20}),tooltipEnterDelayInMS:500,disabled:v}),e.createElement(p.a,null))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardSharingDialog}));var r=n(792),i=n(12),a=n.n(i),c=n(2),o=n(0),l=n(38),s=n(254),u=n(1156),d=n(3),g=n(10),f=n(24),m=n(6),p=n(14),h=n(19),v=n(147),b=n(25),E=n(531),_=n(76),O=n(17),y=n(395),k=n(20),j=n(677),S=n(680);function DashboardSharingDialog(){var t=Object(b.e)(),n=Object(r.a)().y,i=Object(d.useDispatch)(f.b).setValue,w=Object(d.useDispatch)(m.a).triggerOnDemandTour,x=Object(d.useDispatch)(h.a).rollbackSharingSettings,C=Object(d.useSelect)((function(e){return!!e(f.b).getValue(v.c)})),A=Object(d.useSelect)((function(e){return!!e(f.b).getValue(v.b)})),N=Object(d.useSelect)((function(e){return e(f.b).getValue(v.a)})),T=Object(d.useSelect)((function(e){return e(h.a).haveSharingSettingsChanged()})),D=Object(d.useSelect)((function(e){return e(p.c).getDocumentationLinkURL("dashboard-sharing")})),M=Object(o.useRef)(),R=Object(o.useCallback)((function(){M.current||(M.current=!0,w(E.a))}),[w]),B={};t===b.b&&(B.top="".concat(n<46?46-n:0,"px"),B.height="calc(100% - 46px + ".concat(n<46?n:46,"px)")),Object(o.useEffect)((function(){!C&&T&&x()}),[C,T,x]);var I=Object(o.useCallback)((function(){i(v.c,!0)}),[i]),P=Object(o.useCallback)((function(){i(v.c,!1),i(v.a,void 0)}),[i]),F=Object(o.useCallback)((function(){P(),i(v.b,!0)}),[P,i]),L=Object(o.useCallback)((function(){i(v.b,!1),I()}),[I,i]),z=Object(o.useCallback)((function(){if(A)return L(),null;P()}),[L,P,A]);return e.createElement(_.a,null,e.createElement(O.b,{open:C||A,onOpen:R,onClose:z,className:"googlesitekit-dialog googlesitekit-sharing-settings-dialog",style:B,escapeKeyAction:void 0===N?"close":""},e.createElement("div",{className:"googlesitekit-dialog__back-wrapper","aria-hidden":t!==b.b},e.createElement(g.Button,{"aria-label":Object(c.__)("Back","google-site-kit"),className:"googlesitekit-dialog__back",onClick:z},e.createElement(s.a,{icon:u.a}))),e.createElement(O.c,{className:"googlesitekit-dialog__content"},e.createElement("div",{className:"googlesitekit-dialog__header"},C&&e.createElement("div",{className:"googlesitekit-dialog__header-icon","aria-hidden":t===b.b},e.createElement("span",null,e.createElement(y.a,{width:20,height:20}))),e.createElement("div",{className:"googlesitekit-dialog__header-titles"},e.createElement("h2",{className:"googlesitekit-dialog__title"},C&&Object(c.__)("Dashboard sharing & permissions","google-site-kit"),A&&Object(c.__)("Reset Dashboard Sharing permissions","google-site-kit")),e.createElement("p",{className:a()("googlesitekit-dialog__subtitle",{"googlesitekit-dialog__subtitle--emphasis":A})},C&&Object(l.a)(Object(c.__)("Share a view-only version of your Site Kit dashboard with other WordPress roles. <a>Learn more</a>","google-site-kit"),{a:e.createElement(k.a,{"aria-label":Object(c.__)("Learn more about dashboard sharing","google-site-kit"),href:D,external:!0})}),A&&Object(c.__)("Warning: Resetting these permissions will remove view-only access for all users. Are you sure you want to reset all Dashboard Sharing permissions?","google-site-kit")))),C&&e.createElement("div",{className:"googlesitekit-dialog__main"},e.createElement(j.a,null))),e.createElement(O.d,{className:"googlesitekit-dialog__footer"},e.createElement(S.a,{closeDialog:z,openResetDialog:F}))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardSharingSettings}));var i=n(12),a=n.n(i),c=n(2),o=n(3),l=n(678),s=n(19),u=n(14),d=n(6);function DashboardSharingSettings(){var t=Object(o.useSelect)((function(e){return e(s.a).hasRecoverableModules()})),n=Object(o.useSelect)((function(e){return e(u.c).hasMultipleAdmins()})),i=t||n,g=Object(o.useSelect)((function(t){for(var n=t(d.a).getID(),r=t(s.a).getShareableModules(),i=[],a=[],c=[],o=0,l=Object.values(r);o<l.length;o++){var u;(null===(u=(e=l[o]).owner)||void 0===u?void 0:u.id)===n?i.push(e):t(d.a).hasCapability(d.J,e.slug)?a.push(e):c.push(e)}return[].concat(i,a,c)}));return void 0===g?null:r.createElement("div",{className:a()("googlesitekit-dashboard-sharing-settings",{"googlesitekit-dashboard-sharing-settings--has-multiple-admins":i})},r.createElement("header",{className:"googlesitekit-dashboard-sharing-settings__header googlesitekit-dashboard-sharing-settings__row"},r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},Object(c.__)("Product","google-site-kit")),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},Object(c.__)("Who can view","google-site-kit")),i&&r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},Object(c.__)("Who can manage view access","google-site-kit"))),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__main"},g.map((function(e){var t=e.slug,n=e.name,i=e.owner,a=e.recoverable;return r.createElement(l.a,{key:t,moduleSlug:t,moduleName:n,ownerUsername:null==i?void 0:i.login,recoverable:a})}))))}}).call(this,n(913)(e),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Module}));var r=n(15),i=n.n(r),a=n(1),c=n.n(a),o=n(12),l=n.n(o),s=n(2),u=n(254),d=n(573),g=n(0),f=n(38),m=n(10),p=n(3),h=n(177),v=n(679),b=n(18),E=n(19),_=n(14),O=n(24),y=n(147),k=n(8),j=n(6),S=n(212),w=n(20),x=[{value:"owner",label:Object(s.__)("Only me","google-site-kit")},{value:"all_admins",label:Object(s.__)("Any admin signed in with Google","google-site-kit")}];function Module(t){var n=t.moduleSlug,r=t.moduleName,a=t.ownerUsername,c=t.recoverable,o=Object(b.a)(),C=Object(g.useRef)(),A=Object(g.useState)(void 0),N=i()(A,2),T=N[0],D=N[1],M=Object(p.useSelect)((function(e){return e(E.a).hasRecoverableModules()})),R=Object(p.useSelect)((function(e){return e(_.c).hasMultipleAdmins()})),B=M||R,I=Object(p.useSelect)((function(e){var t;return null!==(t=e(E.a).getSharingManagement(n))&&void 0!==t?t:"owner"})),P=Object(p.useSelect)((function(e){return e(j.a).hasCapability(j.I,n)})),F=Object(p.useSelect)((function(e){return e(j.a).hasCapability(j.J,n)})),L=Object(p.useSelect)((function(e){return e(E.a).getSharedOwnershipModules()})),z=Object(p.useSelect)((function(e){return e(O.b).getValue(y.a)})),V=Object(p.useSelect)((function(e){return e(E.a).isDoingSubmitSharingChanges()})),W=Object(p.useSelect)((function(e){return e(_.c).getDocumentationLinkURL("dashboard-sharing-module-recovery")})),G=Object(p.useDispatch)(E.a).setSharingManagement,U=L&&Object.keys(L).includes(n);Object(g.useEffect)((function(){D(U?"all_admins":I)}),[I,U]);var H=Object(p.useSelect)((function(e){return e(E.a).haveModuleSharingSettingsChanged(n,"management")}));Object(g.useEffect)((function(){H&&Object(k.J)("".concat(o,"_sharing"),"change_management_".concat(I),n)}),[H,I,n,o]);var q=Object(g.useCallback)((function(e){var t=e.target.value;D(t),G(n,t)}),[G,D,n]),K=n===z,J=!K&&void 0!==z||V;return e.createElement("div",{className:l()("googlesitekit-dashboard-sharing-settings__module","googlesitekit-dashboard-sharing-settings__row",{"googlesitekit-dashboard-sharing-settings__row--editing":K,"googlesitekit-dashboard-sharing-settings__row--disabled":J}),ref:C},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},e.createElement(h.a,{slug:n,size:48}),e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__module-name"},r)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},F&&e.createElement(v.a,{moduleSlug:n,isLocked:J,ref:C}),c&&e.createElement(S.a,null,Object(f.a)(Object(s.__)("Managing user required to manage view access. <Link>Learn more</Link>","google-site-kit"),{Link:e.createElement(w.a,{href:W,external:!0,hideExternalIndicator:!0})})),!F&&!c&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(s.__)("Contact managing user to manage view access","google-site-kit"))),B&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},U&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},e.createElement("span",null,Object(s.__)("Any admin signed in with Google","google-site-kit")),e.createElement(m.Tooltip,{title:Object(s.__)("This service requires general access to Google APIs rather than access to a specific user-owned property/entity, so view access is manageable by any admin signed in with Google.","google-site-kit")},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(u.a,{icon:d.a,size:18})))),!U&&P&&e.createElement(m.Select,{className:"googlesitekit-dashboard-sharing-settings__select",value:T,options:x,onChange:q,onClick:q,outlined:!0}),!U&&!P&&a&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(f.a)(Object(s.sprintf)( /* translators: %s: user who manages the module. */ Object(s.__)("<span>Managed by</span> <strong>%s</strong>","google-site-kit"),a),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),e.createElement(m.Tooltip,{title:F?Object(s.sprintf)( /* translators: %s: name of the user who manages the module. */ Object(s.__)("%s has connected this and given managing permissions to all admins. You can change who can view this on the dashboard.","google-site-kit"),a):Object(s.sprintf)( /* translators: %s: name of the user who manages the module. */ Object(s.__)("Contact %s to change who can manage view access for this module","google-site-kit"),a)},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(u.a,{icon:d.a,size:18}))))))}Module.propTypes={moduleSlug:c.a.string.isRequired,moduleName:c.a.string.isRequired,ownerUsername:c.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(27),i=n.n(r),a=n(1),c=n.n(a),o=n(12),l=n.n(o),s=n(2),u=n(56),d=n(0),g=n(3),f=n(10),m=n(20),p=n(395),h=n(564),v=n(18),b=n(129),E=n(8),_=n(19),O=n(24),y=n(147),k=Object(s.__)("All","google-site-kit"),j=Object(d.forwardRef)((function(t,n){var r=t.moduleSlug,a=t.isLocked,c=void 0!==a&&a,o=Object(v.a)(),j=Object(d.useRef)(),S=Object(g.useDispatch)(_.a).setSharedRoles,w=Object(g.useDispatch)(O.b).setValue,x=Object(g.useSelect)((function(e){return e(_.a).getShareableRoles()})),C=Object(g.useSelect)((function(e){return e(_.a).getSharedRoles(r)})),A=Object(g.useSelect)((function(e){return e(O.b).getValue(y.a)}))===r;Object(b.a)([u.c],n,(function(){A&&w(y.a,void 0)}));var N=Object(g.useSelect)((function(e){return e(_.a).haveModuleSharingSettingsChanged(r,"sharedRoles")})),T=Object(d.useCallback)((function(){A?(w(y.a,void 0),N&&Object(E.J)("".concat(o,"_sharing"),"change_shared_roles",r)):w(y.a,r)}),[A,N,r,w,o]);Object(d.useEffect)((function(){j.current&&(A?j.current.firstChild.focus():j.current.focus())}),[A]);var D=Object(d.useCallback)((function(e){var t,n=e.type,a=e.target,c=e.keyCode;if("keydown"!==n||c===u.b){var o,l=a.closest(".mdc-chip"),s=null==l||null===(t=l.dataset)||void 0===t?void 0:t.chipId;if(s)o="all"===s?(null==C?void 0:C.length)===(null==x?void 0:x.length)?[]:x.map((function(e){return e.id})):null===C?[s]:C.includes(s)?C.filter((function(e){return e!==s})):[].concat(i()(C),[s]),S(r,o)}}),[r,S,C,x]);return x?e.createElement("div",{className:l()("googlesitekit-user-role-select",{"googlesitekit-user-role-select--open":A})},!A&&e.createElement(f.Button,{"aria-label":Object(s.__)("Edit roles","google-site-kit"),className:"googlesitekit-user-role-select__button",onClick:T,icon:e.createElement(p.a,{width:23,height:23}),tabIndex:c?-1:void 0,ref:j}),!A&&(null==C?void 0:C.length)>0&&e.createElement("span",{className:"googlesitekit-user-role-select__current-roles"},(null==x?void 0:x.reduce((function(e,t){return C.includes(t.id)&&e.push(t.displayName),e}),[])).join(", ")),!A&&(!C||0===(null==C?void 0:C.length))&&e.createElement("span",{className:"googlesitekit-user-role-select__add-roles"},e.createElement(m.a,{onClick:T,tabIndex:c?-1:void 0},Object(s.__)("Add roles","google-site-kit"))),A&&e.createElement(d.Fragment,null,e.createElement("div",{className:"googlesitekit-user-role-select__chipset",ref:j},e.createElement(f.Chip,{id:"all",label:k,onClick:D,onKeyDown:D,selected:(null==C?void 0:C.length)===(null==x?void 0:x.length),className:"googlesitekit-user-role-select__chip--all"}),x.map((function(t,n){var r=t.id,i=t.displayName;return e.createElement(f.Chip,{key:n,id:r,label:i,onClick:D,onKeyDown:D,selected:null==C?void 0:C.includes(r)})}))),e.createElement(f.Button,{"aria-label":Object(s.__)("Done editing roles","google-site-kit"),title:Object(s.__)("Done","google-site-kit"),className:"googlesitekit-user-role-select__button",onClick:T,icon:e.createElement(h.a,{width:18,height:18}),tabIndex:c?-1:void 0}))):null}));j.propTypes={moduleSlug:c.a.string.isRequired,isLocked:c.a.bool},t.a=j}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(2),g=n(0),f=n(10),m=n(3),p=n(19),h=n(24),v=n(147),b=n(18),E=n(8),_=n(20),O=n(681),y=n(67);function Footer(t){var n=t.closeDialog,r=t.openResetDialog,a=Object(b.a)(),o=Object(g.useState)(null),s=l()(o,2),u=s[0],k=s[1],j=Object(g.useState)(!1),S=l()(j,2),w=S[0],x=S[1],C=Object(m.useSelect)((function(e){return e(p.a).canSubmitSharingChanges()})),A=Object(m.useSelect)((function(e){return e(p.a).isDoingSubmitSharingChanges()})),N=Object(m.useSelect)((function(e){return e(p.a).haveSharingSettingsExpanded("management")})),T=Object(m.useSelect)((function(e){return e(p.a).haveSharingSettingsExpanded("sharedRoles")})),D=Object(m.useSelect)((function(e){return e(p.a).haveSharingSettingsUpdated()})),M=Object(m.useSelect)((function(e){return!!e(h.b).getValue(v.c)})),R=Object(m.useSelect)((function(e){return!!e(h.b).getValue(v.b)})),B=Object(m.useDispatch)(p.a),I=B.resetSharingSettings,P=B.saveSharingSettings,F=Object(m.useDispatch)(h.b).setValue,L=Object(g.useCallback)(c()(i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(null),e.next=3,P();case 3:if(t=e.sent,!(r=t.error)){e.next=8;break}return k(r.message),e.abrupt("return");case 8:Object(E.J)("".concat(a,"_sharing"),"settings_confirm"),F(v.a,void 0),n();case 11:case"end":return e.stop()}}),e)}))),[a,P,F,n]),z=Object(g.useCallback)(c()(i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(null),x(!0),e.next=4,I();case 4:if(t=e.sent,!(r=t.error)){e.next=9;break}return k(r.message),e.abrupt("return");case 9:x(!1),n();case 11:case"end":return e.stop()}}),e)}))),[n,I]),V=Object(g.useCallback)((function(){Object(E.J)("".concat(a,"_sharing"),"settings_cancel"),n()}),[n,a]),W=u||N||T;return e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer"},W&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-notice"},u&&e.createElement(y.a,{message:u}),!u&&e.createElement(O.a,null)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions"},D&&M&&!W&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions-left"},e.createElement(_.a,{onClick:r,danger:!0},Object(d.__)("Reset sharing permissions","google-site-kit"))),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions-right"},e.createElement(f.Button,{tertiary:!0,onClick:V},Object(d.__)("Cancel","google-site-kit")),M&&e.createElement(f.SpinnerButton,{onClick:L,disabled:A||!C,isSaving:A},Object(d.__)("Apply","google-site-kit")),R&&e.createElement(f.SpinnerButton,{onClick:z,disabled:w,isSaving:w,danger:!0},Object(d.__)("Reset","google-site-kit")))))}Footer.propTypes={closeDialog:u.a.func.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notice}));var r=n(2),i=n(38),a=n(3),c=n(19);function Notice(){var t=Object(a.useSelect)((function(e){return e(c.a).canSubmitSharingChanges()})),n=Object(a.useSelect)((function(e){return e(c.a).haveSharingSettingsExpanded("management")})),o=Object(a.useSelect)((function(e){return e(c.a).haveSharingSettingsExpanded("sharedRoles")}));return e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__notice"},n&&t&&Object(i.a)(Object(r.__)("By clicking <strong>Apply</strong>, you will give other authenticated admins of your site permission to manage view-only access to Site Kit Dashboard data from the chosen Google service","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),!n&&t&&o&&Object(i.a)(Object(r.__)("By clicking <strong>Apply</strong>, you’re granting the selected roles view-only access to data from the Google services you’ve connected via your account","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(15),i=n.n(r),a=n(7),c=n.n(a),o=n(1),l=n.n(o),s=n(12),u=n.n(s),d=n(79),g=n(0),f=n(3),m=n(181),p=n(89),h=n(46),v=n(24),b=n(17),E=n(25),_=n(204),O=n(683),y=n(684),k=n(685),j=n(35),S=n(6),w=n(252),x=n(686);function C(e){var t,n=(t={},c()(t,E.d,48),c()(t,E.a,48),c()(t,E.c,32),c()(t,E.b,32),t)[e],r=Math.abs(Object(p.b)(e)+n);return"".concat(-r,"px ").concat(-n,"px ").concat(-n,"px ").concat(-n,"px")}function WidgetAreaRenderer(t){var n,r=t.slug,a=t.contextID,o=Object(j.a)(),l=Object(f.useSelect)((function(e){return o?e(S.a).getViewableModules():null})),s=Object(d.a)(),p=Object(E.e)(),A=Object(g.useRef)(),N=Object(w.a)(A,{rootMargin:C(p),threshold:0}),T=Object(f.useSelect)((function(e){return e(h.a).getWidgetArea(r)})),D=T.Icon,M=T.title,R=T.style,B=T.subtitle,I=T.CTA,P=T.Footer,F=Object(f.useSelect)((function(e){return e(h.a).getWidgets(r,{modules:l||void 0})})),L=Object(f.useSelect)((function(e){return e(h.a).getWidgetStates()})),z=Object(f.useSelect)((function(e){return e(h.a).isWidgetAreaActive(r,{modules:l||void 0})})),V=Object(f.useSelect)((function(e){return e(v.b).getValue(v.a)})),W=Object(g.useState)({key:"WidgetAreaRenderer-".concat(r),value:V?V===a:!!(null==N?void 0:N.intersectionRatio)}),G=i()(W,2),U=G[0],H=G[1];Object(g.useEffect)((function(){H({key:"WidgetAreaRenderer-".concat(r),value:V?V===a:!!(null==N?void 0:N.intersectionRatio)})}),[N,r,V,a]);var q=I&&s<=782;if(void 0===l)return null;var K=Object(m.d)(F,L),J=K.columnWidths,Y=K.rowIndexes,X=Object(m.b)(F,L,{columnWidths:J,rowIndexes:Y}),$=X.gridColumnWidths,Q=X.overrideComponents,Z=F.map((function(t,n){return e.createElement(y.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:$[n]},e.createElement(k.a,{slug:t.slug},e.createElement(O.a,{OverrideComponent:Q[n]?function(){var t=Q[n],r=t.Component,i=t.metadata;return e.createElement(r,i)}:void 0,slug:t.slug})))}));return e.createElement(_.a,{value:U},!!z&&e.createElement(b.e,{className:u()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(r),"googlesitekit-widget-area--".concat(R)),ref:A},e.createElement(b.k,null,e.createElement(b.a,{className:"googlesitekit-widget-area-header",size:12},e.createElement(x.a,{slug:r,Icon:D,title:M,subtitle:B,CTA:I}))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(b.k,null,R===h.b.BOXES&&Z,R===h.b.COMPOSITE&&e.createElement(b.a,{size:12},e.createElement(b.e,null,e.createElement(b.k,null,Z))))),e.createElement(b.k,null,q&&e.createElement(b.a,{className:"googlesitekit-widget-area-footer",lgSize:12,mdSize:4,smSize:2},e.createElement("div",{className:"googlesitekit-widget-area-footer__cta"},e.createElement(I,null))),P&&e.createElement(b.a,{className:"googlesitekit-widget-area-footer",lgSize:12,mdSize:q?4:8,smSize:q?2:4},e.createElement(P,null)))),!z&&e.createElement(b.e,{className:u()(m.a,"googlesitekit-widget-area",(n={},c()(n,"googlesitekit-widget-area--".concat(r),!!r),c()(n,"googlesitekit-widget-area--".concat(R),!!R),n)),ref:A},Z))}WidgetAreaRenderer.propTypes={slug:l.a.string.isRequired,contextID:l.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(13),c=n(0),o=n(3),l=n(46),s=n(19),u=n(229),d=n(230),g=n(181),f=n(96),m=n(35),p=n(25);function WidgetRenderer(t){var n,r=t.slug,i=t.OverrideComponent,h=Object(o.useSelect)((function(e){return e(l.a).getWidget(r)})),v=Object(p.e)(),b=Object(g.c)(r),E=b.Widget,_=b.WidgetNull,O=Object(o.useSelect)((function(e){return e(s.a).getRecoverableModules()})),y=Object(m.a)(),k=Object(c.useMemo)((function(){return h&&O&&Object(a.intersection)(h.modules,Object.keys(O))}),[O,h]),j=Object(o.useSelect)((function(e){return e(l.a).isWidgetPreloaded(r)}));if(!h||void 0===k||(null==h||null===(n=h.hideOnBreakpoints)||void 0===n?void 0:n.includes(v)))return e.createElement(_,null);var S=h.Component,w=h.wrapWidget,x=e.createElement(S,b);return y&&(null==k?void 0:k.length)&&(x=e.createElement(d.a,{widgetSlug:r,moduleSlugs:k})),i?x=e.createElement(c.Fragment,null,e.createElement(u.a,{widgetSlug:"overridden"},e.createElement(i,null)),e.createElement("div",{className:f.a},x)):w&&(x=e.createElement(E,null,x)),j?e.createElement("div",{className:f.a},x):x}WidgetRenderer.propTypes={slug:i.a.string.isRequired,OverrideComponent:i.a.elementType},t.a=WidgetRenderer}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(96),c=n(17);function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:a.a},r):n<6?e.createElement(c.a,{lgSize:n,mdSize:4,smSize:2},r):n<8?e.createElement(c.a,{lgSize:n,mdSize:8},r):e.createElement(c.a,{size:n},r)}WidgetCellWrapper.propTypes={gridColumnWidth:i.a.number.isRequired,children:i.a.element.isRequired},t.a=WidgetCellWrapper}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){var i=n(50),a=n.n(i),c=n(51),o=n.n(c),l=n(215),s=n.n(l),u=n(69),d=n.n(u),g=n(70),f=n.n(g),m=n(49),p=n.n(m),h=n(186),v=n.n(h),b=n(1),E=n.n(b),_=n(0),O=n(2),y=n(85),k=n(168),j=n(63),S=n(8);function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var i=p()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var x=function(t){d()(WidgetErrorHandler,t);var n=w(WidgetErrorHandler);function WidgetErrorHandler(e){var t;return a()(this,WidgetErrorHandler),(t=n.call(this,e)).state={error:null,info:null},t.onErrorClick=t.onErrorClick.bind(s()(t)),t}return o()(WidgetErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Widget error:",t,n),this.setState({error:t,info:n}),Object(S.J)("widget_error","handle_".concat(this.context||"unknown","_error"),"".concat(this.props.slug,"_").concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500-this.props.slug.length-1))}},{key:"onErrorClick",value:function(){var e=this.state,t=e.error,n=e.info;v()("`".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack,"`"))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,i=t.info;return n?r.createElement("div",{className:"googlesitekit-widget-error-handler"},r.createElement(y.a,{description:r.createElement(_.Fragment,null,r.createElement("p",null,Object(O.__)("An error prevented this Widget from being displayed properly. Report the exact contents of the error on the support forum to find out what caused it.","google-site-kit")),r.createElement(k.a,{message:n.message,componentStack:i.componentStack})),error:!0,onErrorClick:this.onErrorClick,onClick:this.onErrorClick,title:Object(O.__)("Error in Widget","google-site-kit")})):e}}]),WidgetErrorHandler}(_.Component);x.contextType=j.b,x.propTypes={children:E.a.node.isRequired},t.a=x}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaHeader}));var r=n(1),i=n.n(r),a=n(79),c=n(0),o=n(588);function WidgetAreaHeader(t){var n=t.slug,r=t.Icon,i=void 0!==r&&r,l=t.title,s=void 0===l?"":l,u=t.subtitle,d=void 0===u?"":u,g=t.CTA,f=Object(a.a)(),m=g&&f>=783,p="function"==typeof d?d:void 0;return e.createElement(c.Fragment,null,i&&e.createElement(i,{width:33,height:33}),s&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},s,e.createElement(o.a,{slug:n})),(d||g)&&e.createElement("div",{className:"googlesitekit-widget-area-header__details"},d&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},p&&e.createElement(p,null),!p&&d,!s&&e.createElement(o.a,{slug:n})),m&&e.createElement("div",{className:"googlesitekit-widget-area-header__cta"},e.createElement(g,null))))}WidgetAreaHeader.propTypes={slug:i.a.string.isRequired,Icon:i.a.bool,title:i.a.oneOfType([i.a.string,i.a.element]),subtitle:i.a.oneOfType([i.a.string,i.a.elementType]),CTA:i.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(91),c=n(521),o=n(200),l=n(0),s=n(2),u=n(3),d=n(10),g=n(105),f=n(688),m=n(689),p=n(690),h=n(14),v=n(32),b=n(8),E=n(52),_=n(18);t.a=function EntitySearchInput(){var t=Object(o.a)(EntitySearchInput,"EntitySearchInput"),n=Object(l.useState)(!1),r=i()(n,2),O=r[0],y=r[1],k=Object(l.useState)(!1),j=i()(k,2),S=j[0],w=j[1],x=Object(l.useState)(!1),C=i()(x,2),A=C[0],N=C[1],T=Object(_.a)(),D=Object(E.c)(),M=Object(l.useRef)(),R=Object(l.useCallback)((function(){Object(b.J)("".concat(T,"_headerbar"),"open_urlsearch"),y(!0)}),[T]),B=Object(l.useCallback)((function(){Object(b.J)("".concat(T,"_headerbar"),"close_urlsearch"),y(!1)}),[T]),I=Object(l.useState)({}),P=i()(I,2),F=P[0],L=P[1],z=Object(u.useSelect)((function(e){return(null==F?void 0:F.url)?e(h.c).getAdminURL("googlesitekit-dashboard",{permaLink:F.url}):null})),V=Object(u.useDispatch)(v.a).navigateTo;return Object(l.useEffect)((function(){z&&Object(b.J)("".concat(T,"_headerbar_urlsearch"),"open_urldetails").finally((function(){V(z)}))}),[z,V,T]),Object(a.a)((function(){D===E.a&&y(!0)})),Object(c.a)((function(){var e;O||(null==M||null===(e=M.current)||void 0===e||e.focus())}),[O]),O?e.createElement("div",{className:"googlesitekit-entity-search googlesitekit-entity-search--is-open"},e.createElement(g.a,null,e.createElement("label",{htmlFor:t},Object(s.__)("Page/URL Search","google-site-kit"))),e.createElement(p.a,{id:t,match:F,setIsActive:N,setMatch:L,placeholder:Object(s.__)("Enter title or URL…","google-site-kit"),isLoading:S,setIsLoading:w,showDropdown:A,onClose:B,autoFocus:!0}),S&&A&&e.createElement(d.ProgressBar,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(d.Button,{onClick:B,trailingIcon:e.createElement(m.a,{width:"30",height:"20"}),className:"googlesitekit-entity-search__close",title:Object(s.__)("Close","google-site-kit"),text:!0,tooltip:!0,tooltipEnterDelayInMS:500}))):e.createElement("div",{className:"googlesitekit-entity-search"},e.createElement(d.Button,{className:"googlesitekit-border-radius-round--phone googlesitekit-button-icon--phone",onClick:R,text:!0,ref:M,title:Object(s.__)("Search","google-site-kit"),trailingIcon:e.createElement(f.a,{width:"20",height:"20"}),tooltip:!0,tooltipEnterDelayInMS:500},Object(s.__)("URL Search","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 9.5c0 1.407-.45 2.714-1.218 3.783L20.49 19 19 20.49l-5.717-5.708A6.463 6.463 0 019.5 16 6.5 6.5 0 1116 9.5zm-11 0C5 11.99 7.01 14 9.5 14S14 11.99 14 9.5 11.99 5 9.5 5 5 7.01 5 9.5z",fill:"currentColor"});t.a=function SvgMagnifyingGlass(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M15.833 5.342l-1.175-1.175L10 8.825 5.342 4.167 4.167 5.342 8.825 10l-4.658 4.658 1.175 1.175L10 11.175l4.658 4.658 1.175-1.175L11.175 10l4.658-4.658z",fill:"currentColor"});t.a=function SvgCloseDark(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(338),g=n(0),f=n(2),m=n(56),p=n(42),h=n.n(p),v=n(3),b=n(691),E=n(14),_=function(){};function PostSearcherAutoSuggest(t){var n=t.id,r=t.match,a=t.setMatch,o=t.isLoading,s=t.showDropdown,u=void 0===s||s,p=t.setIsLoading,O=void 0===p?_:p,y=t.setIsActive,k=void 0===y?_:y,j=t.autoFocus,S=t.setCanSubmit,w=void 0===S?_:S,x=t.onClose,C=void 0===x?_:x,A=t.placeholder,N=void 0===A?"":A,T=Object(g.useRef)(),D=Object(g.useState)(""),M=l()(D,2),R=M[0],B=M[1],I=null==r?void 0:r.title,P=Object(b.a)(R,R===I?0:200),F=Object(g.useState)([]),L=l()(F,2),z=L[0],V=L[1],W=Object(f.__)("No results found","google-site-kit"),G=Object(v.useSelect)((function(e){return e(E.c).getCurrentEntityTitle()})),U=Object(g.useRef)(null),H=Object(g.useCallback)((function(){k(!0)}),[k]),q=Object(g.useCallback)((function(e){var t,n,r;(null===(t=e.relatedTarget)||void 0===t?void 0:t.classList.contains("autocomplete__option--result"))||(k(!1),B(null!==(n=null!==(r=U.current)&&void 0!==r?r:G)&&void 0!==n?n:""))}),[G,k]),K=Object(g.useCallback)((function(e){if(Array.isArray(z)&&e!==W){var t=z.find((function(t){return t.title.toLowerCase()===e.toLowerCase()}));t?(U.current=t.title,w(!0),a(t),B(t.title)):U.current=null}else U.current=null,w(!1)}),[z,w,a,W,B]),J=Object(g.useCallback)((function(e){w(!1),B(e.target.value)}),[w]);Object(g.useEffect)((function(){if(""!==P&&P!==G&&(null==P?void 0:P.toLowerCase())!==(null==I?void 0:I.toLowerCase())){var e="undefined"==typeof AbortController?void 0:new AbortController;return(t=c()(i.a.mark((function t(){var n,r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return O(!0),n=h.a.get("core","search","entity-search",{query:encodeURIComponent(P)},{useCache:!1,signal:null==e?void 0:e.signal}),T.current=n,t.prev=3,t.next=6,n;case 6:r=t.sent,V(r),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(3),V(null);case 13:return t.prev=13,n===T.current&&O(!1),t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[3,10,13,16]])}))),function(){return t.apply(this,arguments)})(),function(){return null==e?void 0:e.abort()}}var t}),[P,O,G,I]),Object(g.useEffect)((function(){R||V([])}),[R]),Object(g.useEffect)((function(){G&&B(G)}),[G]);var Y=Object(g.useRef)(),X=Object(g.useCallback)((function(e){var t=Y.current;switch(e.keyCode){case m.d:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=0,t.selectionEnd=0);break;case m.a:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=t.value.length,t.selectionEnd=t.value.length)}switch(e.keyCode){case m.c:return C();case m.b:return K(R)}}),[C,K,R]);return e.createElement(d.a,{className:"autocomplete__wrapper",onSelect:K},e.createElement(d.b,{ref:Y,id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onBlur:q,onChange:J,onFocus:H,placeholder:N,onKeyDown:X,value:R,autoFocus:j}),!o&&u&&P!==G&&""!==P&&0===(null==z?void 0:z.length)&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(d.d,{value:W,className:"autocomplete__option autocomplete__option--no-results"}))),u&&""!==P&&P!==G&&(null==z?void 0:z.length)>0&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},z.map((function(t){var n=t.id,r=t.title;return e.createElement(d.d,{key:n,value:r,className:"autocomplete__option autocomplete__option--result"})})))))}PostSearcherAutoSuggest.propTypes={id:u.a.string,match:u.a.object,setCanSubmit:u.a.func,setMatch:u.a.func,isLoading:u.a.bool,setIsLoading:u.a.func,onKeyDown:u.a.func,autoFocus:u.a.bool,placeholder:u.a.string}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(15),i=n.n(r),a=n(0);function c(e,t){var n=Object(a.useState)(e),r=i()(n,2),c=r[0],o=r[1];return Object(a.useEffect)((function(){var n=setTimeout((function(){o(e)}),t);return function(){clearTimeout(n)}}),[e,t]),c}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(15),i=n.n(r),a=n(217),c=n(12),o=n.n(c),l=n(0),s=n(56),u=n(2),d=n(3),g=n(10),f=n(693),m=n(6),p=n(129),h=n(8),v=n(24),b=n(18);function DateRangeSelector(){var t,n=Object(h.o)(),r=Object(d.useSelect)((function(e){return e(m.a).getDateRange()})),c=Object(d.useDispatch)(m.a).setDateRange,E=Object(d.useDispatch)(v.b).resetInViewHook,_=Object(l.useState)(!1),O=i()(_,2),y=O[0],k=O[1],j=Object(l.useRef)(),S=Object(b.a)();Object(a.a)(j,(function(){return k(!1)})),Object(p.a)([s.c,s.f],j,(function(){return k(!1)}));var w=Object(l.useCallback)((function(){k(!y)}),[y]),x=Object(l.useCallback)((function(e){var t=Object.values(n)[e].slug;r!==t&&Object(h.J)("".concat(S,"_headerbar"),"change_daterange",t),E(),c(t),k(!1)}),[n,r,E,c,S]),C=null===(t=n[r])||void 0===t?void 0:t.label,A=Object.values(n).map((function(e){return e.label}));return e.createElement("div",{ref:j,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(g.Button,{className:o()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu","googlesitekit-border-radius-round--phone","googlesitekit-button-icon--phone"),text:!0,onClick:w,icon:e.createElement(f.a,{width:"20",height:"20"}),"aria-haspopup":"menu","aria-expanded":y,"aria-controls":"date-range-selector-menu",title:Object(u.__)("Date range","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500},C),e.createElement(g.Menu,{menuOpen:y,menuItems:A,onSelected:x,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M6 9H4v2h2V9zm4 0H8v2h2V9zm4 0h-2v2h2V9zm2-7h-1V0h-2v2H5V0H3v2H2C.89 2 .01 2.9.01 4L0 18a2 2 0 002 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 16H2V7h14v11z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgDateRange(e){return r.createElement("svg",i({viewBox:"0 0 18 20"},e),a)}},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(222),g=n(2),f=n(0),m=n(38),p=n(3),h=n(10),v=n(32),b=n(14),E=n(6),_=n(181),O=n(17),y=n(695),k=n(696),j=n(110),S=n(67),w=n(20),x=n(18),C=n(35),A=n(8),N=n(270),T=n(25);function ConsentModeSetupCTAWidget(t){var n=t.Widget,r=t.WidgetNull,a=Object(f.useState)(!1),o=l()(a,2),s=o[0],u=o[1],_=Object(f.useState)(null),D=l()(_,2),M=D[0],R=D[1],B=Object(T.e)(),I=Object(x.a)(),P=Object(C.a)(),F=Object(p.useSelect)((function(e){return e(b.c).isConsentModeEnabled()})),L=Object(p.useSelect)((function(e){return e(b.c).isAdsConnected()})),z=Object(p.useSelect)((function(e){return e(b.c).getAdminURL("googlesitekit-settings")})),V=Object(p.useSelect)((function(e){return e(b.c).getDocumentationLinkURL("consent-mode")})),W=Object(j.b)(N.a),G=Object(j.c)(N.a).isTooltipVisible,U=Object(p.useSelect)((function(e){return e(E.a).isPromptDismissed(N.a)})),H=Object(p.useSelect)((function(e){return e(E.a).getPromptDismissCount(N.a)})),q=Object(p.useSelect)((function(e){return e(b.c).isUsingProxy()})),K=Object(p.useDispatch)(b.c),J=K.setConsentModeEnabled,Y=K.saveConsentModeSettings,X=Object(p.useDispatch)(E.a),$=X.dismissPrompt,Q=X.triggerSurvey,Z=Object(p.useDispatch)(v.a).navigateTo,ee=Object(f.useRef)(),te=Object(d.a)(ee,{threshold:.25}),ne=Object(f.useState)(!1),re=l()(ne,2),ie=re[0],ae=re[1],ce=!!(null==te?void 0:te.intersectionRatio),oe=!P&&(s||!1===U&&!1===F&&L);if(Object(f.useEffect)((function(){ce&&!ie&&oe&&(Object(A.J)("".concat(I,"_CoMo-ads-setup-notification"),"view_notification"),q&&Q("view_como_setup_cta",{ttl:A.a}),ae(!0))}),[ie,ce,oe,Q,q,I]),G)return e.createElement(f.Fragment,null,e.createElement(r,null),e.createElement(j.a,{title:"",content:Object(g.__)("You can always enable consent mode from Settings later","google-site-kit"),dismissLabel:Object(g.__)("Got it","google-site-kit"),tooltipStateKey:N.a}));if(!oe)return e.createElement(r,null);var le=function(){var e=c()(i.a.mark((function e(){var t,n,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return R(null),u(!0),J(!0),t=[Y(),Object(A.J)("".concat(I,"_CoMo-ads-setup-notification"),"confirm_notification")],q&&t.push(Q("enable_como",{ttl:A.a})),e.next=7,Promise.all(t);case 7:if(n=e.sent,r=l()(n,1),!(a=r[0].error)){e.next=16;break}R(a),J(!1),u(!1),e.next=19;break;case 16:return e.next=18,$(N.a);case 18:Z("".concat(z,"#/admin-settings"));case 19:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),se=function(){var e=c()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Object(A.J)("".concat(I,"_CoMo-ads-setup-notification"),"dismiss_notification"),W(),!(H<2)){e.next=8;break}return t=2*A.g,e.next=6,$(N.a,{expiresInSeconds:t});case 6:e.next=10;break;case 8:return e.next=10,$(N.a);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return e.createElement("div",{className:"googlesitekit-widget-context"},e.createElement(O.e,{className:"googlesitekit-widget-area"},e.createElement(O.k,null,e.createElement(O.a,{size:12},e.createElement(n,{noPadding:!0,className:"googlesitekit-setup-cta-banner googlesitekit-consent-mode-setup-cta-widget"},e.createElement("div",{ref:ee,className:"googlesitekit-setup-cta-banner__cells"},e.createElement("div",{className:"googlesitekit-setup-cta-banner__primary-cell"},e.createElement("h3",{className:"googlesitekit-setup-cta-banner__title"},Object(g.__)("Enable Consent Mode to preserve tracking for your Ads campaigns","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-cta-banner__description"},e.createElement("p",null,Object(m.a)(Object(g.__)("Consent mode interacts with your Consent Management Platform (CMP) or custom implementation for obtaining visitor consent, such as a cookie consent banner. <a>Learn more</a>","google-site-kit"),{a:e.createElement(w.a,{href:V,external:!0,"aria-label":Object(g.__)("Learn more about consent mode","google-site-kit")})}))),M&&e.createElement(S.a,{message:M.message}),e.createElement("div",{className:"googlesitekit-setup-cta-banner__actions-wrapper"},e.createElement(f.Fragment,null,e.createElement(h.SpinnerButton,{onClick:le,isSaving:s},Object(g.__)("Enable consent mode","google-site-kit")),e.createElement(h.Button,{tertiary:!0,onClick:se},H<2?Object(g.__)("Maybe later","google-site-kit"):Object(g.__)("Don’t show again","google-site-kit"))))),e.createElement("div",{className:"googlesitekit-setup-cta-banner__svg-wrapper"},B!==T.b&&B!==T.d?e.createElement(k.a,null):e.createElement(y.a,null))))))))}ConsentModeSetupCTAWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType.isRequired},t.a=Object(_.g)("consent-mode-setup-cta")(ConsentModeSetupCTAWidget)}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M457.125 293.876a100.692 100.692 0 01-10.24 9.22c-34.362 26.944-62.751 26.901-102.055 21.983-26.57-3.323-42.093-15.97-78.319-13.981-36.226 1.989-45.507 11.196-89.85 8.247-35.101-2.334-77.689-.546-108.896-16.753C38.883 287.593 7.271 257.447 1.287 187.48c-5.984-69.967 10.507-112.4 55.75-144 55.679-38.889 109.66-3.521 151.33-6.5C250.038 34 253.263 21.115 272.038 4c21.904-19.968 63.565-24.71 89.214-14.054 27.786 6.054 50.219 29.28 58.202 58.922 6.077 22.573 3.427 65.335 19.584 86.632 22 29 37.449 37.613 44.519 71.5 6.139 29.431-8.182 68.021-26.432 86.876z",fill:"#b8e6ca"}),c=r.createElement("g",{filter:"url(#consent-mode-setup_svg__filter0_d_162_2908)"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M303.594 56.932H105.081c-7.657 0-13.865 6.207-13.865 13.865V216.39c0 7.658 6.208 13.865 13.865 13.865h226.126c7.657 0 13.865-6.207 13.865-13.865V112.838c-23.762-3.629-41.965-24.154-41.965-48.93a50 50 0 01.487-6.976z",fill:"#fff"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M303.594 56.932H105.081c-7.657 0-13.865 6.207-13.865 13.865v7.144h213.908a49.502 49.502 0 01-2.017-14.033 50 50 0 01.487-6.976z",fill:"#ebeef0"}),r.createElement("rect",{x:101.72,y:63.934,width:7.003,height:7.003,rx:3.501,fill:"#cbd0d3"}),r.createElement("rect",{x:112.224,y:63.934,width:7.003,height:7.003,rx:3.501,fill:"#cbd0d3"}),r.createElement("rect",{x:105.318,y:92.19,width:25.184,height:25.184,rx:5.199,fill:"#ebeef0"}),r.createElement("rect",{x:105.318,y:131.477,width:25.184,height:25.184,rx:5.199,fill:"#ebeef0"}),r.createElement("rect",{x:105.318,y:170.764,width:25.184,height:25.184,rx:5.199,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:94.204,width:41.302,height:10.074,rx:5.037,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:133.492,width:41.302,height:10.074,rx:5.037,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:172.779,width:41.302,height:10.074,rx:5.037,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:109.315,width:88.648,height:6.044,rx:3.022,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:148.602,width:88.648,height:6.044,rx:3.022,fill:"#ebeef0"}),r.createElement("rect",{x:138.562,y:187.889,width:88.648,height:6.044,rx:3.022,fill:"#ebeef0"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M330.969 108.441a49.72 49.72 0 01-18.992-16.251h-30.916a5.498 5.498 0 00-5.498 5.497v101.83a5.499 5.499 0 005.498 5.498h44.41a5.499 5.499 0 005.498-5.498z",fill:"#ebeef0"}),r.createElement("circle",{cx:352.606,cy:63.908,r:42.5,fill:"#fff"}),r.createElement("path",{d:"M353.31 39.13s-12.187 5.606-21.937 7.556c0 30.712 16.575 41.68 21.937 41.68 5.362 0 22.181-13.406 21.206-41.68-9.994-2.194-21.206-7.556-21.206-7.556z",fill:"#8e68cb"}),r.createElement("path",{d:"M353.31 39.13s-12.187 5.606-21.937 7.556c0 30.712 16.575 41.68 21.937 41.68 5.362 0 22.181-13.406 21.206-41.68-9.994-2.194-21.206-7.556-21.206-7.556z",fill:"#a983e6"}),r.createElement("path",{d:"M353.31 39.13s-12.187 5.606-21.937 7.556c0 30.712 16.575 41.68 21.937 41.68z",fill:"#8e68cb"}),r.createElement("circle",{cx:353.553,cy:62.773,r:10.237,fill:"#462083"}),r.createElement("circle",{opacity:.5,cx:353.354,cy:62.869,r:13.068,stroke:"#6e48ab",strokeWidth:2}),r.createElement("mask",{id:"consent-mode-setup_svg__a",maskUnits:"userSpaceOnUse",x:343,y:52,width:21,height:22},r.createElement("circle",{cx:353.553,cy:62.773,r:10.237,fill:"#d9d9d9"})),r.createElement("g",{mask:"url(#consent-mode-setup_svg__a)",fill:"#fff"},r.createElement("circle",{cx:353.554,cy:58.874,r:4.387}),r.createElement("ellipse",{cx:353.553,cy:72.036,rx:9.75,ry:7.8}))),o=r.createElement("g",{filter:"url(#consent-mode-setup_svg__filter1_d_162_2908)"},r.createElement("rect",{x:133.078,y:190.932,width:170.133,height:60.256,rx:6.098,fill:"#8e68cb"}),r.createElement("rect",{x:179.156,y:202.746,width:77.978,height:4.726,rx:2.363,fill:"#fff"}),r.createElement("rect",{x:166.16,y:213.38,width:103.97,height:4.726,rx:2.363,fill:"#fff"}),r.createElement("rect",{x:220.507,y:227.557,width:36.626,height:12.996,rx:6.498,fill:"#fff"}),r.createElement("rect",{x:180.156,y:228.557,width:34.626,height:10.996,rx:5.498,stroke:"#fff",strokeWidth:2})),l=r.createElement("defs",{id:"consent-mode-setup_svg__defs2017"},r.createElement("filter",{id:"consent-mode-setup_svg__filter0_d_162_2908",x:75.216,y:9.408,width:335.891,height:240.846,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix",id:"consent-mode-setup_svg__feFlood1983"}),r.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha",id:"consent-mode-setup_svg__feColorMatrix1985"}),r.createElement("feOffset",{dy:4,id:"consent-mode-setup_svg__feOffset1987"}),r.createElement("feGaussianBlur",{stdDeviation:8,id:"consent-mode-setup_svg__feGaussianBlur1989"}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out",id:"consent-mode-setup_svg__feComposite1991"}),r.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0",id:"consent-mode-setup_svg__feColorMatrix1993"}),r.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_162_2908",id:"consent-mode-setup_svg__feBlend1995"}),r.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_162_2908",result:"shape",id:"consent-mode-setup_svg__feBlend1997"})),r.createElement("filter",{id:"consent-mode-setup_svg__filter1_d_162_2908",x:117.078,y:182.932,width:202.133,height:92.256,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix",id:"consent-mode-setup_svg__feFlood2000"}),r.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha",id:"consent-mode-setup_svg__feColorMatrix2002"}),r.createElement("feOffset",{dy:8,id:"consent-mode-setup_svg__feOffset2004"}),r.createElement("feGaussianBlur",{stdDeviation:8,id:"consent-mode-setup_svg__feGaussianBlur2006"}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out",id:"consent-mode-setup_svg__feComposite2008"}),r.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0",id:"consent-mode-setup_svg__feColorMatrix2010"}),r.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_162_2908",id:"consent-mode-setup_svg__feBlend2012"}),r.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_162_2908",result:"shape",id:"consent-mode-setup_svg__feBlend2014"})));t.a=function SvgConsentModeSetup(e){return r.createElement("svg",i({viewBox:"0 -16 485 344",fill:"none"},e),a,c,o,l)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M83.98 159.764c-4.962-58.006 8.71-93.185 46.219-119.383 46.16-32.24 93.301 3 123.801 3S297.5 29.5 318.5 16.5s41.907-19.5 65-13c23.093 6.5 41.382 24.926 48 49.5 5.039 18.714 8.966 41.618 27 54.5 28 20 53 30.5 47 57l-421.52-4.736z",fill:"#B8E6CA"}),c=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M371.208 75.834C353.685 73.158 340.26 58.02 340.26 39.75c0-1.746.123-3.464.36-5.145H194.225c-5.647 0-10.225 4.578-10.225 10.225v107.368c0 5.647 4.578 10.225 10.225 10.225h166.758c5.647 0 10.225-4.578 10.225-10.225V75.834z",fill:"#fff"}),o=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M340.62 34.605H194.225c-5.647 0-10.225 4.578-10.225 10.225v5.268h157.748a36.832 36.832 0 01-1.128-15.493z",fill:"#EBEEF0"}),l=r.createElement("rect",{x:191.746,y:39.769,width:5.164,height:5.164,rx:2.582,fill:"#CBD0D3"}),s=r.createElement("rect",{x:199.493,y:39.769,width:5.164,height:5.164,rx:2.582,fill:"#CBD0D3"}),u=r.createElement("rect",{x:194.4,y:60.606,width:18.572,height:18.572,rx:3.834,fill:"#EBEEF0"}),d=r.createElement("rect",{x:194.4,y:89.579,width:18.572,height:18.572,rx:3.834,fill:"#EBEEF0"}),g=r.createElement("rect",{x:194.4,y:118.552,width:18.572,height:18.572,rx:3.834,fill:"#EBEEF0"}),f=r.createElement("rect",{x:218.916,y:62.092,width:30.459,height:7.429,rx:3.714,fill:"#EBEEF0"}),m=r.createElement("rect",{x:218.916,y:91.065,width:30.459,height:7.429,rx:3.714,fill:"#EBEEF0"}),p=r.createElement("rect",{x:218.916,y:120.038,width:30.459,height:7.429,rx:3.714,fill:"#EBEEF0"}),h=r.createElement("rect",{x:218.916,y:73.236,width:65.374,height:4.457,rx:2.229,fill:"#EBEEF0"}),v=r.createElement("rect",{x:218.916,y:102.208,width:65.374,height:4.457,rx:2.229,fill:"#EBEEF0"}),b=r.createElement("rect",{x:218.916,y:131.181,width:65.374,height:4.457,rx:2.229,fill:"#EBEEF0"}),E=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M360.808 72.59a36.656 36.656 0 01-14.006-11.984h-22.799a4.054 4.054 0 00-4.054 4.055v75.095a4.054 4.054 0 004.054 4.054h32.75a4.055 4.055 0 004.055-4.054V72.591z",fill:"#EBEEF0"}),_=r.createElement("circle",{cx:376.764,cy:39.75,r:31.342,fill:"#fff"}),O=r.createElement("path",{d:"M377.284 21.477s-8.988 4.135-16.178 5.573c0 22.648 12.223 30.737 16.178 30.737 3.954 0 16.357-9.886 15.638-30.737-7.37-1.618-15.638-5.573-15.638-5.573z",fill:"#8E68CB"}),y=r.createElement("path",{d:"M377.284 21.477s-8.988 4.135-16.178 5.573c0 22.648 12.223 30.737 16.178 30.737 3.954 0 16.357-9.886 15.638-30.737-7.37-1.618-15.638-5.573-15.638-5.573z",fill:"#A983E6"}),k=r.createElement("path",{d:"M377.284 21.477s-8.988 4.135-16.178 5.573c0 22.648 12.223 30.737 16.178 30.737v-36.31z",fill:"#8E68CB"}),j=r.createElement("circle",{cx:377.463,cy:38.913,r:7.55,fill:"#462083"}),S=r.createElement("circle",{opacity:.5,cx:377.316,cy:38.984,r:9.637,stroke:"#6E48AB",strokeWidth:1.475}),w=r.createElement("circle",{cx:377.463,cy:38.913,r:7.55,fill:"#D9D9D9"}),x=r.createElement("g",{mask:"url(#consent-mode-setup-tablet_svg__a)",fill:"#fff"},r.createElement("circle",{cx:377.464,cy:36.037,r:3.236}),r.createElement("ellipse",{cx:377.463,cy:45.744,rx:7.19,ry:5.752})),C=r.createElement("g",{filter:"url(#consent-mode-setup-tablet_svg__filter1_d_630_6357)"},r.createElement("rect",{x:214.872,y:86.424,width:125.466,height:44.436,rx:4.497,fill:"#8E68CB"}),r.createElement("rect",{x:248.852,y:95.137,width:57.505,height:3.485,rx:1.743,fill:"#fff"}),r.createElement("rect",{x:239.268,y:102.979,width:76.674,height:3.485,rx:1.743,fill:"#fff"}),r.createElement("rect",{x:279.347,y:113.434,width:27.01,height:9.584,rx:4.792,fill:"#fff"}),r.createElement("rect",{x:249.59,y:114.172,width:25.535,height:8.109,rx:4.055,stroke:"#fff",strokeWidth:1.475})),A=r.createElement("defs",null,r.createElement("filter",{id:"consent-mode-setup-tablet_svg__filter0_d_630_6357",x:172.201,y:-.442,width:247.705,height:177.614,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:2.95}),r.createElement("feGaussianBlur",{stdDeviation:5.9}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_630_6357"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_630_6357",result:"shape"})),r.createElement("filter",{id:"consent-mode-setup-tablet_svg__filter1_d_630_6357",x:203.072,y:80.525,width:149.065,height:68.035,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:5.9}),r.createElement("feGaussianBlur",{stdDeviation:5.9}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_630_6357"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_630_6357",result:"shape"})),r.createElement("clipPath",{id:"consent-mode-setup-tablet_svg__clip0_630_6357"},r.createElement("path",{fill:"#fff",d:"M0 0h553v158H0z"})));t.a=function SvgConsentModeSetupTablet(e){return r.createElement("svg",i({viewBox:"0 0 553 146",fill:"none"},e),r.createElement("g",{clipPath:"url(#consent-mode-setup-tablet_svg__clip0_630_6357)"},a,r.createElement("g",{filter:"url(#consent-mode-setup-tablet_svg__filter0_d_630_6357)"},c,o,l,s,u,d,g,f,m,p,h,v,b,E,_,O,y,k,j,S,r.createElement("mask",{id:"consent-mode-setup-tablet_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:369,y:31,width:17,height:16},w),x),C),A)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(15),i=n.n(r),a=n(792),c=n(0),o=function(){var t=Object(a.a)().y,n=Object(c.useState)(!1),r=i()(n,2),o=r[0],l=r[1],s="googlesitekit-plugin--has-scrolled";return Object(c.useEffect)((function(){o?e.document.body.classList.add(s):e.document.body.classList.remove(s)}),[o]),t>0&&!o?l(!0):0===t&&o&&l(!1),o}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OverlayNotificationsRenderer}));var r=n(0),i=n(210),a=n(353),c=n(699),o=n(702),l=n(554);function OverlayNotificationsRenderer(){var t=Object(i.a)("audienceSegmentation"),n=Object(i.a)("rrmModule");return e.createElement(r.Fragment,null,e.createElement(o.a,null),e.createElement(c.a,null),t&&e.createElement(a.a,null),n&&e.createElement(l.a,null))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AnalyticsAndAdSenseAccountsDetectedAsLinkedOverlayNotification}));var i=n(0),a=n(2),c=n(10),o=n(3),l=n(700),s=n(701),u=n(22),d=n(24),g=n(6),f=n(19),m=n(25),p=n(52),h=n(29),v=n(9),b=n(89),E=n(213),_=n(372),O=n(8),y=n(18);function AnalyticsAndAdSenseAccountsDetectedAsLinkedOverlayNotification(){var t=Object(m.e)(),n=Object(p.c)()===p.b,k=Object(y.a)(),j=Object(o.useSelect)((function(e){return e(g.a).isItemDismissed("AnalyticsAndAdSenseLinkedOverlayNotification")})),S=Object(o.useSelect)((function(e){return e(g.a).isDismissingItem("AnalyticsAndAdSenseLinkedOverlayNotification")})),w=Object(o.useSelect)((function(e){return!n||j?null:e(f.a).isModuleConnected("analytics-4")})),x=Object(o.useSelect)((function(e){return!n||j?null:e(f.a).isModuleConnected("adsense")})),C=Object(o.useSelect)((function(e){return!n||j?null:e(g.a).hasAccessToShareableModule("analytics-4")})),A=Object(o.useSelect)((function(e){return!n||j?null:e(g.a).hasAccessToShareableModule("adsense")})),N=Object(o.useSelect)((function(e){return!n||j?null:e(v.p).getAdSenseLinked()})),T=Object(o.useSelect)((function(e){return x?e(h.m).getAccountID():null})),D=Object(o.useSelect)((function(e){return e(g.a).getDateRangeDates({offsetDays:v.f})})),M={startDate:D.startDate,endDate:D.endDate,dimensions:["pagePath","adSourceName"],metrics:[{name:"totalAdRevenue"}],dimensionFilters:{adSourceName:"Google AdSense account (".concat(T,")")},orderby:[{metric:{metricName:"totalAdRevenue"},desc:!0}],limit:1},R=Object(o.useSelect)((function(e){return n&&!1===j&&N&&x&&w&&A&&C?e(v.p).getReport(M):null})),B=!1===Object(_.a)(R),I=n&&!1===j&&w&&x&&C&&A&&N&&B,P=Object(o.useDispatch)(d.b).dismissOverlayNotification,F=Object(i.useCallback)((function(){Object(O.J)("".concat(k,"_top-earning-pages-widget"),"view_overlay_CTA")}),[k]),L=function(){P("AnalyticsAndAdSenseLinkedOverlayNotification")};return r.createElement(E.a,{shouldShowNotification:I,GraphicDesktop:l.a,GraphicMobile:s.a,notificationID:"AnalyticsAndAdSenseLinkedOverlayNotification",onShow:F},r.createElement("div",{className:"googlesitekit-overlay-notification__body"},r.createElement("h3",null,Object(a.__)("See your top earning content","google-site-kit")),r.createElement("p",null,Object(a.__)("Data is now available for the pages that earn the most AdSense revenue.","google-site-kit"))),r.createElement("div",{className:"googlesitekit-overlay-notification__actions"},r.createElement(c.Button,{tertiary:!0,disabled:S,onClick:function(){L(),Object(O.J)("".concat(k,"_top-earning-pages-widget"),"dismiss_overlay_CTA")}},Object(a.__)("Maybe later","google-site-kit")),r.createElement(c.Button,{disabled:S,onClick:function(n){!function(n){n.preventDefault(),L(),setTimeout((function(){e.history.replaceState({},"","#".concat(u.c)),e.scrollTo({top:Object(b.a)(".googlesitekit-widget--adsenseTopEarningPagesGA4",t),behavior:"smooth"})}),50)}(n),Object(O.J)("".concat(k,"_top-earning-pages-widget"),"confirm_overlay_CTA")}},Object(a.__)("Show me","google-site-kit"))))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#analytics-adsense-linked-desktop_svg__clip0_100_3563)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#analytics-adsense-linked-desktop_svg__filter0_d_100_3563)"},r.createElement("rect",{x:24,y:23,width:248,height:174,rx:11,fill:"#fff"}),r.createElement("rect",{x:48,y:96,width:116,height:14,rx:7,fill:"#9CEBEB"}),r.createElement("rect",{x:48,y:124,width:141,height:14,rx:7,fill:"#9CEBEB"}),r.createElement("rect",{x:48,y:153,width:97,height:14,rx:7,fill:"#9CEBEB"}),r.createElement("path",{d:"M222 103a7 7 0 017-7h12a7 7 0 110 14h-12a7 7 0 01-7-7zM222 131a7 7 0 017-7h12a7 7 0 110 14h-12a7 7 0 01-7-7zM222 159a7 7 0 017-7h12a7 7 0 110 14h-12a7 7 0 01-7-7z",fill:"#EBEEF0"}),r.createElement("rect",{x:48,y:44,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("rect",{x:46.672,y:162.656,width:55.734,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M272 72H24",stroke:"#EBEEF0",strokeWidth:2}))),c=r.createElement("defs",null,r.createElement("clipPath",{id:"analytics-adsense-linked-desktop_svg__clip0_100_3563"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})),r.createElement("filter",{id:"analytics-adsense-linked-desktop_svg__filter0_d_100_3563",x:8,y:11,width:280,height:206,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_100_3563"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_100_3563",result:"shape"})));t.a=function SvgAnalyticsAdsenseLinkedDesktop(e){return r.createElement("svg",i({viewBox:"0 0 296 163",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#analytics-adsense-linked-mobile_svg__clip0_413_2990)"},r.createElement("path",{d:"M311.553 64.365c2.4 22.73-4.803 32.78-23.025 59.95-18.222 27.169 7.404 59.276-20.779 89.868-33.528 36.394-150.686 39.364-201.232 24.212-50.546-15.153-63.58-46.473-59.948-75.155C11.5 124.315 38.52 112.077 51.5 93 70.776 64.675 48.687 38.214 86 15.5s80.086 6.697 120.326 4.388c23.216-1.332 46.017-5.627 66.626.968 20.832 6.667 36.719 25.428 38.601 43.509z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#analytics-adsense-linked-mobile_svg__filter0_d_413_2990)"},r.createElement("rect",{x:74.81,y:12.732,width:193.381,height:135.679,rx:8.577,fill:"#fff"}),r.createElement("rect",{x:93.524,y:69.655,width:90.452,height:10.917,rx:5.458,fill:"#9CEBEB"}),r.createElement("rect",{x:93.524,y:91.488,width:109.946,height:10.917,rx:5.458,fill:"#9CEBEB"}),r.createElement("rect",{x:93.524,y:114.101,width:75.637,height:10.917,rx:5.458,fill:"#9CEBEB"}),r.createElement("path",{d:"M229.202 75.113a5.458 5.458 0 015.458-5.458h9.358a5.458 5.458 0 010 10.916h-9.358a5.458 5.458 0 01-5.458-5.458zM229.202 96.946a5.458 5.458 0 015.458-5.458h9.358a5.458 5.458 0 010 10.917h-9.358a5.459 5.459 0 01-5.458-5.459zM229.202 118.78a5.459 5.459 0 015.458-5.459h9.358a5.459 5.459 0 010 10.917h-9.358a5.458 5.458 0 01-5.458-5.458z",fill:"#EBEEF0"}),r.createElement("rect",{x:93.524,y:29.107,width:28.071,height:7.018,rx:3.509,fill:"#EBEEF0"}),r.createElement("rect",{x:92.488,y:121.631,width:43.459,height:7.42,rx:3.71,fill:"#EBEEF0"}),r.createElement("path",{d:"M268.19 50.94H74.81",stroke:"#EBEEF0",strokeWidth:1.56}))),c=r.createElement("defs",null,r.createElement("clipPath",{id:"analytics-adsense-linked-mobile_svg__clip0_413_2990"},r.createElement("path",{fill:"#fff",d:"M0 0h343v123H0z"})),r.createElement("filter",{id:"analytics-adsense-linked-mobile_svg__filter0_d_413_2990",x:62.333,y:3.375,width:218.333,height:160.631,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.119}),r.createElement("feGaussianBlur",{stdDeviation:6.238}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_413_2990"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_413_2990",result:"shape"})));t.a=function SvgAnalyticsAdsenseLinkedMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 123",fill:"none"},e),a,c)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LinkAnalyticsAndAdSenseAccountsOverlayNotification}));var r=n(2),i=n(10),a=n(3),c=n(6),o=n(14),l=n(24),s=n(19),u=n(9),d=n(703),g=n(704),f=n(213),m=n(35),p=n(52);function LinkAnalyticsAndAdSenseAccountsOverlayNotification(){var t=Object(m.a)(),n=Object(p.c)()===p.b,h=Object(a.useSelect)((function(e){return e(o.c).getGoogleSupportURL({path:"/adsense/answer/6084409"})})),v=Object(a.useSelect)((function(e){return e(c.a).isItemDismissed("LinkAnalyticsAndAdSenseAccountsOverlayNotification")})),b=Object(a.useSelect)((function(e){return e(c.a).isDismissingItem("LinkAnalyticsAndAdSenseAccountsOverlayNotification")})),E=Object(a.useSelect)((function(e){return t||!n||v?null:e(s.a).isModuleConnected("analytics-4")})),_=Object(a.useSelect)((function(e){return t||!n||v?null:e(s.a).isModuleConnected("adsense")})),O=Object(a.useSelect)((function(e){return t||!n||v?null:e(u.p).getAdSenseLinked()})),y=!t&&n&&(E&&_)&&!1===O&&!1===v,k=Object(a.useDispatch)(l.b).dismissOverlayNotification,j=function(){k("LinkAnalyticsAndAdSenseAccountsOverlayNotification")};return e.createElement(f.a,{shouldShowNotification:y,GraphicDesktop:d.a,GraphicMobile:g.a,notificationID:"LinkAnalyticsAndAdSenseAccountsOverlayNotification"},e.createElement("div",{className:"googlesitekit-overlay-notification__body"},e.createElement("h3",null,Object(r.__)("See which content earns you the most","google-site-kit")),e.createElement("p",null,Object(r.__)("Link your Analytics and AdSense accounts to find out which content brings you the most revenue.","google-site-kit"))),e.createElement("div",{className:"googlesitekit-overlay-notification__actions"},e.createElement(i.Button,{tertiary:!0,disabled:b,onClick:j},Object(r.__)("Maybe later","google-site-kit")),e.createElement(i.Button,{disabled:b,href:h,target:"_blank",onClick:j,"aria-label":Object(r.__)("Learn how (opens in a new tab)","google-site-kit")},Object(r.__)("Learn how","google-site-kit"))))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#analytics-adsense-connect-desktop_svg__clip0_50_9707)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#analytics-adsense-connect-desktop_svg__filter0_d_50_9707)"},r.createElement("rect",{x:22,y:30,width:252,height:172.055,rx:13.764,fill:"#fff"}),r.createElement("rect",{x:36,y:65,width:224,height:47,rx:5.161,fill:"#DCE8FF"}),r.createElement("rect",{x:43,y:145,width:30,height:3,rx:1.5,fill:"#9BB8F0"}),r.createElement("rect",{x:43,y:151,width:40,height:3,rx:1.5,fill:"#9BB8F0"}),r.createElement("path",{d:"M168.539 90.857L188 112h-81l29.455-32 21.039 22.857 11.045-12z",fill:"#9BB8F0"}),r.createElement("path",{d:"M22 43.764C22 36.162 28.162 30 35.764 30h224.472C267.838 30 274 36.162 274 43.764v7.091H22v-7.091z",fill:"#EBEEF0"}),r.createElement("rect",{x:32.427,y:36.952,width:6.952,height:6.952,rx:3.476,fill:"#CBD0D3"}),r.createElement("rect",{x:42.855,y:36.952,width:6.952,height:6.952,rx:3.476,fill:"#CBD0D3"}),r.createElement("rect",{x:36,y:122,width:59,height:55,rx:5.457,fill:"#EBEEF0"}),r.createElement("rect",{x:107,y:122,width:54,height:10,rx:5,fill:"#EBEEF0"}),r.createElement("rect",{x:107,y:141,width:153,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:107,y:154,width:153,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M238.51 171.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:159.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 162.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M238.51 165.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:153.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 156.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M238.51 159.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:147.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 150.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M238.51 153.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:141.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 144.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M238.51 147.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:135.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 138.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M238.51 141.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:238.51,cy:129.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M237.859 132.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M256.323 129.88c0 .547-.319 1.188-1.166 1.881-.841.688-2.107 1.344-3.743 1.91-3.264 1.13-7.827 1.844-12.904 1.844-5.078 0-9.64-.714-12.904-1.844-1.636-.566-2.902-1.222-3.743-1.91-.847-.693-1.166-1.334-1.166-1.881 0-.548.319-1.189 1.166-1.882.841-.688 2.107-1.344 3.743-1.91 3.264-1.13 7.826-1.844 12.904-1.844 5.077 0 9.64.714 12.904 1.844 1.636.566 2.902 1.222 3.743 1.91.847.693 1.166 1.334 1.166 1.882z",stroke:"#E1B155",strokeWidth:1.624}),r.createElement("ellipse",{cx:209.51,cy:166.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M209.51 172.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:209.51,cy:160.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M208.859 163.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M209.51 166.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:209.51,cy:154.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M208.859 157.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M209.51 160.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z",fill:"#E1B155"}),r.createElement("ellipse",{cx:209.51,cy:148.88,rx:21.49,ry:7.88,fill:"#FECE72"}),r.createElement("path",{d:"M208.859 151.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.281.141.107.239.208.293.304l-.931.22a.881.881 0 00-.284-.243 1.504 1.504 0 00-.527-.181v1.157c.365.081.689.171.973.27.283.095.506.211.668.347a.606.606 0 01.253.496.69.69 0 01-.273.551c-.176.151-.409.27-.699.358a4.225 4.225 0 01-.922.171v.485h-.81zm-.85-3.389c0 .118.071.217.212.298.149.077.362.152.638.225v-.991a1.796 1.796 0 00-.617.17c-.156.085-.233.184-.233.298zm2.501 1.829c0-.125-.074-.226-.223-.303a2.833 2.833 0 00-.618-.22v1.041c.244-.033.443-.093.598-.181.162-.089.243-.201.243-.337z",fill:"#AA7A1E"}),r.createElement("path",{d:"M227.323 148.88c0 .547-.319 1.188-1.166 1.881-.841.688-2.107 1.344-3.743 1.91-3.264 1.13-7.827 1.844-12.904 1.844-5.078 0-9.64-.714-12.904-1.844-1.636-.566-2.902-1.222-3.743-1.91-.847-.693-1.166-1.334-1.166-1.881 0-.548.319-1.189 1.166-1.882.841-.688 2.107-1.344 3.743-1.91 3.264-1.13 7.826-1.844 12.904-1.844 5.077 0 9.64.714 12.904 1.844 1.636.566 2.902 1.222 3.743 1.91.847.693 1.166 1.334 1.166 1.882z",stroke:"#E1B155",strokeWidth:1.624}))),c=r.createElement("defs",null,r.createElement("clipPath",{id:"analytics-adsense-connect-desktop_svg__clip0_50_9707"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})),r.createElement("filter",{id:"analytics-adsense-connect-desktop_svg__filter0_d_50_9707",x:6,y:18,width:284,height:204.055,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_50_9707"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_50_9707",result:"shape"})));t.a=function SvgAnalyticsAdsenseConnectDesktop(e){return r.createElement("svg",i({viewBox:"0 0 296 163",fill:"none"},e),a,c)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#analytics-adsense-connect-mobile_svg__clip0_413_2382)"},r.createElement("path",{d:"M311.553 64.365c2.4 22.73-4.803 32.78-23.025 59.95-18.222 27.169 7.404 59.276-20.779 89.868-33.528 36.394-150.686 39.364-201.232 24.212-50.546-15.153-63.58-46.473-59.948-75.155C11.5 124.315 38.52 112.077 51.5 93 70.776 64.675 48.687 38.214 86 15.5s80.086 6.697 120.326 4.388c23.216-1.332 46.017-5.627 66.626.968 20.832 6.667 36.719 25.428 38.601 43.509z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#analytics-adsense-connect-mobile_svg__filter0_d_413_2382)"},r.createElement("rect",{x:56,y:14,width:209.444,height:143,rx:11.44,fill:"#fff"}),r.createElement("rect",{x:67.635,y:43.09,width:186.173,height:39.063,rx:4.29,fill:"#DCE8FF"}),r.createElement("rect",{x:73.454,y:109.58,width:24.934,height:2.493,rx:1.247,fill:"#9BB8F0"}),r.createElement("rect",{x:73.454,y:114.567,width:33.245,height:2.493,rx:1.247,fill:"#9BB8F0"}),r.createElement("path",{d:"M177.792 64.58l16.175 17.573h-67.322l24.481-26.597 17.486 18.998 9.18-9.974z",fill:"#9BB8F0"}),r.createElement("path",{d:"M56 25.44C56 19.121 61.122 14 67.44 14h186.565c6.318 0 11.439 5.122 11.439 11.44v5.893H56V25.44z",fill:"#EBEEF0"}),r.createElement("rect",{x:64.666,y:19.778,width:5.778,height:5.778,rx:2.889,fill:"#CBD0D3"}),r.createElement("rect",{x:73.333,y:19.778,width:5.778,height:5.778,rx:2.889,fill:"#CBD0D3"}),r.createElement("rect",{x:67.635,y:90.464,width:49.037,height:45.712,rx:4.536,fill:"#EBEEF0"}),r.createElement("rect",{x:126.646,y:90.464,width:44.881,height:8.311,rx:4.156,fill:"#EBEEF0"}),r.createElement("rect",{x:126.646,y:106.255,width:127.163,height:4.156,rx:2.078,fill:"#EBEEF0"}),r.createElement("rect",{x:126.646,y:117.06,width:127.163,height:4.156,rx:2.078,fill:"#EBEEF0"}),r.createElement("path",{d:"M235.947 131.708c9.864 0 17.861-2.932 17.861-6.549v-2.381h-35.722v2.381c0 3.617 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:121.947,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 124.011v-.399a3.771 3.771 0 01-.749-.128 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.361.186.107.399.176.64.207v-1.017l-.025-.009c-.449-.092-.819-.211-1.111-.358-.292-.149-.438-.34-.438-.572 0-.137.062-.267.185-.389.129-.122.312-.223.547-.303a3 3 0 01.842-.146v-.394h.674v.403c.291.024.535.072.732.142.202.067.359.145.471.234a.882.882 0 01.244.251l-.774.184a.736.736 0 00-.236-.202 1.248 1.248 0 00-.437-.151v.962c.303.067.572.142.808.224.235.08.42.176.555.289.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.602 1.602 0 01-.581.298c-.235.073-.491.12-.765.142v.403h-.674zm-.707-2.817c0 .098.059.18.177.247.123.064.3.127.53.188v-.824a1.46 1.46 0 00-.513.142c-.129.07-.194.152-.194.247zm2.079 1.52c0-.103-.062-.187-.185-.251a2.303 2.303 0 00-.513-.184v.866c.202-.028.367-.078.496-.151.135-.073.202-.167.202-.28z",fill:"#AA7A1E"}),r.createElement("path",{d:"M235.947 126.722c9.864 0 17.861-2.932 17.861-6.549v-2.382h-35.722v2.382c0 3.617 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:116.96,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 119.024v-.399a3.771 3.771 0 01-.749-.128 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.362.186.107.399.175.64.206v-1.017l-.025-.009a4.55 4.55 0 01-1.111-.357c-.292-.15-.438-.341-.438-.573 0-.137.062-.267.185-.389a1.47 1.47 0 01.547-.302c.236-.083.517-.132.842-.147v-.394h.674v.403c.291.025.535.072.732.142.202.067.359.145.471.234a.871.871 0 01.244.252l-.774.183a.748.748 0 00-.236-.202 1.248 1.248 0 00-.437-.151v.962c.303.067.572.142.808.224.235.08.42.176.555.289.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.602 1.602 0 01-.581.298c-.235.073-.491.12-.765.142v.403h-.674zm-.707-2.817c0 .098.059.18.177.248.123.064.3.126.53.187v-.824a1.482 1.482 0 00-.513.142c-.129.07-.194.153-.194.247zm2.079 1.521c0-.104-.062-.188-.185-.252a2.36 2.36 0 00-.513-.183v.865c.202-.027.367-.078.496-.151.135-.073.202-.166.202-.279z",fill:"#AA7A1E"}),r.createElement("path",{d:"M235.947 121.735c9.864 0 17.861-2.932 17.861-6.549v-2.382h-35.722v2.382c0 3.617 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:111.973,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 114.037v-.398a3.846 3.846 0 01-.749-.129 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.362.186.107.399.175.64.206v-1.017l-.025-.009a4.508 4.508 0 01-1.111-.357c-.292-.15-.438-.341-.438-.573 0-.137.062-.267.185-.389a1.47 1.47 0 01.547-.302c.236-.083.517-.131.842-.147v-.393h.674v.403c.291.024.535.071.732.141.202.068.359.146.471.234a.897.897 0 01.244.252l-.774.183a.735.735 0 00-.236-.201 1.227 1.227 0 00-.437-.152v.962c.303.067.572.142.808.225.235.079.42.175.555.288.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.587 1.587 0 01-.581.298 3.473 3.473 0 01-.765.142v.403h-.674zm-.707-2.817c0 .098.059.181.177.248.123.064.3.126.53.188v-.825a1.505 1.505 0 00-.513.142c-.129.07-.194.153-.194.247zm2.079 1.521c0-.104-.062-.188-.185-.252a2.36 2.36 0 00-.513-.183v.865c.202-.027.367-.077.496-.151.135-.073.202-.166.202-.279z",fill:"#AA7A1E"}),r.createElement("path",{d:"M235.947 116.748c9.864 0 17.861-2.932 17.861-6.549v-2.381h-35.722v2.381c0 3.617 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:106.986,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 109.05v-.398a3.845 3.845 0 01-.749-.128 2.479 2.479 0 01-.64-.284 1.193 1.193 0 01-.412-.445l.791-.174c.067.135.191.255.37.362.186.107.399.176.64.206v-1.016l-.025-.01c-.449-.091-.819-.21-1.111-.357-.292-.149-.438-.34-.438-.572 0-.138.062-.267.185-.39.129-.122.312-.222.547-.302a3 3 0 01.842-.146v-.394h.674v.403c.291.024.535.071.732.142.202.067.359.145.471.233a.897.897 0 01.244.252l-.774.183a.735.735 0 00-.236-.201 1.228 1.228 0 00-.437-.151v.961c.303.068.572.142.808.225.235.079.42.175.555.288.14.11.21.248.21.413 0 .18-.075.332-.227.458a1.586 1.586 0 01-.581.297 3.473 3.473 0 01-.765.142v.403h-.674zm-.707-2.816c0 .097.059.18.177.247.123.064.3.127.53.188v-.825a1.505 1.505 0 00-.513.142c-.129.071-.194.153-.194.248zm2.079 1.52c0-.104-.062-.188-.185-.252a2.36 2.36 0 00-.513-.183v.866c.202-.028.367-.078.496-.151.135-.074.202-.167.202-.28z",fill:"#AA7A1E"}),r.createElement("path",{d:"M235.947 111.761c9.864 0 17.861-2.932 17.861-6.549v-2.381h-35.722v2.381c0 3.617 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:102,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 104.063v-.398a3.771 3.771 0 01-.749-.128 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.361.186.107.399.176.64.206v-1.016l-.025-.009c-.449-.092-.819-.211-1.111-.358-.292-.149-.438-.34-.438-.572 0-.137.062-.267.185-.389.129-.122.312-.223.547-.303a3 3 0 01.842-.146v-.394h.674v.403c.291.024.535.072.732.142.202.067.359.145.471.234a.882.882 0 01.244.251l-.774.184a.724.724 0 00-.236-.202 1.248 1.248 0 00-.437-.151v.962c.303.067.572.142.808.224.235.079.42.176.555.289.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.586 1.586 0 01-.581.297 3.416 3.416 0 01-.765.142v.403h-.674zm-.707-2.816c0 .098.059.18.177.247.123.064.3.127.53.188v-.824a1.46 1.46 0 00-.513.142c-.129.07-.194.152-.194.247zm2.079 1.52c0-.103-.062-.187-.185-.252a2.36 2.36 0 00-.513-.183v.866c.202-.028.367-.078.496-.151.135-.074.202-.167.202-.28z",fill:"#AA7A1E"}),r.createElement("path",{d:"M235.947 106.775c9.864 0 17.861-2.933 17.861-6.549v-2.382h-35.722v2.382c0 3.616 7.997 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:235.947,cy:97.013,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M235.406 99.077v-.399a3.778 3.778 0 01-.749-.128 2.449 2.449 0 01-.64-.284 1.184 1.184 0 01-.412-.444l.791-.174c.067.134.191.255.37.362a1.7 1.7 0 00.64.206v-1.017l-.025-.01a4.511 4.511 0 01-1.111-.356c-.292-.15-.438-.34-.438-.573 0-.137.062-.267.185-.39.129-.121.312-.222.547-.301.236-.083.517-.132.842-.147v-.394h.674v.403c.291.025.535.072.732.142.202.067.359.145.471.234a.886.886 0 01.244.252l-.774.183a.735.735 0 00-.236-.202 1.236 1.236 0 00-.437-.15v.96c.303.068.572.143.808.225.235.08.42.176.555.289.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.588 1.588 0 01-.581.298c-.235.073-.491.12-.765.142v.403h-.674zm-.707-2.817c0 .098.059.18.177.247.123.065.3.127.53.188v-.824a1.487 1.487 0 00-.513.142c-.129.07-.194.152-.194.247zm2.079 1.52c0-.103-.062-.187-.185-.251a2.354 2.354 0 00-.513-.183v.865c.202-.027.367-.078.496-.151.135-.073.202-.166.202-.28z",fill:"#AA7A1E"}),r.createElement("path",{d:"M250.751 97.013c0 .455-.265.987-.969 1.563-.698.572-1.751 1.117-3.11 1.588-2.713.939-6.505 1.532-10.725 1.532s-8.012-.593-10.725-1.532c-1.36-.47-2.412-1.016-3.111-1.588-.704-.576-.969-1.108-.969-1.563 0-.456.265-.988.969-1.564.699-.572 1.751-1.117 3.111-1.587 2.713-.94 6.505-1.533 10.725-1.533s8.012.593 10.725 1.533c1.359.47 2.412 1.015 3.11 1.587.704.576.969 1.108.969 1.564z",stroke:"#E1B155",strokeWidth:1.349}),r.createElement("ellipse",{cx:211.845,cy:127.765,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("ellipse",{cx:211.845,cy:122.778,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M211.304 124.842v-.399a3.771 3.771 0 01-.749-.128 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.362.186.106.399.175.64.206v-1.017l-.025-.009a4.55 4.55 0 01-1.111-.357c-.292-.15-.438-.341-.438-.573 0-.137.062-.267.185-.389a1.47 1.47 0 01.547-.302c.236-.083.517-.132.842-.147v-.394h.673v.403c.292.025.536.072.733.142.202.067.359.145.471.234a.871.871 0 01.244.252l-.774.183a.736.736 0 00-.236-.202 1.246 1.246 0 00-.438-.151v.962c.303.067.573.142.808.224.236.08.421.176.556.289.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.602 1.602 0 01-.581.298 3.53 3.53 0 01-.766.142v.403h-.673zm-.707-2.817c0 .098.059.18.177.247.123.065.3.127.53.188v-.824a1.482 1.482 0 00-.513.142c-.129.07-.194.152-.194.247zm2.079 1.521c0-.104-.062-.188-.185-.252a2.353 2.353 0 00-.514-.183v.865c.202-.027.368-.078.497-.151.135-.073.202-.166.202-.279z",fill:"#AA7A1E"}),r.createElement("path",{d:"M211.845 127.553c9.864 0 17.861-2.932 17.861-6.549v-2.382h-35.722v2.382c0 3.617 7.996 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:211.845,cy:117.791,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M211.304 119.855v-.399a3.771 3.771 0 01-.749-.128 2.446 2.446 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.134.191.255.37.362.186.107.399.175.64.206v-1.017l-.025-.009a4.55 4.55 0 01-1.111-.357c-.292-.15-.438-.341-.438-.573 0-.137.062-.267.185-.389a1.47 1.47 0 01.547-.302c.236-.083.517-.131.842-.147v-.394h.673v.403c.292.025.536.072.733.142.202.068.359.145.471.234a.884.884 0 01.244.252l-.774.183a.735.735 0 00-.236-.201 1.226 1.226 0 00-.438-.152v.962c.303.067.573.142.808.225.236.079.421.175.556.288.14.11.21.247.21.412 0 .18-.075.333-.227.458a1.587 1.587 0 01-.581.298 3.53 3.53 0 01-.766.142v.403h-.673zm-.707-2.817c0 .098.059.18.177.248.123.064.3.126.53.187v-.824a1.505 1.505 0 00-.513.142c-.129.07-.194.153-.194.247zm2.079 1.521c0-.104-.062-.188-.185-.252a2.353 2.353 0 00-.514-.183v.865c.202-.027.368-.078.497-.151.135-.073.202-.166.202-.279z",fill:"#AA7A1E"}),r.createElement("path",{d:"M211.845 122.566c9.864 0 17.861-2.932 17.861-6.549v-2.381h-35.722v2.381c0 3.617 7.996 6.549 17.861 6.549z",fill:"#E1B155"}),r.createElement("ellipse",{cx:211.845,cy:112.804,rx:17.861,ry:6.549,fill:"#FECE72"}),r.createElement("path",{d:"M211.304 114.868v-.398a3.772 3.772 0 01-.749-.129 2.413 2.413 0 01-.64-.284 1.183 1.183 0 01-.412-.444l.791-.174c.067.135.191.255.37.362.186.107.399.176.64.206v-1.017l-.025-.009c-.449-.091-.819-.21-1.111-.357-.292-.15-.438-.34-.438-.572 0-.138.062-.268.185-.39a1.47 1.47 0 01.547-.302c.236-.082.517-.131.842-.147v-.393h.673v.403c.292.024.536.071.733.142.202.067.359.145.471.233a.897.897 0 01.244.252l-.774.183a.735.735 0 00-.236-.201 1.227 1.227 0 00-.438-.151v.961c.303.068.573.142.808.225.236.079.421.175.556.288.14.11.21.248.21.412a.57.57 0 01-.227.458 1.572 1.572 0 01-.581.298 3.471 3.471 0 01-.766.142v.403h-.673zm-.707-2.816c0 .097.059.18.177.247.123.064.3.127.53.188v-.825a1.505 1.505 0 00-.513.142c-.129.07-.194.153-.194.248zm2.079 1.52c0-.104-.062-.188-.185-.252a2.353 2.353 0 00-.514-.183v.866c.202-.028.368-.078.497-.152.135-.073.202-.166.202-.279z",fill:"#AA7A1E"}),r.createElement("path",{d:"M226.649 112.804c0 .456-.265.988-.969 1.564-.698.572-1.751 1.117-3.11 1.587-2.713.94-6.505 1.533-10.725 1.533s-8.012-.593-10.725-1.533c-1.36-.47-2.412-1.015-3.111-1.587-.704-.576-.969-1.108-.969-1.564 0-.455.265-.987.969-1.563.699-.572 1.751-1.117 3.111-1.588 2.713-.939 6.505-1.532 10.725-1.532s8.012.593 10.725 1.532c1.359.471 2.412 1.016 3.11 1.588.704.576.969 1.108.969 1.563z",stroke:"#E1B155",strokeWidth:1.349}))),c=r.createElement("defs",null,r.createElement("clipPath",{id:"analytics-adsense-connect-mobile_svg__clip0_413_2382"},r.createElement("path",{fill:"#fff",d:"M0 0h343v123H0z"})),r.createElement("filter",{id:"analytics-adsense-connect-mobile_svg__filter0_d_413_2382",x:42.702,y:4.026,width:236.04,height:169.596,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.325}),r.createElement("feGaussianBlur",{stdDeviation:6.649}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_413_2382"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_413_2382",result:"shape"})));t.a=function SvgAnalyticsAdsenseConnectMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 123",fill:"none"},e),a,c)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return f}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(520),l=n(506),s=n(256),u=n(0),d=n(3),g=n(24);function f(){var t=Object(d.useDispatch)(g.b).setIsOnline,n=Object(d.useSelect)((function(e){return e(g.b).getIsOnline()})),r=Object(u.useCallback)(c()(i.a.mark((function e(){var n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(navigator.onLine){e.next=3;break}return t(!1),e.abrupt("return");case 3:return e.prev=3,e.next=6,Object(s.default)({path:"/google-site-kit/v1/"});case 6:n=e.sent,t(!!n),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(3),t(!1);case 14:case"end":return e.stop()}}),e,null,[[3,11]])}))),[t]);Object(o.a)((function(){e.addEventListener("online",r),e.addEventListener("offline",r)}),(function(){e.removeEventListener("online",r),e.removeEventListener("offline",r)})),Object(l.a)(r,n?12e4:15e3)}}).call(this,n(26))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Errors}));var r=n(1),i=n.n(r),a=n(0),c=n(2);function Errors(t){var n=t.recoveryErrors;return e.createElement("div",{className:"googlesitekit-module-recovery-errors"},1===Object.keys(n).length&&e.createElement("p",null,Object(c.sprintf)( /* translators: %s: Error message */ Object(c.__)("Error: %s","google-site-kit"),Object.values(n)[0].message)),Object.keys(n).length>1&&e.createElement(a.Fragment,null,e.createElement("p",null,Object(c.__)("The following modules failed to be recovered:","google-site-kit")),e.createElement("ul",null,Object.keys(n).map((function(t){return e.createElement("li",{key:t},Object(c.sprintf)( /* translators: 1: Module name, 2: Error message */ Object(c.__)("%1$s: %2$s","google-site-kit"),n[t].name,n[t].message))})))))}Errors.propTypes={recoveryErrors:i.a.object.isRequired}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardEntryPoint}));var r=n(1),i=n.n(r),a=n(1077),c=n(1079);function DashboardEntryPoint(t){var n=t.setupModuleSlug;return n?e.createElement(a.a,{moduleSlug:n}):e.createElement(c.a,null)}DashboardEntryPoint.propTypes={setupModuleSlug:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSetup}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(1),l=n.n(o),s=n(91),u=n(232),d=n(0),g=n(2),f=n(3),m=n(14),p=n(19),h=n(32),v=n(8),b=n(243),E=n(17),_=n(242),O=n(1078);function ModuleSetup(t){var n=t.moduleSlug,r=Object(f.useDispatch)(h.a).navigateTo,a=Object(f.useSelect)((function(e){return e(p.a).getModule(n)})),o=Object(f.useRegistry)(),l=Object(u.a)(function(){var e=c()(i.a.mark((function e(t){var a,c,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(v.J)("moduleSetup","complete_module_setup",n);case 2:if(!t){e.next=5;break}return r(t),e.abrupt("return");case 5:return a=o.select,c=o.resolveSelect,e.next=8,c(m.c).getSiteInfo();case 8:l=a(m.c).getAdminURL("googlesitekit-dashboard",{notification:"authentication_success",slug:n}),r(l);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[o,r,n]),y=null==a?void 0:a.onCompleteSetup,k=Object(d.useCallback)((function(){return y(o,l)}),[y,o,l]),j=Object(d.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(v.J)("moduleSetup","cancel_module_setup",n);case 2:case"end":return e.stop()}}),e)}))),[n]);if(Object(s.a)((function(){Object(v.J)("moduleSetup","view_module_setup",n)})),!(null==a?void 0:a.SetupComponent))return null;var S=a.SetupComponent;return e.createElement(d.Fragment,null,e.createElement(_.a,null,e.createElement(b.a,null)),e.createElement("div",{className:"googlesitekit-setup"},e.createElement(E.e,null,e.createElement(E.k,null,e.createElement(E.a,{size:12},e.createElement("section",{className:"googlesitekit-setup__wrapper"},e.createElement(E.e,null,e.createElement(E.k,null,e.createElement(E.a,{size:12},e.createElement("p",{className:"googlesitekit-setup__intro-title"},Object(g.__)("Connect Service","google-site-kit")),e.createElement(S,{module:a,finishSetup:l})))),e.createElement(O.a,{module:a,onCancel:j,onComplete:"function"==typeof y?k:void 0})))))))}ModuleSetup.propTypes={moduleSlug:l.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSetupFooter}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(1),u=n.n(s),d=n(12),g=n.n(d),f=n(2),m=n(0),p=n(3),h=n(14),v=n(17),b=n(20),E=n(10),_=n(19);function ModuleSetupFooter(t){var n=t.module,r=t.onCancel,a=t.onComplete,o=Object(m.useState)(!1),s=l()(o,2),u=s[0],d=s[1],O=Object(p.useSelect)((function(e){return e(h.c).getAdminURL("googlesitekit-settings")})),y=Object(p.useSelect)((function(e){var t,r;return null===(t=e(null==n?void 0:n.storeName))||void 0===t||null===(r=t.isSetupBlocked)||void 0===r?void 0:r.call(t)})),k=Object(p.useSelect)((function(e){return e(_.a).canSubmitChanges(null==n?void 0:n.slug)})),j=Object(m.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d(!0),e.next=3,a();case 3:d(!1);case 4:case"end":return e.stop()}}),e)}))),[d,a]);return n?e.createElement("div",{className:g()("googlesitekit-setup__footer","googlesitekit-setup__footer--".concat(null==n?void 0:n.slug))},e.createElement(v.e,null,e.createElement(v.k,null,e.createElement(v.a,{alignMiddle:!0,smSize:2,mdSize:4,lgSize:6},e.createElement(b.a,{id:"setup-".concat(n.slug,"-cancel"),href:O,onClick:r},y?Object(f.__)("Back","google-site-kit"):Object(f.__)("Cancel","google-site-kit"))),a&&e.createElement(v.a,{alignRight:!0,smSize:2,mdSize:4,lgSize:6},e.createElement(E.SpinnerButton,{id:"setup-".concat(n.slug,"-complete"),onClick:j,disabled:!k||u,isSaving:u},Object(f.__)("Complete Setup","google-site-kit")))))):null}ModuleSetupFooter.propTypes={module:u.a.shape({slug:u.a.string.isRequired,storeName:u.a.string.isRequired}).isRequired,onCancel:u.a.func.isRequired,onComplete:u.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardMainApp}));var i=n(15),a=n.n(i),c=n(12),o=n.n(c),l=n(0),s=n(91),u=n(3),d=n(73),g=n(8),f=n(242),m=n(675),p=n(409),h=n(358),v=n(508),b=n(687),E=n(692),_=n(243),O=n(1081),y=n(205),k=n(1095),j=n(694),S=n(611),w=n(1110),x=n(22),C=n(6),A=n(46),N=n(35),T=n(28),D=n(612),M=n(698),R=n(613),B=n(25),I=n(210),P=n(705),F=n(193),L=n(89),z=n(14),V=n(376);function DashboardMainApp(){var t,n,i=Object(I.a)("audienceSegmentation"),c=Object(I.a)("rrmModule"),W=Object(l.useState)(!1),G=a()(W,2),U=G[0],H=G[1],q=Object(N.a)(),K=Object(B.e)(),J=Object(F.a)("widgetArea"),Y=a()(J,2),X=Y[0],$=Y[1],Q=Object(u.useDispatch)(T.a).setValues,Z=Object(u.useSelect)((function(e){return e(C.a).getGrantedScopes()})),ee=Object(u.useSelect)((function(e){return e(T.a).getValue(C.d,"permissionsError")})),te=void 0!==Z&&(null==ee||null===(t=ee.data)||void 0===t||null===(n=t.scopes)||void 0===n?void 0:n.some((function(e){return Z.includes(e)}))),ne=Object(u.useSelect)((function(e){return i&&e(C.a).getConfiguredAudiences()}));Object(s.a)((function(){if(q||setTimeout((function(){return H(!0)}),5e3),X){var t=".googlesitekit-widget-area--".concat(X);setTimeout((function(){e.scrollTo({top:Object(L.a)(t,K),behavior:"smooth"}),$(void 0)}),100)}})),Object(l.useEffect)((function(){void 0!==ee&&te&&Q(C.d,{permissionsError:{}})}),[te,Q,ee]);var re=Object(u.useSelect)((function(e){return q?e(C.a).getViewableModules():null})),ie={modules:re||void 0},ae=Object(u.useSelect)((function(e){return e(A.a).isWidgetContextActive(d.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,ie)})),ce=Object(u.useSelect)((function(e){return e(A.a).isWidgetContextActive(d.CONTEXT_MAIN_DASHBOARD_TRAFFIC,ie)})),oe=Object(u.useSelect)((function(e){return e(A.a).isWidgetContextActive(d.CONTEXT_MAIN_DASHBOARD_CONTENT,ie)})),le=Object(u.useSelect)((function(e){return e(A.a).isWidgetContextActive(d.CONTEXT_MAIN_DASHBOARD_SPEED,ie)})),se=Object(u.useSelect)((function(e){return e(A.a).isWidgetContextActive(d.CONTEXT_MAIN_DASHBOARD_MONETIZATION,ie)})),ue=Object(u.useSelect)((function(e){return e(C.a).isKeyMetricsWidgetHidden()})),de=Object(V.a)(),ge=Object(u.useSelect)((function(e){return!0===e(z.c).isKeyMetricsSetupCompleted()&&!1===ue||e(C.a).isAuthenticated()&&!1===e(z.c).isKeyMetricsSetupCompleted()&&de}));Object(P.a)();var fe=null;return se?fe=x.c:le?fe=x.d:oe?fe=x.a:ce?fe=x.e:ae&&(fe=x.b),r.createElement(l.Fragment,null,r.createElement(S.a,null),r.createElement(R.a,null),r.createElement(f.a,{subHeader:r.createElement(O.a,null),showNavigation:!0},r.createElement(b.a,null),r.createElement(E.a,null),!q&&r.createElement(m.a,null),r.createElement(_.a,null)),!q&&r.createElement(l.Fragment,null,i&&r.createElement(h.c,null),r.createElement(j.a,null)),!q&&r.createElement(l.Fragment,null,c&&r.createElement(v.a,null)),r.createElement(M.a,null),!0!==ue&&r.createElement(p.a,{id:x.b,slug:d.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,className:o()({"googlesitekit-widget-context--last":fe===x.b})}),r.createElement(p.a,{id:x.e,slug:d.CONTEXT_MAIN_DASHBOARD_TRAFFIC,className:o()({"googlesitekit-widget-context--last":fe===x.e})}),r.createElement(p.a,{id:x.a,slug:d.CONTEXT_MAIN_DASHBOARD_CONTENT,className:o()({"googlesitekit-widget-context--last":fe===x.a})}),r.createElement(p.a,{id:x.d,slug:d.CONTEXT_MAIN_DASHBOARD_SPEED,className:o()({"googlesitekit-widget-context--last":fe===x.d})}),r.createElement(p.a,{id:x.c,slug:d.CONTEXT_MAIN_DASHBOARD_MONETIZATION,className:o()({"googlesitekit-widget-context--last":fe===x.c})}),r.createElement(y.a,{triggerID:"view_dashboard",ttl:g.a}),U&&r.createElement(k.a,null),ge&&r.createElement(w.a,null),i&&ne&&r.createElement(h.d,null),r.createElement(D.a,null))}}).call(this,n(26),n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerNotifications}));var r=n(15),i=n.n(r),a=n(0),c=n(3),o=n(19),l=n(6),s=n(9),u=n(193),d=n(1082),g=n(1084),f=n(1086),m=n(1087),p=n(640),h=n(35),v=n(1089),b=n(1090),E=n(1092),_=n(1093),O=n(24),y=n(377),k=n(60),j=n(180),S=["ads",n(48).d];function BannerNotifications(){var t=Object(h.a)(),n=Object(c.useSelect)((function(e){return e(l.a).isAuthenticated()})),r=Object(c.useSelect)((function(e){return e(o.a).isModuleActive("adsense")})),w=Object(c.useSelect)((function(e){return e(o.a).isModuleConnected("analytics-4")})),x=Object(c.useSelect)((function(e){return e(l.a).hasScope(s.n)})),C=Object(c.useSelect)((function(e){return e(s.p).hasMismatchedGoogleTagID()})),A=Object(c.useSelect)((function(e){return e(O.b).getValue(y.a)})),N=Object(c.useSelect)((function(e){if(t||!w)return!1;var n=e(s.p).getOwnerID(),r=e(l.a).getID();return void 0!==n&&void 0!==r?n===r:void 0})),T=Object(u.a)("notification"),D=i()(T,1)[0],M=Object(u.a)("slug"),R=i()(M,1)[0];return t?e.createElement(a.Fragment,null,e.createElement(j.a,{areaSlug:k.b.BANNERS_ABOVE_NAV})):e.createElement(a.Fragment,null,r&&e.createElement(m.a,null),e.createElement(f.a,null),"authentication_success"===D&&!S.includes(R)&&e.createElement(d.a,null),"ad_blocking_recovery_setup_success"===D&&e.createElement(_.a,null),e.createElement(v.a,null),n&&e.createElement(g.a,null),!A&&e.createElement(p.a,null),w&&x&&N&&e.createElement(a.Fragment,null,C&&e.createElement(b.a,null),e.createElement(E.a,null)),e.createElement(j.a,{areaSlug:k.b.BANNERS_ABOVE_NAV}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){var i=n(5),a=n.n(i),c=n(16),o=n.n(c),l=n(15),s=n.n(l),u=n(0),d=n(2),g=n(1157),f=n(3),m=n(193),p=n(65),h=n(1083),v=n(22),b=n(19),E=n(14),_=n(6),O=n(36),y=n(89),k=n(18),j=n(25),S=n(20);t.a=function SetupSuccessBannerNotification(){var t,n=Object(m.a)("slug"),i=s()(n,1)[0],c=Object(m.a)("notification"),l=s()(c,1)[0],w=Object(j.e)(),x=Object(k.a)(),C=Object(f.useSelect)((function(e){return e(b.a).getModules()})),A=Object(f.useSelect)((function(e){return e(_.a).hasCapability(_.K)})),N=Object(f.useSelect)((function(e){var t,n=null==C||null===(t=C[i])||void 0===t?void 0:t.storeName;if(!n)return null;var r=e(n).getSetupSuccessContent;return r?r():null})),T=Object(f.useSelect)((function(e){return e(E.c).getAdminURL("googlesitekit-settings")})),D=Object(u.useCallback)((function(){Object(O.b)("".concat(x,"_authentication-success-notification"),"view_notification")}),[x]),M=Object(u.useCallback)(o()(a.a.mark((function t(){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(O.b)("".concat(x,"_authentication-success-notification"),"confirm_notification");case 2:n=Object(g.a)(e.location.href,"notification"),e.history.replaceState(null,"",n);case 4:case"end":return t.stop()}}),t)}))),[x]);if(void 0===C)return null;if(!l||""===l)return null;if("authentication_success"===l&&!A)return null;if("authentication_success"===l&&i&&!(null===(t=C[i])||void 0===t?void 0:t.active))return null;var R={id:"connected-successfully",setupTitle:Object(d.__)("Site Kit","google-site-kit"),description:"",learnMore:{label:"",url:"",description:""}};switch(l){case"authentication_success":if(C[i]&&(R.id="".concat(R.id,"-").concat(i),R.setupTitle=C[i].name,R.description="",N)){var B=N.description,I=N.learnMore;R.description=B,R.learnMore=I}if("pagespeed-insights"===i){var P="#".concat(v.d);R.description=r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(S.a,{href:P,onClick:function(t){t.preventDefault(),e.history.replaceState({},"",P),e.scrollTo({top:Object(y.a)(P,w),behavior:"smooth"})}},Object(d.__)("Jump to the bottom of the dashboard to see how fast your home page is","google-site-kit")))}else R.description||R.learnMore.label||(R.description=Object(d.__)("Connect more services to see more stats.","google-site-kit"),R.learnMore={label:Object(d.__)("Go to Settings","google-site-kit"),url:"".concat(T,"#/connect-more-services"),target:p.a.INTERNAL});return r.createElement(u.Fragment,null,r.createElement(p.b,{id:R.id,title:Object(d.sprintf)( /* translators: %s: the name of a module that setup was completed for */ Object(d.__)("Congrats on completing the setup for %s!","google-site-kit"),R.setupTitle),description:R.description,handleDismiss:function(){},WinImageSVG:h.a,onView:D,dismiss:Object(d.__)("OK, Got it!","google-site-kit"),onDismiss:M,format:"smaller",type:"win-success",learnMoreLabel:R.learnMore.label,learnMoreDescription:R.learnMore.description,learnMoreURL:R.learnMore.url,learnMoreTarget:R.learnMore.target}));default:return null}}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M200 10v31.42M105 35.46l15.71 27.2M35.46 105l27.2 15.71M10 200h31.42M35.46 295l27.2-15.71M364.54 295l-27.2-15.71M390 200h-31.42M364.54 105l-27.2 15.71M295 35.46l-15.71 27.2"}),c=r.createElement("path",{d:"M251.2 51.21c-.67-1 10.33-9.56 11.16-10.16 5.81-4.22 12.64-8 19.94-8.46 7.91-.53 15.45 2.58 23 4.58 10.31 2.77 21.44 3.8 32.09 1.69 9.59-1.9 20.83-5.9 27.87-12.93-.24.24.3 2.83.33 3.18a65.31 65.31 0 010 8.51 59.1 59.1 0 01-7 25.06 43.41 43.41 0 01-18.94 18.13C329.14 86 317.78 88.93 307 93.41c-6.7 2.79-18.11 7.23-18.11 16.07z",fill:"#F439A0"}),o=r.createElement("path",{stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:7,d:"M248.83 47.55l93.63 144.69"}),l=r.createElement("path",{d:"M279.89 172.88c18.52 6.68 53.35 9.87 64.53-10.87 14.77-27.39-23.47-38.52-43.87-34.53M88.94 145C13 233.15 70 296.93 119 267.62",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:9}),s=r.createElement("path",{d:"M234.54 260.65c59.23 111 7.37 98-23.53 93.23l2 20.19M186.58 274.6c31.93 144.76-28.4 65.93-35.58 53.33l-12.25 14.36",stroke:"#188038",strokeLinejoin:"round",strokeWidth:9}),u=r.createElement("path",{d:"M234.54 260.65q3.92 7.32 7.19 14M186.58 274.6q2.19 9.88 3.81 18.42",stroke:"#137333",strokeLinejoin:"round",strokeWidth:9}),d=r.createElement("path",{fill:"#1E8E3E",d:"M170.71 172.85l-98 39.35 39.35 98 98-39.35 98-39.35-39.35-98-98 39.35z"}),g=r.createElement("path",{d:"M158.45 268.63c-16.25 2.37-32.52-5.2-43.75-18.63l83.92-22.8",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6}),f=r.createElement("path",{stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:7,d:"M316.62 152.31l25.84 39.93"});t.a=function SvgSuccessGreen(e){return r.createElement("svg",i({viewBox:"0 0 400 400",fill:"none"},e),a,c,o,l,s,u,d,g,f)}},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(0),c=n(3),o=n(14),l=n(6),s=n(1085);t.a=function CoreSiteBannerNotifications(){var t=Object(a.useState)(!1),n=i()(t,2),r=n[0],u=n[1],d=Object(a.useState)(!1),g=i()(d,2),f=g[0],m=g[1],p=Object(a.useRef)(Date.now()),h=Object(c.useSelect)((function(e){return e(o.c).isUsingProxy()&&!1===e(l.a).areSurveysOnCooldown()?e(l.a).getCurrentSurvey():null})),v=Object(c.useSelect)((function(e){return e(o.c).getNotifications()}));return Object(a.useEffect)((function(){var e=setTimeout((function(){f||u(!0)}),5e3);return function(){clearTimeout(e)}}),[f]),Object(a.useEffect)((function(){Math.floor((Date.now()-p.current)/1e3)<5&&h&&m(!0)}),[p,h,m]),Array.isArray(v)&&r&&!f?v.map((function(t){return e.createElement(s.a,{content:t.content,ctaLabel:t.ctaLabel,ctaTarget:t.ctaTarget,ctaURL:t.ctaURL,dismissLabel:t.dismissLabel,dismissible:t.dismissible,id:t.id,key:t.id,learnMoreLabel:t.learnMoreLabel,learnMoreURL:t.learnMoreURL,title:t.title})})):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(2),c=n(0),o=n(3),l=n(65),s=n(14),u=n(8),d=n(18);function CoreSiteBannerNotification(t){var n=t.content,r=t.ctaLabel,i=t.ctaTarget,a=t.ctaURL,g=t.dismissLabel,f=t.dismissible,m=t.id,p=t.learnMoreLabel,h=t.learnMoreURL,v=t.title,b=Object(o.useDispatch)(s.c),E=b.dismissNotification,_=b.acceptNotification,O=Object(d.a)(),y=Object(c.useCallback)((function(){Object(u.J)("".concat(O,"_remote-site-notification"),"view_notification",m)}),[m,O]),k=Object(c.useCallback)((function(){_(m),Object(u.J)("".concat(O,"_remote-site-notification"),"confirm_notification",m)}),[m,_,O]),j=Object(c.useCallback)((function(){E(m),Object(u.J)("".concat(O,"_remote-site-notification"),"dismiss_notification",m)}),[m,E,O]),S=Object(c.useCallback)((function(){Object(u.J)("".concat(O,"_remote-site-notification"),"click_learn_more_link",m)}),[m,O]);return e.createElement(l.b,{key:m,id:m,title:v,description:n,learnMoreURL:h,learnMoreLabel:p,ctaLink:a,ctaLabel:r,ctaTarget:i,dismiss:g,isDismissible:f,onCTAClick:k,onView:y,onDismiss:j,onLearnMoreClick:S})}CoreSiteBannerNotification.propTypes={content:i.a.string,ctaLabel:i.a.string,ctaTarget:i.a.string,ctaURL:i.a.string,dismissLabel:i.a.string,dismissible:i.a.bool,id:i.a.string.isRequired,learnMoreLabel:i.a.string,learnMoreURL:i.a.string,title:i.a.string.isRequired},CoreSiteBannerNotification.defaultProps={content:"",ctaLabel:"",ctaTarget:"",ctaURL:"",dismissLabel:Object(a.__)("OK, Got it!","google-site-kit"),dismissible:!0,learnMoreLabel:"",learnMoreURL:""},t.a=CoreSiteBannerNotification}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleRecoveryAlert}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(7),l=n.n(o),s=n(15),u=n.n(s),d=n(0),g=n(2),f=n(3),m=n(10),p=n(14),h=n(19),v=n(8),b=n(65),E=n(812);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){l()(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}function ModuleRecoveryAlert(){var t=Object(d.useState)(null),n=u()(t,2),r=n[0],a=n[1],o=Object(d.useState)(!1),s=u()(o,2),_=s[0],y=s[1],k=Object(f.useSelect)((function(e){return e(h.a).getRecoverableModules()})),j=Object(f.useSelect)((function(e){return e(p.c).getDocumentationLinkURL("dashboard-sharing")})),S=Object(f.useSelect)((function(e){var t=e(h.a).getRecoverableModules();if(void 0!==t){var n=Object.keys(t).map((function(t){return{slug:t,hasModuleAccess:e(h.a).hasModuleAccess(t)}}));if(!n.some((function(e){return void 0===e.hasModuleAccess})))return n.filter((function(e){return e.hasModuleAccess})).map((function(e){return e.slug}))}})),w=Object(f.useSelect)((function(e){if(k){var t=e(h.a).getRecoveredModules();if(!t)return{};var n=Object.keys(k),r=function(e){var n;return null==t||null===(n=t.error)||void 0===n?void 0:n[e]};return n.filter((function(e){return!!r(e)})).reduce((function(e,t){return O(O({},e),{},l()({},t,O({name:k[t].name},r(t))))}),{})}})),x=Object(f.useDispatch)(h.a),C=x.recoverModules,A=x.clearRecoveredModules,N=void 0===S||null===r,T=Object(d.useCallback)((function(e){return a((function(t){return O(O({},t),{},l()({},e,!t[e]))}))}),[]),D=Object(d.useCallback)(c()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y(!0),t=Object.keys(r).filter((function(e){return r[e]})),e.next=4,A();case 4:return e.next=6,C(t);case 6:return y(!1),a(null),e.abrupt("return",{dismissOnCTAClick:!1});case 9:case"end":return e.stop()}}),e)}))),[r,A,C]);Object(d.useEffect)((function(){if(void 0!==S&&null===r){var e={};S.forEach((function(t){e[t]=!0})),a(e)}}),[r,S]);var M=Object.keys(k||{});if(void 0===k||0===M.length)return null;var R=null,B=null,I=null,P=!0;return N?(B=e.createElement(m.ProgressBar,null),P=!1):0===S.length?1===M.length?R=Object(g.sprintf)( /* translators: %s: module name. */ Object(g.__)("%s data was previously shared with other users on the site by another admin who no longer has access. To restore access, the module must be recovered by another admin who has access.","google-site-kit"),k[M[0]].name):(R=Object(g.__)("The data for the following modules was previously shared with other users on the site by another admin who no longer has access. To restore access, the module must be recovered by another admin who has access.","google-site-kit"),B=e.createElement("ul",{className:"mdc-list mdc-list--non-interactive"},M.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},k[t].name))})))):1===S.length?(R=Object(g.sprintf)( /* translators: %s: module name. */ Object(g.__)("%s data was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),k[S[0]].name),B=e.createElement(d.Fragment,null,e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(g.__)("By recovering the module, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),Object.keys(w).length>0&&e.createElement(E.a,{recoveryErrors:w})),I=D):(R=Object(g.__)("The data for the following modules was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),B=e.createElement(d.Fragment,null,S.map((function(t){return e.createElement("div",{key:t},e.createElement(m.Checkbox,{checked:r[t],name:"module-recovery-alert-checkbox",id:"module-recovery-alert-checkbox-".concat(t),onChange:function(){return T(t)},value:t,disabled:_},k[t].name))})),e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(g.__)("By recovering the selected modules, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),Object.keys(w).length>0&&e.createElement(E.a,{recoveryErrors:w})),I=D),e.createElement(b.b,{id:"module-recovery-alert",title:Object(g.__)("Dashboard data for some services has been interrupted","google-site-kit"),onCTAClick:I,ctaLabel:I?Object(g.__)("Recover","google-site-kit"):null,ctaLink:I?"#":null,description:R,learnMoreURL:j,learnMoreLabel:Object(g.__)("Learn more","google-site-kit"),isDismissible:P,dismiss:Object(g.__)("Remind me later","google-site-kit"),dismissExpires:v.a},B)}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(0),i=n(2),a=n(3),c=n(19),o=n(29),l=n(1088),s=n(65);t.a=function AdSenseAlerts(){var t=Object(a.useSelect)((function(e){return e(c.a).isModuleConnected("adsense")})),n=Object(a.useSelect)((function(e){return e(o.m).getAccountID()})),u=Object(a.useSelect)((function(e){return e(o.m).getNotifications()}));return t&&n&&void 0!==u?e.createElement(r.Fragment,null,u.map((function(t){var n=t.id,r=t.title,a=t.description,c=t.format,o=t.ctaURL,u=t.ctaLabel,d=t.ctaTarget,g=t.severity,f=t.isDismissable;return e.createElement(s.b,{className:"googlesitekit-adsense-alert",key:n,id:n,title:r||"",description:a,WinImageSVG:l.a,format:c||"small",ctaLink:o,ctaLabel:u,ctaTarget:d,type:g,dismiss:Object(i.__)("OK, Got it!","google-site-kit"),isDismissible:f||!0,logo:!0,module:"adsense",moduleName:Object(i._x)("AdSense","Service name","google-site-kit"),dismissExpires:0,showOnce:!1})}))):null}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("circle",{cx:150,cy:150,r:100,fill:"#D2E3FC"}),c=r.createElement("g",{clipPath:"url(#notification-alert_svg__clip0)",strokeMiterlimit:10,strokeWidth:15},r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15s44.18-11.1 65.14-20.18c9.91-4.3 20.07-8.62 30.85-9.31s22.46 2.9 28.7 11.71a24 24 0 013.78 17.65",stroke:"#4285F4"}),r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15",stroke:"#1A73E8"})),o=r.createElement("path",{stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33l-67.86 256.23"}),l=r.createElement("path",{stroke:"#A50E0E",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33L193.97 150"}),s=r.createElement("path",{d:"M221.3 13l-94.69 95.2a10 10 0 004.53 16.72L261 159.3a10 10 0 0012.18-12.3L238 17.39A10 10 0 00221.3 13z",fill:"#D93025"}),u=r.createElement("path",{d:"M137.37 111.56l87.36-87.87a3 3 0 015 1.33l32.42 119.6a3 3 0 01-3.66 3.68l-119.76-31.72a3 3 0 01-1.36-5.02z",stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:2}),d=r.createElement("path",{d:"M196.78 118.35a7.38 7.38 0 01-.78-5.84 7.25 7.25 0 013.56-4.64 7.46 7.46 0 015.83-.73 7.51 7.51 0 015.4 9.29 7.51 7.51 0 01-3.52 4.7 7.27 7.27 0 01-5.8.8 7.44 7.44 0 01-4.69-3.58zm12.05-46.1l5.56-21 10.82 2.87-5.55 21-8 25.41-8.6-2.28z",fill:"#FFF"}),g=r.createElement("path",{d:"M198.47 181.73a23.18 23.18 0 01-8.2 14.28c-9.2 7.58-24.24 6.67-32.46-2",stroke:"#4285F4",strokeMiterlimit:10,strokeWidth:15}),f=r.createElement("defs",null,r.createElement("clipPath",{id:"notification-alert_svg__clip0"},r.createElement("circle",{cx:150,cy:150,r:100})));t.a=function SvgNotificationAlert(e){return r.createElement("svg",i({viewBox:"0 0 300 300",fill:"none"},e),a,c,o,l,s,u,d,g,f)}},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(15),l=n.n(o),s=n(2),u=n(0),d=n(10),g=n(3),f=n(14),m=n(8),p=n(193),h=n(6),v=n(41),b=n(116),E=n(65),_=n(626);t.a=function EnableAutoUpdateBannerNotification(){var t=Object(g.useSelect)((function(e){return e(h.a).hasCapability(h.N)})),n=Object(g.useSelect)((function(e){return e(h.a).isItemDismissed(_.b)})),r=Object(g.useSelect)((function(e){return e(f.c).hasChangePluginAutoUpdatesCapacity()})),a=Object(g.useSelect)((function(e){return e(f.c).getSiteKitAutoUpdatesEnabled()})),o=Object(g.useSelect)((function(e){return e(f.c).isDoingEnableAutoUpdate()})),O=Object(g.useSelect)((function(e){return e(f.c).getErrorForAction("enableAutoUpdate",[])})),y=Object(g.useDispatch)(f.c).enableAutoUpdate,k=Object(g.useDispatch)(h.a).dismissItem,j=Object(p.a)("notification"),S=l()(j,1)[0],w=Object(u.useState)(!0),x=l()(w,2),C=x[0],A=x[1],N=Object(u.useState)(void 0),T=l()(N,2),D=T[0],M=T[1];Object(u.useEffect)((function(){void 0===D&&void 0!==a&&M(a)}),[D,a]);var R=Object(u.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y();case 2:case"end":return e.stop()}}),e)}))),[y]);Object(u.useEffect)((function(){!1===D&&!0===a&&M(!0)}),[D,a]);var B=Object(u.useCallback)(function(){var e=c()(i.a.mark((function e(t){var n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=6;break}return e.next=3,Object(v.f)(_.a,!0,{ttl:10*m.e});case 3:A(t),e.next=11;break;case 6:return e.next=8,Object(v.d)(_.a);case 8:n=e.sent,r=n.value,A(!!r);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[A]);return Object(u.useEffect)((function(){t&&r&&!a&&B("authentication_success"===S)}),[S,t,r,B,a]),!1!==n||!t||!r||a&&!D||C?null:e.createElement(E.b,{id:_.c,title:D?Object(s.__)("Thanks for enabling auto-updates","google-site-kit"):Object(s.__)("Keep Site Kit up-to-date","google-site-kit"),description:D?Object(s.__)("Auto-updates have been enabled. Your version of Site Kit will automatically be updated when new versions are available.","google-site-kit"):Object(s.__)("Turn on auto-updates so you always have the latest version of Site Kit. We constantly introduce new features to help you get the insights you need to be successful on the web.","google-site-kit"),ctaComponent:D?void 0:e.createElement(u.Fragment,null,O&&e.createElement("div",null,e.createElement(b.a,{error:O,storeName:f.c})),e.createElement(d.SpinnerButton,{onClick:R,isSaving:o},Object(s.__)("Enable auto-updates","google-site-kit"))),dismiss:Object(s.__)("Dismiss","google-site-kit"),isDismissible:!0,dismissExpires:0,onDismiss:function(){k(_.b)}})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GoogleTagIDMismatchNotification}));var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(2),l=n(0),s=n(3),u=n(9),d=n(61),g=n(10),f=n(65),m=n(19),p=n(17),h=n(1091);function GoogleTagIDMismatchNotification(){var t=Object(s.useSelect)((function(e){return e(u.p).getSettings()})),n=Object(s.useSelect)((function(e){return(null==t?void 0:t.googleTagAccountID)&&(null==t?void 0:t.googleTagContainerID)&&e(u.p).getGoogleTagContainerDestinations(t.googleTagAccountID,t.googleTagContainerID)})),r=Object(s.useSelect)((function(e){return(null==t?void 0:t.propertyID)&&e(u.p).getProperty(t.propertyID)})),a=Object(s.useSelect)((function(e){if(!Array.isArray(n))return null;var t=n.map((function(e){return e.destinationId})).filter(d.d);return 0===t.length?null:e(u.p).getAnalyticsConfigByMeasurementIDs(t)})),v=Object(s.useSelect)((function(e){return a&&a.propertyID&&e(u.p).getProperty(null==a?void 0:a.propertyID)})),b=Object(s.useSelect)((function(e){var n,r=(null==t?void 0:t.measurementID)&&(null===(n=e(u.p).getGoogleTagContainer(null==t?void 0:t.measurementID))||void 0===n?void 0:n.tagIds);if(Array.isArray(r))return Object(h.a)(r,t.measurementID)})),E=Object(s.useSelect)((function(e){return e(m.a).isDoingSubmitChanges("analytics-4")})),_=Object(s.useDispatch)(u.p),O=_.setPropertyID,y=_.setWebDataStreamID,k=_.setMeasurementID,j=_.updateSettingsForMeasurementID,S=_.submitChanges,w=_.setHasMismatchedGoogleTagID,x=Object(l.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return O(null==a?void 0:a.propertyID),y(null==a?void 0:a.webDataStreamID),k(null==a?void 0:a.measurementID),e.next=5,S();case 5:w(!1);case 6:case"end":return e.stop()}}),e)}))),[O,y,k,null==a?void 0:a.propertyID,null==a?void 0:a.webDataStreamID,null==a?void 0:a.measurementID,S,w]),C=Object(l.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j(null==t?void 0:t.measurementID);case 2:return e.next=4,S();case 4:w(!1);case 5:case"end":return e.stop()}}),e)}))),[j,null==t?void 0:t.measurementID,S,w]);return void 0===n||void 0===v||void 0===b||void 0===r?e.createElement("div",{className:"googlesitekit-publisher-win"},e.createElement(p.e,null,e.createElement(p.k,null,e.createElement(p.a,{size:12},e.createElement(g.ProgressBar,null))))):v?e.createElement(f.b,{id:"google-tag-id-mismatch",title:Object(o.__)("Update Site Kit's Analytics configuration to continue seeing Analytics data on the dashboard","google-site-kit"),description:Object(o.sprintf)( /* translators: 1: Currently GA4 property name. 2: Current GA4 property ID. 3: Newly linked GA4 property name. 4: Newly linked GA4 property ID. */ Object(o.__)('The Google Tag on your site is no longer associated with your current Google Analytics property "%1$s (%2$s)". It is now recording metrics to another Google Analytics property "%3$s (%4$s)". If you want to continue seeing Analytics data in the Site Kit dashboard, we suggest you update Site Kit’s Google Analytics configuration to show data for the property used in your Google Tag.',"google-site-kit"),r.displayName,r._id,v.displayName,v._id),ctaComponent:e.createElement(l.Fragment,null,e.createElement(g.SpinnerButton,{onClick:x,isSaving:E},Object(o.__)("Use new property","google-site-kit")),e.createElement(g.Button,{tertiary:!0,onClick:C},Object(o.__)("Keep existing property","google-site-kit"))),isDismissible:!1}):b?e.createElement(f.b,{id:"google-tag-id-mismatch",title:Object(o.__)("Your Google tag configuration has changed","google-site-kit"),description:Object(o.sprintf)( /* translators: 1: Currently set Google Tag ID. 2: Newly linked Google Tag ID. 3: Currently GA4 property name. 4: Current GA4 property ID. */ Object(o.__)('The Google tag for your Google Analytics configuration has changed from %1$s to %2$s. To keep using your current Google Analytics property "%3$s (%4$s)", you need to configure Site Kit to place the new Google tag %2$s instead.',"google-site-kit"),t.googleTagID,b,r.displayName,r._id),ctaLabel:Object(o.sprintf)( /* translators: %s: Newly linked Google Tag ID. */ Object(o.__)("Update Google tag to %s","google-site-kit"),b),ctaLink:C?"#":null,onCTAClick:C,isDismissible:!1}):void 0}}).call(this,n(4))},function(e,t,n){"use strict";function r(e,t){if(1===e.length)return e[0];var n=e.find((function(e){return"GT-"===e.substring(0,3)}));if(n)return n;if(e.includes(t))return t;var r=e.find((function(e){return"G-"===e.substring(0,2)}));return r||e[0]}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamNotAvailableNotification}));var r=n(2),i=n(10),a=n(3),c=n(65),o=n(9),l=n(14),s=n(8),u=n(17);function WebDataStreamNotAvailableNotification(){var t=Object(a.useSelect)((function(e){return e(o.p).isWebDataStreamAvailable()})),n=Object(a.useSelect)((function(e){return e(o.p).getMeasurementID()})),d=Object(a.useSelect)((function(e){return e(l.c).getAdminURL("googlesitekit-settings")}));return t?null:void 0===n?e.createElement("div",{className:"googlesitekit-publisher-win"},e.createElement(u.e,null,e.createElement(u.k,null,e.createElement(u.a,{size:12},e.createElement(i.ProgressBar,null))))):e.createElement(c.b,{id:"web-data-stream-not-available",title:Object(r.__)("Your Analytics configuration has changed","google-site-kit"),description:Object(r.sprintf)( /* translators: 1: Google Analytics Measurement ID. */ Object(r.__)("The previously selected web data stream with measurement ID %1$s is no longer available. Please select a new web data stream to continue collecting data with Google Analytics.","google-site-kit"),n),ctaLink:"".concat(d,"#connected-services/analytics-4/edit"),ctaLabel:Object(r.__)("Update Analytics settings","google-site-kit"),dismiss:Object(r.__)("Maybe later","google-site-kit"),dismissExpires:55*s.e})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AdBlockingRecoverySetupSuccessBannerNotification}));var i=n(0),a=n(38),c=n(2),o=n(1157),l=n(3),s=n(1094),u=n(18),d=n(29),g=n(8),f=n(20),m=n(65),p=n(14),h=n(6);function AdBlockingRecoverySetupSuccessBannerNotification(){var t=Object(u.a)(),n=Object(l.useDispatch)(h.a).triggerSurvey,v=Object(l.useSelect)((function(e){return e(p.c).isUsingProxy()})),b=Object(l.useSelect)((function(e){return e(d.m).getAdBlockingRecoverySetupStatus()})),E=Object(l.useSelect)((function(e){return e(d.m).getAccountID()})),_=Object(l.useSelect)((function(e){return e(d.m).getServiceURL({path:"/".concat(E,"/privacymessaging/ad_blocking")})})),O=Object(i.useCallback)((function(){Object(g.J)("".concat(t,"_adsense-abr-success-notification"),"view_notification"),v&&n("abr_setup_completed",{ttl:g.a})}),[n,v,t]);return b!==d.k.SETUP_CONFIRMED?null:r.createElement(m.b,{id:d.d,className:"googlesitekit-ad-blocking-recovery-notification",title:Object(c.__)("You successfully enabled the ad blocking recovery message","google-site-kit"),description:r.createElement("p",null,Object(a.a)(Object(c.__)("Make sure to also create the message in <a>AdSense</a>, otherwise this feature won’t work","google-site-kit"),{a:r.createElement(f.a,{href:_,external:!0,hideExternalIndicator:!0})})),dismiss:Object(c.__)("OK, Got it!","google-site-kit"),onDismiss:function(){Object(g.J)("".concat(t,"_adsense-abr-success-notification"),"confirm_notification");var n=Object(o.a)(e.location.href,"notification");e.history.replaceState(null,"",n)},isDismissible:!0,onView:O,type:"win-success",WinImageSVG:function WinImageSVG(){return r.createElement(s.a,null)},format:"small"})}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12.9 14.73a46.926 46.926 0 014.92-3.892C34.333-.533 47.975-.514 66.862 1.562c12.769 1.402 23.849 8.053 37.279 7.405 13.43-.648 31.996-4.651 46.813-3.786 16.868.985 21.156 2.71 36.153 9.55 13.879 6.33 26.481 17.452 32.814 32.16 10.855 25.211-8.5 70.586-34.456 72.726-18.808 1.551-34.33-16.736-53.314-12.501-11.694 2.609-18.63 13.554-27.652 20.777-10.527 8.428-27.56 7.898-39.886 3.401-11.746-4.286-20.373-12.772-24.209-25.282-2.92-9.526-2.627-19.07-9.64-26.532C20.869 68.95 5.394 66.512.732 46.89-2.218 34.47 4.13 22.687 12.9 14.73z",fill:"#F3F5F7"}),c=r.createElement("g",{filter:"url(#ad-blocking-recovery-success_svg__filter0_d_766_3674)"},r.createElement("path",{d:"M48.967 34.532a9.359 9.359 0 019.358-9.36h107.2a9.359 9.359 0 019.359 9.36v70.648c0 5.168-4.19 9.358-9.359 9.358h-107.2a9.359 9.359 0 01-9.358-9.358V34.531z",fill:"#fff"}),r.createElement("path",{d:"M49.392 34.532c0-4.934 4-8.934 8.933-8.934h107.2c4.934 0 8.933 4 8.933 8.934v70.648a8.933 8.933 0 01-8.933 8.933h-107.2c-4.933 0-8.933-4-8.933-8.933V34.531z",stroke:"#CBD0D3",strokeWidth:.851})),o=r.createElement("rect",{x:70.447,y:59.985,width:82.216,height:4.444,rx:2.222,fill:"#EBEEF0"}),l=r.createElement("rect",{x:89.705,y:85.169,width:45.182,height:19.258,rx:9.629,fill:"#77AD8C"}),s=r.createElement("circle",{cx:111.926,cy:42.209,r:8.148,fill:"#EBEEF0"}),u=r.createElement("path",{d:"M106.74 94.545l4.257 4.257 8.078-8.078",stroke:"#fff",strokeWidth:2.552}),d=r.createElement("rect",{x:68.966,y:70.355,width:83.698,height:4.444,rx:2.222,fill:"#EBEEF0"}),g=r.createElement("defs",null,r.createElement("filter",{id:"ad-blocking-recovery-success_svg__filter0_d_766_3674",x:48.967,y:25.173,width:129.32,height:93.62,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:3.403,dy:4.254}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.796078 0 0 0 0 0.815686 0 0 0 0 0.827451 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_766_3674"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_766_3674",result:"shape"})));t.a=function SvgAdBlockingRecoverySuccess(e){return r.createElement("svg",i({viewBox:"0 0 223 135",fill:"none"},e),a,c,o,l,s,u,d,g)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CurrentSurveyPortal}));var r=n(3),i=n(14),a=n(6),c=n(1096),o=n(76);function CurrentSurveyPortal(){return Object(r.useSelect)((function(e){return e(i.c).isUsingProxy()&&!1===e(a.a).areSurveysOnCooldown()?e(a.a).getCurrentSurvey():null}))?e.createElement(o.a,{slug:"survey"},e.createElement(c.a,null)):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CurrentSurvey}));var r=n(21),i=n.n(r),a=n(27),c=n.n(a),o=n(7),l=n.n(o),s=n(15),u=n.n(s),d=n(91),g=n(574),f=n(0),m=n(2),p=n(3),h=n(28),v=n(6),b=n(1097),E=n(1098),_=n(1105),O=n(1106),y=n(1107),k=n(1109);function j(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){o=!0,a=e},f:function(){try{c||null==n.return||n.return()}finally{if(o)throw a}}}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var C=["multi_select","open_text","rating","single_select"];function CurrentSurvey(){var t=Object(f.useState)(!1),n=u()(t,2),r=n[0],a=n[1],o=Object(f.useState)(!1),s=u()(o,2),S=s[0],w=s[1],A=Object(f.useState)(!1),N=u()(A,2),T=N[0],D=N[1],M=Object(f.useState)(!1),R=u()(M,2),B=R[0],I=R[1],P=Object(p.useSelect)((function(e){return e(v.a).getCurrentSurveyCompletions()})),F=Object(p.useSelect)((function(e){return e(v.a).getCurrentSurveyQuestions()})),L=Object(p.useSelect)((function(e){return e(v.a).getCurrentSurveySession()})),z=Object(p.useSelect)((function(e){return e(v.a).isTrackingEnabled()})),V=L?"survey-".concat(L.session_id):null,W=Object(p.useSelect)((function(e){return e(h.a).getValue(V,"hideSurvey")})),G=Object(p.useSelect)((function(e){return e(h.a).getValue(V,"answers")||[]})),U=Object(p.useDispatch)(h.a).setValues,H=Object(p.useDispatch)(v.a).sendSurveyEvent;Object(f.useEffect)((function(){(null==F?void 0:F.length)&&!r&&(a(!0),H("survey_shown"))}),[F,r,H]);var q,K=G.reduce((function(e,t){var n=t.question_ordinal,r=t.answer;return x(x({},e),{},l()({},n,r.answer.answer_ordinal||r.answer))}),{}),J=Math.max.apply(Math,[0].concat(c()(G.map((function(e){return e.question_ordinal})))))+1,Y=null==F?void 0:F.find((function(e){var t=e.question_ordinal,n=e.trigger_condition;if(t<J)return!1;if(Array.isArray(n)&&n.length>0){var r,i=j(n);try{for(i.s();!(r=i.n()).done;){var a=r.value,c=K[a.question_ordinal],o=a.answer_ordinal||[];if(!c||!o.includes(c))return J++,!1}}catch(e){i.e(e)}finally{i.f()}}return t===J})),X=Object(f.useCallback)((function(e){B||(I(!0),H("question_answered",{question_ordinal:null==Y?void 0:Y.question_ordinal,answer:e}),setTimeout((function(){U(V,{answers:[].concat(c()(G),[{question_ordinal:null==Y?void 0:Y.question_ordinal,answer:e}])}),I(!1)}),300))}),[G,Y,V,H,U,B]);(null==F?void 0:F.length)&&J>F.length&&((q=(P||[]).find((function(e){var t,n=j(e.trigger_condition||[]);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.answer_ordinal.includes(K[r.question_ordinal]))return q=e,!0}}catch(e){n.e(e)}finally{n.f()}return!1})))||(q=P[0]));var $=Object(f.useCallback)((function(){var e;H("follow_up_link_clicked",{completion_ordinal:null===(e=q)||void 0===e?void 0:e.completion_ordinal}),H("survey_closed"),U(V,{hideSurvey:!0})}),[V,H,U,q]),Q=Object(f.useCallback)((function(){H("survey_closed"),D(!1)}),[H]),Z=Object(f.useCallback)((function(){U(V,{hideSurvey:!0})}),[V,U]);if(Object(f.useEffect)((function(){var e;q&&!S&&(w(!0),H("completion_shown",{completion_ordinal:null===(e=q)||void 0===e?void 0:e.completion_ordinal}))}),[S,H,q]),Object(d.a)((function(){D(!0)})),W||!F||!P||void 0===z)return null;if(q)return e.createElement(g.a,{direction:"up",in:T,onExited:Z},e.createElement("div",{className:"googlesitekit-survey"},e.createElement(b.a,{dismissSurvey:Q,ctaOnClick:$,ctaText:q.follow_up_text,ctaURL:q.follow_up_url,title:q.completion_title},q.completion_text)));if(!C.includes(null==Y?void 0:Y.question_type))return null;var ee={key:Y.question_text,answerQuestion:X,dismissSurvey:Q,question:Y.question_text,submitButtonText:(null==F?void 0:F.length)===J?Object(m.__)("Submit","google-site-kit"):Object(m.__)("Next","google-site-kit")};return e.createElement(g.a,{direction:"up",in:T,onExited:Z},e.createElement("div",{className:"googlesitekit-survey"},"multi_select"===Y.question_type&&e.createElement(O.a,i()({},ee,{choices:Y.question.answer_choice,minChoices:Y.question.min_choices,maxChoices:Y.question.max_choices})),"open_text"===Y.question_type&&e.createElement(_.a,i()({},ee,{subtitle:Y.question.subtitle,placeholder:Y.question.placeholder})),"rating"===Y.question_type&&e.createElement(E.a,i()({},ee,{choices:Y.question.answer_choice})),"single_select"===Y.question_type&&e.createElement(y.a,i()({},ee,{choices:Y.question.answer_choice})),!1===z&&1===(null==Y?void 0:Y.question_ordinal)&&e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(k.a,null))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(10),c=n(512);function SurveyCompletion(t){var n=t.title,r=t.children,i=t.ctaText,o=t.ctaURL,l=t.ctaOnClick,s=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__completion"},e.createElement(c.a,{title:n,dismissSurvey:s}),e.createElement("div",{className:"googlesitekit-survey__body"},r),o&&i&&e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(a.Button,{href:o,onClick:l,target:"_blank"},i)))}SurveyCompletion.propTypes={title:i.a.string.isRequired,children:i.a.node,ctaText:i.a.string,ctaURL:i.a.string,ctaOnClick:i.a.func,dismissSurvey:i.a.func.isRequired},SurveyCompletion.defaultProps={title:"",children:null,ctaText:"",ctaURL:"",ctaOnClick:null},t.a=SurveyCompletion}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(512),c=n(1099);function SurveyQuestionRating(t){var n=t.question,r=t.choices,i=t.answerQuestion,o=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__question-rating"},e.createElement(a.a,{title:n,dismissSurvey:o}),e.createElement("div",{className:"googlesitekit-survey__body"},e.createElement("div",{className:"googlesitekit-survey__choices"},r.map((function(t,n){return e.createElement(c.a,{key:n,choice:t,answerQuestion:i})})))))}SurveyQuestionRating.propTypes={question:i.a.string.isRequired,choices:i.a.arrayOf(i.a.shape({answer_ordinal:i.a.oneOfType([i.a.string,i.a.number]),text:i.a.string})).isRequired,answerQuestion:i.a.func.isRequired,dismissSurvey:i.a.func.isRequired},t.a=SurveyQuestionRating}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),c=n(10),o=n(1100),l=n(1101),s=n(1102),u=n(1103),d=n(1104),g={1:o.a,2:l.a,3:s.a,4:u.a,5:d.a};function SurveyQuestionRatingChoice(t){var n=t.choice,r=t.answerQuestion,i=Object(a.useCallback)((function(){"function"==typeof r&&r({answer:{answer_ordinal:n.answer_ordinal}})}),[r,n]),o=g[n.answer_ordinal];return o?e.createElement("div",{className:"googlesitekit-survey__choice"},e.createElement(c.Button,{icon:e.createElement(o,{width:30,height:30}),"aria-label":n.text,onClick:i}),e.createElement("p",null,n.text)):null}SurveyQuestionRatingChoice.propTypes={choice:i.a.shape({answer_ordinal:i.a.oneOfType([i.a.string,i.a.number]),text:i.a.string}).isRequired},t.a=SurveyQuestionRatingChoice}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.985 0C6.705 0 0 6.72 0 15c0 8.28 6.705 15 14.985 15C23.28 30 30 23.28 30 15c0-8.28-6.72-15-15.015-15zM15 27C8.37 27 3 21.63 3 15S8.37 3 15 3s12 5.37 12 12-5.37 12-12 12zm7.5-15.75a2.247 2.247 0 01-2.25 2.25A2.247 2.247 0 0118 11.25 2.247 2.247 0 0120.25 9a2.247 2.247 0 012.25 2.25zM9.75 13.5A2.247 2.247 0 0012 11.25 2.247 2.247 0 009.75 9a2.247 2.247 0 00-2.25 2.25 2.247 2.247 0 002.25 2.25zm-2.415 9c1.2-3.06 4.17-5.25 7.665-5.25s6.465 2.19 7.665 5.25H7.335z",fill:"currentColor"});t.a=function SvgSurveyUnhappy(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30 15c0 8.28-6.72 15-15.015 15C6.705 30 0 23.28 0 15 0 6.72 6.705 0 14.985 0 23.28 0 30 6.72 30 15zm-9.75-1.5a2.247 2.247 0 002.25-2.25A2.247 2.247 0 0020.25 9 2.247 2.247 0 0018 11.25a2.247 2.247 0 002.25 2.25zm-13.725 9c1.245-3.495 4.56-6 8.49-6 3.915 0 7.23 2.505 8.475 6h-3.315c-1.035-1.785-2.955-3-5.16-3-2.22 0-4.125 1.215-5.175 3H6.525zM12 11.25a2.247 2.247 0 01-2.25 2.25 2.247 2.247 0 01-2.25-2.25A2.247 2.247 0 019.75 9 2.247 2.247 0 0112 11.25zM15 3c6.63 0 12 5.37 12 12s-5.37 12-12 12S3 21.63 3 15 8.37 3 15 3z",fill:"currentColor"});t.a=function SvgSurveyDissatisfied(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30 15c0 8.28-6.72 15-15.015 15C6.705 30 0 23.28 0 15 0 6.72 6.705 0 14.985 0 23.28 0 30 6.72 30 15zM9.75 9A2.247 2.247 0 0112 11.25a2.247 2.247 0 01-2.25 2.25 2.247 2.247 0 01-2.25-2.25A2.247 2.247 0 019.75 9zm10.5 0A2.247 2.247 0 0018 11.25a2.247 2.247 0 002.25 2.25 2.247 2.247 0 002.25-2.25A2.247 2.247 0 0020.25 9zM10.5 22.5v-3h9v3h-9zM15 3c6.63 0 12 5.37 12 12s-5.37 12-12 12S3 21.63 3 15 8.37 3 15 3z",fill:"currentColor"});t.a=function SvgSurveyNeutral(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30 15c0 8.28-6.72 15-15.015 15C6.705 30 0 23.28 0 15 0 6.72 6.705 0 14.985 0 23.28 0 30 6.72 30 15zm-9.75-1.5a2.247 2.247 0 002.25-2.25A2.247 2.247 0 0020.25 9 2.247 2.247 0 0018 11.25a2.247 2.247 0 002.25 2.25zm3.225 4.5c-1.245 3.495-4.56 6-8.49 6-3.915 0-7.23-2.505-8.475-6h3.315c1.035 1.785 2.955 3 5.16 3 2.22 0 4.125-1.215 5.175-3h3.315zM12 11.25a2.247 2.247 0 01-2.25 2.25 2.247 2.247 0 01-2.25-2.25A2.247 2.247 0 019.75 9 2.247 2.247 0 0112 11.25zM15 3c6.63 0 12 5.37 12 12s-5.37 12-12 12S3 21.63 3 15 8.37 3 15 3z",fill:"currentColor"});t.a=function SvgSurveySatisfied(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.985 0C6.705 0 0 6.72 0 15c0 8.28 6.705 15 14.985 15C23.28 30 30 23.28 30 15c0-8.28-6.72-15-15.015-15zM15 27C8.37 27 3 21.63 3 15S8.37 3 15 3s12 5.37 12 12-5.37 12-12 12zm7.5-15.75a2.247 2.247 0 01-2.25 2.25A2.247 2.247 0 0118 11.25 2.247 2.247 0 0120.25 9a2.247 2.247 0 012.25 2.25zM9.75 13.5A2.247 2.247 0 0012 11.25 2.247 2.247 0 009.75 9a2.247 2.247 0 00-2.25 2.25 2.247 2.247 0 002.25 2.25zM22.665 18c-1.2 3.06-4.17 5.25-7.665 5.25S8.535 21.06 7.335 18h15.33z",fill:"currentColor"});t.a=function SvgSurveyDelighted(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(1),c=n.n(a),o=n(0),l=n(200),s=n(10),u=n(512),d=n(105),g=n(610);function SurveyQuestionOpenText(t){var n=t.question,r=t.answerQuestion,a=t.placeholder,c=t.subtitle,f=t.dismissSurvey,m=t.submitButtonText,p=Object(o.useState)(""),h=i()(p,2),v=h[0],b=h[1],E=Object(o.useCallback)((function(e){b(e.target.value.slice(0,g.a))}),[b]),_=Object(l.a)(SurveyQuestionOpenText,"SurveyQuestionOpenText");return e.createElement("div",{className:"googlesitekit-survey__open-text"},e.createElement(u.a,{title:n,dismissSurvey:f}),e.createElement("div",{className:"googlesitekit-survey__body"},e.createElement(d.a,null,e.createElement("label",{htmlFor:_},a)),e.createElement(s.TextField,{name:"survey-opentext-".concat(_),helperText:c,onChange:E,label:a,textarea:!0,inputType:"textarea",id:_,value:v})),e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(s.Button,{disabled:0===v.length,onClick:function(){r({answer:v})}},m)))}SurveyQuestionOpenText.propTypes={question:c.a.string.isRequired,subtitle:c.a.string.isRequired,placeholder:c.a.string.isRequired,answerQuestion:c.a.func.isRequired,dismissSurvey:c.a.func.isRequired,submitButtonText:c.a.string.isRequired},t.a=SurveyQuestionOpenText}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(7),c=n.n(a),o=n(12),l=n.n(o),s=n(1),u=n.n(s),d=n(13),g=n(200),f=n(0),m=n(2),p=n(10),h=n(512),v=n(105),b=n(610);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(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){c()(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}function SurveyQuestionMultiSelect(t){var n=t.question,r=t.choices,a=t.answerQuestion,o=t.dismissSurvey,s=t.minChoices,u=void 0===s?1:s,E=t.maxChoices,O=t.submitButtonText,y=Object(g.a)(SurveyQuestionMultiSelect,"SurveyQuestionMultiSelect"),k=r.map((function(e){return _({answer_ordinal:e.answer_ordinal,selected:!1},e.write_in?{answer_text:""}:{})})),j=Object(d.keyBy)(k,"answer_ordinal"),S=Object(f.useState)(j),w=i()(S,2),x=w[0],C=w[1],A=r.filter((function(e){var t=e.write_in,n=e.answer_ordinal;if(t){var r=x[n],i=r.selected,a=r.answer_text;if(i&&0===a.length)return!0}return!1})).length>0,N=Object.values(x).filter((function(e){return e.selected})).length,T=E&&N===E,D=A||N<u;return e.createElement("div",{className:"googlesitekit-survey__multi-select"},e.createElement(h.a,{title:n,dismissSurvey:o}),e.createElement("div",{className:"googlesitekit-survey__body"},r.map((function(t){var n=t.answer_ordinal,r=t.text,i=t.write_in,a=x[n],o="".concat(y,"-answer-").concat(n);return e.createElement("div",{key:o,className:l()("googlesitekit-survey__multi-select__choice",{"googlesitekit-survey__multi-select__choice--disabled":T&&!a.selected})},e.createElement(p.Checkbox,{checked:a.selected,disabled:T&&!a.selected,onChange:function(){return function(e){var t=_(_({},x),{},c()({},e,_(_({},x[e]),{},{selected:!x[e].selected})));C(t)}(n)},value:"".concat(n),id:o,name:o},r),i&&e.createElement(f.Fragment,null,e.createElement(v.a,null,e.createElement("label",{htmlFor:"".concat(o,"-write-in")},Object(m.sprintf)( /* translators: %s: Option name */ Object(m.__)("Text input for option %s","google-site-kit"),r))),e.createElement(p.TextField,{id:"".concat(o,"-write-in"),onChange:function(e){return function(e,t){var n,r=_(_({},x),{},c()({},t,_(_({},x[t]),{},{answer_text:null===(n=e.target.value)||void 0===n?void 0:n.slice(0,b.a)})));C(r)}(e,n)},value:a.answer_text,disabled:!a.selected})))}))),e.createElement("div",{className:"googlesitekit-survey__footer"},u>1&&e.createElement(p.HelperText,{persistent:!0},Object(m.sprintf)( /* translators: %s: the number of answers. */ Object(m.__)("Choose at least %s answers","google-site-kit"),u)),e.createElement(p.Button,{onClick:function(){var e=Object.values(x).filter((function(e){return e.selected})).map((function(e){var t=e.answer_ordinal,n=e.answer_text;return n?{answer_ordinal:t,answer_text:n}:{answer_ordinal:t}}));a({answer:e})},disabled:D},O)))}SurveyQuestionMultiSelect.propTypes={question:u.a.string.isRequired,choices:u.a.arrayOf(u.a.shape({answer_ordinal:u.a.oneOfType([u.a.string,u.a.number]),text:u.a.string,write_in:u.a.bool})).isRequired,answerQuestion:u.a.func.isRequired,dismissSurvey:u.a.func.isRequired,minChoices:u.a.number,maxChoices:u.a.number,submitButtonText:u.a.string.isRequired},t.a=SurveyQuestionMultiSelect}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(15),c=n.n(a),o=n(1),l=n.n(o),s=n(0),u=n(10),d=n(512),g=n(1108);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){i()(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}function SurveyQuestionSingleSelect(t){var n=t.question,r=t.choices,i=t.answerQuestion,a=t.dismissSurvey,o=t.submitButtonText,l=Object(s.useState)(""),f=c()(l,2),p=f[0],h=f[1],v=Object(s.useState)(""),b=c()(v,2),E=b[0],_=b[1],O=r.map((function(e){return m(m({},e),{},{answer_ordinal:"".concat(e.answer_ordinal)})})),y=!!p&&O.filter((function(e){var t=e.answer_ordinal,n=e.write_in;return t===p&&n})).length>0,k=""===p||y&&""===E;return e.createElement("div",{className:"googlesitekit-single-select"},e.createElement(d.a,{title:n,dismissSurvey:a}),e.createElement("div",{className:"googlesitekit-survey__body"},O.map((function(t,n){return e.createElement(g.a,{key:n,value:p,setValue:h,writeIn:E,setWriteIn:_,choice:t})}))),e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(u.Button,{onClick:function(){var e=y?{answer_text:E}:{};i({answer:m({answer_ordinal:Number(p)},e)})},disabled:k},o)))}SurveyQuestionSingleSelect.propTypes={question:l.a.string.isRequired,choices:l.a.arrayOf(l.a.shape({answer_ordinal:l.a.oneOfType([l.a.string,l.a.number]),text:l.a.string,write_in:l.a.bool})).isRequired,answerQuestion:l.a.func.isRequired,dismissSurvey:l.a.func.isRequired},t.a=SurveyQuestionSingleSelect}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(0),c=n(2),o=n(10),l=n(105),s=n(610);function SurveyQuestionSingleSelectChoice(t){var n=t.value,r=t.setValue,i=t.writeIn,u=t.setWriteIn,d=t.choice,g=d.answer_ordinal,f=d.text,m=d.write_in,p=n===g,h="googlesitekit-survey__multi-select-".concat(g,"-").concat(f);return e.createElement("div",{className:"googlesitekit-single-select__choice"},e.createElement(o.Radio,{id:f.replace(/ /g,"-"),value:g,checked:p,name:f,onClick:function(){return r(g)}},f),m&&e.createElement(a.Fragment,null,e.createElement(l.a,null,e.createElement("label",{htmlFor:h},Object(c.sprintf)( /* translators: %s: Option name */ Object(c.__)("Text input for option %s","google-site-kit"),f))),e.createElement(o.TextField,{id:h,onChange:function(e){return u(e.target.value.slice(0,s.a))},value:i,disabled:!p})))}SurveyQuestionSingleSelectChoice.propTypes={choice:i.a.shape({answer_ordinal:i.a.oneOfType([i.a.string,i.a.number]),text:i.a.string,write_in:i.a.bool}),value:i.a.string.isRequired,setValue:i.a.func.isRequired,writeIn:i.a.string.isRequired,setWriteIn:i.a.func.isRequired},t.a=SurveyQuestionSingleSelectChoice}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SurveyTerms}));var r=n(2),i=n(38),a=n(3),c=n(14),o=n(20);function SurveyTerms(){var t=Object(a.useSelect)((function(e){return e(c.c).getGooglePrivacyPolicyURL()})),n=Object(a.useSelect)((function(e){return e(c.c).getGoogleTermsURL()}));return e.createElement("p",{className:"googlesitekit-survey__terms"},Object(i.a)(Object(r.__)("By continuing, you agree to allow Google to use your answers and account info to improve services, per our <privacy>Privacy</privacy> & <terms>Terms</terms>.","google-site-kit"),{privacy:e.createElement(o.a,{href:t,external:!0,hideExternalIndicator:!0,noFlex:!0}),terms:e.createElement(o.a,{href:n,external:!0,hideExternalIndicator:!0,noFlex:!0})}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricsSelectionPanel}));var r=n(15),i=n.n(r),a=n(7),c=n.n(a),o=n(12),l=n.n(o),s=n(0),u=n(3),d=n(28),g=n(24),f=n(6),m=n(30),p=n(1111),h=n(1113),v=n(1114),b=n(1115),E=n(115),_=n(18),O=n(8),y=n(210);function MetricsSelectionPanel(){var t=Object(_.a)(),n=Object(y.a)("conversionReporting"),r=Object(u.useSelect)((function(e){return e(g.b).getValue(m.k)})),a=Object(u.useSelect)((function(e){var t=e(f.a).getKeyMetrics();if(!Array.isArray(t))return[];var n=e(f.a).isKeyMetricAvailable;return t.filter(n)})),o=Object(u.useDispatch)(d.a).setValues,k=Object(u.useDispatch)(g.b).setValue,j=Object(s.useCallback)((function(){o(m.j,c()({},m.i,a)),Object(O.J)("".concat(t,"_kmw-sidebar"),"metrics_sidebar_view")}),[a,o,t]),S=Object(s.useCallback)((function(){r&&k(m.k,!1)}),[k,r]),w=Object(s.useState)(!1),x=i()(w,2),C=x[0],A=x[1];return e.createElement(E.e,{isOpen:r||C,onOpen:j,closePanel:S,className:l()("googlesitekit-km-selection-panel",{"googlesitekit-acr-km-selection-panel":n})},e.createElement(h.a,{closePanel:S}),e.createElement(b.a,{savedMetrics:a}),e.createElement(p.a,null),e.createElement(v.a,{isOpen:r,closePanel:S,savedMetrics:a,onNavigationToOAuthURL:function(){A(!0)}}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){var i=n(2),a=n(817),c=n(0),o=n(3),l=n(28),s=n(6),u=n(9),d=n(30),g=n(172),f=n(1112),m=n(54);t.a=Object(m.a)({moduleName:"analytics-4"})((function CustomDimensionsNotice(){var t=Object(o.useSelect)((function(e){return e(l.a).getValue(d.j,d.i)})),n=null==t?void 0:t.flatMap((function(e){var t=g.a[e];return(null==t?void 0:t.requiredCustomDimensions)||[]})),m=Object(o.useSelect)((function(e){return!!(null==n?void 0:n.length)&&!e(u.p).hasCustomDimensions(n)})),p=Object(o.useSelect)((function(e){return e(s.a).hasScope(u.g)}));Object(o.useSelect)((function(e){return e(u.p).getAvailableCustomDimensions()}));var h=Object(a.a)(m),v=Object(c.useRef)();if(Object(c.useEffect)((function(){if(m&&!1===h){var t=e.document.activeElement;t&&t.closest(".googlesitekit-selection-panel-item")&&Object(f.a)(v.current,t)&&t.scrollIntoView()}}),[m,h]),!1===m)return null;var b=p?Object(i.__)("The metrics you selected require more data tracking. We will update your Analytics property after saving your selection.","google-site-kit"):Object(i.__)("The metrics you selected require more data tracking. You will be directed to update your Analytics property after saving your selection.","google-site-kit");return r.createElement("div",{className:"googlesitekit-selection-panel-notice",ref:v},r.createElement("p",null,b))}))}).call(this,n(26),n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return!(n.bottom<r.top||r.bottom<n.top||n.right<r.left||r.right<n.left)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Header}));var r=n(1),i=n.n(r),a=n(0),c=n(38),o=n(2),l=n(3),s=n(32),u=n(14),d=n(6),g=n(30),f=n(20),m=n(115),p=n(35),h=n(210);function Header(t){var n=t.closePanel,r=Object(p.a)(),i=Object(h.a)("conversionReporting"),v=Object(l.useSelect)((function(e){return e(u.c).getAdminURL("googlesitekit-settings")})),b=Object(l.useSelect)((function(e){return e(d.a).isSavingKeyMetricsSettings()})),E=Object(l.useDispatch)(s.a).navigateTo,_=Object(a.useCallback)((function(){return E("".concat(v,"#/admin-settings"))}),[E,v]);return e.createElement(m.b,{title:i?Object(o.sprintf)( /* translators: %d: number of max allowed metrics */ Object(o._n)("Select up to %d metric","Select up to %d metrics",g.n,"google-site-kit"),g.n):Object(o.__)("Select your metrics","google-site-kit"),onCloseClick:n},!r&&e.createElement("p",null,Object(c.a)(Object(o.__)("Edit your personalized goals or deactivate this widget in <link><strong>Settings</strong></link>","google-site-kit"),{link:e.createElement(f.a,{secondary:!0,onClick:_,disabled:b}),strong:e.createElement("strong",null)})))}Header.propTypes={closePanel:i.a.func.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Footer}));var i=n(5),a=n.n(i),c=n(16),o=n.n(c),l=n(7),s=n.n(l),u=n(1),d=n.n(u),g=n(0),f=n(157),m=n(2),p=n(3),h=n(6),v=n(28),b=n(32),E=n(19),_=n(30),O=n(9),y=n(172),k=n(34),j=n(18),S=n(8),w=n(115),x=n(210);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(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){s()(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}function Footer(t){var n,i=t.isOpen,c=t.closePanel,l=t.savedMetrics,s=t.onNavigationToOAuthURL,u=void 0===s?function(){}:s,d=Object(j.a)(),C=Object(x.a)("conversionReporting"),N=Object(p.useSelect)((function(e){return e(v.a).getValue(_.j,_.i)})),T=Object(p.useSelect)((function(e){return e(h.a).getKeyMetricsSettings()})),D=Object(p.useSelect)((function(e){return e(h.a).isSavingKeyMetricsSettings()})),M="".concat(d,"_kmw-sidebar"),R=null==N?void 0:N.flatMap((function(e){var t=y.a[e];return(null==t?void 0:t.requiredCustomDimensions)||[]})),B=Object(p.useSelect)((function(e){return!!(null==R?void 0:R.length)&&!e(O.p).hasCustomDimensions(R)})),I=Object(p.useSelect)((function(e){return e(h.a).hasScope(O.g)})),P=Object(p.useSelect)((function(e){return e(E.a).isModuleConnected("analytics-4")})),F=Object(p.useSelect)((function(e){return e(h.a).getErrorForAction("saveKeyMetricsSettings",[A(A({},T),{},{widgetSlugs:N})])})),L=Object(f.a)(e.location.href,{notification:"custom_dimensions"}),z=Object(p.useSelect)((function(e){var t=e(h.a).getConnectURL({additionalScopes:[O.g],redirectURL:L});return!!t&&e(b.a).isNavigatingTo(t)})),V=Object(p.useDispatch)(h.a),W=V.saveKeyMetricsSettings,G=V.setPermissionScopeError,U=Object(p.useDispatch)(v.a).setValues,H=Object(g.useCallback)(function(){var e=o()(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,W({widgetSlugs:t});case 2:return n=e.sent,r=n.error,e.abrupt("return",{error:r});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[W]),q=Object(g.useCallback)((function(){Object(S.J)(M,"metrics_sidebar_save"),P&&B&&(U(O.l,{autoSubmit:!0}),I||(u(),c(),G({code:k.a,message:Object(m.__)("Additional permissions are required to create new Analytics custom dimensions","google-site-kit"),data:{status:403,scopes:[O.g],skipModal:!0,redirectURL:L}})))}),[M,P,B,U,I,u,c,G,L]),K=Object(g.useCallback)((function(){Object(S.J)(M,"metrics_sidebar_cancel")}),[M]),J=(null==N?void 0:N.length)||0,Y=C?_.n:_.m;return J<_.o?n=Object(m.sprintf)( /* translators: 1: Minimum number of metrics that can be selected. 2: Number of selected metrics. */ Object(m.__)("Select at least %1$d metrics (%2$d selected)","google-site-kit"),_.o,J):J>Y&&(n=Object(m.sprintf)( /* translators: 1: Maximum number of metrics that can be selected. 2: Number of selected metrics. */ Object(m.__)("Select up to %1$d metrics (%2$d selected)","google-site-kit"),Y,J)),r.createElement(w.a,{savedItemSlugs:l,selectedItemSlugs:N,saveSettings:H,saveError:F,itemLimitError:n,minSelectedItemCount:_.o,maxSelectedItemCount:Y,isBusy:D||z,onSaveSuccess:q,onCancel:K,isOpen:i,closePanel:c})}Footer.propTypes={isOpen:d.a.bool,closePanel:d.a.func.isRequired,savedMetrics:d.a.array,onNavigationToOAuthURL:d.a.func}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricItems}));var r=n(7),i=n.n(r),a=n(1),c=n.n(a),o=n(2),l=n(3),s=n(84),u=n(6),d=n(46),g=n(172),f=n(378),m=n(115),p=n(35);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function MetricItems(t){var n=t.savedMetrics,r=Object(p.a)(),a=Object(l.useSelect)((function(e){return e(u.a)})).isKeyMetricAvailable,c=Object(l.useSelect)((function(e){return function(t){return g.a[t].displayInSelectionPanel(e,r,t)}})),h=function(e,t){if(!a(t))return e;if("function"==typeof g.a[t].displayInSelectionPanel&&!c(t))return e;var n=g.a[t],r=n.title,o=n.description,l=n.metadata.group;return v(v({},e),{},i()({},t,{title:r,description:o,group:l}))},b=Object(l.useSelect)((function(e){return e(d.a).getWidgets(s.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY)||[]})).filter((function(e){var t=e.slug;return n.includes(t)})).map((function(e){return e.slug})),E=Object.keys(g.a).filter((function(e){return b.includes(e)})).reduce(h,{}),_=Object.keys(g.a).filter((function(e){return!b.includes(e)})).reduce(h,{});return e.createElement(m.d,{availableItemsTitle:Object(o.__)("Additional metrics","google-site-kit"),savedItemSlugs:n,availableSavedItems:E,availableUnsavedItems:_,ItemComponent:f.a})}MetricItems.propTypes={savedMetrics:c.a.array}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),function(e,t){var r=n(5),i=n.n(r),a=n(16),c=n.n(a),o=n(335),l=n(137),s=n(41),u=n(235),d=n(22),g=n(1076);Object(o.a)(c()(i.a.mark((function n(){var r,a,c,o,f;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e._googlesitekitLegacyData.admin.resetSession){n.next=3;break}return n.next=3,Object(s.b)();case 3:(r=document.getElementById("js-googlesitekit-main-dashboard"))&&(a=r.dataset,c=a.setupModuleSlug,o=a.viewOnly,f=d.p,c||(f=o?d.o:d.n),Object(l.render)(t.createElement(u.a,{viewContext:f},t.createElement(g.a,{setupModuleSlug:c})),r));case 5:case"end":return n.stop()}}),n)}))))}.call(this,n(26),n(4))}],[[1224,1,0]]]);
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0.02 |
proxy
|
phpinfo
|
Настройка