Файловый менеджер - Редактировать - /home/avadvi5/public_html/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-splash-53783086adb33e7b8a2b.js
Ðазад
"use strict";(globalThis.__googlesitekit_webpackJsonp=globalThis.__googlesitekit_webpackJsonp||[]).push([[290,551,998],{80:(e,t,i)=>{i.d(t,{CV:()=>w,Cu:()=>b,K9:()=>n,Kr:()=>m,Lf:()=>h,Oh:()=>r,PW:()=>N,Rx:()=>T,S9:()=>f,TQ:()=>g,Vt:()=>I,Wl:()=>_,ZC:()=>o,ZY:()=>a,_p:()=>E,ag:()=>p,aj:()=>u,bz:()=>M,dq:()=>C,f2:()=>c,fB:()=>A,fV:()=>S,iB:()=>d,kc:()=>l,mo:()=>v,nc:()=>j,rm:()=>x,to:()=>s,wo:()=>k,yn:()=>y});const n="modules/analytics-4",o="account_create",s="property_create",r="webdatastream_create",a="analyticsSetup",l=10,c=0,d="https://www.googleapis.com/auth/tagmanager.readonly",g="enhanced-measurement-form",u="enhanced-measurement-enabled",h="enhanced-measurement-should-dismiss-activation-banner",p="analyticsAccountCreate",m="analyticsCustomDimensionsCreate",f="https://www.googleapis.com/auth/analytics.edit",k="dashboardAllTrafficWidgetDimensionName",v="dashboardAllTrafficWidgetDimensionColor",y="dashboardAllTrafficWidgetDimensionValue",_="dashboardAllTrafficWidgetActiveRowIndex",x="dashboardAllTrafficWidgetLoaded",b={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},j={ADD_TO_CART:"add_to_cart",PURCHASE:"purchase",SUBMIT_LEAD_FORM:"submit_lead_form",GENERATE_LEAD:"generate_lead",CONTACT:"contact"},S=[j.CONTACT,j.GENERATE_LEAD,j.SUBMIT_LEAD_FORM],A={"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"}}}}]}}]}}}}]}},N="audiencePermissionsSetup",w="audienceTileCustomDimensionCreate",M="audience-selection-panel-expirable-new-badge-",C="audience",I="customDimension",E="property",T=[C,I,E]},4124:(e,t,i)=>{i.d(t,{A:()=>s});var n=i(20697),o=i(62659);function s(){const e=(0,o.A)();return n.Nn.includes(e)}},4169:(e,t,i)=>{i.d(t,{N$:()=>o,aO:()=>s,qB:()=>n});const n={BOXES:"boxes",COMPOSITE:"composite"},o={QUARTER:"quarter",HALF:"half",FULL:"full"},s="core/widgets"},4751:(e,t,i)=>{i.d(t,{A:()=>c});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(97513),l=i(62540);function PreviewBlock({className:e,width:t,height:i,shape:n,padding:o,smallWidth:s,smallHeight:c,tabletWidth:d,tabletHeight:g,desktopWidth:u,desktopHeight:h}){const p=(0,a.dv)(),m={width:{[a.mp]:s,[a.Lg]:d,[a.Fo]:u,[a.Qb]:u},height:{[a.mp]:c,[a.Lg]:g,[a.Fo]:h,[a.Qb]:u}};return(0,l.jsx)("div",{className:r()("googlesitekit-preview-block",e,{"googlesitekit-preview-block--padding":o}),style:{width:m.width[p]||t,height:m.height[p]||i},children:(0,l.jsx)("div",{className:r()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===n})})})}PreviewBlock.propTypes={className:o().string,width:o().string,height:o().string,shape:o().string,padding:o().bool,smallWidth:o().string,smallHeight:o().string,tabletWidth:o().string,tabletHeight:o().string,desktopWidth:o().string,desktopHeight:o().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};const c=PreviewBlock},5855:(e,t,i)=>{i.d(t,{A:()=>d});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(63696),l=i(62540);const c=(0,a.forwardRef)(({label:e,className:t,hasLeftSpacing:i=!1,...n},s)=>(0,l.jsx)("span",{ref:s,...n,className:o()("googlesitekit-badge",t,{"googlesitekit-badge--has-left-spacing":i}),children:e}));c.displayName="Badge",c.propTypes={label:r().string.isRequired,hasLeftSpacing:r().bool};const d=c},6730:(e,t,i)=>{i.d(t,{A:()=>GenericErrorHandlerActions});var n=i(62688),o=i.n(n),s=i(82871),r=i(38432),a=i(38021),l=i.n(a),c=i(63696),d=i(12417),g=i(1027),u=i(65123),h=i(49383),p=i(62540);function ReportErrorButton({message:e,componentStack:t}){const[i,n]=(0,c.useState)(!1);return(0,p.jsx)(h.Button,{"aria-label":i?(0,s.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){l()(`\`\`\`\n${e}\n${t}\n\`\`\``),n(!0)},trailingIcon:(0,p.jsx)(d.A,{className:"mdc-button__icon",icon:i?g.A:u.A}),children:i?(0,s.__)("Copied to clipboard","google-site-kit"):(0,s.__)("Copy error contents","google-site-kit")})}ReportErrorButton.propTypes={message:o().string,componentStack:o().string};const m=ReportErrorButton;function GenericErrorHandlerActions({message:e,componentStack:t}){return(0,p.jsxs)("div",{className:"googlesitekit-generic-error-handler-actions",children:[(0,p.jsx)(m,{message:e,componentStack:t}),(0,p.jsx)(r.A,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0,children:(0,s.__)("Report this problem","google-site-kit")})]})}GenericErrorHandlerActions.propTypes={message:o().string,componentStack:o().string}},7076:(e,t,i)=>{i.d(t,{d:()=>r});var n=i(18117),o=i(17243),s=i(63696);function r(...e){const t=(0,n.MA)(()=>(0,o.debounce)(...e),e);return(0,s.useEffect)(()=>()=>t.cancel(),[t]),t}},7551:(e,t,i)=>{i.d(t,{Ay:()=>a,Oo:()=>s,oE:()=>r});var n=i(20697),o=i(62659);const s=n.jU,r=n.f7;function a(){const e=(0,o.A)();return e===n.jU||e===n.Ax?s:e===n.f7||e===n.Is?r:null}},7972:(e,t,i)=>{i.d(t,{F:()=>o,n:()=>n});const n="core/ui",o="activeContextID"},8084:(e,t,i)=>{i.d(t,{$C:()=>w,RF:()=>N,WI:()=>S,_5:()=>x,jU:()=>_,o3:()=>y,x0:()=>j});var n=i(32091),o=i.n(n),s=i(50532),r=i.n(s),a=i(17243),l=i(78913);const c="GET_REGISTRY",d="AWAIT";function g(...e){const t=e.reduce((e,t)=>({...e,...t}),{}),i=b(e.reduce((e,t)=>[...e,...Object.keys(t)],[]));return o()(0===i.length,`collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ${i.join(", ")}. Check your data stores for duplicates.`),t}const u=g,h=g;function p(...e){const t=[...e];let i;return"function"!=typeof t[0]&&(i=t.shift()),(e=i,n={})=>t.reduce((e,t)=>t(e,n),e)}const m=g,f=g,k=g;function v(e){return e}function y(...e){const t=k(...e.map(e=>e.initialState||{}));return{initialState:t,controls:h(...e.map(e=>e.controls||{})),actions:u(...e.map(e=>e.actions||{})),reducer:p(t,...e.map(e=>e.reducer||v)),resolvers:m(...e.map(e=>e.resolvers||{})),selectors:f(...e.map(e=>e.selectors||{}))}}const _={getRegistry:()=>({payload:{},type:c}),*await(e){return{payload:{value:e},type:d}}},x={[c]:(0,l.b)(e=>()=>e),[d]:({payload:e})=>e.value};function b(e){const t=[],i={};for(let n=0;n<e.length;n++){const o=e[n];i[o]=i[o]>=1?i[o]+1:1,i[o]>1&&t.push(o)}return t}const j={actions:_,controls:x,reducer:v};function S(e){return t=>A(e(t))}const A=r()(e=>(0,a.mapValues)(e,(e,t)=>(...i)=>{const n=e(...i);return o()(void 0!==n,`${t}(...) is not resolved`),n}));function N(e,{negate:t=!1}={}){return{safeSelector:(0,l.N)(i=>(n,...o)=>{const s=!t,r=!!t;try{return e(i,n,...o),s}catch{return r}}),dangerousSelector:(0,l.N)(t=>(i,...n)=>{e(t,i,...n)})}}function w(e,t){return o()("function"==typeof e,"a validator function is required."),o()("function"==typeof t,"an action creator function is required."),o()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),(...i)=>(e(...i),t(...i))}},8513:(e,t,i)=>{i.d(t,{Kk:()=>s,SZ:()=>n,Yw:()=>r,oJ:()=>a,tT:()=>o});const n="body",o=[n,"display","headline","label","title"],s="small",r="medium",a=[s,r,"large"]},8732:(e,t,i)=>{i.d(t,{$:()=>s,D:()=>o});var n=i(20697);const o="core/notifications",s=[n.uR,n.jU,n.f7,n.Ax,n.Is]},10740:(e,t,i)=>{i.d(t,{$z:()=>o.$,CR:()=>a.C,Cf:()=>l.DialogContent,Es:()=>l.DialogFooter,Nv:()=>n.N,P3:()=>r.P,Si:()=>s.S,fI:()=>d.fI,fh:()=>d.fh,lG:()=>c.a,xA:()=>d.xA});var n=i(91046),o=i(3412),s=i(30454),r=i(26569),a=i(56655),l=i(12786),c=i.n(l),d=i(84984)},11193:(e,t,i)=>{i.d(t,{D:()=>s});var n=i(32091),o=i.n(n);function s(e,{dateRangeLength:t}){o()(Array.isArray(e),"report must be an array to partition."),o()(Number.isInteger(t)&&t>0,"dateRangeLength must be a positive integer.");const i=-1*t;return{currentRange:e.slice(i),compareRange:e.slice(2*i,i)}}},11253:(e,t,i)=>{i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 12"},e),n||(n=o.createElement("g",{fill:"currentColor",fillRule:"evenodd"},o.createElement("path",{d:"M0 6.414 1.415 5l5.292 5.292-1.414 1.415z"}),o.createElement("path",{d:"m14.146.146 1.415 1.414L5.414 11.707 4 10.292z"}))))},11763:(e,t,i)=>{i.d(t,{A:()=>SpinnerButton,k:()=>g});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(17243),l=i(85135),c=i(99578),d=i(62540);const g={BEFORE:"before",AFTER:"after"};function SpinnerButton(e){const{className:t,onClick:i=()=>{},isSaving:n=!1,spinnerPosition:o=g.AFTER,...s}=e,u=(0,a.pickBy)(s,e=>void 0!==e);return(0,d.jsx)(l.A,{className:r()(t,"googlesitekit-button-icon--spinner",{"googlesitekit-button-icon--spinner__running":n,"googlesitekit-button-icon--spinner__before":o===g.BEFORE,"googlesitekit-button-icon--spinner__after":o===g.AFTER}),icon:n&&o===g.BEFORE?(0,d.jsx)(c.A,{size:14}):void 0,trailingIcon:n&&o===g.AFTER?(0,d.jsx)(c.A,{size:14}):void 0,onClick:i,...u})}SpinnerButton.propTypes={className:o().string,onClick:o().func,isSaving:o().bool,spinnerPosition:o().oneOf(Object.values(g))}},11883:(e,t,i)=>{i.d(t,{YJ:()=>s,Eq:()=>r});var n=i(97513),o=i(17243);function s(e,t){const n=document.querySelector(e);if(!n)return 0;const o=n.getBoundingClientRect().top,s=r(t);return o+i.g.scrollY-s}function r(e){let t=function(e){let t=0;const s=document.querySelector(".googlesitekit-header");t=s&&"sticky"===i.g.getComputedStyle(s).position?function(e){const t=document.querySelector(".googlesitekit-header");if(t){if(e===n.mp)return t.offsetHeight;const i=t.getBoundingClientRect().bottom;return i<0?0:i}return 0}(e):function(e){const t=document.querySelector("#wpadminbar");if(t&&e!==n.mp)return t.offsetHeight;return 0}(e);return t=function(e){return(0,o.isFinite)(e)?e:0}(t),t<0?0:t}(e);const s=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(s).reduce((e,t)=>e+t.offsetHeight,0),t}},11974:(e,t,i)=>{i.d(t,{A:()=>OptIn});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(63696),l=i(13606),c=i(82871),d=i(50539),g=i(97345),u=i(65054),h=i(38432),p=i(62659),m=i(7076),f=i(49383),k=i(62540);function LayoutDefault({checkboxProps:e,label:t}){return(0,k.jsx)(f.Checkbox,{...e,children:t})}function LayoutStacked({checkboxProps:e,title:t,description:i}){return(0,k.jsxs)(a.Fragment,{children:[(0,k.jsx)(f.Checkbox,{...e,children:t}),(0,k.jsx)("div",{className:"googlesitekit-opt-in__description",children:i})]})}LayoutDefault.propTypes={checkboxProps:o().object.isRequired,label:o().node.isRequired},LayoutStacked.propTypes={checkboxProps:o().object.isRequired,title:o().node.isRequired,description:o().node.isRequired};const v="default",y="stacked";function OptIn({id:e="googlesitekit-opt-in",name:t="optIn",className:i,layout:n=v,title:o=null,description:s=null,trackEventCategory:f,trackEventAction:_="tracking_optin"}){const[x,b]=(0,a.useState)(),j=(0,d.useSelect)(e=>e(g.oR).isTrackingEnabled()),S=(0,d.useSelect)(e=>e(g.oR).getErrorForAction("setTrackingEnabled",[!j])),{setTrackingEnabled:A}=(0,d.useDispatch)(g.oR),N=(0,p.A)(),w=(0,a.useCallback)(async e=>{const{response:t,error:i}=await A(e);i?b(j):((0,u.M9)(t.enabled),t.enabled&&(0,u.sx)(f||N,_))},[j,A,f,_,N]);(0,a.useEffect)(()=>{void 0!==j&&void 0===x&&b(j)},[j,x]);const M=(0,m.d)(w,300),C=(0,a.useCallback)(e=>{const t=e.target.checked;b(t),M(t)},[M]),I=null!=o?o:(0,k.jsx)("span",{children:(0,c.__)("Help us improve Site Kit by sharing anonymous usage data.","google-site-kit")}),E=null!=s?s:(0,l.A)((0,c.__)("<span>All collected data is treated in accordance with the <a>Google Privacy Policy</a></span>","google-site-kit"),{a:(0,k.jsx)(h.A,{href:"https://policies.google.com/privacy",external:!0},"link"),span:(0,k.jsx)("span",{})}),T={id:e,name:t,value:"1",checked:x,onChange:C,loading:void 0===j};return(0,k.jsxs)("div",{className:r()("googlesitekit-opt-in",i,n===y&&"googlesitekit-opt-in--layout-stacked"),children:[n===y?(0,k.jsx)(LayoutStacked,{checkboxProps:T,title:I,description:E}):(0,k.jsx)(LayoutDefault,{checkboxProps:T,label:(0,k.jsxs)(a.Fragment,{children:[I," ",E]})}),S?.message&&(0,k.jsx)("div",{className:"googlesitekit-error-text",children:S?.message})]})}OptIn.propTypes={id:o().string,name:o().string,className:o().string,title:o().node,description:o().node,layout:o().oneOf([v,y]),trackEventCategory:o().string}},11999:(e,t,i)=>{i.d(t,{s:()=>n});const n="core/forms"},12896:(e,t,i)=>{i.d(t,{l:()=>o});var n=i(78174);function o(e,t,i){(0,n.A)(i=>e.includes(i.keyCode)&&t.current.contains(i.target),i)}},13047:(e,t,i)=>{i.d(t,{tt:()=>k.tt,Jg:()=>k.Jg,Gp:()=>k.Gp,GH:()=>k.GH,r0:()=>k.r0,Du:()=>k.Du,Zf:()=>M,Cn:()=>b,G7:()=>f,vH:()=>m,N_:()=>k.N_,zh:()=>I,mK:()=>d.mK,Ql:()=>k.Ql,vY:()=>x,sq:()=>k.sq,VZ:()=>j.VZ,JK:()=>d.JK,IS:()=>k.IS,pH:()=>j.pH,kf:()=>A,O5:()=>k.O5,Qr:()=>k.Qr,x6:()=>S,K5:()=>d.K5,S_:()=>p,dc:()=>j.dc,Eo:()=>d.Eo,jq:()=>d.jq,DK:()=>w.D,N9:()=>N,p9:()=>s.p,XH:()=>k.XH,Zm:()=>l,sx:()=>o.sx,BI:()=>o.BI,CZ:()=>s.C,BG:()=>C});var n=i(17243),o=i(65054),s=i(50477),r=i(10523),a=i.n(r);function l(e){return a()(JSON.stringify(c(e)))}function c(e){const t={};return Object.keys(e).sort().forEach(i=>{let n=e[i];n&&"object"==typeof n&&!Array.isArray(n)&&(n=c(n)),t[i]=n}),t}var d=i(49746);function g(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function u(e){return`<p>${e.replace(/\n{2,}/g,"</p><p>")}</p>`}function h(e){return e.replace(/\n/gi,"<br>")}function p(e){const t=[g,u,h];let i=e;for(const e of t)i=e(i);return i}function m(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)]}function f(e){const t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t}var k=i(51193),v=i(78159),y=i(38017),_=i(62540);function x(e,t={}){if(Number.isNaN(Number(e)))return"";const{invertColor:i=!1}=t;return(0,v.Ay)((0,_.jsx)(y.A,{direction:e>0?"up":"down",invertColor:i}))}function b(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}var j=i(48276);function S(e){const t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function A(e){if("number"==typeof e)return!0;const t=(e||"").toString();return!!t&&!isNaN(t)}function N(e){return Array.isArray(e)?[...e].sort():e}var w=i(11193);function M(e,t){function i(e){return"0"===e||0===e}if(i(e)&&i(t))return 0;if(i(e)||Number.isNaN(e))return null;const n=(t-e)/e;return Number.isNaN(n)||!Number.isFinite(n)?null:n}function C(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}}function I(e){if(!e)return"";const t=e.replace(/&#(\d+);/g,(e,t)=>String.fromCharCode(t)).replace(/(\\)/g,"");return(0,n.unescape)(t)}},13137:(e,t,i)=>{i.d(t,{G:()=>c,HY:()=>g,SG:()=>d,db:()=>o,e4:()=>h,vl:()=>u});i(17243);var n=i(82871);const o="missing_required_scopes",s="insufficientPermissions",r="forbidden",a="internal_server_error",l="invalid_json";function c(e){return e?.code===o}function d(e){return[s,r].includes(e?.data?.reason)}function g(e){return!!e?.data?.reconnectURL}function u(e,t){return!(!t?.storeName||d(e)||c(e)||g(e))}function h(e){return e?.code===a?(0,n.__)("There was a critical error on this website while fetching data","google-site-kit"):e?.code===l?(0,n.__)("The server provided an invalid response","google-site-kit"):e?.message}},18418:(e,t,i)=>{i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2 12"},e),n||(n=o.createElement("g",{fill:"currentColor",fillRule:"evenodd"},o.createElement("path",{d:"M0 0h2v7H0zM0 10h2v2H0z"}))))},19793:(e,t,i)=>{i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),n||(n=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1m4.806 8.592.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296s-.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 16s1.6-.4 2.124-1.112z",clipRule:"evenodd"})))},19826:(e,t,i)=>{i.d(t,{Ay:()=>r,Kq:()=>s});const n=(0,i(63696).createContext)(""),{Consumer:o,Provider:s}=n,r=n},20697:(e,t,i)=>{i.d(t,{Ax:()=>s,CZ:()=>d,Ej:()=>j,Gw:()=>S,Is:()=>r,KK:()=>u,Nn:()=>N,OT:()=>x,SH:()=>_,Y$:()=>h,ZS:()=>a,bg:()=>f,en:()=>b,ep:()=>m,f7:()=>o,hi:()=>p,jU:()=>n,k$:()=>v,kz:()=>A,ly:()=>l,mo:()=>k,s3:()=>y,uR:()=>c,zx:()=>g});const n="mainDashboard",o="entityDashboard",s="mainDashboardViewOnly",r="entityDashboardViewOnly",a="userInput",l="activation",c="splash",d="adminBar",g="adminBarViewOnly",u="settings",h="adBlockingRecovery",p="wpDashboard",m="wpDashboardViewOnly",f="moduleSetup",k="metricSelection",v="wpBlockEditor",y="keyMetricsSetup",_="key-metrics",x="traffic",b="content",j="speed",S="monetization",A=[n,o,s,r,a,c,u,f,k],N=[s,r,g,m]},20762:(e,t,i)=>{i.d(t,{Ay:()=>r});var n=i(52735);const{Consumer:o,Provider:s}=n.A,r=s},21492:(e,t,i)=>{i.d(t,{A:()=>StepHint});var n=i(62688),o=i.n(n),s=i(82267),r=i(62540);function StepHint({leadingText:e,tooltipText:t}){return(0,r.jsxs)("div",{className:"googlesitekit-setup__step-hint",children:[(0,r.jsx)("p",{children:e}),(0,r.jsx)(s.A,{tooltipClassName:"googlesitekit-setup__step-hint-tooltip",title:t})]})}StepHint.propTypes={leadingText:o().oneOfType([o().string,o().element]).isRequired,tooltipText:o().oneOfType([o().string,o().element]).isRequired}},22942:(e,t,i)=>{i.d(t,{A_:()=>d,DF:()=>u,L1:()=>h,M0:()=>r,Mc:()=>a,Ok:()=>c,U9:()=>l,iW:()=>s,ue:()=>o,wq:()=>n,xR:()=>g});const n=1,o=2,s=3,r="enhanced-measurement-activation-banner-tooltip-state",a="enhanced-measurement-activation-banner-dismissed-item",l="_r.explorerCard..selmet",c="_r.explorerCard..seldim",d="_r..dataFilters",g="_r..nav",u="key-metrics-connect-ga4-cta-widget",h="analytics-4"},24355:(e,t,i)=>{i.d(t,{SO:()=>l,xJ:()=>a});var n=i(55620),o=i(99123);function s(){return[i.g.innerWidth,i.g.innerHeight]}function r({fps:e=60,leading:t=!1,initialWidth:i=0,initialHeight:r=0}={}){const[a,l]=(0,n._)("undefined"==typeof document?[i,r]:s,e,t);function c(){return l(s)}return(0,o.A)(window,"resize",c),(0,o.A)(window,"orientationchange",c),a}function a(e={}){return r(e)[1]}function l(e={}){return r(e)[0]}},25797:(e,t,i)=>{i.d(t,{A:()=>y});var n,o=i(62688),s=i.n(o),r=i(4452),a=i.n(r),l=i(63696),c=i(19793);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},d.apply(null,arguments)}const warning_notice=e=>l.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),n||(n=l.createElement("path",{fill:"currentColor",d:"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1m0 14a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-1-2h2V6h-2z"})));var g=i(42343),u=i(76984),h=i(62540);const p={[u.Q.NEW]:g.A,[u.Q.SUCCESS]:c.A,[u.Q.INFO]:warning_notice,[u.Q.WARNING]:warning_notice,[u.Q.ERROR]:warning_notice};function Icon({type:e}){const t=p[e]||warning_notice;return(0,h.jsx)(t,{width:24,height:24})}function Title({className:e,children:t}){return(0,h.jsx)("p",{className:a()("googlesitekit-notice__title",e),children:t})}function Description({className:e,children:t}){return(0,h.jsx)("p",{className:a()("googlesitekit-notice__description",e),children:t})}Icon.propTypes={type:s().oneOf(Object.values(u.Q))},Title.propTypes={className:s().string,children:s().node},Description.propTypes={className:s().string,children:s().node};var m=i(49383),f=i(83366);function CTAButton({label:e,disabled:t,inProgress:i,onClick:n,href:o,external:s=!1,hideExternalIndicator:r=!1}){let l;return s&&!r&&(l=(0,h.jsx)(f.A,{width:14,height:14})),(0,h.jsx)(m.SpinnerButton,{className:a()("googlesitekit-notice__cta",{"googlesitekit-notice__cta--spinner__running":i}),disabled:t,isSaving:i,onClick:n,href:o,target:s?"_blank":void 0,trailingIcon:l,children:e})}CTAButton.propTypes={label:s().string.isRequired,disabled:s().bool,inProgress:s().bool,onClick:s().func,href:s().string,external:s().bool,hideExternalIndicator:s().bool};var k=i(82871);function DismissButton({label:e=(0,k.__)("Got it","google-site-kit"),onClick:t,disabled:i,href:n,external:o=!1}){return(0,h.jsx)(m.Button,{onClick:t,disabled:i,href:n,target:o?"_blank":void 0,tertiary:!0,children:e})}DismissButton.propTypes={label:s().string,onClick:s().func.isRequired,disabled:s().bool,href:s().string,external:s().bool};const v=(0,l.forwardRef)(({className:e,title:t,description:i,dismissButton:n,ctaButton:o,type:s=u.Q.INFO,children:r,hideIcon:l},c)=>(0,h.jsx)("div",{className:"googlesitekit-notice-container",ref:c,children:(0,h.jsxs)("div",{className:a()("googlesitekit-notice",`googlesitekit-notice--${s}`,e),role:"status",children:[!l&&(0,h.jsx)("div",{className:"googlesitekit-notice__icon",children:(0,h.jsx)(Icon,{type:s})}),(0,h.jsxs)("div",{className:"googlesitekit-notice__content",children:[t&&(0,h.jsx)(Title,{children:t}),i&&(0,h.jsx)(Description,{children:i})]}),(n?.label||n?.onClick||o?.label&&(o?.onClick||o?.href)||r)&&(0,h.jsxs)("div",{className:"googlesitekit-notice__action",children:[r,(n?.label||n?.onClick)&&(0,h.jsx)(DismissButton,{label:n.label,onClick:n.onClick,disabled:n.disabled,href:n.href,external:n.external}),o?.label&&(o?.onClick||o?.href)&&(0,h.jsx)(CTAButton,{label:o.label,onClick:o.onClick,inProgress:o.inProgress,disabled:o.disabled,href:o.href,external:o.external,hideExternalIndicator:o.hideExternalIndicator})]})]})}));v.TYPES=u.Q,v.propTypes={className:s().string,title:s().oneOfType([s().string,s().object]),description:s().node,type:s().oneOf(Object.values(u.Q)),dismissButton:s().shape(DismissButton.propTypes),ctaButton:s().shape({...CTAButton.propTypes,label:s().string}),children:s().node,hideIcon:s().bool};const y=v},29785:(e,t,i)=>{i.d(t,{O4:()=>n,OQ:()=>s,qc:()=>o});const n="core/site",o="primary",s="secondary"},30805:(e,t,i)=>{i.d(t,{i:()=>r});var n=i(63696),o=i(79961),s=i(84895);function r(e){const t=(0,n.useContext)(o.A);return(0,s.G)(e,t)}},31675:(e,t,i)=>{i.d(t,{A:()=>ExitSetup});var n=i(62688),o=i.n(n),s=i(82871),r=i(90559),a=i(52696),l=i(29785),c=i(70301),d=i(13047),g=i(62540);function ExitSetup({gaTrackingEventArgs:e}){const t=(0,a.WM)(e=>(0,d.CZ)(e(l.O4).getAdminURL())),{navigateTo:i}=(0,a.wA)(c.M);return(0,g.jsx)(r.$n,{onClick:async function(){await(0,d.sx)(e.category,"setup_flow_v3_exit_setup",e.label),i(`${t}/plugins.php`)},tertiary:!0,children:(0,s.__)("Exit setup","google-site-kit")})}ExitSetup.propTypes={gaTrackingEventArgs:o().object.isRequired}},32803:(e,t,i)=>{i.d(t,{Y:()=>n});const n="search-console"},32885:(e,t,i)=>{i.d(t,{A:()=>Checkbox});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(63696),l=i(62457),c=i(62540);function Checkbox(e){const{onChange:t,id:i,name:n,value:s,checked:r,disabled:d,children:g,tabIndex:u,onKeyDown:h,loading:p,alignLeft:m,description:f,badge:k}=e,v=k?(0,c.jsxs)("div",{className:"mdc-checkbox__label-wrapper",children:[(0,c.jsx)("label",{htmlFor:i,children:g}),k]}):(0,c.jsx)("label",{htmlFor:i,children:g});return(0,c.jsxs)("div",{className:"mdc-form-field",children:[(0,c.jsx)("div",{className:o()("mdc-checkbox",{"mdc-checkbox--disabled":d,"mdc-checkbox--align-left":m}),children:p?(0,c.jsx)(l.A,{style:{margin:"0"},isSaving:!0}):(0,c.jsxs)(a.Fragment,{children:[(0,c.jsx)("input",{className:"mdc-checkbox__native-control",type:"checkbox",id:i,name:n,value:s,checked:r,disabled:d,onChange:t,tabIndex:u,onKeyDown:h}),(0,c.jsxs)("div",{className:"mdc-checkbox__background",children:[(0,c.jsx)("svg",{className:"mdc-checkbox__checkmark",viewBox:"0 0 12 9",children:(0,c.jsx)("path",{className:"mdc-checkbox__checkmark-path",d:"M2.08301 5.28834L3.55703 7.29507C4.24647 8.23368 5.5034 8.23368 6.19285 7.29507L10.083 1.99902",fill:"none",stroke:"none"})}),(0,c.jsx)("div",{className:"mdc-checkbox__mixedmark"})]})]})}),!f&&v,f&&(0,c.jsxs)("div",{className:"mdc-checkbox__content",children:[v,(0,c.jsx)("div",{className:"mdc-checkbox__description",children:f})]})]})}Checkbox.propTypes={onChange:r().func.isRequired,onKeyDown:r().func,id:r().string.isRequired,name:r().string.isRequired,value:r().string.isRequired,checked:r().bool,disabled:r().bool,children:r().node.isRequired,tabIndex:r().oneOfType([r().number,r().string]),loading:r().bool,alignLeft:r().bool,description:r().node,badge:r().node},Checkbox.defaultProps={checked:!1,disabled:!1,tabIndex:void 0,onKeyDown:null,loading:!1,alignLeft:!1,description:""}},33052:(e,t,i)=>{i.d(t,{A:()=>Typography});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(8513),l=i(62540);function Typography({className:e,type:t,size:i,as:n="span",children:o,...s}){return(0,l.jsx)(n,{className:r()("googlesitekit-typography",e,{[`googlesitekit-typography--${t}`]:t&&a.tT.includes(t),[`googlesitekit-typography--${i}`]:i&&a.oJ.includes(i)}),...s,children:o})}Typography.propTypes={className:o().string,type:o().oneOf(a.tT),size:o().oneOf(a.oJ),as:o().oneOfType([o().string,o().elementType])}},37133:(e,t,i)=>{i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=i(63696);const __WEBPACK_DEFAULT_EXPORT__=function(e,t){const[o,s]=(0,n.useState)(null);return(0,n.useEffect)(()=>{if(e.current&&"function"==typeof i.g.IntersectionObserver){function n(e){s(e[e.length-1])}const o=new i.g.IntersectionObserver(n,t);return o.observe(e.current),()=>{s(null),o.disconnect()}}return()=>{}},[e.current,t.threshold,t.root,t.rootMargin]),o}},37467:(e,t,i)=>{i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=i(63696),o=i(82286),s=i(51568);const __WEBPACK_DEFAULT_EXPORT__=function(e,t,r=i.g){const[a,l]=(0,n.useState)((0,o.d)(r.location.href,e)||t);return[a,function(t){l(t);const i=(0,s.F)(r.location.href,{[e]:t});r.history.replaceState(null,"",i)}]}},37834:(e,t,i)=>{i.d(t,{A:()=>Notifications});var n=i(62688),o=i.n(n),s=i(50539),r=i(62659),a=i(8732),l=i(84730),c=i(50532),d=i.n(c),g=i(67438),u=i(62540);const h=d()(e=>({id:e,Notification:p(e)(g.A)}));function p(e){return t=>{function WithNotificationID(i){return(0,u.jsx)(t,{...i,id:e})}return WithNotificationID.displayName="WithNotificationID",(t.displayName||t.name)&&(WithNotificationID.displayName+=`(${t.displayName||t.name})`),WithNotificationID}}function Notifications({areaSlug:e,groupID:t=l.He.DEFAULT}){const i=(0,r.A)(),n=(0,s.useSelect)(e=>e(a.D).getQueuedNotifications(i,t));if(void 0===n?.[0]||n?.[0]?.areaSlug!==e)return null;const{id:o,Component:c}=n[0],d={...h(o)};return(0,u.jsx)(c,{...d})}Notifications.propTypes={viewContext:o().string,areaSlug:o().string}},38017:(e,t,i)=>{i.d(t,{A:()=>l});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(62540);function ChangeArrow({direction:e,invertColor:t,width:i,height:n}){return(0,a.jsx)("svg",{className:r()("googlesitekit-change-arrow",`googlesitekit-change-arrow--${e}`,{"googlesitekit-change-arrow--inverted-color":t}),width:i,height:n,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"})})}ChangeArrow.propTypes={direction:o().string,invertColor:o().bool,width:o().number,height:o().number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9};const l=ChangeArrow},38432:(e,t,i)=>{i.d(t,{A:()=>M});var n,o=i(4452),s=i.n(o),r=i(62688),a=i.n(r),l=i(39941),c=i(63696),d=i(82871);function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},g.apply(null,arguments)}const u=e=>c.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 13"},e),n||(n=c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("circle",{cx:6.5,cy:6.5,r:6.5,fill:"currentColor"}),c.createElement("path",{fill:"#FFF",d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 0 0 .325.79.46.46 0 0 0 .325-.135l3.037-3.038a.46.46 0 0 0 0-.65L7.015 3.135a.46.46 0 0 0-.65.65L8.61 6.039H3.461a.46.46 0 0 0-.461.46c0 .254.207.462.461.462z"}),".")));var h;function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},p.apply(null,arguments)}const m=e=>c.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 13"},e),h||(h=c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("circle",{cx:6.5,cy:6.5,r:6.5,fill:"#FFF"}),c.createElement("path",{fill:"currentColor",d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 0 0 .325.79.46.46 0 0 0 .325-.135l3.037-3.038a.46.46 0 0 0 0-.65L7.015 3.135a.46.46 0 0 0-.65.65L8.61 6.039H3.461a.46.46 0 0 0-.461.46c0 .254.207.462.461.462z"}),".")));var f;function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},k.apply(null,arguments)}const v=e=>c.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},e),f||(f=c.createElement("path",{d:"m12 20-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6z"})));var y=i(83366),_=i(50304),x=i(62540);const b="BUTTON",j="BUTTON_DISABLED",S="EXTERNAL_LINK",A="LINK",N="ROUTER_LINK",w=(0,c.forwardRef)((e,t)=>{const{"aria-label":i,secondary:n=!1,arrow:o=!1,back:r=!1,caps:a=!1,children:c,className:g="",danger:h=!1,disabled:p=!1,external:f=!1,hideExternalIndicator:k=!1,href:w="",inverse:M=!1,noFlex:C=!1,onClick:I,small:E=!1,standalone:T=!1,linkButton:R=!1,to:D,leadingIcon:L,trailingIcon:z,...O}=e;const P=w||D||!I?D?N:f?S:A:p?j:b;const q=P===b||P===j?"button":P===N?l.N_:"a",B=function(){let e;return P===S&&(e=(0,d._x)("(opens in a new tab)","screen reader text","google-site-kit")),P===j&&(e=(0,d._x)("(disabled)","screen reader text","google-site-kit")),e?i?`${i} ${e}`:"string"==typeof c?`${c} ${e}`:void 0:i}();let F=L,H=z;return r&&(F=(0,x.jsx)(v,{width:14,height:14})),f&&!k&&(H=(0,x.jsx)(y.A,{width:14,height:14})),o&&!M&&(H=(0,x.jsx)(u,{width:14,height:14})),o&&M&&(H=(0,x.jsx)(m,{width:14,height:14})),(0,x.jsxs)(q,{"aria-label":B,className:s()("googlesitekit-cta-link",g,{"googlesitekit-cta-link--secondary":n,"googlesitekit-cta-link--inverse":M,"googlesitekit-cta-link--small":E,"googlesitekit-cta-link--caps":a,"googlesitekit-cta-link--danger":h,"googlesitekit-cta-link--disabled":p,"googlesitekit-cta-link--standalone":T,"googlesitekit-cta-link--link-button":R,"googlesitekit-cta-link--no-flex":!!C}),disabled:p,href:P!==A&&P!==S||p?void 0:w,onClick:I,rel:P===S?"noopener noreferrer":void 0,ref:t,target:P===S?"_blank":void 0,to:D,...O,children:[!!F&&(0,x.jsx)(_.A,{marginRight:5,children:F}),(0,x.jsx)("span",{className:"googlesitekit-cta-link__contents",children:c}),!!H&&(0,x.jsx)(_.A,{marginLeft:5,children:H})]})});w.propTypes={arrow:a().bool,back:a().bool,caps:a().bool,children:a().node,className:a().string,danger:a().bool,disabled:a().bool,external:a().bool,hideExternalIndicator:a().bool,href:a().string,inverse:a().bool,leadingIcon:a().node,linkButton:a().bool,noFlex:a().bool,onClick:a().func,small:a().bool,standalone:a().bool,to:a().string,trailingIcon:a().node};const M=w},40194:(e,t,i)=>{i.d(t,{G:()=>f});var n=i(50539),o=i(88273),s=i(97345),r=i(8732),a=i(84730),l=i(22942),c=i(20697),d=i(62659),g=i(4124),u=i(82871);function h(e,t,i){return e?{slug:"dashboard-sharing",target:".googlesitekit-header",floaterProps:{target:".googlesitekit-view-only-menu"},title:(0,u.__)("Get instant access to insights, no setup","google-site-kit"),content:t?(0,u.__)("See what’s been shared with you here, or sign in with Google to configure services and sharing access","google-site-kit"):(0,u.__)("Site admins have shared the dashboard with you, so you can keep track of how your site is doing. See what’s been shared with you here.","google-site-kit"),offset:0,spotlightPadding:0,placement:"bottom"}:{slug:"dashboard-sharing",target:".googlesitekit-header",floaterProps:{target:i?".googlesitekit-sharing-settings__button svg":".googlesitekit-sharing-settings__button"},title:(0,u.__)("Share insights with your team","google-site-kit"),content:(0,u.__)("Give access to your teammates or clients to view the dashboard instantly, no setup required. You control who sees what.","google-site-kit"),offset:0,spotlightPadding:0,placement:"bottom"}}function p({isViewOnly:e,canAuthenticate:t,isAnalyticsConnected:i,isActivateAnalyticsNotificationPresent:n,windowHeight:o}){if(!i){const i=[{target:".googlesitekit-widget--searchFunnelGA4",floaterProps:{target:"number"==typeof o&&o<930?".googlesitekit-widget--searchFunnelGA4 .googlesitekit-chart":".googlesitekit-widget--searchFunnelGA4 .googlesitekit-widget__body"},title:(0,u.__)("Track Search traffic trends, identify baselines","google-site-kit"),content:(0,u.__)("Know what’s normal for your site. This is how you spot trends and measure real growth.","google-site-kit"),offset:0,spotlightPadding:0,placement:"top"},{target:".googlesitekit-widget--searchConsolePopularKeywords",floaterProps:{target:".googlesitekit-widget--searchConsolePopularKeywords .googlesitekit-table__wrapper"},title:(0,u.__)("Track how your site is doing on Search","google-site-kit"),content:(0,u.__)("Know what’s driving growth and bringing your site more visitors","google-site-kit"),offset:0,spotlightPadding:0,placement:"top"},h(e,t,!1)];return!e&&n&&i.push({slug:"activate-analytics",target:"#activate-analytics-notification",floaterProps:{target:"#activate-analytics-notification .googlesitekit-banner__cta"},title:(0,u.__)("Want to know what people do once they land on your site?","google-site-kit"),content:(0,u.__)("Get insights on how visitors navigate your site and help you achieve your goals by connecting Analytics","google-site-kit"),offset:0,spotlightPadding:0,placement:"bottom"}),{slug:"welcome-without-analytics",isRepeatable:!0,contexts:[c.jU,c.Ax],gaEventCategory:e=>`${e}_dashboard-tour-sc`,steps:i}}return{slug:"welcome-with-analytics",isRepeatable:!0,contexts:[c.jU,c.Ax],gaEventCategory:e=>`${e}_dashboard-tour-ga4`,steps:[{target:".googlesitekit-widget-area--mainDashboardKeyMetricsPrimary",floaterProps:{target:".googlesitekit-km-change-metrics-cta"},title:(0,u.__)("Your goals, measured and clear","google-site-kit"),content:(0,u.__)("These Key Metrics show you exactly how your site is performing against the goals you set. Watch these numbers to see what’s working and what’s not.","google-site-kit"),offset:-3,spotlightPadding:4,placement:"top-end"},{target:".googlesitekit-widget--analyticsAllTrafficGA4",floaterProps:{target:".googlesitekit-widget--analyticsAllTraffic__user-count-chart"},title:(0,u.__)("Track traffic trends, identify baselines","google-site-kit"),content:(0,u.__)("Know what’s normal for your site. This is how you spot trends and measure real growth.","google-site-kit"),offset:35,spotlightPadding:0,placement:"top"},{target:".googlesitekit-widget-area--mainDashboardTrafficAudienceSegmentation",floaterProps:{target:".googlesitekit-widget-audience-tiles__body .googlesitekit-widget--analyticsAudienceTiles:last-child .googlesitekit-audience-segmentation-tile__header-title"},title:(0,u.__)("Get to know your site visitors","google-site-kit"),content:(0,u.__)("Not all visitors are the same, tailor your strategy based on who you want to attract","google-site-kit"),offset:14,spotlightPadding:4,placement:"top"},{target:".googlesitekit-widget--analyticsModulePopularPagesGA4",floaterProps:{target:".googlesitekit-table__head-item--pageviews .googlesitekit-table__head-item-title"},title:(0,u.__)("Discover your most popular and engaging content","google-site-kit"),content:(0,u.__)("Find out what your audience loves and double down on what resonates most","google-site-kit"),offset:25,spotlightPadding:0,placement:"top"},h(e,t,!0)]}}var m=i(24355);function f(){const e=(0,g.A)(),t=(0,d.A)(),i=(0,m.xJ)();return p({isViewOnly:e,canAuthenticate:(0,n.useSelect)(e=>e(s.oR).hasCapability(s.ej)),isAnalyticsConnected:!!(0,n.useSelect)(e=>e(o.i).isModuleConnected(l.L1)),isActivateAnalyticsNotificationPresent:(0,n.useSelect)(e=>{if(t!==c.jU)return!1;const i=e(r.D).getQueuedNotifications(c.jU,a.He.DEFAULT);return"activate-analytics-notification"===i?.[0]?.id}),windowHeight:i})}},41671:(e,t,i)=>{i.d(t,{A:()=>l});var n=i(62688),o=i.n(n),s=i(82871),r=i(38432),a=i(97015);const LearnMoreLink=({className:e,external:t=!0,href:i,label:n=(0,s.__)("Learn more","google-site-kit"),onClick:o=()=>{}})=>i?a.createElement(r.A,{href:i,className:e,onClick:o,external:t},n):null;LearnMoreLink.propTypes={href:o().string.isRequired,className:o().string,label:o().string,external:o().bool,onClick:o().func};const l=LearnMoreLink},42343:(e,t,i)=>{i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),n||(n=o.createElement("path",{fill:"currentColor",d:"m5.825 22 2.325-7.6L2 10h7.6L12 2l2.4 8H22l-6.15 4.4 2.325 7.6L12 17.3z"})))},44148:(e,t,i)=>{i.d(t,{A:()=>f});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(63696),l=i(13606),c=i(82871),d=i(38432),g=i(13047),u=i(4124),h=i(62659),p=i(92449);var m=i(97015);function SourceLink({name:e="",href:t="",className:i="",external:n=!1}){const o=(0,h.A)(),s=(0,u.A)(),f=(0,a.useContext)(p.Ay),k=(0,a.useCallback)(()=>{f.slug&&o&&(0,g.sx)(`${o}_widget`,"click_source_link",f.slug)},[o,f]);return s?null:m.createElement("div",{className:r()("googlesitekit-source-link",i)},(0,l.A)((0,c.sprintf)(/* translators: %s: source link */ /* translators: %s: source link */ (0,c.__)("Source: %s","google-site-kit"),`<a>${e}</a>`),{a:m.createElement(d.A,{key:"link",href:t,external:n,onClick:k})}))}SourceLink.propTypes={name:o().string,href:o().string,className:o().string,external:o().bool};const f=SourceLink},44436:(e,t,i)=>{i.d(t,{A:()=>g});var n,o=i(82871),s=i(88933),r=i(63696);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},a.apply(null,arguments)}const l=e=>r.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 80 21"},e),n||(n=r.createElement("path",{fill:"#5F6368",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.1zM69.985 3.117c0 .454-.167.853-.488 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.6 1.6 0 0 1-.488-1.175c0-.466.166-.854.488-1.176s.71-.488 1.175-.488c.455 0 .854.166 1.176.488.332.333.487.72.487 1.176m-.477 4.313v12.498h-2.351V7.43zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943q-1.014-.948-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.333M2.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.974q-.883-.781-3.094-1.564l-1.22-.432Q3.371 9.997 2.04 8.716C1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673S2.75 1.209 3.693.72C4.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.676-.91 1.032-.91 1.742c0 .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 6 0 0 1-2.495 1.919 8 8 0 0 1-3.116.621c-1.62 0-3.072-.466-4.358-1.408M15.969 3.449a1.95 1.95 0 0 1-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0 1 17.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 0 1-1.43.589c-.566-.012-1.043-.2-1.431-.588m-.067 2.595h2.994v13.883h-2.994zM25.406 19.85c-.544-.2-.987-.466-1.331-.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-.122q.35-.116.765-.399v2.917c-.599.277-1.32.41-2.173.41a5 5 0 0 1-1.753-.3M33.623 19.407a6.63 6.63 0 0 1-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.706s2.251-1.01 3.593-1.01c1.397 0 2.606.311 3.637.921a6.1 6.1 0 0 1 2.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.16 4.16 0 0 0 2.817 1.043c.854 0 1.597-.189 2.218-.588a4.27 4.27 0 0 0 1.508-1.597l2.528 1.198q-.981 1.713-2.561 2.694c-1.054.655-2.318.976-3.782.976q-2.046.033-3.66-.931m7.23-8.051a3.3 3.3 0 0 0-.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.296z"})));var c=i(55989),d=i(62540);const g=function Logo(){return(0,d.jsxs)("div",{className:"googlesitekit-logo","aria-hidden":"true",children:[(0,d.jsx)(s.A,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),(0,d.jsx)(l,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),(0,d.jsx)(c.A,{children:(0,o.__)("Site Kit by Google Logo","google-site-kit")})]})}},45257:(e,t,i)=>{i.d(t,{A:()=>LoadingWrapper});var n=i(62688),o=i.n(n),s=i(4751),r=i(62540);function LoadingWrapper({loading:e,children:t,...i}){return e?(0,r.jsx)(s.A,{...i}):t}LoadingWrapper.propTypes={loading:o().bool,children:o().node,...s.A.propTypes}},46467:(e,t,i)=>{i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o,s,r=i(63696);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},a.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>r.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),n||(n=r.createElement("rect",{width:18,height:12,x:3,y:6,stroke:"currentColor",strokeWidth:1.5,rx:2})),o||(o=r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m3.566 7.5 7.086 7.086a2 2 0 0 0 2.829 0l7.019-7.02"})),s||(s=r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.5,d:"M20.246 17.5 15.5 12.754M4 17.5l4.746-4.746"})))},46718:(e,t,i)=>{var n=i(131),o=i(78325),s=i(49993),r=i(63081),a=i(50539),l=i(29785),c=i(97345),d=i(63696),g=i(51568),u=i(82286),h=i(82871),p=i(13047),m=i(75662),f=i(10740),k=i(88273),v=i(70301);const y="connect-analytics-setup-splash",_="analytics-setup-opt-in",x="shared_dashboard_splash";var b=i(22942),j=i(62659),S=i(82624),A=i(78307),N=i(88288),w=i(31675),M=i(30805),C=i(62540);function Header_Header(){const e=(0,M.i)("setupFlowRefresh"),t=(0,j.A)();return(0,C.jsx)(S.A,{subHeader:e?(0,C.jsx)(N.A,{}):null,children:e?(0,C.jsx)(w.A,{gaTrackingEventArgs:{category:t,label:"splash"}}):(0,C.jsx)(A.A,{})})}var I,E,T,R,D,L,z,O,P,q,B,F,H,U,G,V,W,Z,Y,$,Q,K,X,J=i(86751),ee=i(62688),te=i.n(ee),ie=i(13606),ne=i(49383),oe=i(11999);function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},se.apply(null,arguments)}const re=e=>d.createElement("svg",se({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 378 196"},e),I||(I=d.createElement("g",{filter:"url(#analytics-setup-sidekick_svg__a)"},d.createElement("rect",{width:148,height:122,x:135,y:2,fill:"#fff",rx:3.976}))),E||(E=d.createElement("path",{fill:"#202124",d:"M147.754 25.902v-7.98h1.939l2.118 5.607h.089l2.118-5.606h1.95v7.98h-1.494v-3.935l.09-1.326h-.09l-2.028 5.26h-1.17l-2.04-5.26h-.089l.089 1.326v3.934zm12.456.179q-.892 0-1.583-.39a2.93 2.93 0 0 1-1.07-1.081 3.16 3.16 0 0 1-.379-1.55 3.1 3.1 0 0 1 .379-1.537q.39-.692 1.07-1.082.691-.4 1.583-.4.891 0 1.571.4a2.85 2.85 0 0 1 1.059 1.082q.39.68.39 1.537 0 .859-.39 1.55a2.85 2.85 0 0 1-1.059 1.08q-.68.39-1.571.39Zm0-1.36q.423 0 .769-.19a1.5 1.5 0 0 0 .568-.568q.223-.378.223-.903 0-.524-.223-.891a1.5 1.5 0 0 0-.568-.569 1.5 1.5 0 0 0-.769-.2 1.6 1.6 0 0 0-.781.2 1.6 1.6 0 0 0-.579.569q-.212.367-.212.891t.212.903q.223.368.579.569.369.189.781.189m6.244 1.36q-.735 0-1.259-.212a2.4 2.4 0 0 1-.836-.557 2.3 2.3 0 0 1-.479-.758l1.304-.569q.368.814 1.27.814.357 0 .647-.111a.44.44 0 0 0 .29-.435.41.41 0 0 0-.156-.346.9.9 0 0 0-.368-.2 3 3 0 0 0-.457-.123l-.669-.145a2.5 2.5 0 0 1-.78-.312 2 2 0 0 1-.602-.58 1.5 1.5 0 0 1-.223-.813q0-.513.29-.891.301-.38.803-.591a2.9 2.9 0 0 1 1.125-.212q.847 0 1.449.301.601.3.903.936l-1.249.546a1 1 0 0 0-.468-.468 1.4 1.4 0 0 0-.601-.133q-.38 0-.602.144-.223.145-.223.346 0 .212.223.368.222.156.535.234l.836.2q.846.201 1.27.647.435.446.435 1.07 0 .557-.323.98-.324.412-.87.647a3.2 3.2 0 0 1-1.215.223m5.885-.09q-.88 0-1.382-.501-.501-.513-.502-1.404v-2.62h-.991V20.22h.991v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351q0 .39.168.602.167.2.557.2a.9.9 0 0 0 .368-.066 3 3 0 0 0 .345-.178v1.426a2.7 2.7 0 0 1-1.014.19Zm4.751 2.319v-8.091h1.371v.69h.089q.212-.334.647-.601.446-.268 1.058-.268.781 0 1.394.39.624.38.98 1.059.368.68.368 1.571 0 .893-.368 1.572-.356.68-.98 1.07a2.6 2.6 0 0 1-1.394.379q-.612 0-1.058-.257-.435-.267-.647-.602h-.089l.089.803v2.285zm2.909-3.578a1.48 1.48 0 0 0 1.326-.791 1.7 1.7 0 0 0 .223-.88q0-.513-.223-.881a1.5 1.5 0 0 0-.568-.568 1.46 1.46 0 0 0-1.516 0q-.345.2-.568.58a1.7 1.7 0 0 0-.212.868q0 .502.212.88.222.37.568.58.357.212.758.212m6.842 1.349q-.89 0-1.582-.39a2.93 2.93 0 0 1-1.07-1.081 3.16 3.16 0 0 1-.379-1.55 3.1 3.1 0 0 1 .379-1.537q.39-.692 1.07-1.082.691-.4 1.582-.4t1.572.4a2.85 2.85 0 0 1 1.059 1.082q.39.68.39 1.537 0 .859-.39 1.55a2.85 2.85 0 0 1-1.059 1.08q-.68.39-1.572.39Zm0-1.36q.424 0 .769-.19a1.5 1.5 0 0 0 .569-.568q.222-.378.223-.903 0-.524-.223-.891a1.5 1.5 0 0 0-.569-.569 1.6 1.6 0 0 0-1.549 0 1.6 1.6 0 0 0-.579.569q-.212.367-.212.891t.212.903q.223.368.579.569.367.189.78.189m4.039 3.589v-8.091h1.37v.69h.09q.211-.334.646-.601.446-.268 1.059-.268.78 0 1.393.39.624.38.981 1.059.367.68.367 1.571 0 .893-.367 1.572-.357.68-.981 1.07a2.6 2.6 0 0 1-1.393.379q-.613 0-1.059-.257-.435-.267-.646-.602h-.09l.09.803v2.285zm2.908-3.578a1.48 1.48 0 0 0 1.327-.791 1.7 1.7 0 0 0 .223-.88q0-.513-.223-.881a1.5 1.5 0 0 0-.569-.568 1.46 1.46 0 0 0-1.515 0 1.57 1.57 0 0 0-.569.58 1.7 1.7 0 0 0-.212.868q0 .502.212.88.223.37.569.58.356.212.757.212m6.12 1.349q-1.049 0-1.572-.647-.524-.646-.524-1.76v-3.455h1.46v3.276q0 .58.279.914a.94.94 0 0 0 .736.323q.646 0 1.003-.468t.356-1.148V20.22h1.46v5.683h-1.371v-.713h-.089a1.83 1.83 0 0 1-.724.658 2.2 2.2 0 0 1-1.014.234Zm4.632-.179v-7.98H206v7.98zm4.579.179q-.603 0-1.07-.234a1.9 1.9 0 0 1-.725-.68 1.9 1.9 0 0 1-.267-1.003q0-.591.301-1.014.312-.424.825-.658a2.8 2.8 0 0 1 1.159-.234q.524 0 .902.09.38.077.602.166v-.245a.93.93 0 0 0-.345-.746q-.346-.301-.948-.301a1.7 1.7 0 0 0-.78.189 1.8 1.8 0 0 0-.613.48l-.936-.736q.412-.536 1.037-.825a3.2 3.2 0 0 1 1.359-.29q1.304 0 1.984.602t.68 1.76v3.5h-1.438v-.58h-.089a1.96 1.96 0 0 1-.646.536q-.402.223-.992.223m.345-1.137q.445 0 .747-.19.312-.2.468-.512.167-.312.167-.658a2.3 2.3 0 0 0-.557-.19 2.6 2.6 0 0 0-.635-.077q-.646 0-.892.245a.82.82 0 0 0-.245.602q0 .334.234.557.245.223.713.223m4.163.958V20.22h1.371v.757h.089a1.76 1.76 0 0 1 .647-.657 1.9 1.9 0 0 1 .991-.268q.223 0 .402.034.179.033.312.089v1.46a4 4 0 0 0-.468-.145 1.7 1.7 0 0 0-.48-.067q-.657 0-1.036.48-.368.479-.368 1.17v2.83zm-63.399 16.179q-.869 0-1.549-.38a2.9 2.9 0 0 1-1.059-1.07q-.378-.69-.378-1.57t.378-1.56a2.87 2.87 0 0 1 1.059-1.07q.68-.39 1.549-.39.948 0 1.627.4.681.401.981 1.16l-1.337.557a1.2 1.2 0 0 0-.502-.569 1.5 1.5 0 0 0-.769-.19q-.647 0-1.092.458-.435.445-.435 1.203 0 .77.435 1.226.445.447 1.092.446.49 0 .814-.212.323-.223.524-.601l1.304.58a2.7 2.7 0 0 1-1.015 1.147q-.68.435-1.627.435m6.379 0q-.892 0-1.582-.39a2.9 2.9 0 0 1-1.07-1.081 3.16 3.16 0 0 1-.379-1.55 3.1 3.1 0 0 1 .379-1.538q.39-.69 1.07-1.08.69-.402 1.582-.402.891 0 1.571.401a2.84 2.84 0 0 1 1.059 1.081q.39.68.39 1.538a3.1 3.1 0 0 1-.39 1.55 2.84 2.84 0 0 1-1.059 1.08q-.68.39-1.571.39Zm0-1.36q.423 0 .769-.19.357-.2.568-.568.223-.378.223-.903 0-.523-.223-.891a1.5 1.5 0 0 0-.568-.569 1.6 1.6 0 0 0-1.549 0 1.6 1.6 0 0 0-.58.569q-.211.367-.211.891t.211.903q.223.368.58.569.367.189.78.189m4.029 1.181V36.22h1.37v.713h.089q.257-.412.725-.647.468-.245 1.014-.245 1.047 0 1.571.636.524.635.524 1.694v3.532h-1.46v-3.354q0-.558-.289-.847-.28-.3-.769-.301-.613 0-.97.468-.346.467-.346 1.137v2.897h-1.459Zm8.862.09q-.88 0-1.382-.502-.501-.513-.501-1.404v-2.62h-.992V36.22h.992v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351q0 .39.167.602.167.2.557.2a.9.9 0 0 0 .368-.066 3 3 0 0 0 .345-.178v1.426a2.7 2.7 0 0 1-1.014.19Zm4.652.089q-.858 0-1.538-.39a2.87 2.87 0 0 1-1.059-1.07 3.13 3.13 0 0 1-.379-1.55q0-.813.379-1.504.379-.69 1.037-1.103.657-.424 1.504-.424.914 0 1.538.39t.947 1.048q.324.645.324 1.438 0 .178-.011.312a2 2 0 0 1-.023.178h-4.257q.1.67.535 1.025.434.357 1.025.357.524 0 .881-.223a1.74 1.74 0 0 0 .557-.58l1.181.58q-.4.703-1.047 1.114-.647.402-1.594.402m-.045-4.848q-.501 0-.891.3a1.58 1.58 0 0 0-.546.837h2.83a1.1 1.1 0 0 0-.189-.513 1.34 1.34 0 0 0-.468-.446 1.4 1.4 0 0 0-.736-.178m3.922 4.67v-5.684h1.371v.713h.089q.257-.412.725-.647.468-.245 1.014-.245 1.047 0 1.571.636.524.635.524 1.694v3.532h-1.46v-3.354q0-.558-.29-.847-.278-.3-.769-.301-.612 0-.969.468-.346.467-.346 1.137v2.897zm8.863.089q-.88 0-1.382-.502-.501-.513-.501-1.404v-2.62h-.992V36.22h.992v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351q0 .39.167.602.167.2.557.2a.9.9 0 0 0 .368-.066 3 3 0 0 0 .345-.178v1.426a2.7 2.7 0 0 1-1.014.19Z"})),T||(T=d.createElement("path",{fill:"#C7C7C7",d:"M149.749 64.817h-.742v-4.92l-1.488.546v-.67l2.115-.794h.115zm1.381 15h-3.807v-.53l2.011-2.236q.447-.507.615-.822.172-.32.172-.658 0-.455-.276-.746-.275-.292-.734-.292-.55 0-.858.316-.303.31-.303.87h-.739q0-.803.515-1.297.52-.495 1.385-.495.81 0 1.281.427.471.422.471 1.13 0 .857-1.094 2.042l-1.556 1.688h2.917zm-2.733 11.736h.554q.523-.008.822-.276.3-.267.3-.722 0-1.022-1.018-1.022-.479 0-.766.276-.283.27-.283.722h-.739q0-.69.503-1.145.507-.46 1.285-.46.822 0 1.289.436.467.435.467 1.209 0 .379-.247.734a1.48 1.48 0 0 1-.667.53q.478.153.738.504.264.351.264.858 0 .782-.511 1.24-.512.46-1.329.46-.818 0-1.333-.443-.51-.443-.511-1.17h.743q0 .459.299.735.3.275.802.275.535 0 .818-.28.284-.278.284-.801 0-.507-.312-.778-.311-.272-.898-.28h-.554zm2.043 16.312h.806v.603h-.806v1.349h-.742v-1.349h-2.646v-.435l2.602-4.026h.786zm-2.55 0h1.808v-2.849l-.088.16z"})),R||(R=d.createElement("path",{fill:"#C7C7C7",d:"M149 62.227c0-1.23 1.104-2.227 2.465-2.227h51.464c1.362 0 2.465.997 2.465 2.227s-1.103 2.227-2.465 2.227h-51.464c-1.361 0-2.465-.997-2.465-2.227m0 14.849c0-1.23 1.104-2.227 2.465-2.227h80.07c1.361 0 2.465.997 2.465 2.227s-1.104 2.227-2.465 2.227h-80.07c-1.361 0-2.465-.997-2.465-2.227m0 14.848c0-1.23 1.104-2.227 2.465-2.227h44.109c1.361 0 2.464.997 2.464 2.227s-1.103 2.227-2.464 2.227h-44.109c-1.361 0-2.465-.997-2.465-2.227m0 14.849c0-1.23 1.104-2.228 2.465-2.228h59.637c1.362 0 2.465.998 2.465 2.228S212.464 109 211.102 109h-59.637c-1.361 0-2.465-.997-2.465-2.227"})),D||(D=d.createElement("g",{filter:"url(#analytics-setup-sidekick_svg__b)"},d.createElement("rect",{width:148,height:122,x:4,y:52,fill:"#fff",rx:3.976}))),L||(L=d.createElement("path",{fill:"#202124",d:"M19.707 75.08q-.936 0-1.638-.4a2.8 2.8 0 0 1-1.08-1.149q-.38-.758-.38-1.805v-4.803h1.494v4.892q0 .792.4 1.315.414.524 1.204.524.791 0 1.193-.524.412-.523.412-1.315v-4.892h1.494v4.803q0 .992-.38 1.75a2.83 2.83 0 0 1-1.069 1.181q-.69.424-1.65.424Zm4.585-.178V69.22h1.37v.713h.09q.256-.412.724-.647.468-.245 1.014-.245 1.049 0 1.572.635.523.636.523 1.695v3.532h-1.46v-3.354q0-.558-.29-.847-.277-.3-.768-.301-.613 0-.97.468-.345.467-.345 1.137v2.897zm7.496-6.308a.91.91 0 0 1-.669-.278.91.91 0 0 1-.278-.669q0-.39.278-.657a.91.91 0 0 1 .669-.279q.39 0 .658.279a.88.88 0 0 1 .278.657q0 .39-.278.669a.88.88 0 0 1-.658.278m-.736 6.308V69.22h1.46v5.683zm7.072 2.408v-2.285l.089-.803h-.09q-.21.335-.645.602-.435.257-1.06.257-.78 0-1.404-.38a2.8 2.8 0 0 1-.991-1.07q-.357-.679-.357-1.57 0-.892.357-1.572a2.73 2.73 0 0 1 .991-1.059 2.6 2.6 0 0 1 1.405-.39q.624 0 1.059.268t.646.601h.089v-.69h1.36v8.09h-1.45Zm-1.46-3.578q.412 0 .758-.212.357-.21.568-.58.223-.378.223-.88a1.64 1.64 0 0 0-.223-.869 1.47 1.47 0 0 0-.568-.58 1.46 1.46 0 0 0-1.516 0q-.346.201-.568.569a1.74 1.74 0 0 0-.212.88q0 .502.212.88.222.38.568.591.356.201.758.201m6.352 1.349q-1.047 0-1.572-.647-.523-.646-.523-1.76v-3.455h1.46v3.276q0 .58.278.914a.95.95 0 0 0 .736.323q.645 0 1.003-.468t.356-1.148V69.22h1.46v5.683h-1.37v-.713h-.09a1.83 1.83 0 0 1-.724.658 2.2 2.2 0 0 1-1.014.234Zm7.23 0q-.858 0-1.538-.39a2.87 2.87 0 0 1-1.059-1.07q-.379-.68-.379-1.55 0-.813.38-1.504.378-.69 1.036-1.103.657-.424 1.504-.424.915 0 1.538.39.624.39.947 1.048.324.645.324 1.438 0 .177-.011.312a2 2 0 0 1-.023.178h-4.257q.1.669.535 1.025.434.357 1.025.357.525 0 .88-.223.357-.234.558-.58l1.181.58q-.4.703-1.047 1.114-.647.402-1.594.402m-.045-4.848q-.501 0-.891.3a1.58 1.58 0 0 0-.546.837h2.83a1.1 1.1 0 0 0-.189-.513 1.35 1.35 0 0 0-.468-.446 1.4 1.4 0 0 0-.736-.178m8.306 4.67L56.1 69.218h1.66l1.438 3.7h.09l1.46-3.7h1.638l-2.43 5.683h-1.449Zm5.496-6.309a.91.91 0 0 1-.669-.278.91.91 0 0 1-.278-.669q0-.39.279-.657a.91.91 0 0 1 .668-.279q.39 0 .658.279a.88.88 0 0 1 .278.657q0 .39-.278.669a.88.88 0 0 1-.658.278m-.735 6.308V69.22h1.46v5.683zm5.142.179q-.735 0-1.26-.212a2.36 2.36 0 0 1-.836-.557 2.3 2.3 0 0 1-.479-.758l1.304-.569q.368.814 1.27.814.357 0 .647-.111a.44.44 0 0 0 .29-.435.41.41 0 0 0-.156-.346.9.9 0 0 0-.368-.2 3 3 0 0 0-.457-.123l-.669-.145a2.5 2.5 0 0 1-.78-.312 2 2 0 0 1-.602-.58 1.5 1.5 0 0 1-.222-.813q0-.512.29-.891.3-.38.802-.591a2.9 2.9 0 0 1 1.125-.212q.847 0 1.45.301.6.3.902.936l-1.248.546a1.02 1.02 0 0 0-.468-.468 1.4 1.4 0 0 0-.602-.133q-.379 0-.602.145-.223.144-.223.345 0 .212.223.368t.535.234l.836.2q.846.201 1.27.647.435.446.435 1.07 0 .557-.323.98-.323.412-.87.647a3.2 3.2 0 0 1-1.214.223m4.235-6.487a.91.91 0 0 1-.669-.278.91.91 0 0 1-.279-.669q0-.39.279-.657a.91.91 0 0 1 .669-.279q.39 0 .657.279a.88.88 0 0 1 .279.657q0 .39-.279.669a.88.88 0 0 1-.657.278m-.736 6.308V69.22h1.46v5.683zm5.4.09q-.88 0-1.382-.502-.502-.513-.502-1.404v-2.62h-.992V69.22h.992v-1.605h1.46v1.605h1.393v1.248h-1.393v2.351q0 .39.167.602.168.2.558.2a.9.9 0 0 0 .368-.066 3 3 0 0 0 .345-.178v1.426q-.48.19-1.014.19Zm4.707.089q-.892 0-1.582-.39a2.93 2.93 0 0 1-1.07-1.081 3.17 3.17 0 0 1-.38-1.55q0-.858.38-1.538.39-.69 1.07-1.08.69-.402 1.582-.402t1.572.401q.68.402 1.058 1.081.39.68.39 1.538a3.1 3.1 0 0 1-.39 1.55 2.84 2.84 0 0 1-1.058 1.08q-.68.39-1.572.39Zm0-1.36q.423 0 .77-.19a1.5 1.5 0 0 0 .567-.568 1.75 1.75 0 0 0 .223-.903q0-.523-.222-.891a1.5 1.5 0 0 0-.569-.569 1.6 1.6 0 0 0-1.55 0 1.6 1.6 0 0 0-.579.569q-.21.368-.211.891 0 .524.212.903.222.368.58.569.366.189.78.189Zm4.029 1.181V69.22h1.37v.757h.09q.21-.39.646-.657a1.9 1.9 0 0 1 .992-.268q.222 0 .401.034.178.033.312.089v1.46a4 4 0 0 0-.468-.145 1.7 1.7 0 0 0-.48-.067q-.657 0-1.036.48-.367.478-.367 1.17v2.83h-1.46Zm6.7.179q-.735 0-1.26-.212a2.36 2.36 0 0 1-.835-.557 2.3 2.3 0 0 1-.48-.758l1.305-.569q.367.814 1.27.814.357 0 .646-.111a.44.44 0 0 0 .29-.435.41.41 0 0 0-.156-.346.9.9 0 0 0-.368-.2 3 3 0 0 0-.456-.123l-.67-.145a2.5 2.5 0 0 1-.78-.312 2 2 0 0 1-.601-.58 1.5 1.5 0 0 1-.223-.813q0-.512.29-.891.3-.38.802-.591a2.9 2.9 0 0 1 1.126-.212q.847 0 1.449.301.601.3.902.936l-1.248.546a1.02 1.02 0 0 0-.468-.468 1.4 1.4 0 0 0-.602-.133q-.378 0-.602.145-.222.144-.222.345 0 .212.222.368.223.156.535.234l.836.2q.847.201 1.27.647.435.446.435 1.07 0 .557-.323.98a2.16 2.16 0 0 1-.87.647 3.2 3.2 0 0 1-1.214.223M17.166 88.902v-4.435h-1.014v-1.248h1.014v-.313q0-.991.591-1.526.59-.546 1.505-.546.278 0 .524.033.245.033.4.09v1.426a5 5 0 0 0-.322-.112 1.2 1.2 0 0 0-.424-.067.85.85 0 0 0-.59.212q-.224.212-.224.58v.223h1.394v1.248h-1.393v4.435zm3.991 0V83.22h1.371v.757h.09q.21-.39.646-.657a1.9 1.9 0 0 1 .992-.268q.223 0 .4.034.18.033.313.089v1.46a4 4 0 0 0-.468-.145 1.7 1.7 0 0 0-.48-.067q-.657 0-1.036.48-.368.478-.368 1.17v2.83h-1.46Zm7.138.179q-.892 0-1.582-.39a2.9 2.9 0 0 1-1.07-1.081 3.17 3.17 0 0 1-.38-1.55q0-.858.38-1.538.39-.69 1.07-1.08.69-.402 1.582-.402t1.572.401q.68.402 1.058 1.081.39.68.39 1.538a3.1 3.1 0 0 1-.39 1.55 2.84 2.84 0 0 1-1.058 1.08q-.68.39-1.572.39Zm0-1.36q.424 0 .77-.19.355-.2.568-.568a1.75 1.75 0 0 0 .223-.903q0-.523-.223-.891a1.5 1.5 0 0 0-.569-.569 1.6 1.6 0 0 0-1.55 0 1.6 1.6 0 0 0-.578.569q-.212.368-.212.891 0 .524.212.903.222.368.58.569.366.189.78.189Zm4.029 1.181V83.22h1.37v.713h.09q.256-.401.702-.647a2.1 2.1 0 0 1 1.025-.245q.625 0 1.059.29.446.289.624.713.256-.412.724-.702.48-.3 1.182-.3.992 0 1.482.601.502.602.502 1.605v3.655h-1.45v-3.388q0-.546-.256-.824-.255-.29-.69-.29-.58 0-.915.457-.334.456-.334 1.181v2.864h-1.46v-3.388q0-.546-.267-.824-.256-.29-.736-.29-.546 0-.87.457-.322.456-.322 1.181v2.864zm14.917.179q-.735 0-1.26-.212a2.36 2.36 0 0 1-.835-.557 2.3 2.3 0 0 1-.48-.758l1.305-.569q.368.814 1.27.814a1.8 1.8 0 0 0 .647-.111.44.44 0 0 0 .29-.435.41.41 0 0 0-.157-.346.9.9 0 0 0-.367-.2 3 3 0 0 0-.457-.123l-.669-.145a2.5 2.5 0 0 1-.78-.312 2 2 0 0 1-.602-.58 1.5 1.5 0 0 1-.223-.813q0-.512.29-.891.3-.38.802-.591a2.9 2.9 0 0 1 1.126-.212q.847 0 1.449.301.602.3.902.936l-1.248.546a1.02 1.02 0 0 0-.468-.468 1.4 1.4 0 0 0-.602-.133q-.379 0-.601.145-.223.144-.223.345 0 .212.223.368t.535.234l.835.2q.848.201 1.27.647.435.446.435 1.07 0 .557-.323.98-.323.412-.869.647a3.2 3.2 0 0 1-1.215.223m6.183 0q-.858 0-1.538-.39a2.87 2.87 0 0 1-1.059-1.07q-.378-.68-.379-1.55 0-.813.38-1.504.378-.69 1.036-1.103.658-.424 1.504-.424.915 0 1.538.39.624.39.947 1.048.324.645.324 1.438 0 .177-.011.312a2 2 0 0 1-.023.178h-4.257q.1.669.535 1.025.435.357 1.025.357.525 0 .88-.223.357-.234.558-.58l1.181.58q-.4.703-1.047 1.114-.646.402-1.594.402m-.045-4.848q-.501 0-.891.3a1.58 1.58 0 0 0-.546.837h2.83a1.1 1.1 0 0 0-.189-.513 1.35 1.35 0 0 0-.468-.446 1.4 1.4 0 0 0-.736-.178m5.715 4.848a2.36 2.36 0 0 1-1.07-.234 1.9 1.9 0 0 1-.724-.68 1.88 1.88 0 0 1-.267-1.003q0-.591.3-1.014a2.07 2.07 0 0 1 .825-.658q.525-.234 1.16-.234.523 0 .902.09.379.077.602.166v-.245a.93.93 0 0 0-.346-.747q-.345-.3-.947-.3-.402 0-.78.189-.368.178-.613.48l-.936-.736a2.75 2.75 0 0 1 1.036-.825q.624-.29 1.36-.29 1.304 0 1.984.602t.68 1.76v3.5h-1.438v-.58h-.09a1.95 1.95 0 0 1-.646.536q-.4.222-.992.223m.346-1.137q.445 0 .747-.19.312-.2.468-.512.167-.312.167-.658a2.3 2.3 0 0 0-.558-.19 2.6 2.6 0 0 0-.635-.077q-.646 0-.891.245a.82.82 0 0 0-.245.602q0 .334.234.557.244.223.713.223m4.163.958V83.22h1.37v.757h.09q.211-.39.646-.657a1.9 1.9 0 0 1 .992-.268q.223 0 .401.034.18.033.312.089v1.46a4 4 0 0 0-.468-.145 1.7 1.7 0 0 0-.479-.067q-.657 0-1.036.48-.368.478-.368 1.17v2.83h-1.46Zm7.093.179q-.87 0-1.549-.38a2.87 2.87 0 0 1-1.059-1.07q-.378-.69-.378-1.57 0-.882.379-1.56a2.86 2.86 0 0 1 1.058-1.07q.68-.39 1.55-.39.946 0 1.626.4.68.401.981 1.16l-1.337.557a1.2 1.2 0 0 0-.502-.569 1.5 1.5 0 0 0-.769-.19q-.646 0-1.092.458-.435.445-.434 1.203 0 .77.434 1.226.445.446 1.092.446.49 0 .814-.212.323-.223.524-.601l1.304.58a2.7 2.7 0 0 1-1.015 1.147q-.68.435-1.627.435m3.714-.179v-7.98h1.46v2.018l-.089.992h.09a1.8 1.8 0 0 1 .701-.635 2.1 2.1 0 0 1 1.026-.257q1.058 0 1.593.635.546.625.546 1.695v3.532h-1.46v-3.354q0-.558-.3-.847-.302-.3-.78-.301-.39 0-.692.223-.3.21-.468.58a1.94 1.94 0 0 0-.167.813v2.886z"})),z||(z=d.createElement("path",{stroke:"#CCC",strokeWidth:1.486,d:"m22.5 144.244 5.55-4.092 4.44 1.86 5.92-1.86 8.14 5.58 6.66-1.488 3.33-4.092 5.18 5.58 3.7-1.488 8.51 3.347 8.51-7.439 4.81 1.86 5.92-2.976 2.22 1.116h6.66l9.62-13.762 2.96 5.579 2.59-1.487 2.96 4.463 13.32-4.463"})),O||(O=d.createElement("g",{filter:"url(#analytics-setup-sidekick_svg__c)"},d.createElement("rect",{width:148,height:122,x:226,y:69,fill:"#fff",rx:3.976}))),P||(P=d.createElement("path",{fill:"#DEDEDE",d:"M331.315 120.007a23.4 23.4 0 0 1 6.546-1.154l.216 8.328a15.2 15.2 0 0 0-4.255.75z"})),q||(q=d.createElement("path",{fill:"#C6C6C6",d:"M319.491 128.654a23.76 23.76 0 0 1 11.122-8.405l2.753 7.839a15.44 15.44 0 0 0-7.229 5.464z"})),B||(B=d.createElement("path",{fill:"#F1F1F1",d:"M319.348 156.639a23.87 23.87 0 0 1-4.426-13.619 24.07 24.07 0 0 1 4.141-13.754l6.795 4.683a15.65 15.65 0 0 0-2.691 8.94 15.5 15.5 0 0 0 2.877 8.852z"})),F||(F=d.createElement("path",{fill:"#959595",d:"M352.229 161.904a23.45 23.45 0 0 1-17.188 4.31 23.36 23.36 0 0 1-15.25-8.976l6.541-5.107a15.18 15.18 0 0 0 9.912 5.834 15.24 15.24 0 0 0 11.173-2.801z"})),H||(H=d.createElement("path",{fill:"#C7C7C7",d:"M338.601 118.842c4.912 0 9.693 1.551 13.674 4.437a23.6 23.6 0 0 1 8.532 11.657 24.03 24.03 0 0 1 .208 14.531 23.98 23.98 0 0 1-8.192 11.989l-5.021-6.583a15.63 15.63 0 0 0 5.19-17.239 15.35 15.35 0 0 0-5.545-7.577 15.15 15.15 0 0 0-8.889-2.884z"})),U||(U=d.createElement("ellipse",{cx:327.009,cy:174.262,fill:"#959595",rx:1.85,ry:1.86})),G||(G=d.createElement("ellipse",{cx:334.41,cy:174.262,fill:"#C7C7C7",rx:1.85,ry:1.86})),V||(V=d.createElement("ellipse",{cx:341.81,cy:174.262,fill:"#DEDEDE",rx:1.85,ry:1.86})),W||(W=d.createElement("ellipse",{cx:349.209,cy:174.262,fill:"#F1F1F1",rx:1.85,ry:1.86})),Z||(Z=d.createElement("path",{stroke:"#ECE9F1",strokeLinecap:"round",strokeWidth:.994,d:"M238.336 175.624h58.206"})),Y||(Y=d.createElement("path",{stroke:"#ECE9F1",strokeLinecap:"round",strokeWidth:.497,d:"M238.088 160.995h58.703m-58.703-14.878h58.703m-58.703-14.877h58.703"})),$||($=d.createElement("path",{fill:"url(#analytics-setup-sidekick_svg__d)",d:"M264.829 164.08c-4.374-1.37-6.29-5.044-10.433-5.568-4.285-.542-7.612 13.315-16.557 14.64v2.97h59.2v-25.431c-2.378-.516-4.616-19.012-9.777-17.643-5.162 1.369-8.961 22.202-13.073 15.493-4.111-6.71-4.985 16.908-9.36 15.539",opacity:.08})),Q||(Q=d.createElement("path",{fill:"#B8B8B8",d:"M241.722 119.374h-2.434l-.547 1.516h-.79l2.219-5.81h.67l2.223 5.81h-.786zm-2.203-.631h1.976l-.99-2.717zm5.013 2.147h-.739v-6.129h.739zm1.987 0h-.738v-6.129h.738zm5.878-.427q-.43.507-1.265.507-.69 0-1.053-.399-.36-.403-.364-1.189v-2.809h.739v2.789q0 .981.798.982.846 0 1.125-.631v-3.14h.738v4.317h-.702zm4.358-.718a.54.54 0 0 0-.228-.463q-.224-.167-.786-.287a3.8 3.8 0 0 1-.89-.287 1.3 1.3 0 0 1-.487-.4.97.97 0 0 1-.155-.55q0-.53.447-.898.45-.367 1.149-.367.735 0 1.189.379.459.38.459.97h-.742a.67.67 0 0 0-.259-.523.96.96 0 0 0-.647-.22q-.404 0-.63.176a.55.55 0 0 0-.228.459q0 .267.212.403t.762.259q.555.124.898.296.342.17.507.415a1 1 0 0 1 .167.586q0 .579-.463.93-.462.347-1.201.347a2.2 2.2 0 0 1-.918-.183 1.5 1.5 0 0 1-.626-.511 1.25 1.25 0 0 1-.224-.714h.738a.77.77 0 0 0 .296.59q.28.216.734.216.419 0 .67-.168a.52.52 0 0 0 .256-.455m3.492 1.225q-.879 0-1.429-.574-.55-.579-.551-1.545v-.136q0-.642.244-1.145.247-.507.686-.79.443-.287.958-.287.842 0 1.309.554.467.555.467 1.589v.307h-2.925q.015.639.371 1.034.358.39.91.391.39 0 .662-.16.271-.159.475-.423l.451.351q-.543.834-1.628.834m-.092-3.871a.98.98 0 0 0-.75.328q-.304.322-.376.909h2.163v-.055q-.031-.564-.303-.87-.272-.312-.734-.312m4.721.136a2 2 0 0 0-.363-.028q-.727 0-.986.619v3.064h-.738v-4.317h.718l.012.498q.363-.578 1.03-.578.214 0 .327.056zm3.196 2.51a.54.54 0 0 0-.227-.463q-.224-.167-.786-.287a3.8 3.8 0 0 1-.89-.287 1.3 1.3 0 0 1-.487-.4.96.96 0 0 1-.156-.55q0-.53.447-.898.452-.367 1.149-.367.735 0 1.19.379.459.38.459.97h-.743a.66.66 0 0 0-.259-.523.95.95 0 0 0-.647-.22q-.402 0-.63.176a.55.55 0 0 0-.228.459q0 .267.212.403t.762.259q.555.124.898.296.344.17.507.415a1 1 0 0 1 .167.586q0 .579-.462.93-.463.347-1.202.347-.518 0-.917-.183a1.5 1.5 0 0 1-.627-.511 1.25 1.25 0 0 1-.223-.714h.738a.77.77 0 0 0 .295.59q.28.216.734.216.42 0 .671-.168a.53.53 0 0 0 .255-.455"})),K||(K=d.createElement("path",{fill:"#202124",d:"M240.358 92.903V86.35h-2.229v-1.427h5.963v1.427h-2.229v6.553zm4.072 0v-5.684h1.37v.758h.09q.211-.39.646-.658.446-.267.992-.267.223 0 .401.033t.312.09v1.46a4 4 0 0 0-.468-.146 1.7 1.7 0 0 0-.479-.067q-.657 0-1.037.48-.367.48-.367 1.17v2.83zm6.32.178q-.602 0-1.07-.234a1.9 1.9 0 0 1-.724-.68 1.9 1.9 0 0 1-.268-1.003q0-.591.301-1.014.312-.423.825-.658a2.8 2.8 0 0 1 1.159-.234q.523 0 .903.09.378.077.602.167v-.246a.93.93 0 0 0-.346-.746q-.345-.3-.947-.301-.402 0-.78.19-.368.177-.613.478l-.936-.735a2.75 2.75 0 0 1 1.036-.825 3.2 3.2 0 0 1 1.36-.29q1.304 0 1.983.602.68.602.68 1.761v3.5h-1.437v-.58h-.09a1.95 1.95 0 0 1-.646.535q-.4.223-.992.223m.346-1.137q.446 0 .746-.19a1.3 1.3 0 0 0 .468-.512q.168-.312.168-.657a2.4 2.4 0 0 0-.558-.19 2.6 2.6 0 0 0-.635-.078q-.647 0-.891.245a.82.82 0 0 0-.246.602q0 .335.234.557.246.223.714.223m12.814-5.294a.93.93 0 0 1-.669-.267.93.93 0 0 1-.268-.669q0-.39.268-.657a.91.91 0 0 1 .669-.279q.39 0 .657.279a.88.88 0 0 1 .279.657q0 .39-.279.669a.9.9 0 0 1-.657.267m-8.147 6.253v-4.436h-1.014v-1.248h1.014v-.312q0-.992.591-1.527.59-.546 1.504-.546a2.6 2.6 0 0 1 .624.067v1.404l-.212-.056a1 1 0 0 0-.323-.044.71.71 0 0 0-.524.211q-.2.213-.2.58v.223h2.251v-.312q0-.991.591-1.527.59-.546 1.504-.546a2.6 2.6 0 0 1 .624.067v1.404l-.211-.056a1 1 0 0 0-.324-.044.7.7 0 0 0-.523.211q-.201.213-.201.58v.223h3.7v5.684h-1.449v-4.436h-2.251v4.436h-1.46v-4.436h-2.251v4.436zm13.01.178q-.868 0-1.549-.379a2.9 2.9 0 0 1-1.058-1.07q-.38-.69-.379-1.571c.001-.881.126-1.107.379-1.56q.39-.68 1.058-1.07.68-.39 1.549-.39.947 0 1.628.4.68.401.98 1.16l-1.337.557a1.2 1.2 0 0 0-.502-.568 1.5 1.5 0 0 0-.769-.19q-.646 0-1.092.457-.435.445-.434 1.204 0 .768.434 1.226.446.445 1.092.445.491 0 .814-.211.323-.224.524-.602l1.304.58a2.7 2.7 0 0 1-1.014 1.147q-.68.435-1.628.435"})),X||(X=d.createElement("defs",null,d.createElement("filter",{id:"analytics-setup-sidekick_svg__a",width:152.97,height:126.97,x:132.515,y:.012,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},d.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),d.createElement("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),d.createElement("feMorphology",{in:"SourceAlpha",operator:"dilate",radius:.497,result:"effect1_dropShadow_532_12388"}),d.createElement("feOffset",{dy:.497}),d.createElement("feGaussianBlur",{stdDeviation:.994}),d.createElement("feColorMatrix",{values:"0 0 0 0 0.423529 0 0 0 0 0.443137 0 0 0 0 0.458824 0 0 0 0.15 0"}),d.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_532_12388"}),d.createElement("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),d.createElement("feOffset",{dy:.994}),d.createElement("feGaussianBlur",{stdDeviation:.746}),d.createElement("feColorMatrix",{values:"0 0 0 0 0.337255 0 0 0 0 0.352941 0 0 0 0 0.360784 0 0 0 0.25 0"}),d.createElement("feBlend",{in2:"effect1_dropShadow_532_12388",result:"effect2_dropShadow_532_12388"}),d.createElement("feBlend",{in:"SourceGraphic",in2:"effect2_dropShadow_532_12388",result:"shape"})),d.createElement("filter",{id:"analytics-setup-sidekick_svg__b",width:154.431,height:128.431,x:.784,y:49.588,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},d.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),d.createElement("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),d.createElement("feOffset",{dy:.804}),d.createElement("feGaussianBlur",{stdDeviation:1.608}),d.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),d.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_532_12388"}),d.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_532_12388",result:"shape"})),d.createElement("filter",{id:"analytics-setup-sidekick_svg__c",width:154.431,height:128.431,x:222.784,y:66.588,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},d.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),d.createElement("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),d.createElement("feOffset",{dy:.804}),d.createElement("feGaussianBlur",{stdDeviation:1.608}),d.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),d.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_532_12388"}),d.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_532_12388",result:"shape"})),d.createElement("linearGradient",{id:"analytics-setup-sidekick_svg__d",x1:258.024,x2:258.024,y1:132.976,y2:184.15,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{stopColor:"#4F4F4F"}),d.createElement("stop",{offset:1,stopColor:"#4F4F4F",stopOpacity:0})))));var ae=i(68832);function ActivateAnalyticsNotice(){const{setValues:e}=(0,a.useDispatch)(oe.s),t=(0,ae.A)(y,_),i=(0,d.useCallback)(t=>{e(y,{[_]:t.target.checked})},[e]);return(0,C.jsxs)("div",{className:"googlesitekit-setup-analytics-notice",children:[(0,C.jsx)("div",{className:"googlesitekit-setup-analytics-notice__opt-in",children:(0,C.jsx)(ne.Checkbox,{id:"googlesitekit-analytics-setup-opt-in",name:"googlesitekit-analytics-setup-opt-in",value:"1",checked:t,onChange:i,children:(0,ie.A)((0,h.__)("<strong>Connect Google Analytics as part of your setup.</strong> Activate Google Analytics to track how much traffic you’re getting and how people navigate your site.","google-site-kit"),{strong:(0,C.jsx)("strong",{})})})}),(0,C.jsx)("div",{className:"googlesitekit-setup-analytics-notice__icon",children:(0,C.jsx)(re,{})})]})}var le=i(85149),ce=i(15844);var de=i(50477),ge=i(38432);const ue="amp_cdn_restricted",he="check_api_unavailable",pe="check_fetch_failed",me="google_api_connection_fail",fe="invalid_hostname",ke="setup_token_mismatch",ve="google_sk_service_connection_fail",ye={[ue]:"amp_cdn_restricted",[he]:"check_api_unavailable",[ke]:"setup_token_mismatch"};function GetHelpLink({errorCode:e}){const t=(0,a.useSelect)(t=>t(l.O4).getErrorTroubleshootingLinkURL({code:ye[e]}));return t?(0,C.jsx)(ge.A,{href:t,external:!0,children:(0,h.__)("Get help","google-site-kit")}):null}GetHelpLink.propTypes={errorCode:te().string.isRequired};var _e=i(83880);function xe(e,t){const{installed:i,active:n,installURL:o,activateURL:s,configureURL:r}=e;return!i&&o?{"aria-label":(0,h.__)("Install the helper plugin","google-site-kit"),children:(0,h.__)("Install","google-site-kit"),href:o,external:!1}:i&&!n&&s?{"aria-label":(0,h.__)("Activate the helper plugin","google-site-kit"),children:(0,h.__)("Activate","google-site-kit"),href:s,external:!1}:i&&n&&r?{"aria-label":(0,h.__)("Configure the helper plugin","google-site-kit"),children:(0,h.__)("Configure","google-site-kit"),href:r,external:!1}:{"aria-label":(0,h.__)("Learn how to install and use the helper plugin","google-site-kit"),children:(0,h.__)("Learn how","google-site-kit"),href:t,external:!0}}function CompatibilityErrorNotice({error:e}){const t=(0,a.useSelect)(e=>e(l.O4).getDeveloperPluginState())||{},{installed:i}=t,n=(0,a.useSelect)(e=>e(l.O4).getDocumentationLinkURL("staging")),o=(0,a.useSelect)(e=>e(l.O4).getErrorTroubleshootingLinkURL({code:me}));switch(e){case he:return(0,C.jsx)(_e.A,{children:(0,ie.A)((0,h.__)("Site Kit cannot access the WordPress REST API. Please ensure it is enabled on your site. <GetHelpLink />","google-site-kit"),{GetHelpLink:(0,C.jsx)(GetHelpLink,{errorCode:e})})});case fe:case pe:return(0,C.jsxs)(_e.A,{children:[!i&&(0,C.jsx)("span",{children:(0,ie.A)((0,h.__)("Looks like this may be a staging environment. If so, you’ll need to install a helper plugin and verify your production site in Search Console. <GetHelpLink />","google-site-kit"),{GetHelpLink:(0,C.jsx)(ge.A,{...xe(t,n)})})}),i&&(0,C.jsx)("span",{children:(0,ie.A)((0,h.__)("Looks like this may be a staging environment and you already have the helper plugin. Before you can use Site Kit, please make sure you’ve provided the necessary credentials in the Authentication section and verified your production site in Search Console. <GetHelpLink />","google-site-kit"),{GetHelpLink:(0,C.jsx)(ge.A,{...xe(t,n)})})})]});case ke:return(0,C.jsx)(_e.A,{children:(0,ie.A)((0,h.__)("Looks like Site Kit is unable to place or detect tags on your site. This can be caused by using certain caching or maintenance mode plugins or your site’s frontend is configured on a different host or infrastructure than your administration dashboard. <GetHelpLink />","google-site-kit"),{GetHelpLink:(0,C.jsx)(GetHelpLink,{errorCode:e})})});case me:return(0,C.jsx)(_e.A,{dangerouslySetInnerHTML:(0,de.p)(`\n\t\t\t\t\t\t${(0,h.__)("Looks like your site is having a technical issue with requesting data from Google services.","google-site-kit")}\n\t\t\t\t\t\t<br/>\n\t\t\t\t\t\t${(0,h.sprintf)(/* translators: 1: Help URL, 2: Support Forum URL, 3: Error message */ /* translators: 1: Help URL, 2: Support Forum URL, 3: Error message */ (0,h.__)('<a href="%1$s">Click here</a> for more information, or to get more help, ask a question on our <a href="%2$s">support forum</a> and include the text of the original error message: %3$s',"google-site-kit"),o,"https://wordpress.org/support/plugin/google-site-kit/",`<br/>${e}`)}\n\t\t\t\t\t\t`,{ALLOWED_TAGS:["a","br"],ALLOWED_ATTR:["href"]})});case ue:return(0,C.jsx)(_e.A,{children:(0,ie.A)((0,h.__)("Looks like the AMP CDN is restricted in your region, which could interfere with setup on the Site Kit service. <GetHelpLink />","google-site-kit"),{GetHelpLink:(0,C.jsx)(GetHelpLink,{errorCode:e})})});case ve:return(0,C.jsx)(_e.A,{dangerouslySetInnerHTML:(0,de.p)(`\n\t\t\t\t\t\t${(0,h.__)("Looks like your site is having a technical issue with connecting to the Site Kit authentication service.","google-site-kit")}\n\t\t\t\t\t\t<br/>\n\t\t\t\t\t\t${(0,h.sprintf)(/* translators: 1: Support Forum URL, 2: Error message */ /* translators: 1: Support Forum URL, 2: Error message */ (0,h.__)('To get more help, ask a question on our <a href="%1$s">support forum</a> and include the text of the original error message: %2$s',"google-site-kit"),"https://wordpress.org/support/plugin/google-site-kit/",`<br/>${e}`)}\n\t\t\t\t\t\t`,{ALLOWED_TAGS:["a","br"],ALLOWED_ATTR:["href"]})})}}var be=i(54419);function je(e){const t=e.split(".");return(+t[0]<<24)+(+t[1]<<16)+(+t[2]<<8)+ +t[3]}function Se(e,t,i){return(je(e)&-1<<32-i)===je(t)}const Ae=/^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$/,Ne=/\.(example|invalid|localhost|test)$/,we=[{subnet:"10.0.0.0",mask:8},{subnet:"127.0.0.0",mask:8},{subnet:"172.16.0.0",mask:12},{subnet:"192.168.0.0",mask:16}];async function Me(){const{hostname:e,port:t}=i.g.location;if(t)throw fe;if(Ae.test(e)){for(const{mask:t,subnet:i}of we)if(Se(e,i,t))throw fe}else if(!e.includes(".")||e.match(Ne))throw fe}function Ce(e){return async()=>{if((await e.dispatch(l.O4).checkForSetupTag()).error)throw ke}}async function Ie(){const e=await(0,be.get)("core","site","health-checks",void 0,{useCache:!1}).catch(e=>{if("fetch_error"===e.code)throw pe;throw he});if(!e?.checks?.googleAPI?.pass)throw me;if(!e?.checks?.skService?.pass)throw ve}async function Ee(){if(!(await fetch("https://cdn.ampproject.org/v0.js").catch(()=>{throw ue})).ok)throw ue}function CompatibilityChecks({children:e,...t}){const i=(0,a.useRegistry)(),{complete:n,error:o}=function(e){const[t]=(0,d.useState)(e),[i,n]=(0,d.useState)(!t?.length),[o,s]=(0,d.useState)(void 0);return(0,ce.A)(()=>{i||async function(){try{for(const e of t)await e()}catch(e){s(e)}n(!0)}()}),{complete:i,error:o}}(function(e){return e.select(l.O4).isConnected()?[]:[Me,Ie,Ce(e),Ee]}(i)),s=o&&(0,C.jsxs)(f.xA,{className:"googlesitekit-setup-compat",alignLeft:!0,children:[(0,C.jsxs)("div",{className:"googlesitekit-setup__warning",children:[(0,C.jsx)(le.A,{}),(0,C.jsx)("div",{className:"googlesitekit-heading-4",children:(0,h.__)("Your site may not be ready for Site Kit","google-site-kit")})]}),(0,C.jsx)(CompatibilityErrorNotice,{error:o})]});return e({props:t,complete:n,error:o,inProgressFeedback:!n&&(0,C.jsxs)("div",{className:"googlesitekit-margin-left-1rem googlesitekit-align-self-center",children:[(0,C.jsx)("small",{children:(0,h.__)("Checking Compatibility…","google-site-kit")}),(0,C.jsx)(ne.ProgressBar,{small:!0,compress:!0})]}),ctaFeedback:s})}var Te,Re,De,Le,ze,Oe,Pe,qe,Be,Fe,He,Ue,Ge,Ve,We,Ze,Ye,$e,Qe,Ke,Xe,Je,et,tt,it,nt,ot,st,rt,at,lt,ct,dt,gt,ut,ht,pt,mt,ft,kt,vt,yt,_t,xt,bt,jt,St,At,Nt,wt,Mt,Ct;function It(){return It=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},It.apply(null,arguments)}CompatibilityChecks.propTypes={children:te().func.isRequired};const Et=e=>d.createElement("svg",It({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 570 336"},e),Te||(Te=d.createElement("path",{stroke:"#4285F4",strokeLinejoin:"round",strokeWidth:7,d:"M170.78 167.21c11.36-5.5 21.2 1.59 22.73 7"})),Re||(Re=d.createElement("ellipse",{cx:292.73,cy:307.44,fill:"#F1F3F4",rx:252.51,ry:10.01})),De||(De=d.createElement("path",{stroke:"#4285F4",strokeLinejoin:"round",strokeWidth:7,d:"M93.23 212.44c-6 6.78-17 9.12-25.62 8.24-14.77-1.52-23-11-28.38-24"})),Le||(Le=d.createElement("path",{stroke:"#1A73E8",strokeLinejoin:"round",strokeWidth:7,d:"M93.23 212.44a24.66 24.66 0 0 1-11.81 7"})),ze||(ze=d.createElement("path",{stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:7,d:"M125.33 206.44 112.12 242a60 60 0 0 0 .12 42.15l11.09 21.34h-14.22M125.33 206.44l-9.55 25.67M146.34 216.44v89h13.23M125.33 206.44a72 72 0 0 0-5.25 13.5M146.34 216.44v7"})),Oe||(Oe=d.createElement("path",{fill:"#1A73E8",d:"M142.65 219.64a61.5 61.5 0 0 1-80.49-33l113.46-47.52a61.51 61.51 0 0 1-32.97 80.52"})),Pe||(Pe=d.createElement("path",{stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5,d:"M146.93 202c7.74-4.34 12.25-12.92 12.66-22.39l-43.54 17.79"})),qe||(qe=d.createElement("path",{stroke:"#FBBC04",strokeLinejoin:"round",strokeWidth:7,d:"M385.07 137.93c18 7.48 43.08 2.83 56-12.14 11.22-13 11.51-31.12 6.34-46.75M322.39 152.05c-24.41 12-41.12 72.46-24.79 98M365.34 177.13c2.77 13.29 5.23 29.83 9.9 45.42"})),Be||(Be=d.createElement("path",{stroke:"#F29900",strokeLinejoin:"round",strokeWidth:7,d:"m366 239.9 3.21 28.92a29.93 29.93 0 0 1-3.14 17L356 305.44h14.22M341.55 234.9v70.54h-13.23"})),Fe||(Fe=d.createElement("path",{stroke:"#EA8600",strokeLinejoin:"round",strokeWidth:7,d:"m366.02 239.9 1.16 10.44M341.55 234.9v15.44"})),He||(He=d.createElement("path",{fill:"#F9AB00",d:"m396.25 159.92 3.18-81.94-81.94-3.17-3.18 81.94-3.18 81.94 81.95 3.18z"})),Ue||(Ue=d.createElement("path",{stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5,d:"M335.08 118.92c5 15.13 20.44 24.7 38.06 14.51"})),Ge||(Ge=d.createElement("path",{stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5,d:"M340 115c-2.94 3.32-5.56 4.45-11.13 5.07"})),Ve||(Ve=d.createElement("path",{stroke:"#34A853",strokeLinejoin:"round",strokeWidth:7,d:"M326.51 226.26c9.21 1.09 46.63 9.81 36.62-24"})),We||(We=d.createElement("path",{stroke:"#188038",strokeLinejoin:"round",strokeWidth:7,d:"M255.19 243.91c-1.95 22.25-1.06 43.25 6 61.53H277M227.09 243.91c-2 21.75-.54 42.43 6 61.53h-14.62"})),Ze||(Ze=d.createElement("path",{stroke:"#137333",strokeLinejoin:"round",strokeWidth:7,d:"M255.19 243.91a213 213 0 0 0-.86 22.78M227.09 243.91q-.75 8.16-.82 16.11"})),Ye||(Ye=d.createElement("path",{stroke:"#4285F4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:7,d:"M193.58 180c-2.07 8.2-14.68 10.84-20.68 15.6-1.52 1.21-3.64 2.28-4.66 4a5 5 0 0 0-.6 1.84"})),$e||($e=d.createElement("path",{stroke:"#34A853",strokeLinejoin:"round",strokeWidth:7,d:"M163.46 270.46c-9.77-6.25-16-20.14-13.11-31.58 2.53-9.9 14-22.34 23.45-25.13"})),Qe||(Qe=d.createElement("path",{fill:"#1E8E3E",d:"m256.35 176.56-81.51-8.96-8.96 81.52 81.51 8.96 81.52 8.96 8.96-81.51z"})),Ke||(Ke=d.createElement("path",{stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5,d:"M221.29 221.77C234.34 238 260 245 280.76 228.31"})),Xe||(Xe=d.createElement("path",{stroke:"#E94235",strokeLinejoin:"round",strokeWidth:7,d:"M486.65 220.21c17.35 10.79 35.85 29.69 49.2-6.29"})),Je||(Je=d.createElement("path",{stroke:"#D93025",strokeLinejoin:"round",strokeWidth:7,d:"M486.65 220.21c4.33 2.7 8.74 5.9 13.12 8.63"})),et||(et=d.createElement("path",{stroke:"#E94235",strokeLinejoin:"round",strokeWidth:7,d:"M392.08 212.43c2.38 17.25 3.91 37.24 0 54.26"})),tt||(tt=d.createElement("path",{stroke:"#D93025",strokeLinejoin:"round",strokeWidth:7,d:"M392.08 212.43c1 7.16 1.82 14.78 2.19 22.47"})),it||(it=d.createElement("path",{stroke:"#C5221F",strokeLinejoin:"round",strokeWidth:7,d:"m430.17 218.39-8.54 87.05h-22.3M469.93 218.39l-8.54 87.05h20.74"})),nt||(nt=d.createElement("path",{stroke:"#B31412",strokeLinejoin:"round",strokeWidth:7,d:"m430.17 218.39-3.67 37.38M469.93 218.39l-3.33 33.95"})),ot||(ot=d.createElement("circle",{cx:444.5,cy:188.84,r:61.5,fill:"#D93025"})),st||(st=d.createElement("path",{stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5,d:"M464.88 219.51c-9.5 12.78-27.2 17-40.68 1.74"})),rt||(rt=d.createElement("path",{stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5,d:"M430.17 219.55c-4.42-.27-7.08.79-11.45 4.29"})),at||(at=d.createElement("path",{d:"M167.64 201.39a8.07 8.07 0 0 0 2.46 7.06c3.38 3 10.33 1.86 12-2.55"})),lt||(lt=d.createElement("path",{fill:"#80868B",d:"m517.93 197.07-.44 2.26a3 3 0 0 0 .93 2.81l4.27 3.85a6 6 0 0 1 1.53 6.75l-4.56 11.07a20.1 20.1 0 0 0-1.5 8.14l.31 12.64a2 2 0 0 0 1.62 1.91l2.75.54a2 2 0 0 0 2.22-1.16l5.06-11.58a20 20 0 0 0 1.68-8.11v-12a6 6 0 0 1 4-5.68l5.4-1.95a3 3 0 0 0 1.93-2.25l.44-2.26Z"})),ct||(ct=d.createElement("path",{fill:"#DADCE0",d:"m520.641 183.266 25.565 5.006-2.697 13.769-25.564-5.007z"})),dt||(dt=d.createElement("path",{stroke:"#BDC1C6",strokeMiterlimit:10,strokeWidth:.44,d:"m520.05 186.25 25.56 5.01M518.51 194.12l25.56 5.01"})),gt||(gt=d.createElement("path",{fill:"#5F6368",d:"m525.462 161.77 24.446 4.787a.59.59 0 0 1 .465.693l-4.114 21.01-25.604-5.013 4.12-21.04a.59.59 0 0 1 .693-.466Z"})),ut||(ut=d.createElement("path",{stroke:"#BDC1C6",strokeMiterlimit:10,strokeWidth:.44,d:"m523.58 183.88 4.23-21.63M527.51 184.65l4.24-21.63M531.44 185.42l4.24-21.63M535.37 186.19l4.24-21.63M539.31 186.96l4.24-21.63M543.24 187.73l4.24-21.63"})),ht||(ht=d.createElement("path",{fill:"#24C1E0",d:"m549.45 166.49-23.6-4.63a1 1 0 0 0-1.18.79l-1.35 6.89 2.56 9.24a3 3 0 0 0 4.38 1.82l8.63-4.89a6 6 0 0 1 7.33 1.1l1.84 1.95 2.18-11.1a1 1 0 0 0-.79-1.17"})),pt||(pt=d.createElement("path",{fill:"#BDC1C6",d:"m91.3 137.33-14.21-11.47-57 70.65a9.12 9.12 0 0 0 1.38 12.84A9.12 9.12 0 0 0 34.33 208Zm-60.91 61a5 5 0 1 1-7.09.76 5 5 0 0 1 7.09-.78Z"})),mt||(mt=d.createElement("path",{fill:"#DADCE0",d:"m83.68 117.3 15.58 9.54 10-16.37a22.82 22.82 0 1 1-15.38-9.85Z"})),ft||(ft=d.createElement("path",{fill:"#DADCE0",d:"m81.24 122.25-6.01 5.62 16.25 9.95 5.94-5.65z"})),kt||(kt=d.createElement("path",{fill:"#F8F9FA",d:"m95.68 131.1-6.01 5.61 1.75 1.07 6-5.61zM92.07 128.89l-6.01 5.61 1.75 1.07 6-5.61zM88.46 126.67l-6.01 5.62 1.75 1.07 6-5.62zM84.85 124.46l-6.01 5.62 1.75 1.07 6-5.62zM81.24 122.25l-6.01 5.62 1.75 1.07 6-5.62z"})),vt||(vt=d.createElement("path",{fill:"#BDC1C6",d:"m466.08 97.09-4.91 2.54-33.57-70.67 4.91-2.54z"})),yt||(yt=d.createElement("path",{fill:"#DADCE0",d:"m437.63 33.71-7.57 3.92-5.62-15.68 4.63-2.4z"})),_t||(_t=d.createElement("path",{d:"M466.83 105.11a7.34 7.34 0 0 1-10.14-3.11l-15.25-32.1 13.88-7.18 15.24 32.1a8 8 0 0 1-3.73 10.29"})),xt||(xt=d.createElement("path",{fill:"#5F6368",d:"M464.56 100.33A4 4 0 0 1 459 98.6l-14.41-30.38 7.58-3.92 14.43 30.38a4.35 4.35 0 0 1-2.04 5.65"})),bt||(bt=d.createElement("path",{fill:"#BDC1C6",d:"m145.57 277.902 47.608-38.744 8.01 9.842-47.607 38.745z"})),jt||(jt=d.createElement("path",{fill:"#9AA0A6",d:"m189.085 242.485 4.087-3.326 8.01 9.842-4.087 3.327z"})),St||(St=d.createElement("path",{fill:"#BDC1C6",d:"m211.607 241.354 8.143 10.005-7.415 6.035-8.143-10.006z"})),At||(At=d.createElement("rect",{width:16.52,height:9.9,x:209.99,y:252.12,fill:"#DADCE0",rx:1.53,transform:"rotate(140.86 218.257 257.06)"})),Nt||(Nt=d.createElement("path",{fill:"#DADCE0",d:"M175.87 220.73c4.56-.39 13.4-.24 24.73 4.4a14.6 14.6 0 0 1 5.8 4.3l9 11.11a1.53 1.53 0 0 1-.22 2.16l-10.44 8.5a1.53 1.53 0 0 1-2.15-.23l-8-9.81a44.2 44.2 0 0 1-4.69-7.16c-1.21-2.28-4.66-6.23-14.42-11.22a1.06 1.06 0 0 1 .39-2.05"})),wt||(wt=d.createElement("rect",{width:3.47,height:74.9,x:158.98,y:236.29,fill:"#BDC1C6",rx:1.73,transform:"rotate(50.86 160.713 273.711)"})),Mt||(Mt=d.createElement("path",{fill:"#5F6368",d:"m166.85 260.56-38.79 31.57a6.34 6.34 0 0 0 8 9.84l38.79-31.57Z"})),Ct||(Ct=d.createElement("path",{stroke:"#34A853",strokeLinejoin:"round",strokeWidth:7,d:"M163.46 270.46c-9.77-6.25-16-20.14-13.11-31.58"})));var Tt,Rt,Dt,Lt,zt,Ot,Pt,qt,Bt,Ft,Ht,Ut;function Gt(){return Gt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},Gt.apply(null,arguments)}const Vt=e=>d.createElement("svg",Gt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 174 167"},e),Tt||(Tt=d.createElement("path",{fill:"#F1F3F4",d:"M158.121 0H0v87.697h158.121z"})),Rt||(Rt=d.createElement("path",{stroke:"#fff",strokeMiterlimit:10,strokeWidth:8,d:"M40.314 67.99c13.594 0 24.614-11.007 24.614-24.586 0-13.58-11.02-24.587-24.614-24.587-13.593 0-24.613 11.008-24.613 24.587S26.72 67.99 40.314 67.99Z"})),Dt||(Dt=d.createElement("path",{stroke:"#D9DBDF",strokeMiterlimit:10,strokeWidth:8,d:"M54.075 23.024c6.546 4.417 10.853 11.903 10.853 20.386 0 13.58-11.019 24.588-24.614 24.588S15.701 56.984 15.701 43.404s11.018-24.58 24.613-24.58"})),Lt||(Lt=d.createElement("path",{stroke:"#fff",strokeMiterlimit:10,strokeWidth:8,d:"M115.103 68.029c13.594 0 24.613-11.008 24.613-24.587s-11.019-24.587-24.613-24.587-24.614 11.008-24.614 24.587 11.02 24.587 24.614 24.587Z"})),zt||(zt=d.createElement("path",{stroke:"#D9DBDF",strokeMiterlimit:10,strokeWidth:8,d:"M119.085 19.179c11.7 1.9 20.631 12.043 20.631 24.263 0 13.58-11.018 24.587-24.613 24.587S90.489 57.022 90.489 43.442s11.019-24.587 24.614-24.587"})),Ot||(Ot=d.createElement("path",{fill:"#F1F3F4",d:"M115.332 167c32.405 0 58.674-2.726 58.674-6.088s-26.269-6.088-58.674-6.088-58.674 2.726-58.674 6.088S82.928 167 115.332 167"})),Pt||(Pt=d.createElement("path",{stroke:"#148E3A",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:6,d:"M125.237 111.026c-1.584 18.042-.865 35.066 4.899 49.886h12.787m-40.499-49.886c-1.622 17.635-.439 34.406 4.898 49.886H95.426"})),qt||(qt=d.createElement("path",{stroke:"#0D8034",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:6,d:"M125.237 111.026c-.394 4.512-.649 8.954-.712 13.32m-22.101-13.32c-.534 5.815-.763 11.534-.642 17.146"})),Bt||(Bt=d.createElement("path",{fill:"#1E8E3E",d:"m107.539 67.374-54.756 5.192 5.191 54.697 54.762-5.186 54.756-5.192-5.198-54.696z"})),Ft||(Ft=d.createElement("path",{stroke:"#fff",strokeMiterlimit:10,strokeWidth:5,d:"M106.406 93.01c5.815 4.798 15.402 5.376 21.541-2.04"})),Ht||(Ht=d.createElement("path",{stroke:"#34A853",strokeMiterlimit:10,strokeWidth:6,d:"M163.427 77.631c-65.246 6.006-90.973-8.801-101.07-23.297m-3.454 41.453c-12.959-1.652-26.248-17.412-29.626-30.014"})),Ut||(Ut=d.createElement("path",{stroke:"#148E3A",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:6,d:"M58.903 95.787c-3.88-.496-7.793-2.256-11.457-4.817"})));var Wt=i(33052);function LegacySplashContent({analyticsModuleActive:e,analyticsModuleAvailable:t,children:i,connectedProxyURL:n,description:o,disconnectedReason:s,getHelpURL:r,homeURL:a,secondAdminLearnMoreLink:l,showLearnMoreLink:d,title:g}){const u=e?{smSize:4,mdSize:8,lgSize:6}:{smSize:4,mdSize:8,lgSize:8};return(0,C.jsxs)(f.fI,{className:"googlesitekit-setup__content",children:[(0,C.jsxs)(f.fh,{smSize:4,mdSize:8,lgSize:e?6:4,className:"googlesitekit-setup__icon",children:[e&&(0,C.jsx)(Et,{width:"570",height:"336"}),!e&&(0,C.jsx)(Vt,{height:"167",width:"175"})]}),(0,C.jsxs)(f.fh,{...u,children:[(0,C.jsx)(Wt.A,{as:"h1",className:"googlesitekit-setup__title",size:"large",type:"headline",children:g}),(0,C.jsxs)("p",{className:"googlesitekit-setup__description",children:[!d&&o,d&&(0,ie.A)((0,h.sprintf)(/* translators: 1: The description. 2: The learn more link. */ /* translators: 1: The description. 2: The learn more link. */ (0,h.__)("%1$s <Link>%2$s</Link>","google-site-kit"),o,(0,h.__)("Learn more","google-site-kit")),{Link:(0,C.jsx)(ge.A,{href:l,external:!0})})]}),r&&(0,C.jsx)(ge.A,{href:r,external:!0,children:(0,h.__)("Get help","google-site-kit")}),c.qv===s&&n!==a&&(0,C.jsxs)(_e.A,{children:[(0,h.sprintf)(/* translators: %s: Previous Connected Proxy URL */ /* translators: %s: Previous Connected Proxy URL */ (0,h.__)("— Old URL: %s","google-site-kit"),n),(0,C.jsx)("br",{}),(0,h.sprintf)(/* translators: %s: Connected Proxy URL */ /* translators: %s: Connected Proxy URL */ (0,h.__)("— New URL: %s","google-site-kit"),a)]}),t&&!e&&(0,C.jsx)(ActivateAnalyticsNotice,{}),(0,C.jsx)(CompatibilityChecks,{children:i})]})]})}LegacySplashContent.propTypes={analyticsModuleActive:te().bool,analyticsModuleAvailable:te().bool,children:te().func,connectedProxyURL:te().oneOfType([te().string,te().bool]),description:te().string,disconnectedReason:te().string,getHelpURL:te().string,homeURL:te().string,secondAdminLearnMoreLink:te().string,title:te().string.isRequired};var Zt=i(32885),Yt=i(5855),$t=i(4751),Qt=i(91013);const Kt=(0,d.lazy)(()=>i.e(314).then(i.bind(i,76314)));function SetupFlowSVG(){return(0,C.jsx)(d.Suspense,{fallback:(0,C.jsx)($t.A,{width:"100%",height:"100%"}),children:(0,C.jsx)(Qt.A,{errorMessage:(0,h.__)("Failed to load graphic","google-site-kit"),children:(0,C.jsx)(Kt,{})})})}var Xt;function Jt(){return Jt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},Jt.apply(null,arguments)}const ei=e=>d.createElement("svg",Jt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 595 466"},e),Xt||(Xt=d.createElement("path",{fill:"#D0FBE1",d:"M511.46 27.268C472.402-4.67 412.901-7.73 359.991 15.098s-65.962 61.86-116.047 127.747c-31.454 41.379-132.587 11.687-194.767 61.884-69.555 56.15-75.122 212.784 49.651 250.724 136.609 41.538 214.765-63.716 364.799-29.336 95.58 21.902 134.859-41.125 130.304-104.054-4.159-57.449-51.566-66.85-43.413-135.455 8.153-68.604 0-127.402-39.058-159.34"})));var ti=i(52696);function SplashContent({analyticsModuleActive:e,analyticsModuleAvailable:t,children:i,connectedProxyURL:n,description:o,disconnectedReason:s,getHelpURL:r,homeURL:a,secondAdminLearnMoreLink:g,showLearnMoreLink:u,title:p}){const{setValues:m}=(0,ti.wA)(oe.s),k=(0,ae.A)(y,_),v=(0,d.useCallback)(e=>{m(y,{[_]:e.target.checked})},[m]),x=e?{smSize:4,mdSize:6,lgSize:6}:{smSize:4,mdSize:7,lgSize:6},b=(0,ti.WM)(e=>e(l.O4).getDocumentationLinkURL("setup-update-ga4-account"));return(0,C.jsxs)(f.fI,{className:"googlesitekit-setup__content",children:[(0,C.jsxs)(f.fh,{smSize:4,mdSize:8,lgSize:6,className:"googlesitekit-setup__icon",children:[(0,C.jsx)(ei,{className:"googlesitekit-setup__splash-graphic-background",width:"508",height:"466"}),(0,C.jsx)("div",{className:"googlesitekit-setup__splash-graphic-screenshot",children:(0,C.jsx)(SetupFlowSVG,{})})]}),(0,C.jsxs)(f.fh,{...x,children:[(0,C.jsx)(Wt.A,{as:"h1",className:"googlesitekit-setup__title",size:"medium",type:"headline",children:p}),(u||o)&&(0,C.jsxs)("p",{className:"googlesitekit-setup__description",children:[!u&&o,u&&(0,ie.A)((0,h.sprintf)(/* translators: 1: The description. 2: The learn more link. */ /* translators: 1: The description. 2: The learn more link. */ (0,h.__)("%1$s <Link>%2$s</Link>","google-site-kit"),o,(0,h.__)("Learn more","google-site-kit")),{Link:(0,C.jsx)(ge.A,{href:g,external:!0})})]}),r&&(0,C.jsx)(ge.A,{href:r,external:!0,children:(0,h.__)("Get help","google-site-kit")}),c.qv===s&&n!==a&&(0,C.jsxs)(_e.A,{children:[(0,h.sprintf)(/* translators: %s: Previous Connected Proxy URL */ /* translators: %s: Previous Connected Proxy URL */ (0,h.__)("— Old URL: %s","google-site-kit"),n),(0,C.jsx)("br",{}),(0,h.sprintf)(/* translators: %s: Connected Proxy URL */ /* translators: %s: Connected Proxy URL */ (0,h.__)("— New URL: %s","google-site-kit"),a)]}),t&&!e&&(0,C.jsx)("div",{className:"googlesitekit-setup__analytics-opt-in-wrapper",children:(0,C.jsx)(Zt.A,{id:"googlesitekit-analytics-setup-opt-in",name:"googlesitekit-analytics-setup-opt-in",description:(0,ie.A)((0,h.__)("To get better insights about your site, Site Kit will update your Analytics account, for example by enabling enhanced measurement. <LearnMoreLink /> <RecommendedBadge />","google-site-kit"),{LearnMoreLink:(0,C.jsx)(ge.A,{href:b,external:!0,children:(0,h.__)("Learn more","google-site-kit")}),RecommendedBadge:(0,C.jsx)(Yt.A,{className:"googlesitekit-splash__analytics-recommended-badge",label:(0,h.__)("Recommended","google-site-kit")})}),checked:k,onChange:v,value:"1",children:(0,h.__)("Get visitor insights by connecting Google Analytics as part of setup","google-site-kit")})}),(0,C.jsx)(CompatibilityChecks,{children:i})]})]})}function Splash({children:e}){const t=(0,M.i)("setupFlowRefresh"),i=(0,a.useSelect)(e=>e(k.i).isModuleAvailable(b.L1)),n=(0,a.useSelect)(e=>e(k.i).isModuleActive(b.L1)),o=(0,a.useSelect)(e=>e(l.O4).hasConnectedAdmins()),s=(0,a.useSelect)(e=>e(l.O4).getReferenceSiteURL()),r=(0,a.useSelect)(e=>e(l.O4).getHomeURL()),d=(0,a.useSelect)(e=>e(l.O4).getDocumentationLinkURL("already-configured")),g=(0,a.useSelect)(e=>e(c.oR).getDisconnectedReason()),p=(0,a.useSelect)(e=>e(c.oR).getConnectedProxyURL()),m=(0,a.useSelect)(e=>e(l.O4).getDocumentationLinkURL("url-has-changed"));let v,y,_=!1,x=null;"revoked"===(0,u.d)(location.href,"googlesitekit_context")?(v=(0,h.sprintf)(/* translators: %s: is the site's hostname. (e.g. example.com) */ /* translators: %s: is the site's hostname. (e.g. example.com) */ (0,h.__)("You revoked access to Site Kit for %s","google-site-kit"),J.Ay.toUnicode(new URL(s).hostname)),y=(0,h.__)('Site Kit will no longer have access to your account. If you’d like to reconnect Site Kit, click "Sign in with Google" below to generate new credentials.',"google-site-kit")):c.qv===g?(v=(0,h.__)("Reconnect Site Kit","google-site-kit"),y=(0,h.__)("Looks like the URL of your site has changed. In order to continue using Site Kit, you’ll need to reconnect, so that your plugin settings are updated with the new URL.","google-site-kit"),x=m):o?(v=(0,h.__)("Connect your Google account to Site Kit","google-site-kit"),y=(0,h.__)("Site Kit has already been configured by another admin of this site. To use Site Kit as well, sign in with your Google account which has access to Google services for this site (e.g. Google Analytics). Once you complete the 3 setup steps, you’ll see stats from all activated Google services.","google-site-kit"),_=!0):t?v=(0,h.__)("Let’s get started!","google-site-kit"):(v=(0,h.__)("Set up Site Kit","google-site-kit"),y=(0,h.__)("Get insights on how people find your site, as well as how to improve and monetize your site’s content, directly in your WordPress dashboard","google-site-kit"));const j=t?"googlesitekit-splash":"googlesitekit-setup__splash",S=t?SplashContent:LegacySplashContent,A={analyticsModuleActive:n,secondAdminLearnMoreLink:d,homeURL:r,analyticsModuleAvailable:i,disconnectedReason:g,title:v,description:y,getHelpURL:x,connectedProxyURL:p,showLearnMoreLink:_};return(0,C.jsx)("section",{className:j,children:(0,C.jsx)(f.xA,{children:(0,C.jsx)(S,{...A,children:e})})})}SplashContent.propTypes={analyticsModuleActive:te().bool,analyticsModuleAvailable:te().bool,children:te().func,connectedProxyURL:te().oneOfType([te().string,te().bool]),description:te().string,disconnectedReason:te().string,getHelpURL:te().string,homeURL:te().string,secondAdminLearnMoreLink:te().string,showLearnMoreLink:te().bool,title:te().string.isRequired};var ii=i(11974),ni=i(62779),oi=i(21492);function Actions({proxySetupURL:e,onButtonClick:t,forwardableParams:i={},complete:n,inProgressFeedback:o,ctaFeedback:s}){const r=(0,M.i)("setupFlowRefresh"),u=(0,j.A)(),{dismissItem:m}=(0,a.useDispatch)(c.oR),{navigateTo:f}=(0,a.useDispatch)(v.M),k=(0,a.useSelect)(e=>e(l.O4).hasConnectedAdmins()),y=(0,a.useSelect)(e=>e(l.O4).hasMultipleAdmins()),_=(0,a.useSelect)(e=>!!e(c.oR).getViewableModules()?.length),b=(0,a.useSelect)(e=>e(l.O4).isResettable()),S=(0,a.useSelect)(e=>e(l.O4).getAdminURL("googlesitekit-dashboard",i)),A=(0,d.useCallback)(()=>{Promise.all([m(x),(0,p.sx)(u,r?"setup_flow_v3_skip_to_viewonly":"skip_setup_to_viewonly")]).finally(()=>{const e=r?(0,g.F)(S,{notification:i.notification||"initial_setup_success"}):S;f(e)})},[S,i.notification,m,f,r,u]),N=(0,a.useSelect)(e=>e(l.O4).getDocumentationLinkURL("setup-connect-google-account")),w=r?{trackEventAction:"setup_flow_v3_tracking_optin"}:{};return(0,C.jsxs)(d.Fragment,{children:[s,(0,C.jsx)(ii.A,{...w}),(0,C.jsxs)("div",{className:"googlesitekit-start-setup-wrap",children:[(0,C.jsx)(ne.Button,{className:"googlesitekit-start-setup",href:e,onClick:t,disabled:!n,children:(0,h._x)("Sign in with Google","Prompt to authenticate Site Kit with Google Account","google-site-kit")}),o,y&&k&&_&&n&&(0,C.jsx)(ne.Button,{onClick:A,tertiary:!0,children:(0,h.__)("Skip sign-in and view limited dashboard","google-site-kit")}),!k&&b&&n&&(0,C.jsx)(ni.A,{})]}),r&&(0,C.jsx)(oi.A,{leadingText:(0,h.__)("Why is this required?","google-site-kit"),tooltipText:(0,ie.A)((0,h.__)("Site Kit needs to connect to your Google account to access data from Google products like Search Console or Analytics and display it on your dashboard. <a>Learn more</a>","google-site-kit"),{a:(0,C.jsx)(ge.A,{href:N,external:!0,hideExternalIndicator:!0})})})]})}var si,ri,ai,li,ci,di,gi,ui,hi,pi,mi,fi,ki,vi,yi,_i,xi,bi,ji,Si,Ai,Ni,wi,Mi,Ci,Ii,Ei,Ti,Ri,Di,Li,zi,Oi,Pi,qi,Bi,Fi,Hi,Ui,Gi,Vi,Wi,Zi,Yi,$i,Qi,Ki,Xi,Ji,en,tn,nn,on,sn,rn,an,ln,cn,dn,gn=i(25797),un=i(76984),hn=i(58588);function SetupUsingProxyWithSignIn(){const e=(0,M.i)("setupFlowRefresh"),t=(0,hn.A)(),i=(0,j.A)(),{navigateTo:n}=(0,a.useDispatch)(v.M),{activateModule:o}=(0,a.useDispatch)(k.i),{saveInitialSetupSettings:r}=(0,a.useDispatch)(c.oR),x=(0,a.useSelect)(e=>e(l.O4).getProxySetupURL()),S=(0,a.useSelect)(e=>e(l.O4).isConnected()),A=(0,ae.A)(y,_),N=(0,a.useSelect)(e=>e(l.O4).getAdminURL("googlesitekit-dashboard",t)),w=(0,d.useCallback)(async a=>{let l;if(a.preventDefault(),A){const{error:t,response:n}=await o(b.L1);t||(await(0,p.sx)(`${i}_setup`,e?"setup_flow_v3_start_with_analytics":"start_setup_with_analytics"),l=n.moduleReauthURL,e&&(l=(0,g.F)(l,{showProgress:!0}),await r({isAnalyticsSetupComplete:!1})))}if(x&&await Promise.all([(0,s.SO)("start_user_setup",!0),(0,p.sx)(`${i}_setup`,e?"setup_flow_v3_start_user_setup":"start_user_setup","proxy")]),x&&!S&&await Promise.all([(0,s.SO)("start_site_setup",!0),(0,p.sx)(`${i}_setup`,e?"setup_flow_v3_start_site_setup":"start_site_setup","proxy")]),l&&x){const e=(0,g.F)(l,t);n((0,g.F)(x,{redirect:e}))}else x&&Object.keys(t).length&&N?n((0,g.F)(x,{redirect:N})):n(x)},[A,x,N,S,o,t,i,e,r,n]);return(0,C.jsxs)(d.Fragment,{children:[(0,C.jsx)(Header_Header,{}),(0,C.jsx)("div",{className:"googlesitekit-setup",children:(0,C.jsx)(f.xA,{children:(0,C.jsx)(f.fI,{children:(0,C.jsxs)(f.fh,{size:12,children:["reset_success"===(0,u.d)(location.href,"notification")&&(0,C.jsxs)(d.Fragment,{children:[(0,C.jsx)(gn.A,{id:"reset_success",title:(0,h.__)("Site Kit by Google was successfully reset.","google-site-kit"),type:un.Q.SUCCESS}),(0,C.jsx)("br",{})]}),(0,C.jsx)(m.A,{rounded:!0,children:(0,C.jsx)(Splash,{children:({complete:e,inProgressFeedback:i,ctaFeedback:n})=>(0,C.jsx)(Actions,{proxySetupURL:x,onButtonClick:w,forwardableParams:t,complete:e,inProgressFeedback:i,ctaFeedback:n})})})]})})})})]})}function pn(){return pn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},pn.apply(null,arguments)}const mn=e=>d.createElement("svg",pn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 398 280"},e),si||(si=d.createElement("path",{fill:"#F1F3F4",d:"M357.758 250.137H101.493V60.904h260.113v185.384a3.85 3.85 0 0 1-3.848 3.849"})),ri||(ri=d.createElement("path",{fill:"#5F6368",d:"M31.5 60.908h69.997v189.234H35.349a3.85 3.85 0 0 1-3.849-3.849z"})),ai||(ai=d.createElement("path",{fill:"#FBBC04",fillRule:"evenodd",d:"M119.339 7.235a12.14 12.14 0 0 1 1.813 6.392l-1.283-.001h1.283v.001q0 .428-.029.852l-.96-.338-.427 1.21 1.267.196q.083-.531.12-1.068l5.497 1.94a8.564 8.564 0 0 1 5.215 10.925l-1.21-.427-1.209-.428v.001a6 6 0 0 0-3.653-7.652l-7.459-2.632.164-1.053a10 10 0 0 0 .118-1.527v-.001a9.56 9.56 0 0 0-1.43-5.041zm2.425 22.906-.427 1.21zm0 0a6 6 0 0 0 7.652-3.651l1.209.427 1.21.429a8.567 8.567 0 0 1-10.925 5.215L91.611 22.184l.857-2.419z",clipRule:"evenodd"})),li||(li=d.createElement("path",{fill:"#FBBC04",fillRule:"evenodd",d:"M84.252 8.566a9.53 9.53 0 0 0-1.434 5.039v.003q0 .763.122 1.516l.173 1.059-7.464 2.636a5.995 5.995 0 0 0-3.656 7.668l-1.209.431 1.21-.428a6 6 0 0 0 7.652 3.652l29.296-10.376.857 2.419L80.5 32.562a8.565 8.565 0 0 1-10.924-5.214 8.56 8.56 0 0 1 5.221-10.949l5.485-1.937q-.03-.427-.03-.856v-.001l1.284.001-1.283.002v-.002a12.1 12.1 0 0 1 1.82-6.393l2.18 1.353Z",clipRule:"evenodd"})),ci||(ci=d.createElement("path",{fill:"#F9AB00",d:"M85.738 0v46.35a22.27 22.27 0 0 0 29.934 0V0z"})),di||(di=d.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M106.634 26.66c-4.462 2.815-8.852 2.28-11.968-.222l1.286-1.6c2.406 1.93 5.836 2.452 9.586.085l1.096 1.736Z",clipRule:"evenodd"})),gi||(gi=d.createElement("path",{fill:"#3C4043",fillRule:"evenodd",d:"M84.43 12.376c.69.158 1.12.847.962 1.537l-4.3 18.717a1.32 1.32 0 0 0 1.284 1.615m2.053-21.87a1.283 1.283 0 0 0-1.538.964zm-1.538.964-4.3 18.714zm-4.3 18.715v-.001Zm0 0a3.886 3.886 0 1 0 7.67.872V25.64a1.283 1.283 0 0 0-2.566 0v7.287a1.32 1.32 0 0 1-1.319 1.32",clipRule:"evenodd"})),ui||(ui=d.createElement("path",{fill:"#202124",fillRule:"evenodd",d:"M116.979 12.376a1.283 1.283 0 0 1 1.539.961l4.321 18.716a3.88 3.88 0 0 1-3.785 4.758 3.883 3.883 0 0 1-3.885-3.885V25.64a1.283 1.283 0 1 1 2.566 0v7.287a1.32 1.32 0 0 0 1.319 1.32m0 0a1.32 1.32 0 0 0 1.285-1.616l-4.321-18.715c-.16-.69.271-1.38.961-1.54",clipRule:"evenodd"})),hi||(hi=d.createElement("path",{fill:"#3C4043",d:"M115.338 13.625c0-5.373-6.43-9.581-14.64-9.581s-14.636 4.213-14.636 9.58z"})),pi||(pi=d.createElement("path",{fill:"#8AB4F8",d:"M92.425 21.905a8.28 8.28 0 0 0 8.282-8.283 8.282 8.282 0 1 0-16.565 0 8.283 8.283 0 0 0 8.283 8.283"})),mi||(mi=d.createElement("path",{fill:"#202124",fillRule:"evenodd",d:"M92.425 6.624a7 7 0 1 0 0 14 7 7 0 0 0 0-14m-9.566 7a9.566 9.566 0 0 1 9.566-9.566 9.566 9.566 0 0 1 0 19.131 9.566 9.566 0 0 1-9.566-9.566Z",clipRule:"evenodd"})),fi||(fi=d.createElement("path",{fill:"#8AB4F8",d:"M108.99 21.905a8.283 8.283 0 1 0 0-16.567 8.283 8.283 0 0 0 0 16.567"})),ki||(ki=d.createElement("path",{fill:"#202124",fillRule:"evenodd",d:"M108.991 6.624a7 7 0 1 0 0 14 7 7 0 0 0 0-14m-9.566 7a9.566 9.566 0 1 1 19.132.002 9.566 9.566 0 0 1-19.132-.003Z",clipRule:"evenodd"})),vi||(vi=d.createElement("path",{fill:"#D0E2FC",fillRule:"evenodd",d:"M92.445 9.236a4.39 4.39 0 0 0-4.393 4.388h-1.026a5.42 5.42 0 0 1 5.419-5.414zm16.545 0a4.395 4.395 0 0 0-4.393 4.388h-1.026a5.417 5.417 0 0 1 5.419-5.414z",clipRule:"evenodd"})),yi||(yi=d.createElement("path",{fill:"#639AF8",fillRule:"evenodd",d:"M93.066 77.73H39.988V72.6h53.078z",clipRule:"evenodd"})),_i||(_i=d.createElement("path",{fill:"#80858A",fillRule:"evenodd",d:"M93.066 95.556H39.988v-5.132h53.078zm0 17.83H39.988v-5.131h53.078zm0 17.828H39.988v-5.132h53.078z",clipRule:"evenodd"})),xi||(xi=d.createElement("path",{fill:"#3C4043",d:"M35.35 44.416h322.412a3.85 3.85 0 0 1 3.849 3.848V60.91H31.501V48.285a3.847 3.847 0 0 1 3.848-3.87Z"})),bi||(bi=d.createElement("path",{fill:"#3E81F6",d:"M114.61 74.35a5.3 5.3 0 0 0-.088-.965h-4.315v1.77h2.478a2.13 2.13 0 0 1-.924 1.427v1.15h1.478a4.48 4.48 0 0 0 1.371-3.382"})),ji||(ji=d.createElement("path",{fill:"#2DA84F",d:"M111.772 76.58a2.784 2.784 0 0 1-3.488-.385 2.8 2.8 0 0 1-.659-1.067h-1.539v1.18a4.59 4.59 0 0 0 4.105 2.535 4.38 4.38 0 0 0 3.043-1.113z"})),Si||(Si=d.createElement("path",{fill:"#FCBC00",d:"M107.482 74.246c0-.299.049-.595.143-.878v-1.185h-1.539a4.61 4.61 0 0 0 0 4.105l1.539-1.18a2.8 2.8 0 0 1-.143-.862"})),Ai||(Ai=d.createElement("path",{fill:"#EB402D",d:"M110.206 71.469a2.53 2.53 0 0 1 1.766.688l1.308-1.314a4.4 4.4 0 0 0-3.079-1.196 4.59 4.59 0 0 0-4.105 2.53l1.539 1.186a2.75 2.75 0 0 1 2.571-1.894"})),Ni||(Ni=d.createElement("path",{fill:"#fff",d:"M42.975 55.648a2.987 2.987 0 1 0 0-5.974 2.987 2.987 0 0 0 0 5.974m11.947 0a2.987 2.987 0 1 0 0-5.974 2.987 2.987 0 0 0 0 5.974m11.948 0a2.987 2.987 0 1 0 0-5.974 2.987 2.987 0 0 0 0 5.974"})),wi||(wi=d.createElement("path",{fill:"#F1F3F4",d:"m105.991 75.162-4.492-4.492-4.493 4.492 4.493 4.493z"})),Mi||(Mi=d.createElement("path",{fill:"#fff",d:"M225.394 87.245h-107.11v67.226h107.11z"})),Ci||(Ci=d.createElement("path",{fill:"#E7E9EC",fillRule:"evenodd",d:"M213.036 107.626h-79.891V97.362h79.891zm-10.761 19.102h-69.13v-10.264h69.13zm-15.929 19.815h-53.201v-10.264h53.201z",clipRule:"evenodd"})),Ii||(Ii=d.createElement("path",{fill:"#fff",d:"M344.826 87.245H237.715v67.226h107.111z"})),Ei||(Ei=d.createElement("path",{fill:"#F1F3F4",d:"M74.187 280c20.486 0 37.092-1.725 37.092-3.854s-16.606-3.854-37.092-3.854-37.092 1.726-37.092 3.854S53.702 280 74.187 280"})),Ti||(Ti=d.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M312.629 54.763c2.286.74 4.947.381 7.318-.968l1.015 1.785c-2.791 1.587-6.047 2.081-8.966 1.136-2.95-.956-5.42-3.34-6.667-7.232l1.955-.626c1.068 3.334 3.091 5.175 5.345 5.905",clipRule:"evenodd"})),Ri||(Ri=d.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M306.584 47.852c.884.047 1.659.3 2.485.725l-.938 1.826c-.642-.33-1.134-.474-1.655-.501-.544-.03-1.194.064-2.163.323l-.53-1.983c1.048-.28 1.94-.436 2.801-.39",clipRule:"evenodd"})),Di||(Di=d.createElement("path",{fill:"#C5221F",fillRule:"evenodd",d:"m281.545 27.907.243 1.023c.7 2.945 1.41 5.798 2.586 8.418 1.164 2.595 2.874 4.915 5.156 6.346 2.284 1.432 5.162 1.851 7.463.85l1.024 2.352c-3.24 1.41-7.013.752-9.851-1.028-2.84-1.782-4.834-4.573-6.133-7.47-1.139-2.538-1.863-5.238-2.496-7.852l-7.573.27-.091-2.564zm13.133-4.467.243 1.023c.699 2.949 1.41 5.793 2.586 8.42 1.164 2.599 2.874 4.918 5.155 6.349 2.283 1.432 5.162 1.847 7.466.849l1.02 2.354c-3.238 1.403-7.01.752-9.849-1.03-2.84-1.78-4.835-4.573-6.134-7.474-1.139-2.543-1.863-5.235-2.496-7.852l-7.572.27-.092-2.564z",clipRule:"evenodd"})),Li||(Li=d.createElement("path",{fill:"#E7E9EC",fillRule:"evenodd",d:"M248.148 97.601h4.105v44.082h83.002v4.105h-87.107z",clipRule:"evenodd"})),zi||(zi=d.createElement("path",{fill:"#D93025",d:"M317.853 64.668c12.666 0 22.933-10.267 22.933-22.933S330.519 18.8 317.853 18.8s-22.934 10.268-22.934 22.934 10.268 22.933 22.934 22.933Z"})),Oi||(Oi=d.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M311.83 51.34c2.281.74 4.934.38 7.307-.97l1.014 1.785c-2.789 1.586-6.038 2.083-8.954 1.139-2.947-.955-5.415-3.337-6.677-7.226l1.952-.634c1.083 3.337 3.107 5.178 5.358 5.907Z",clipRule:"evenodd"})),Pi||(Pi=d.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M305.773 44.424c.884.047 1.661.302 2.488.73l-.944 1.823c-.64-.332-1.131-.475-1.652-.503-.544-.029-1.194.065-2.165.322l-.525-1.985c1.046-.277 1.938-.432 2.798-.387",clipRule:"evenodd"})),qi||(qi=d.createElement("path",{fill:"#D93025",fillRule:"evenodd",d:"M319.709 102.472c7.531-11.92 10.7-28.343 8.132-42.188l2.522-.468c2.687 14.483-.61 31.56-8.485 44.026z",clipRule:"evenodd"})),Bi||(Bi=d.createElement("path",{fill:"#E7E9EC",fillRule:"evenodd",d:"M297.648 117.474c3.936-7.731 9.27-16.845 20.308-16.845 6.889 0 11.512 4.768 14.266 8.997 1.403 2.154 2.408 4.293 3.061 5.885.327.8.57 1.469.732 1.944a25 25 0 0 1 .232.717l.014.045.004.014.002.007c0 .001 0 .002-1.972.572l-1.971.572-.001-.002-.007-.024-.015-.049-.02-.063q-.048-.156-.152-.464a30 30 0 0 0-.645-1.711c-.587-1.432-1.479-3.325-2.702-5.203-2.499-3.836-6.046-7.132-10.826-7.132-8.263 0-12.579 6.609-16.65 14.603-.392.769-.782 1.553-1.174 2.34-1.544 3.099-3.111 6.246-4.87 8.726-2.23 3.144-5.152 5.778-9.333 5.778-3.211 0-5.678-.646-7.723-1.676-2.012-1.012-3.517-2.351-4.798-3.525l-.266-.244c-1.205-1.106-2.188-2.008-3.384-2.694-1.212-.695-2.689-1.185-4.823-1.185-1.27 0-2.659.682-4.147 2.127-1.472 1.429-2.829 3.405-3.998 5.488-1.16 2.066-2.086 4.148-2.724 5.721a52 52 0 0 0-.908 2.407l-.044.131-.011.031-.002.006-1.95-.639-1.951-.639.002-.006.004-.012.015-.044.054-.159q.07-.207.204-.581a59 59 0 0 1 .782-2.037c.679-1.675 1.678-3.924 2.949-6.189 1.262-2.248 2.845-4.604 4.718-6.423 1.857-1.803 4.219-3.287 7.007-3.287 2.848 0 5.029.675 6.865 1.729 1.614.925 2.924 2.131 4.066 3.182l.315.29c1.264 1.157 2.409 2.15 3.871 2.885 1.427.719 3.255 1.238 5.877 1.238 2.182 0 4.032-1.296 5.985-4.048 1.556-2.194 2.933-4.957 4.459-8.016q.616-1.24 1.275-2.538",clipRule:"evenodd"})),Fi||(Fi=d.createElement("path",{fill:"#D93025",fillRule:"evenodd",d:"M302.748 110.621c-9.086-16.362-9.222-37.328-.347-53.806l2.259 1.217c-8.46 15.708-8.33 35.746.331 51.344z",clipRule:"evenodd"})),Hi||(Hi=d.createElement("path",{fill:"#4285F4",fillRule:"evenodd",d:"M49.792 239.931c-2.575-.265-4.53-1.209-6.084-2.629zm-6.084-2.629c-1.575-1.439-2.794-3.417-3.786-5.821zm-3.786-5.821-2.372.978zm-2.372.978c1.077 2.61 2.478 4.957 4.427 6.737zm4.427 6.737c1.97 1.799 4.443 2.967 7.554 3.287zm7.816.735c3.095.316 6.85-.569 8.764-2.743l1.926 1.695c-2.674 3.04-7.417 3.961-10.952 3.6",clipRule:"evenodd"})),Ui||(Ui=d.createElement("path",{fill:"#1967D2",fillRule:"evenodd",d:"m70.674 235.279 2.405.894-5.085 13.671a21.8 21.8 0 0 0 .017 15.251l5.21 10.017h-7.59v-2.566h3.363l-3.33-6.403-.026-.071a24.37 24.37 0 0 1-.049-17.122z",clipRule:"evenodd"})),Gi||(Gi=d.createElement("path",{fill:"#185ABC",fillRule:"evenodd",d:"m66.749 245.824 3.926-10.545 2.404.895-3.925 10.545z",clipRule:"evenodd"})),Vi||(Vi=d.createElement("path",{fill:"#1967D2",fillRule:"evenodd",d:"M78.682 239.576h2.566v32.971h3.807v2.566h-6.373z",clipRule:"evenodd"})),Wi||(Wi=d.createElement("path",{fill:"#185ABC",fillRule:"evenodd",d:"M78.682 243.671v-4.095h2.566v4.095z",clipRule:"evenodd"})),Zi||(Zi=d.createElement("path",{fill:"#4285F4",fillRule:"evenodd",d:"M123.654 199.8a44.21 44.21 0 0 1-31.383 23.942l-.482-2.521a41.64 41.64 0 0 0 29.562-22.552z",clipRule:"evenodd"})),Yi||(Yi=d.createElement("path",{fill:"#E7E9EC",fillRule:"evenodd",d:"M128.988 149.77V92.992h4.106v56.778z",clipRule:"evenodd"})),$i||($i=d.createElement("path",{fill:"#F9AB00",d:"M27.012 229.683c-3.233 2.643-6.31 5.096-9.265 7.221-1.544 1.129-4.354-.4-4.683-2.494-.566-3.926-.921-7.995-1.112-12.162a365 365 0 0 0-10.86-6.826c-1.821-1.134-1.265-3.818.927-4.726 4.076-1.601 8.168-3.192 12.255-4.701 1.296-4.223 2.573-8.488 3.71-12.65.608-2.257 3.191-2.73 4.56-.831 2.527 3.495 5.255 7.026 7.967 10.515 4.36-.031 8.75 0 13.13.067 2.367.056 3.87 2.376 2.51 4.074a373 373 0 0 0-7.72 10.223c1.303 3.967 2.415 7.893 3.28 11.767.437 2.053-1.637 4.495-3.49 3.987-3.5-.928-7.247-2.14-11.21-3.464Z"})),Qi||(Qi=d.createElement("path",{fill:"#fff",d:"M344.825 165.928H118.284v66.738h226.541z"})),Ki||(Ki=d.createElement("path",{fill:"#F0F2F3",fillRule:"evenodd",d:"M147.858 182.147c-6.991 0-12.66 5.668-12.66 12.66s5.669 12.66 12.66 12.66 12.66-5.668 12.66-12.66-5.668-12.66-12.66-12.66m-16.765 12.66c0-9.259 7.506-16.765 16.765-16.765s16.766 7.506 16.766 16.765-7.506 16.766-16.766 16.766-16.765-7.506-16.765-16.766m31.668 25.745h-29.805v-4.105h29.805zm55.761 0h-29.805v-4.105h29.805zm-14.902-38.405c-6.992 0-12.66 5.668-12.66 12.66s5.668 12.66 12.66 12.66 12.66-5.668 12.66-12.66-5.668-12.66-12.66-12.66m-16.766 12.66c0-9.259 7.507-16.765 16.766-16.765s16.765 7.506 16.765 16.765-7.506 16.766-16.765 16.766-16.766-7.506-16.766-16.766m87.43 25.745h-29.805v-4.105h29.805zm-14.902-38.405c-6.992 0-12.66 5.668-12.66 12.66s5.668 12.66 12.66 12.66 12.66-5.668 12.66-12.66-5.668-12.66-12.66-12.66m-16.766 12.66c0-9.259 7.506-16.765 16.766-16.765s16.765 7.506 16.765 16.765-7.506 16.766-16.765 16.766-16.766-7.506-16.766-16.766",clipRule:"evenodd"})),Xi||(Xi=d.createElement("path",{fill:"#D9DBDF",fillRule:"evenodd",d:"M147.867 182.147a12.66 12.66 0 0 0-12.527 10.776 12.656 12.656 0 1 0 24.725-1.448 12.66 12.66 0 0 0-5.134-7.164l2.296-3.404a16.76 16.76 0 1 1-9.357-2.865zm55.752 0a12.654 12.654 0 1 0 8.39 3.184l2.722-3.073a16.76 16.76 0 0 1 3.226 21.217 16.76 16.76 0 0 1-8.877 7.172 16.765 16.765 0 0 1-20.064-7.614 16.76 16.76 0 0 1 3.873-21.109 16.76 16.76 0 0 1 10.731-3.882zm55.766 0a12.681 12.681 0 1 0 2.049.164l.657-4.053a16.783 16.783 0 0 1 13.979 18.582 16.786 16.786 0 1 1-16.692-18.798z",clipRule:"evenodd"})),Ji||(Ji=d.createElement("path",{fill:"#F1F3F4",d:"M360.265 277.44c20.619 0 37.333-1.726 37.333-3.854s-16.714-3.854-37.333-3.854-37.333 1.725-37.333 3.854 16.714 3.854 37.333 3.854"})),en||(en=d.createElement("path",{fill:"#148E3A",fillRule:"evenodd",d:"M368.44 274.877c-3.725-9.645-4.194-20.648-3.16-32.153l2.556.23c-.988 10.992-.552 21.25 2.69 30.178h7.199v2.565h-8.088c-.53 0-1.006-.326-1.197-.82m-14.99-1.744c-2.955-9.536-3.569-19.756-2.589-30.41l2.555.235c-1.015 11.035-.267 21.456 3.015 31.043a1.282 1.282 0 0 1-1.214 1.698h-7.497v-2.566z",clipRule:"evenodd"})),tn||(tn=d.createElement("path",{fill:"#0D8034",fillRule:"evenodd",d:"M364.824 251.252c.042-2.823.203-5.646.457-8.525l2.556.225c-.25 2.828-.407 5.588-.447 8.338zm-14.374 2.467a97 97 0 0 1 .411-10.999l2.555.241a95 95 0 0 0-.4 10.708z",clipRule:"evenodd"})),nn||(nn=d.createElement("path",{fill:"#1E8E3E",d:"m355.371 215.214-34.619 3.285 3.285 34.618 34.618-3.284 34.619-3.284-3.284-34.619z"})),on||(on=d.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M369.015 230.76c-4.262 5.173-10.96 4.737-14.975 1.418l1.226-1.483c3.334 2.756 8.788 3.06 12.264-1.159z",clipRule:"evenodd"})),sn||(sn=d.createElement("path",{fill:"#34A853",fillRule:"evenodd",d:"M328.231 204.378c5.679 8.162 23.612 20.419 62.34 16.852l.235 2.555c-39.275 3.618-58.291-8.758-64.681-17.941zm-19.218 14.118a19.03 19.03 0 0 0 15.577 13.611l-.367 2.539a21.59 21.59 0 0 1-17.677-15.446z",clipRule:"evenodd"})),rn||(rn=d.createElement("path",{fill:"#1E8E3E",fillRule:"evenodd",d:"M317.868 229.814a18 18 0 0 0 6.705 2.29l-.334 2.544a20.5 20.5 0 0 1-7.663-2.617z",clipRule:"evenodd"})),an||(an=d.createElement("path",{fill:"#F0F2F3",fillRule:"evenodd",d:"M312.465 192.451c-6.992 0-12.66 5.668-12.66 12.66s5.668 12.66 12.66 12.66c6.991 0 12.66-5.668 12.66-12.66s-5.669-12.66-12.66-12.66m-16.766 12.66c0-9.26 7.506-16.766 16.766-16.766s16.765 7.506 16.765 16.766-7.506 16.765-16.765 16.765-16.766-7.506-16.766-16.765",clipRule:"evenodd"})),ln||(ln=d.createElement("path",{fill:"#D9DBDF",fillRule:"evenodd",d:"M312.464 192.454a12.66 12.66 0 0 0-8.079 2.916 12.66 12.66 0 0 0-2.983 15.881 12.65 12.65 0 0 0 15.056 5.867 12.655 12.655 0 0 0 4.572-21.326l2.779-3.022a16.76 16.76 0 0 1 2.88 21.206 16.76 16.76 0 0 1-8.937 7.038 16.75 16.75 0 0 1-11.371-.288 16.763 16.763 0 0 1-4.617-28.515 16.76 16.76 0 0 1 10.7-3.862z",clipRule:"evenodd"})),cn||(cn=d.createElement("path",{fill:"#1A73E8",d:"M78.538 240.807a23.67 23.67 0 0 1-30.98-12.691l43.67-18.289a23.665 23.665 0 0 1-12.69 30.98"})),dn||(dn=d.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"m86.154 223.843-.068 1.599c-.166 3.926-2.048 7.594-5.4 9.468l-1.001-1.791c2.174-1.216 3.644-3.458 4.158-6.114l-15.149 6.194-.777-1.9z",clipRule:"evenodd"})));function SetupUsingProxyViewOnly(){const e=(0,j.A)(),{dismissItem:t}=(0,a.useDispatch)(c.oR),{navigateTo:i}=(0,a.useDispatch)(v.M),n=(0,hn.A)(),o=(0,a.useSelect)(e=>e(l.O4).getAdminURL("googlesitekit-dashboard",n)),s=(0,a.useSelect)(e=>e(l.O4).getDocumentationLinkURL("dashboard-sharing")),r=(0,M.i)("setupFlowRefresh"),u=(0,d.useCallback)(()=>{Promise.all([t(x),(0,p.sx)(e,"confirm_viewonly")]).finally(()=>{const e=r?(0,g.F)(o,{notification:n.notification||"initial_setup_success"}):o;i(e)})},[r,n.notification,o,t,i,e]);return o?(0,C.jsxs)(d.Fragment,{children:[(0,C.jsx)(S.A,{children:(0,C.jsx)(A.A,{})}),(0,C.jsx)("div",{className:"googlesitekit-setup",children:(0,C.jsx)(f.xA,{children:(0,C.jsx)(f.fI,{children:(0,C.jsx)(f.fh,{size:12,children:(0,C.jsx)(m.A,{rounded:!0,children:(0,C.jsx)("section",{className:"googlesitekit-setup__splash",children:(0,C.jsx)(f.xA,{children:(0,C.jsxs)(f.fI,{className:"googlesitekit-setup__content",children:[(0,C.jsx)(f.fh,{smSize:4,mdSize:8,lgSize:4,lgOrder:2,className:"googlesitekit-setup__icon",children:(0,C.jsx)(mn,{width:398,height:280})}),(0,C.jsxs)(f.fh,{smSize:4,mdSize:8,lgSize:8,lgOrder:1,children:[(0,C.jsx)(Wt.A,{as:"h1",className:"googlesitekit-setup__title",size:"large",type:"headline",children:(0,h.__)("View-only Dashboard Access","google-site-kit")}),(0,C.jsx)("p",{className:"googlesitekit-setup__description",children:(0,ie.A)((0,h.__)("An administrator has granted you access to view this site's dashboard to view stats from all shared Google services. <a>Learn more</a>","google-site-kit"),{a:(0,C.jsx)(ge.A,{"aria-label":(0,h.__)("Learn more about dashboard sharing","google-site-kit"),href:s,external:!0})})}),(0,C.jsx)(_e.A,{children:(0,h.__)("Get insights about how people find and use your site as well as how to improve and monetize your content, directly in your WordPress dashboard","google-site-kit")}),(0,C.jsx)(ii.A,{}),(0,C.jsx)("div",{className:"googlesitekit-start-setup-wrap",children:(0,C.jsx)(ne.Button,{onClick:u,children:(0,h.__)("Go to dashboard","google-site-kit")})})]})]})})})})})})})})]}):null}var fn=i(17243),kn=i(39016),vn=i(20697);class WizardStepAuthentication extends d.Component{constructor(e){super(e),this.onButtonClick=this.onButtonClick.bind(this)}async onButtonClick(){const{connectURL:e,isSiteKitConnected:t}=this.props;await Promise.all([(0,s.SO)("start_user_setup",!0),(0,p.sx)(`${vn.uR}_setup`,"start_user_setup","custom-oauth")]),t||await Promise.all([(0,s.SO)("start_site_setup",!0),(0,p.sx)(`${vn.uR}_setup`,"start_site_setup","custom-oauth")]),document.location=e}render(){const{needReauthenticate:e,resetAndRestart:t}=this.props;return(0,C.jsx)("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--two",children:(0,C.jsx)(f.xA,{children:(0,C.jsx)(f.fI,{children:(0,C.jsxs)(f.fh,{size:12,children:[(0,C.jsx)(Wt.A,{as:"h3",className:"googlesitekit-wizard-step__title",size:"small",type:"headline",children:(0,h.__)("Authenticate with Google","google-site-kit")}),(0,C.jsx)(_e.A,{children:(0,h.__)("Please sign into your Google account to begin.","google-site-kit")}),e&&(0,C.jsx)("p",{className:"googlesitekit-error-text",children:(0,h.__)("You did not grant access to one or more of the requested scopes. Please grant all scopes that you are prompted for.","google-site-kit")}),(0,C.jsxs)(_e.A,{children:[(0,C.jsx)(ne.Button,{onClick:this.onButtonClick,children:(0,h._x)("Sign in with Google","Service name","google-site-kit")}),t&&(0,C.jsx)(ne.Button,{className:"googlesitekit-wizard-step__back",onClick:t,tertiary:!0,children:(0,h.__)("Back","google-site-kit")})]}),(0,C.jsx)("div",{className:"googlesitekit-wizard-step__action googlesitekit-wizard-step__action--justify",children:(0,C.jsx)(ii.A,{})})]})})})})}}WizardStepAuthentication.propTypes={connectURL:te().string.isRequired,resetAndRestart:te().func};const yn=WizardStepAuthentication;class SiteVerification extends d.Component{constructor(e){super(e);const{isAuthenticated:t,shouldSetup:i}=this.props;this.state={loading:t&&i,loadingMsg:(0,h.__)("Getting your verified sites…","google-site-kit"),siteURL:" ",selectedURL:"",errorCode:!1,errorMsg:""},this.onProceed=this.onProceed.bind(this)}componentDidMount(){const{isAuthenticated:e,shouldSetup:t}=this.props;e&&t&&this.requestSitePropertyList()}requestSitePropertyList(){const{setErrorMessage:e}=this.props;(async()=>{try{const{verified:e,identifier:t}=await(0,be.get)("modules","site-verification","verification",void 0,{useCache:!1});if(e){await(0,p.sx)("verification_setup","verification_check_true");if(!0===(await this.insertSiteVerification(t)).verified)return void this.props.siteVerificationSetup(!0)}else await(0,p.sx)("verification_setup","verification_check_false");return void this.setState({loading:!1,siteURL:t})}catch(t){let n=t.message;if((0,p.BG)(t.message)){n=JSON.parse(t.message).error.message||t.message}e(n),this.setState({loading:!1,errorCode:t.code,errorMsg:n,siteURL:i.g._googlesitekitLegacyData.admin.siteURL})}})()}async insertSiteVerification(e){return await(0,be.set)("modules","site-verification","verification",{siteURL:e})}async onProceed(){const{setErrorMessage:e}=this.props,t=this.state.siteURL?this.state.siteURL:i.g._googlesitekitLegacyData.admin.siteURL;e(""),this.setState({loading:!0,loadingMsg:(0,h.__)("Verifying…","google-site-kit"),errorCode:!1,errorMsg:""});try{!0===(await this.insertSiteVerification(t)).verified&&((0,p.sx)("verification_setup","verification_insert_tag"),this.props.siteVerificationSetup(!0))}catch(t){let i=t.message;if((0,p.BG)(t.message)){i=JSON.parse(t.message).error.message||t.message}e(i),this.setState({loading:!1,errorCode:t.code,errorMsg:i})}}renderForm(){const{loading:e,loadingMsg:t,siteURL:i}=this.state,n=(0,C.jsxs)(d.Fragment,{children:[t&&(0,C.jsx)(_e.A,{children:t}),(0,C.jsx)(ne.ProgressBar,{})]});return e?n:(0,C.jsxs)(d.Fragment,{children:[(0,C.jsx)("div",{className:"googlesitekit-wizard-step__inputs",children:(0,C.jsx)(ne.TextField,{label:(0,h.__)("Website Address","google-site-kit"),name:"siteProperty",value:i,outlined:!0})}),(0,C.jsx)("div",{className:"googlesitekit-wizard-step__action googlesitekit-wizard-step__action--justify",children:(0,C.jsx)(ne.Button,{onClick:this.onProceed,children:(0,h.__)("Continue","google-site-kit")})})]})}static renderSetupDone(){return(0,C.jsxs)(d.Fragment,{children:[(0,C.jsx)(Wt.A,{as:"h3",className:"googlesitekit-wizard-step__title",size:"small",type:"headline",children:(0,h.__)("Verify URL","google-site-kit")}),(0,C.jsx)("p",{className:"googlesitekit-wizard-step__text",children:(0,h.__)("Congratulations, your site has been verified!","google-site-kit")})]})}render(){const{isAuthenticated:e,shouldSetup:t}=this.props,{errorMsg:i}=this.state;return t?(0,C.jsxs)(d.Fragment,{children:[(0,C.jsx)(Wt.A,{as:"h3",className:"googlesitekit-wizard-step__title",size:"small",type:"headline",children:(0,h.__)("Verify URL","google-site-kit")}),(0,C.jsx)("p",{className:"googlesitekit-wizard-step__text",children:(0,h.__)("We will need to verify your URL for Site Kit.","google-site-kit")}),i&&0<i.length&&(0,C.jsx)("p",{className:"googlesitekit-error-text",children:i}),e&&this.renderForm()]}):SiteVerification.renderSetupDone()}}SiteVerification.propTypes={isAuthenticated:te().bool.isRequired,shouldSetup:te().bool.isRequired,siteVerificationSetup:te().func.isRequired,completeSetup:te().func,setErrorMessage:te().func.isRequired};const _n=SiteVerification;class WizardStepVerification extends d.Component{render(){const{isVerified:e}=this.props,t=!e;return(0,C.jsx)("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--three",children:(0,C.jsx)(f.xA,{children:(0,C.jsx)(f.fI,{children:(0,C.jsx)(f.fh,{size:12,children:(0,C.jsx)(_n,{shouldSetup:t,...this.props})})})})})}}WizardStepVerification.propTypes={siteVerificationSetup:te().func.isRequired};const xn=WizardStepVerification;var bn=i(32803);class SearchConsole extends d.Component{constructor(e){super(e);const{siteURL:t}=i.g._googlesitekitLegacyData.admin;this.state={loading:!0,sites:!1,selectedURL:t,siteURL:t,connected:!1,errorCode:!1,errorMsg:""},this.handleURLSelect=this.handleURLSelect.bind(this),this.insertPropertyToSearchConsole=this.insertPropertyToSearchConsole.bind(this),this.submitPropertyEventHandler=this.submitPropertyEventHandler.bind(this)}componentDidMount(){const{isAuthenticated:e,shouldSetup:t}=this.props;e&&t&&this.requestSearchConsoleSiteList()}requestSearchConsoleSiteList(){const{setErrorMessage:e}=this.props;(async()=>{try{const t=await(0,be.get)("modules",bn.Y,"matched-sites",void 0,{useCache:!1});if(1===t.length)return await this.insertPropertyToSearchConsole(t[0].siteURL),void this.props.searchConsoleSetup(t[0].siteURL);if(!t.length)throw{code:"no_property_matched",message:(0,h.__)("Your site has not been added to Search Console yet. Would you like to add it now?","google-site-kit")};throw e(""),this.setState({loading:!1,selectedURL:t[0].siteURL,sites:t}),{code:"multiple_properties_matched",message:(0,h.sprintf)(/* translators: %s: the number of matching properties */ /* translators: %s: the number of matching properties */ (0,h.__)("We found %d existing accounts. Please choose which one to use below.","google-site-kit"),t.length)}}catch(t){e(t.message),this.setState({loading:!1,errorCode:t.code,errorMsg:t.message})}})()}async insertPropertyToSearchConsole(e,t=!1){await(0,be.set)("modules",bn.Y,"site",{siteURL:e}),t&&await(0,p.sx)("search_console_setup","add_new_sc_property"),this.setState({loading:!1,connected:!0})}submitPropertyEventHandler(){const{selectedURL:e,errorCode:t}=this.state,{setErrorMessage:i}=this.props;(async()=>{try{await this.insertPropertyToSearchConsole(e,"no_property_matched"===t),i(""),this.props.searchConsoleSetup(e)}catch(e){i(e.message[0].message),this.setState({loading:!1,errorCode:e.code,errorMsg:e.message[0].message})}})()}handleURLSelect(e,t){this.setState({selectedURL:t.getAttribute("data-value")})}matchedForm(){const{sites:e,selectedURL:t}=this.state;if(!e)return null;const i=e.map(e=>{let t=e.siteURL;return t.startsWith("sc-domain:")&&(t=(0,h.sprintf)(/* translators: %s: Search Console property domain name */ /* translators: %s: Search Console property domain name */ (0,h.__)("%s (domain property)","google-site-kit"),t.replace(/^sc-domain:/,""))),{label:t,value:e.siteURL}});return(0,C.jsxs)(d.Fragment,{children:[(0,C.jsx)("div",{className:"googlesitekit-setup-module__inputs",children:(0,C.jsx)(ne.Select,{name:"siteProperty",label:(0,h.__)("Choose URL","google-site-kit"),onEnhancedChange:this.handleURLSelect,options:i,value:t,enhanced:!0,outlined:!0})}),(0,C.jsx)("div",{className:"googlesitekit-wizard-step__action googlesitekit-wizard-step__action--justify",children:(0,C.jsx)(ne.Button,{onClick:this.submitPropertyEventHandler,children:(0,h.__)("Continue","google-site-kit")})})]})}static connected(){return(0,C.jsxs)("section",{className:"googlesitekit-setup-module googlesitekit-setup-module--search-console",children:[(0,C.jsx)(Wt.A,{as:"h3",className:"googlesitekit-setup-module__title",size:"small",type:"headline",children:(0,h._x)("Search Console","Service name","google-site-kit")}),(0,C.jsx)("p",{className:"googlesitekit-setup-module__text--no-margin",children:(0,h.__)("Your Search Console is set up with Site Kit.","google-site-kit")})]})}noSiteForm(){const{siteURL:e}=this.state;return(0,C.jsxs)(d.Fragment,{children:[(0,C.jsx)("div",{className:"googlesitekit-setup-module__inputs",children:(0,C.jsx)(ne.TextField,{label:(0,h.__)("Website Address","google-site-kit"),name:"siteProperty",value:e,outlined:!0})}),(0,C.jsx)("div",{className:"googlesitekit-wizard-step__action googlesitekit-wizard-step__action--justify",children:(0,C.jsx)(ne.Button,{onClick:this.submitPropertyEventHandler,children:(0,h.__)("Continue","google-site-kit")})})]})}renderForm(){const{loading:e,sites:t}=this.state;return e?(0,C.jsxs)(d.Fragment,{children:[(0,C.jsx)(_e.A,{children:(0,h.__)("We’re locating your Search Console account.","google-site-kit")}),(0,C.jsx)(ne.ProgressBar,{})]}):0===t.length?this.noSiteForm():this.matchedForm()}render(){const{isAuthenticated:e,shouldSetup:t}=this.props,{errorMsg:i,connected:n}=this.state;return!t||n?SearchConsole.connected():(0,C.jsxs)("section",{className:"googlesitekit-setup-module googlesitekit-setup-module--search-console",children:[(0,C.jsx)(Wt.A,{as:"h3",className:"googlesitekit-setup-module__title",size:"small",type:"headline",children:(0,h._x)("Search Console","Service name","google-site-kit")}),i&&0<i.length&&(0,C.jsx)("p",{className:"googlesitekit-error-text",children:i}),e&&t&&this.renderForm()]})}}SearchConsole.propTypes={isAuthenticated:te().bool.isRequired,shouldSetup:te().bool.isRequired,searchConsoleSetup:te().func.isRequired,setErrorMessage:te().func.isRequired};const jn=SearchConsole;class WizardStepSearchConsoleProperty extends d.Component{render(){const{isVerified:e,hasSearchConsoleProperty:t}=this.props,i=e&&!t;return(0,C.jsx)("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--four",children:(0,C.jsx)(f.xA,{children:(0,C.jsx)(f.fI,{children:(0,C.jsx)(f.fh,{size:12,children:i?(0,C.jsx)(jn,{shouldSetup:i,...this.props}):jn.connected()})})})})}}WizardStepSearchConsoleProperty.propTypes={searchConsoleSetup:te().func.isRequired};const Sn=WizardStepSearchConsoleProperty;class WizardStepCompleteSetup extends d.Component{constructor(e){super(e);const{hasSearchConsoleProperty:t}=i.g._googlesitekitLegacyData.setup;t?(0,p.sx)("plugin_setup","user_verified"):(0,p.sx)("plugin_setup","site_verified")}render(){return(0,C.jsx)("section",{className:"googlesitekit-wizard-step googlesitekit-wizard-step--five",children:(0,C.jsx)(f.xA,{children:(0,C.jsx)(f.fI,{children:(0,C.jsxs)(f.fh,{size:12,children:[(0,C.jsx)(Wt.A,{as:"h3",className:"googlesitekit-wizard-step__title",size:"small",type:"headline",children:(0,h.__)("Congratulations!","google-site-kit")}),(0,C.jsx)(_e.A,{children:(0,h.__)("You successfully completed the Site Kit setup and connected Search Console. Check the dashboard for more services to connect.","google-site-kit")}),(0,C.jsx)("div",{className:"googlesitekit-wizard-step__action",children:(0,C.jsx)(ne.Button,{id:"wizard-step-five-proceed",onClick:this.props.completeSetup,children:(0,h.__)("Go to dashboard","google-site-kit")})})]})})})})}}WizardStepCompleteSetup.propTypes={completeSetup:te().func.isRequired};const An=WizardStepCompleteSetup,Nn={authentication:{title:(0,h.__)("Authenticate","google-site-kit"),required:!0,isApplicable:()=>!0,isCompleted:e=>e.isSiteKitConnected&&e.isAuthenticated&&!e.needReauthenticate,Component:yn},verification:{title:(0,h.__)("Verify URL","google-site-kit"),required:!0,isApplicable:()=>!0,isCompleted:e=>e.isSiteKitConnected&&e.isAuthenticated&&e.isVerified,Component:xn},seachConsoleProperty:{title:(0,h.__)("Connect Search Console","google-site-kit"),required:!0,isApplicable:()=>!0,isCompleted:e=>e.isSiteKitConnected&&e.isAuthenticated&&e.isVerified&&e.hasSearchConsoleProperty,Component:Sn},completeSetup:{title:(0,h._x)("Finish","complete module setup","google-site-kit"),required:!1,isApplicable:()=>!0,isCompleted:e=>e.isSiteKitConnected&&e.isAuthenticated&&e.isVerified&&e.hasSearchConsoleProperty,Component:An}};var wn=i(4452),Mn=i.n(wn),Cn=i(18418),In=i(11253);class WizardProgressStep extends d.Component{render(){const{currentStep:e,step:t,title:i,status:n,warning:o,error:s,stepKey:r}=this.props;let a=n;o?a="warning":s&&(a="error");let l=!1;switch(a){case"warning":case"error":l=(0,C.jsx)(Cn.A,{height:"12",width:"2"});break;case"completed":l=(0,C.jsx)(In.A,{height:"12",width:"16"})}return(0,C.jsxs)("div",{className:Mn()("googlesitekit-wizard-progress-step",`googlesitekit-wizard-progress-step--${t}`,`googlesitekit-wizard-progress-step--${r}`,{"googlesitekit-wizard-progress-step--current":e}),children:[(0,C.jsx)("div",{className:"googlesitekit-wizard-progress-step__number-wrapper",children:(0,C.jsxs)("div",{className:Mn()("googlesitekit-wizard-progress-step__number",`googlesitekit-wizard-progress-step__number--${a}`),children:[(0,C.jsx)("span",{className:Mn()("googlesitekit-wizard-progress-step__number-text",`googlesitekit-wizard-progress-step__number-text--${a}`),children:t}),l&&(0,C.jsx)("span",{className:Mn()("googlesitekit-wizard-progress-step__number-icon",`googlesitekit-wizard-progress-step__number-icon--${a}`),children:l})]})}),(0,C.jsx)("p",{className:"googlesitekit-wizard-progress-step__text",children:i})]})}}WizardProgressStep.propTypes={currentStep:te().bool.isRequired,step:te().number.isRequired,title:te().string,status:te().string,warning:te().bool,error:te().bool},WizardProgressStep.defaultProps={title:"",status:"",warning:!1,error:!1,removeFirstStep:!1};const En=WizardProgressStep;class SetupUsingGCP extends d.Component{constructor(e){super(e);const{connectURL:t}=i.g._googlesitekitLegacyData.admin,{isAuthenticated:n,hasSearchConsoleProperty:o,isSiteKitConnected:s,isVerified:r,needReauthenticate:a}=i.g._googlesitekitLegacyData.setup;this.state={isAuthenticated:n,isVerified:r,needReauthenticate:a,hasSearchConsoleProperty:o,hasSearchConsolePropertyFromTheStart:o,connectURL:t,errorMsg:"",isSiteKitConnected:s,completeSetup:!1},this.siteConnectedSetup=this.siteConnectedSetup.bind(this),this.siteVerificationSetup=this.siteVerificationSetup.bind(this),this.searchConsoleSetup=this.searchConsoleSetup.bind(this),this.resetAndRestart=this.resetAndRestart.bind(this),this.completeSetup=this.completeSetup.bind(this),this.setErrorMessage=this.setErrorMessage.bind(this),this.onButtonClick=this.onButtonClick.bind(this)}async resetAndRestart(){await(0,be.set)("core","site","reset"),await(0,s.IL)(),this.setState({isSiteKitConnected:!1,isAuthenticated:!1,isVerified:!1,hasSearchConsoleProperty:!1,completeSetup:!1,errorMsg:""})}completeSetup(){this.setState({completeSetup:!0})}siteConnectedSetup(e){this.setState({isSiteKitConnected:e})}siteVerificationSetup(e){this.setState({isVerified:e})}searchConsoleSetup(e){this.setState({hasSearchConsoleProperty:e})}isSetupFinished(){const{isSiteKitConnected:e,isAuthenticated:t,isVerified:i,hasSearchConsoleProperty:n,completeSetup:o}=this.state;return e&&t&&i&&n&&o}setErrorMessage(e){this.setState({errorMsg:e})}getApplicableSteps(){const e=Nn,t=Object.keys(e);let i;for(i=0;i<t.length;i++)e[t[i]].isApplicable(this.state)||delete e[t[i]];return e}currentStep(e){const t=Object.keys(e);let i;for(i=0;i<t.length-1;i++)if(!e[t[i]].isCompleted(this.state))return t[i];return t[i]}stepStatus(e,t){if(e[t].isCompleted(this.state))return"completed";return t===this.currentStep(e)?"inprogress":""}onButtonClick(){const{connectURL:e}=this.state;document.location=e}render(){const{isAuthenticated:e,isVerified:t,needReauthenticate:n,hasSearchConsoleProperty:o,connectURL:s,isSiteKitConnected:r}=this.state,{canSetup:a,redirectURL:l}=this.props;this.isSetupFinished()&&(0,fn.delay)(()=>{i.g.location.replace(l)},500,"later");const c=this.getApplicableSteps(),g=this.currentStep(c),u=c[g].Component,p=(0,C.jsx)(u,{siteConnectedSetup:this.siteConnectedSetup,connectURL:s,siteVerificationSetup:this.siteVerificationSetup,searchConsoleSetup:this.searchConsoleSetup,completeSetup:this.completeSetup,isSiteKitConnected:r,isAuthenticated:e,isVerified:t,needReauthenticate:n,hasSearchConsoleProperty:o,setErrorMessage:this.setErrorMessage,resetAndRestart:c.clientCredentials?this.resetAndRestart:void 0}),k=a,v=!k&&!e;return(0,C.jsxs)(d.Fragment,{children:[(0,C.jsx)(S.A,{children:(0,C.jsx)(A.A,{})}),(0,C.jsx)("div",{className:"googlesitekit-wizard",children:(0,C.jsx)(f.xA,{children:(0,C.jsx)(f.fI,{children:(0,C.jsx)(f.fh,{size:12,children:(0,C.jsxs)(m.A,{children:[(0,C.jsxs)("section",{className:"googlesitekit-wizard-progress",children:[(0,C.jsx)(f.xA,{children:(0,C.jsx)(f.fI,{children:k&&(0,C.jsx)(f.fh,{size:12,children:(0,C.jsx)("div",{className:"googlesitekit-wizard-progress__steps",children:Object.keys(c).map((e,t)=>(0,C.jsx)(En,{currentStep:g===e,title:c[e].title,step:t+1,status:this.stepStatus(c,e),warning:c[e].warning,error:c[e].error,stepKey:e},c[e].title))})})})}),v&&(0,C.jsx)("div",{className:"googlesitekit-setup__footer",children:(0,C.jsx)(f.xA,{children:(0,C.jsx)(f.fI,{children:(0,C.jsxs)(f.fh,{size:12,children:[(0,C.jsx)(Wt.A,{as:"h1",className:"googlesitekit-setup__title",size:"large",type:"headline",children:(0,h.__)("Authenticate Site Kit","google-site-kit")}),(0,C.jsx)("p",{className:"googlesitekit-setup__description",children:(0,h.__)("Please sign into your Google account to begin.","google-site-kit")}),(0,C.jsx)(ne.Button,{href:"#",onClick:this.onButtonClick,children:(0,h._x)("Sign in with Google","Service name","google-site-kit")})]})})})})]}),k&&p]})})})})})]})}}const Tn=(0,kn.A)((0,a.withSelect)(e=>({canSetup:e(c.oR).hasCapability(c.UF),redirectURL:e(l.O4).getAdminURL("googlesitekit-dashboard",{notification:"authentication_success"})})))(SetupUsingGCP);function DashboardSplashApp(){const e=(0,a.useSelect)(e=>e(l.O4).isUsingProxy()),t=(0,a.useSelect)(e=>e(c.oR).hasCapability(c.ej));return!0===e?t?(0,C.jsx)(SetupUsingProxyWithSignIn,{}):(0,C.jsx)(SetupUsingProxyViewOnly,{}):!1===e?(0,C.jsx)(Tn,{}):null}(0,n.A)(async()=>{i.g._googlesitekitLegacyData.admin.resetSession&&await(0,s.IL)();const e=document.getElementById("js-googlesitekit-splash");e&&(0,o.render)((0,C.jsx)(r.A,{viewContext:vn.uR,children:(0,C.jsx)(DashboardSplashApp,{})}),e)})},48276:(e,t,i)=>{i.d(t,{VZ:()=>s,dc:()=>r,pH:()=>o,r0:()=>a});var n=i(84024);function o(e){try{return new URL(e).pathname}catch{}return null}function s(e,t){try{return new URL(t,e).href}catch{}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function r(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function a(e,t){if(!(0,n.m)(e))return e;if(e.length<=t)return e;const i=new URL(e),o=e.replace(i.origin,"");if(o.length<t)return o;const s=o.length-Math.floor(t)+1;return"…"+o.substr(s)}},49057:(e,t,i)=>{i.d(t,{Ay:()=>f,wA:()=>a.A,ws:()=>u.w,WM:()=>r.A});var n=i(29725),o=i(56805),s=i(78913),r=i(35470),a=i(63737),l=i(44319),c=i(31170),d=i(30043),g=i(66293),u=i(52721),h=i(8084),p=i(97241);const m=(0,n.I)({},i.g.wp?.data);m.combineStores=h.o3,m.commonActions=h.jU,m.commonControls=h._5,m.commonStore=h.x0,m.createReducer=function(e){return(0,p.Ay)(e)},m.useInViewSelect=u.w,m.controls=o.n,m.createRegistryControl=s.b,m.createRegistrySelector=s.N,m.useSelect=r.A,m.useDispatch=a.A,m.useRegistry=l.A,m.withSelect=c.A,m.withDispatch=d.A,m.RegistryProvider=g.Ay;const f=m},49383:e=>{e.exports=googlesitekit.components},49746:(e,t,i)=>{i.d(t,{Eo:()=>g,JK:()=>m,K5:()=>p,jq:()=>h,mK:()=>d});var n=i(17243),o=i(50532),s=i.n(o),r=i(82871);function a(e,t={}){const{formatUnit:i,formatDecimal:n}=function(e,t={}){const{hours:i,minutes:n,seconds:o}=l(e);return{hours:i,minutes:n,seconds:o,formatUnit(){const{unitDisplay:s="short",...a}=t,l={unitDisplay:s,...a,style:"unit"};return 0===e?h(o,{...l,unit:"second"}):(0,r.sprintf)(/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ (0,r._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?h(o,{...l,unit:"second"}):"",n?h(n,{...l,unit:"minute"}):"",i?h(i,{...l,unit:"hour"}):"").trim()},formatDecimal(){const t=(0,r.sprintf)( // translators: %s: number of seconds with "s" as the abbreviated unit. // translators: %s: number of seconds with "s" as the abbreviated unit. (0,r.__)("%ds","google-site-kit"),o);if(0===e)return t;const s=(0,r.sprintf)( // translators: %s: number of minutes with "m" as the abbreviated unit. // translators: %s: number of minutes with "m" as the abbreviated unit. (0,r.__)("%dm","google-site-kit"),n),a=(0,r.sprintf)( // translators: %s: number of hours with "h" as the abbreviated unit. // translators: %s: number of hours with "h" as the abbreviated unit. (0,r.__)("%dh","google-site-kit"),i);return(0,r.sprintf)(/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ (0,r._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?t:"",n?s:"",i?a:"").trim()}}}(e,t);try{return i()}catch{return n()}}function l(e){e=parseInt(e,10),Number.isNaN(e)&&(e=0);return{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}}function c(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e}function d(e){let t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:(0,n.isPlainObject)(e)&&(t={...e}),t}function g(e,t={}){e=(0,n.isFinite)(e)?e:Number(e),(0,n.isFinite)(e)||(console.warn("Invalid number",e,typeof e),e=0);const i=d(t),{style:o="metric"}=i;return"metric"===o?function(e){const t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?(0,r.sprintf)( // translators: %s: an abbreviated number in millions. // translators: %s: an abbreviated number in millions. (0,r.__)("%sM","google-site-kit"),h(c(e),e%10==0?{}:t)):1e4<=e?(0,r.sprintf)( // translators: %s: an abbreviated number in thousands. // translators: %s: an abbreviated number in thousands. (0,r.__)("%sK","google-site-kit"),h(c(e))):1e3<=e?(0,r.sprintf)( // translators: %s: an abbreviated number in thousands. // translators: %s: an abbreviated number in thousands. (0,r.__)("%sK","google-site-kit"),h(c(e),e%10==0?{}:t)):h(e,{signDisplay:"never",maximumFractionDigits:1})}(e):"duration"===o?a(e,i):"durationISO"===o?function(e){let{hours:t,minutes:i,seconds:n}=l(e);return n=("0"+n).slice(-2),i=("0"+i).slice(-2),t=("0"+t).slice(-2),"00"===t?`${i}:${n}`:`${t}:${i}:${n}`}(e):h(e,i)}const u=s()(console.warn);function h(e,t={}){const{locale:i=m(),...n}=t;try{return new Intl.NumberFormat(i,n).format(e)}catch(t){u(`Site Kit numberFormat error: Intl.NumberFormat( ${JSON.stringify(i)}, ${JSON.stringify(n)} ).format( ${typeof e} )`,t.message)}const o={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],r={};for(const[e,t]of Object.entries(n))o[e]&&t===o[e]||s.includes(e)||(r[e]=t);try{return new Intl.NumberFormat(i,r).format(e)}catch{return new Intl.NumberFormat(i).format(e)}}function p(e,t={}){const{locale:i=m(),style:n="long",type:o="conjunction"}=t;if(Intl.ListFormat){return new Intl.ListFormat(i,{style:n,type:o}).format(e)} /* translators: used between list items, there is a space after the comma. */const s=(0,r.__)(", ","google-site-kit");return e.join(s)}function m(e=i.g){const t=(0,n.get)(e,["_googlesitekitLegacyData","locale"]);if(t){const e=t.match(/^(\w{2})?(_)?(\w{2})/);if(e&&e[0])return e[0].replace(/_/g,"-")}return e.navigator.language}},49993:(e,t,i)=>{i.d(t,{Gq:()=>g,IL:()=>m,LD:()=>h,SO:()=>u,a2:()=>o,xD:()=>p});var n=i(13047);const o="googlesitekit_",s=`${o}1.177.0_${i.g._googlesitekitBaseData.storagePrefix}_`,r=["sessionStorage","localStorage"];let a,l=[...r];async function c(e){const t=i.g[e];if(!t)return!1;try{const e="__storage_test__";return t.setItem(e,e),t.removeItem(e),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!==t.length}}async function d(){if(void 0!==a)return a;for(const e of l)a||await c(e)&&(a=i.g[e]);return void 0===a&&(a=null),a}async function g(e){const t=await d();if(t){const i=t.getItem(`${s}${e}`);if(i){const e=JSON.parse(i),{timestamp:t,ttl:n,value:o,isError:s}=e;if(t&&(!n||Math.round(Date.now()/1e3)-t<n))return{cacheHit:!0,value:o,isError:s}}}return{cacheHit:!1,value:void 0}}async function u(e,t,{ttl:o=n.Jg,timestamp:r=Math.round(Date.now()/1e3),isError:a=!1}={}){const l=await d();if(l)try{return l.setItem(`${s}${e}`,JSON.stringify({timestamp:r,ttl:o,value:t,isError:a})),!0}catch(e){return i.g.console.warn("Encountered an unexpected storage error:",e),!1}return!1}async function h(e){const t=await d();if(t)try{const i=e.startsWith(o)?e:`${s}${e}`;return t.removeItem(i),!0}catch(e){return i.g.console.warn("Encountered an unexpected storage error:",e),!1}return!1}async function p(){const e=await d();if(e)try{const t=[];for(let i=0;i<e.length;i++){const n=e.key(i);0===n.indexOf(o)&&t.push(n)}return t}catch(e){return i.g.console.warn("Encountered an unexpected storage error:",e),[]}return[]}async function m(){if(await d()){const e=await p();for(const t of e)await h(t);return!0}return!1}},50304:(e,t,i)=>{i.d(t,{A:()=>IconWrapper});var n=i(62688),o=i.n(n),s=i(62540);function IconWrapper({children:e,marginLeft:t,marginRight:i}){return(0,s.jsx)("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:t,marginRight:i},children:e})}IconWrapper.propTypes={children:o().node.isRequired,marginLeft:o().number,marginRight:o().number}},50477:(e,t,i)=>{i.d(t,{C:()=>s,p:()=>o});var n=i(55465);function o(e,t={}){return{__html:n.O.sanitize(e,t)}}function s(e){const t="object"==typeof e?e.toString():e;return t?.replace?.(/\/+$/,"")}},50539:e=>{e.exports=googlesitekit.data},51193:(e,t,i)=>{i.d(t,{Du:()=>h,GH:()=>l,Gp:()=>c,IS:()=>v,Jg:()=>g,N_:()=>_,O5:()=>y,Ql:()=>p,Qr:()=>m,XH:()=>k,r0:()=>d,sq:()=>f,tt:()=>u});var n=i(32091),o=i.n(n),s=i(17243),r=i(82871);const a="Date param must construct to a valid date instance or be a valid date instance itself.",l="Invalid dateString parameter, it must be a string.",c='Invalid date range, it must be a string with the format "last-x-days".',d=60,g=60*d,u=24*g,h=7*u;function p(){function e(e){return(0,r.sprintf)(/* translators: %s: number of days */ /* translators: %s: number of days */ (0,r._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 m(e=""){if(!(0,s.isString)(e))return!1;if(3!==e.split("-").length)return!1;const t=new Date(e);return(0,s.isDate)(t)&&!isNaN(t)}function f(e){o()((0,s.isDate)(e)&&!isNaN(e),a);const t=`${e.getMonth()+1}`,i=`${e.getDate()}`;return[e.getFullYear(),t.length<2?`0${t}`:t,i.length<2?`0${i}`:i].join("-")}function k(e){o()(m(e),l);const[t,i,n]=e.split("-");return new Date(t,i-1,n)}function v(e,t){return f(_(e,t*u))}function y(e){const t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function _(e,t){o()(m(e)||(0,s.isDate)(e)&&!isNaN(e),l);const i=m(e)?Date.parse(e):e.getTime();return new Date(i-1e3*t)}},52696:(e,t,i)=>{i.d(t,{WM:()=>n.WM,wA:()=>n.wA,ws:()=>n.ws});var n=i(49057);void 0===i.g.googlesitekit&&(i.g.googlesitekit={}),i.g.googlesitekit.data=n.Ay},52721:(e,t,i)=>{i.d(t,{w:()=>a});var n=i(35470),o=i(63696),s=i(85097);function r(){}function a(e,t){const i=(0,s.W)({sticky:!0}),a=(0,o.useRef)(),l=(0,o.useCallback)(e,t),c=(0,n.A)(i?l:r);return i&&(a.current=c),a.current}},52735:(e,t,i)=>{i.d(t,{A:()=>n});const n=(0,i(63696).createContext)(!1)},54419:e=>{e.exports=googlesitekit.api},55465:(e,t,i)=>{i.d(t,{O:()=>o});var n=i(31234);const o=i.n(n)()(i.g)},55989:(e,t,i)=>{i.d(t,{A:()=>l});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(62540);function VisuallyHidden({className:e,children:t,...i}){return t?(0,a.jsx)("span",{...i,className:r()("screen-reader-text",e),children:t}):null}VisuallyHidden.propTypes={className:o().string,children:o().node},VisuallyHidden.defaultProps={className:""};const l=VisuallyHidden},58588:(e,t,i)=>{i.d(t,{A:()=>s});var n=i(63696),o=i(37467);function s(){const[e]=(0,o.A)("notification"),[t]=(0,o.A)("panel");return(0,n.useMemo)(()=>{const i={};return e&&(i.notification=e),t&&(i.panel=t),i},[e,t])}},58718:(e,t,i)=>{i.d(t,{CX:()=>o,Py:()=>r,SM:()=>n,kj:()=>s});const n="adsense-connect-cta",o="adsense-connect-cta-tooltip-state",s="adsense-ga4-top-earnings-notice",r="adsense"},59352:(e,t,i)=>{i.r(t),i.d(t,{CONTEXT_ENTITY_DASHBOARD_CONTENT:()=>c,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:()=>g,CONTEXT_ENTITY_DASHBOARD_SPEED:()=>d,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:()=>l,CONTEXT_MAIN_DASHBOARD_CONTENT:()=>s,CONTEXT_MAIN_DASHBOARD_KEY_METRICS:()=>n,CONTEXT_MAIN_DASHBOARD_MONETIZATION:()=>a,CONTEXT_MAIN_DASHBOARD_SPEED:()=>r,CONTEXT_MAIN_DASHBOARD_TRAFFIC:()=>o,default:()=>u});const n="mainDashboardKeyMetrics",o="mainDashboardTraffic",s="mainDashboardContent",r="mainDashboardSpeed",a="mainDashboardMonetization",l="entityDashboardTraffic",c="entityDashboardContent",d="entityDashboardSpeed",g="entityDashboardMonetization",u={CONTEXT_MAIN_DASHBOARD_KEY_METRICS:n,CONTEXT_MAIN_DASHBOARD_TRAFFIC:o,CONTEXT_MAIN_DASHBOARD_CONTENT:s,CONTEXT_MAIN_DASHBOARD_SPEED:r,CONTEXT_MAIN_DASHBOARD_MONETIZATION:a,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:l,CONTEXT_ENTITY_DASHBOARD_CONTENT:c,CONTEXT_ENTITY_DASHBOARD_SPEED:d,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:g}},59865:(e,t,i)=>{i.d(t,{A:()=>h});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(52684),l=i(13606),c=i(82871),d=i(49383),g=i(85149),u=i(62540);function ModalDialog({className:e="",dialogActive:t=!1,handleCancel:i=null,onOpen:n=null,onClose:o=null,title:s=null,provides:h,handleConfirm:p,subtitle:m,confirmButton:f=null,notes:k=[],danger:v=!1,inProgress:y=!1,small:_=!1,medium:x=!1,buttonLink:b=null}){const j=`googlesitekit-dialog-description-${(0,a.A)(ModalDialog)}`,S=!(!h||!h.length);return(0,u.jsxs)(d.Dialog,{open:t,onOpen:n,onClose:o,"aria-describedby":S?j:void 0,tabIndex:"-1",className:r()(e,{"googlesitekit-dialog-sm":_,"googlesitekit-dialog-md":x}),children:[(0,u.jsxs)(d.DialogTitle,{children:[v&&(0,u.jsx)(g.A,{width:28,height:28}),s]}),m?(0,u.jsx)("p",{className:"mdc-dialog__lead",children:m}):[],(0,u.jsxs)(d.DialogContent,{children:[S&&(0,u.jsx)("section",{id:j,className:"mdc-dialog__provides",children:(0,u.jsx)("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive",children:h.map(e=>(0,u.jsx)("li",{className:"mdc-list-item",children:(0,u.jsx)("span",{className:"mdc-list-item__text",children:e})},e))})}),k.length>0&&(0,u.jsx)("section",{className:"mdc-dialog__notes",children:k.map((e,t)=>(0,u.jsxs)("p",{className:"mdc-dialog__note",children:["string"==typeof e&&(0,l.A)((0,c.sprintf)(/* translators: %s is replaced with some sub-note text. */ /* translators: %s is replaced with some sub-note text. */ (0,c.__)("<strong>Note:</strong> %s","google-site-kit"),e),{strong:(0,u.jsx)("strong",{})}),"function"==typeof e&&(0,u.jsx)(e,{})]},`note-${t}`))})]}),(0,u.jsxs)(d.DialogFooter,{children:[(0,u.jsx)(d.Button,{className:"mdc-dialog__cancel-button",onClick:i,disabled:y,tertiary:!0,children:(0,c.__)("Cancel","google-site-kit")}),b?(0,u.jsx)(d.Button,{href:b,onClick:p,target:"_blank",danger:v,children:f}):(0,u.jsx)(d.SpinnerButton,{onClick:p,danger:v,disabled:y,isSaving:y,children:f||(0,c.__)("Disconnect","google-site-kit")})]})]})}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:o().string,dialogActive:o().bool,handleDialog:o().func,handleConfirm:o().func.isRequired,onOpen:o().func,onClose:o().func,title:o().string,provides:o().arrayOf(o().string),confirmButton:o().string,notes:o().arrayOf(o().oneOfType([o().string,o().elementType])),danger:o().bool,small:o().bool,medium:o().bool,buttonLink:o().string};const h=ModalDialog},61983:(e,t,i)=>{i.d(t,{A:()=>DismissButton});var n=i(62688),o=i.n(n),s=i(82871),r=i(49383),a=i(62540);function DismissButton({className:e,label:t=(0,s.__)("Maybe later","google-site-kit"),onClick:i,disabled:n,tertiary:o=!0}){return i?(0,a.jsx)(r.Button,{className:e,onClick:i,disabled:n,tertiary:o,children:t}):null}DismissButton.propTypes={className:o().string,label:o().string,onClick:o().func,disabled:o().bool,tertiary:o().bool,dismissOptions:o().shape({expiresInSeconds:o().number,skipHidingFromQueue:o().bool})}},62457:(e,t,i)=>{i.d(t,{A:()=>r});var n=i(62688),o=i.n(n),s=i(62540);function Spinner({isSaving:e,style:t={}}){return(0,s.jsx)("span",{className:"spinner",style:{display:e?"inline-block":"none",float:"none",marginTop:"0",visibility:"visible",...t}})}Spinner.propTypes={isSaving:o().bool,style:o().object};const r=Spinner},62659:(e,t,i)=>{i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=i(63696),o=i(19826);const __WEBPACK_DEFAULT_EXPORT__=function(){return(0,n.useContext)(o.Ay)}},62779:(e,t,i)=>{i.d(t,{A:()=>k});var n=i(82871),o=i(63696),s=i(13606),r=i(7076),a=i(50539),l=i(59865),c=i(49993),d=i(94656),g=i(38432),u=i(29785),h=i(70301),p=i(65054),m=i(62659),f=i(62540);const k=function ResetButton({children:e}){const t=(0,a.useSelect)(e=>e(u.O4).getAdminURL("googlesitekit-splash",{notification:"reset_success"})),i=(0,a.useSelect)(e=>e(u.O4).isDoingReset()),k=(0,a.useSelect)(e=>e(h.M).isNavigatingTo(t||"")),[v,y]=(0,o.useState)(!1),[_,x]=(0,o.useState)(!1),b=(0,r.d)(y,3e3);(0,o.useEffect)(()=>{i||k?y(!0):b(!1)},[i,k,b]);const{reset:j}=(0,a.useDispatch)(u.O4),{navigateTo:S}=(0,a.useDispatch)(h.M),A=(0,m.A)(),N=(0,o.useCallback)(async()=>{await j(),await(0,c.IL)(),await(0,p.sx)(A,"reset_plugin"),S(t)},[S,t,j,A]),w=(0,o.useCallback)(()=>{x(!0)},[]),M=(0,o.useCallback)(()=>{x(!1)},[]);return(0,f.jsxs)(o.Fragment,{children:[(0,f.jsx)(g.A,{className:"googlesitekit-reset-button",onClick:w,children:e||(0,n.__)("Reset Site Kit","google-site-kit")}),(0,f.jsx)(d.A,{children:(0,f.jsx)(l.A,{dialogActive:_,handleConfirm:N,handleCancel:M,onClose:M,title:(0,n.__)("Reset Site Kit","google-site-kit"),subtitle:(0,s.A)((0,n.__)("Resetting will disconnect all users and remove all Site Kit settings and data within WordPress. <br />You and any other users who wish to use Site Kit will need to reconnect to restore access.","google-site-kit"),{br:(0,f.jsx)("br",{})}),confirmButton:(0,n.__)("Reset","google-site-kit"),inProgress:v,danger:!0,small:!0})})]})}},63081:(e,t,i)=>{i.d(t,{A:()=>Root});var n=i(62688),o=i.n(n),s=i(44010),r=i(77105),a=i(63696),l=i(50539),c=i.n(l),d=i(82871),g=i(6730),u=i(19826),h=i(67510),p=i(13047),m=i(62540);class ErrorHandler extends a.Component{constructor(e){super(e),this.state={error:null,info:null,copied:!1}}componentDidCatch(e,t){i.g.console.error("Caught an error:",e,t),this.setState({error:e,info:t}),(0,p.sx)("react_error",`handle_${this.context||"unknown"}_error`,`${e?.message}\n${t?.componentStack}`.slice(0,500))}render(){const{children:e}=this.props,{error:t,info:i}=this.state;return t?(0,m.jsx)(h.A,{notificationID:"googlesitekit-error",className:"googlesitekit-error-handler",type:"error",title:(0,d.__)("Site Kit encountered an error","google-site-kit"),description:(0,m.jsxs)(a.Fragment,{children:[(0,m.jsx)(g.A,{message:t.message,componentStack:i.componentStack}),(0,m.jsxs)("pre",{className:"googlesitekit-overflow-auto",children:[t.message,i.componentStack]})]})}):e}}ErrorHandler.contextType=u.Ay,ErrorHandler.propTypes={children:o().node.isRequired};const f=ErrorHandler;var k=i(79961);const{Consumer:v,Provider:y}=k.A,_=y;var x=i(84895),b=i(82246),j=i(11999),S=i(70301),A=i(97345),N=i(78990),w=i(94656);const M=function AuthenticatedPermissionsModal(){const e=(0,l.useRegistry)(),t=(0,l.useSelect)(e=>e(A.oR).getPermissionScopeError()),n=(0,l.useSelect)(e=>e(A.oR).getUnsatisfiedScopes()),o=(0,l.useSelect)(e=>e(A.oR).getConnectURL({additionalScopes:t?.data?.scopes,redirectURL:t?.data?.redirectURL||i.g.location.href,errorRedirectURL:t?.data?.errorRedirectURL})),{clearPermissionScopeError:s}=(0,l.useDispatch)(A.oR),{navigateTo:r}=(0,l.useDispatch)(S.M),{setValues:c}=(0,l.useDispatch)(j.s),g=(0,a.useCallback)(()=>{s()},[s]),u=(0,a.useCallback)(async()=>{c(A.$8,{permissionsError:t}),await(0,N.mR)(e),r(o)},[e,o,r,t,c]);return(0,a.useEffect)(()=>{!async function(){t?.data?.skipModal&&t?.data?.scopes?.length&&await u()}()},[u,t]),t?t?.data?.scopes?.length?t?.data?.skipModal||n&&t?.data?.scopes.every(e=>n.includes(e))?null:(0,m.jsx)(w.A,{children:(0,m.jsx)(b.A,{title:(0,d.__)("Additional Permissions Required","google-site-kit"),subtitle:t.message,confirmButton:(0,d.__)("Proceed","google-site-kit"),handleConfirm:u,handleCancel:g,onClose:g,dialogActive:!0,medium:!0})}):(i.g.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",t),null):null};const C=function PermissionsModal(){return(0,l.useSelect)(e=>e(A.oR).isAuthenticated())?(0,m.jsx)(M,{}):null};const I=function RestoreSnapshots({children:e}){const t=(0,l.useRegistry)(),[i,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{i||(async()=>{await(0,N.P9)(t),n(!0)})()},[t,i]),i?e:null};var E=i(15844),T=i(62659),R=i(71264);function FeatureTours(){const e=(0,T.A)(),{triggerTourForView:t}=(0,l.useDispatch)(A.oR);(0,E.A)(()=>{t(e)});const n=(0,l.useSelect)(e=>e(A.oR).getCurrentTour());return(0,a.useEffect)(()=>{if(!n)return()=>{};const e=document.getElementById("js-googlesitekit-main-dashboard");if(!e)return()=>{};const t=new ResizeObserver(()=>{i.g.dispatchEvent(new Event("resize"))});return t.observe(e),()=>{t.disconnect()}},[n]),n?(0,m.jsx)(R.Ay,{tourID:n.slug,steps:n.steps,gaEventCategory:n.gaEventCategory,isRepeatable:n.isRepeatable,callback:n.callback}):null}var D=i(20762),L=i(86582);function Root({children:e,registry:t,viewContext:i=null}){const n=s.D,[o]=(0,a.useState)({key:"Root",value:!0});return(0,m.jsx)(a.StrictMode,{children:(0,m.jsx)(D.Ay,{value:o,children:(0,m.jsx)(l.RegistryProvider,{value:t,children:(0,m.jsx)(_,{value:x.t,children:(0,m.jsx)(u.Kq,{value:i,children:(0,m.jsx)(r.A,{theme:n(),children:(0,m.jsxs)(f,{children:[(0,m.jsxs)(I,{children:[e,i&&(0,m.jsx)(FeatureTours,{})]}),(0,L.A)(i)&&(0,m.jsx)(C,{})]})})})})})})})}Root.propTypes={children:o().node,registry:o().object,viewContext:o().string.isRequired},Root.defaultProps={registry:c()}},65054:(e,t,i)=>{i.d(t,{M9:()=>S,sx:()=>b,BI:()=>j});var n=i(17243);const o="_googlesitekitDataLayer",s="data-googlesitekit-gtag";function r(e){return function(){e[o]=e[o]||[],e[o].push(arguments)}}var a=i(84895);const l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};const{activeModules:c=[],isSiteKitScreen:d,trackingEnabled:g,trackingID:u,referenceSiteURL:h,userIDHash:p,isAuthenticated:m,userRoles:f}=i.g._googlesitekitTrackingData||{},k={activeModules:c,trackingEnabled:g,trackingID:u,referenceSiteURL:h,userIDHash:p,isSiteKitScreen:d,userRoles:f,isAuthenticated:m,pluginVersion:"1.177.0"},{enableTracking:v,disableTracking:y,isTrackingEnabled:_,initializeSnippet:x,trackEvent:b,trackEventOnce:j}=function(e,t=i.g,c=i.g){const d={...l,...e};d.referenceSiteURL&&(d.referenceSiteURL=d.referenceSiteURL.toString().replace(/\/+$/,""));const g=function(e,t){const n=r(t);let l;const{activeModules:c,referenceSiteURL:d,userIDHash:g,userRoles:u=[],isAuthenticated:h,pluginVersion:p}=e;return function(){const{document:t}=i.g;if(void 0===l&&(l=!!t.querySelector(`script[${s}]`)),l)return!1;l=!0;const r=u?.length?u.join(","):"";n("js",new Date),n("config",e.trackingID,{groups:"site_kit",send_page_view:e.isSiteKitScreen,domain:d,plugin_version:p||"",enabled_features:Array.from(a.t).join(","),active_modules:c.join(","),authenticated:h?"1":"0",user_properties:{user_roles:r,user_identifier:g}});const m=t.createElement("script");return m.setAttribute(s,""),m.async=!0,m.src=`https://www.googletagmanager.com/gtag/js?id=${e.trackingID}&l=${o}`,t.head.appendChild(m),{scriptTagSrc:`https://www.googletagmanager.com/gtag/js?id=${e.trackingID}&l=${o}`}}}(d,t),u=function(e,t,i,n){const o=r(t);return async function(t,s,r,a){const{trackingEnabled:l}=e;if(!l)return null;i();const c={send_to:"site_kit",event_category:t,event_label:r,value:a};return new Promise(e=>{const i=setTimeout(function(){n.console.warn(`Tracking event "${s}" (category "${t}") took too long to fire.`),e()},1e3);function r(){clearTimeout(i),e()}o("event",s,{...c,event_callback:r}),n._gaUserPrefs?.ioo?.()&&r()})}}(d,t,g,c),h={};return{enableTracking:function(){d.trackingEnabled=!0},disableTracking:function(){d.trackingEnabled=!1},initializeSnippet:g,isTrackingEnabled:function(){return!!d.trackingEnabled},trackEvent:u,trackEventOnce:function(...e){const t=JSON.stringify(e);h[t]||(h[t]=(0,n.once)(u)),h[t](...e)}}}(k);function S(e){e?v():y()}d&&g&&x()},67438:(e,t,i)=>{i.d(t,{A:()=>Notification});var n=i(62688),o=i.n(n),s=i(63696),r=i(50539),a=i(7972),l=i(8732),c=i(37133);function d(e){return`notification/${e}/viewed`}function g(e){return(0,r.useSelect)(t=>!!t(a.n).getValue(d(e)),[e])}function ViewedStateObserver({id:e,observeRef:t,threshold:i}){const n=(0,c.A)(t,{threshold:i}),{setValue:o}=(0,r.useDispatch)(a.n),{markNotificationSeen:d}=(0,r.useDispatch)(l.D),u=!!n?.isIntersecting,h=g(e),p=(0,s.useRef)();function m(){p.current&&clearTimeout(p.current)}return(0,s.useEffect)(()=>(!h&&u?(m(),p.current=setTimeout(()=>{n?.isIntersecting&&(o(g.getKey(e),!0),d(e))},3e3)):!u&&p.current&&m(),()=>{m()}),[h,u,o,d,e,n]),null}g.getKey=d,ViewedStateObserver.propTypes={id:o().string,observeRef:o().object,threshold:o().number};var u=i(68761),h=i(62540);function Notification({id:e,className:t,gaTrackingEventArgs:i,children:n,onView:o}){const a=(0,s.useRef)(),c=g(e),d=(0,u.A)(e,i?.category,{viewAction:i?.viewAction}),[p,m]=(0,s.useState)(!1),f=(0,r.useSelect)(t=>t(l.D).getNotificationSeenDates(e)),{dismissNotification:k}=(0,r.useDispatch)(l.D);return(0,s.useEffect)(()=>{!p&&c&&(d.view(i?.label,i?.value),o?.(),m(!0)),f?.length>=3&&k(e,{skipHidingFromQueue:!0})},[c,d,p,i,o,f,k,e]),(0,h.jsxs)("section",{id:e,ref:a,className:t,children:[n,!c&&(0,h.jsx)(ViewedStateObserver,{id:e,observeRef:a,threshold:.5})]})}Notification.propTypes={id:o().string,className:o().string,gaTrackingEventArgs:o().shape({category:o().string,viewAction:o().string,label:o().string,value:o().string}),children:o().node,onView:o().func}},67510:(e,t,i)=>{i.d(t,{Q:()=>v,A:()=>BannerNotification});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(50539),l=i(8732),c=i(68761),d=i(83891),g=i(41671),u=i(71189),h=i(61983),p=i(10740);const m="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYwIiBoZWlnaHQ9IjIzNCIgdmlld0JveD0iMCAwIDM2MCAyMzQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik03My4xMzAyIDE3MC42NjhDODkuMzcxOSAxODkuOTkgMTE1LjQ3NiAxOTUuMTEgMTMxLjg2NSAxODkuOTkxQzE1My4yNDYgMTgzLjMxMiAxNjYuNjcyIDE2Mi45NjcgMTg1LjUwMiAxNjAuNTQ0QzIwNC4zMzMgMTU4LjEyMSAyMTUuNDA2IDE2OC43MDYgMjM1Ljg5NyAxNzAuMjMzQzI1Ni4zODkgMTcxLjc2IDI4MS4yMzIgMTY3LjYzIDI5Mi43OTEgMTM3LjkzNUMzMDQuMzQ5IDEwOC4yMzkgMjkzLjk0OCA3OC4yMzIxIDI3MC4yMTQgNjQuMzYxNUMyNDYuNDgxIDUwLjQ5MDggMjMzLjI3MSA2Ni43Njk0IDIxMC41NjQgNjguMTIzN0MxODcuODU4IDY5LjQ3NzkgMTc4LjAyMyA0NS44NTI4IDE2MS4wMjMgNDQuMzUyOEMxNDQuMDIzIDQyLjg1MjggMTM0LjUyMyA0NS44NTMgMTI0LjUyMyA1OC44NTI5QzExNC41MjMgNzEuODUyOCAxMjAuMzcxIDg1Ljc2NDEgODkuNTIzNSA5OS44NTNDNTguNjc1OCAxMTMuOTQyIDU2Ljg4ODUgMTUxLjM0NSA3My4xMzAyIDE3MC42NjhaIiBmaWxsPSIjRkZFNEIxIi8+CjxnIGZpbHRlcj0idXJsKCNmaWx0ZXIwX2RfMjcwNV8xNzY4NikiPgo8cmVjdCB4PSIxMTYuNTIzIiB5PSI1Ny45MTk5IiB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOC41MzMiIHJ4PSI2Ljk4MjUyIiBmaWxsPSIjRUJFRUYwIi8+CjxtYXNrIGlkPSJtYXNrMF8yNzA1XzE3Njg2IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIxMTYiIHk9IjU3IiB3aWR0aD0iMTI5IiBoZWlnaHQ9IjEzMiI+CjxyZWN0IHg9IjExNi41MjMiIHk9IjU3LjkxOTkiIHdpZHRoPSIxMjgiIGhlaWdodD0iMTMwLjEzMyIgcng9IjYuOTgyNTIiIGZpbGw9IiNERUUzRTYiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzI3MDVfMTc2ODYpIj4KPHJlY3QgeD0iMTI1LjA1NyIgeT0iMTE3LjY1MyIgd2lkdGg9IjExMC40IiBoZWlnaHQ9IjMwLjkzMzMiIHJ4PSIzLjc1MTI4IiBmaWxsPSIjRjNGNUY3Ii8+CjxyZWN0IHg9IjEyNS4wNTciIHk9IjEwMy4yNTMiIHdpZHRoPSIxMTAuNCIgaGVpZ2h0PSIzMC45MzMzIiByeD0iMy43NTEyOCIgZmlsbD0iI0YzRjVGNyIvPgo8cmVjdCB4PSIxMjUuMDU3IiB5PSIxNTYuMDUzIiB3aWR0aD0iMTEwLjQiIGhlaWdodD0iMzAuOTMzMyIgcng9IjMuNzUxMjgiIGZpbGw9IiNGM0Y1RjciLz4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjE4Ljk0NjUiIHJ4PSIyLjMxNTY5IiB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAyMDMuNDU3IDk1LjYyNDkpIiBmaWxsPSIjRjNGNUY3Ii8+CjxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSIxOC45NDY1IiByeD0iMi4zMTU2OSIgdHJhbnNmb3JtPSJtYXRyaXgoMSAwIDAgLTEgMTYzLjk5IDk1LjYyNTcpIiBmaWxsPSIjRjNGNUY3Ii8+CjxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSIxOC45NDY1IiByeD0iMi4zMTU2OSIgdHJhbnNmb3JtPSJtYXRyaXgoMSAwIDAgLTEgMTI0LjUyMyA5NS42MjU3KSIgZmlsbD0iI0YzRjVGNyIvPgo8L2c+CjxwYXRoIGQ9Ik0xMTYuNTIzIDY0LjkzNTVDMTE2LjUyMyA2MS4wNzkyIDExOS42NSA1Ny45NTMgMTIzLjUwNiA1Ny45NTNIMjM3LjM4M0MyNDEuMjM5IDU3Ljk1MyAyNDQuMzY1IDYxLjA3OTIgMjQ0LjM2NSA2NC45MzU1VjY4LjUzM0gxMTYuNTIzVjY0LjkzNTVaIiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB4PSIxMjEuODEzIiB5PSI2MS40Nzk2IiB3aWR0aD0iMy41MjY2NyIgaGVpZ2h0PSIzLjUyNjY3IiByeD0iMS43NjMzMyIgZmlsbD0iI0YzRjVGNyIvPgo8cmVjdCB4PSIxMjcuMTA0IiB5PSI2MS40Nzk2IiB3aWR0aD0iMy41MjY2NyIgaGVpZ2h0PSIzLjUyNjY3IiByeD0iMS43NjMzMyIgZmlsbD0iI0YzRjVGNyIvPgo8cmVjdCB4PSIxMzIuNDM3IiB5PSI2MS40Nzk2IiB3aWR0aD0iMy41MjY2NyIgaGVpZ2h0PSIzLjUyNjY3IiByeD0iMS43NjMzMyIgZmlsbD0iI0YzRjVGNyIvPgo8L2c+CjxjaXJjbGUgY3g9IjE4MC41MjMiIGN5PSIxMjAuODUzIiByPSIxNy4zNzkzIiBmaWxsPSIjNEUzMzAwIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIuNzU4NjIiLz4KPGNpcmNsZSBjeD0iMS42NTUxNyIgY3k9IjEuNjU1MTciIHI9IjEuNjU1MTciIHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIC0xIDE3OC44NjggMTE2Ljk5MSkiIGZpbGw9IiNGRkU0QjEiLz4KPHJlY3Qgd2lkdGg9IjMuMzEwMzQiIGhlaWdodD0iOS4zNzkzMSIgcng9IjEuNjU1MTciIHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIC0xIDE3OC44NjggMTI4LjU3NykiIGZpbGw9IiNGRkU0QjEiLz4KPGRlZnM+CjxmaWx0ZXIgaWQ9ImZpbHRlcjBfZF8yNzA1XzE3Njg2IiB4PSIxMDcuOTkiIHk9IjUxLjUxOTkiIHdpZHRoPSIxNDUuMDY3IiBoZWlnaHQ9IjE0Ni4xMzMiIGZpbHRlclVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIj4KPGZlRmxvb2QgZmxvb2Qtb3BhY2l0eT0iMCIgcmVzdWx0PSJCYWNrZ3JvdW5kSW1hZ2VGaXgiLz4KPGZlQ29sb3JNYXRyaXggaW49IlNvdXJjZUFscGhhIiB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiIHJlc3VsdD0iaGFyZEFscGhhIi8+CjxmZU9mZnNldCBkeT0iMi4xMzMzMyIvPgo8ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSI0LjI2NjY3Ii8+CjxmZUNvbXBvc2l0ZSBpbjI9ImhhcmRBbHBoYSIgb3BlcmF0b3I9Im91dCIvPgo8ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4xNSAwIi8+CjxmZUJsZW5kIG1vZGU9Im5vcm1hbCIgaW4yPSJCYWNrZ3JvdW5kSW1hZ2VGaXgiIHJlc3VsdD0iZWZmZWN0MV9kcm9wU2hhZG93XzI3MDVfMTc2ODYiLz4KPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJlZmZlY3QxX2Ryb3BTaGFkb3dfMjcwNV8xNzY4NiIgcmVzdWx0PSJzaGFwZSIvPgo8L2ZpbHRlcj4KPC9kZWZzPgo8L3N2Zz4K",f="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAwIiBoZWlnaHQ9IjIwMiIgdmlld0JveD0iMCAwIDQwMCAyMDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik04NC44NTc1IDk3LjYxNjZDMTA1Ljg1NyAxMzQuMDIgMTUzLjIwMSAxMDYuMTIzIDE4MS4zNTcgMTE0LjU3MkMyMDkuNTEzIDEyMy4wMiAyMTMuNDY4IDE2MS41NDUgMjM1Ljg1NyAxNjkuOTI1QzI1OC4yNDUgMTc4LjMwNiAzMDMuMDY4IDE3MS41MTUgMzE2LjAwMiAxMzguMTM1QzMyOC45MzYgMTA0Ljc1NCAzMTIuMTY3IDgzLjY1MjkgMjg3LjY1MiA3Mi4xNjk0QzI2My4xMzYgNjAuNjg1OSAyNjguOTc2IDM2Ljc4MzYgMjM0LjE2NiAyNy44MDA5QzE5OS4zNTcgMTguODE4MiAxNzguNjY1IDQxLjI2NTEgMTQwLjE2NSAzMC43OTI3QzEwMS42NjUgMjAuMzIwNCA2My44NTc4IDYxLjIxMzEgODQuODU3NSA5Ny42MTY2WiIgZmlsbD0iI0ZGREVEMyIvPgo8ZyBmaWx0ZXI9InVybCgjZmlsdGVyMF9kXzI3MDVfMTc2MzMpIj4KPHJlY3QgeD0iMTI3LjY2NiIgeT0iMzcuODQxMSIgd2lkdGg9IjEyOCIgaGVpZ2h0PSIxMjguMTk0IiByeD0iNi45ODI1MiIgZmlsbD0iI0VCRUVGMCIvPgo8bWFzayBpZD0ibWFzazBfMjcwNV8xNzYzMyIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMTI3IiB5PSIzNyIgd2lkdGg9IjEyOSIgaGVpZ2h0PSIxMzEiPgo8cmVjdCB4PSIxMjcuNjY2IiB5PSIzNy44NDExIiB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOS43OSIgcng9IjYuOTgyNTIiIGZpbGw9IiNERUUzRTYiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzI3MDVfMTc2MzMpIj4KPHJlY3QgeD0iMTM2LjIiIHk9Ijk3LjQxNjkiIHdpZHRoPSIxMTAuNCIgaGVpZ2h0PSIzMC44NTE4IiByeD0iMy43NTEyOCIgZmlsbD0iI0YzRjVGNyIvPgo8cmVjdCB4PSIxMzYuMiIgeT0iODMuMDU0NiIgd2lkdGg9IjExMC40IiBoZWlnaHQ9IjMwLjg1MTgiIHJ4PSIzLjc1MTI4IiBmaWxsPSIjRjNGNUY3Ii8+CjxwYXRoIGQ9Ik0xMzYuMiAxMzkuNDY3QzEzNi4yIDEzNy4zOTUgMTM3Ljg3OSAxMzUuNzE2IDEzOS45NTEgMTM1LjcxNkgyNDIuODQ5QzI0NC45MiAxMzUuNzE2IDI0Ni42IDEzNy4zOTUgMjQ2LjYgMTM5LjQ2N1YxNjUuOTM1SDEzNi4yVjEzOS40NjdaIiBmaWxsPSIjRjNGNUY3Ii8+CjxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSIxOC44OTY2IiByeD0iMi4zMTU2OSIgdHJhbnNmb3JtPSJtYXRyaXgoMSAwIDAgLTEgMjE0LjU5OSA3NS40NDY3KSIgZmlsbD0iI0YzRjVGNyIvPgo8cmVjdCB3aWR0aD0iMzIiIGhlaWdodD0iMTguODk2NiIgcng9IjIuMzE1NjkiIHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIC0xIDE3NS4xMzMgNzUuNDQ3NikiIGZpbGw9IiNGM0Y1RjciLz4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjE4Ljg5NjYiIHJ4PSIyLjMxNTY5IiB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAxMzUuNjY2IDc1LjQ0NzYpIiBmaWxsPSIjRjNGNUY3Ii8+CjwvZz4KPHBhdGggZD0iTTEyNy42NjYgNDQuODU2N0MxMjcuNjY2IDQxLjAwMDQgMTMwLjc5MyAzNy44NzQyIDEzNC42NDkgMzcuODc0MkgyNDguNTI2QzI1Mi4zODIgMzcuODc0MiAyNTUuNTA4IDQxLjAwMDQgMjU1LjUwOCA0NC44NTY3VjQ4LjQyNjNIMTI3LjY2NlY0NC44NTY3WiIgZmlsbD0id2hpdGUiLz4KPHJlY3QgeD0iMTMyLjk1NiIgeT0iNDEuMzkxNSIgd2lkdGg9IjMuNTI2NjciIGhlaWdodD0iMy41MTczNyIgcng9IjEuNzU4NjgiIGZpbGw9IiNGM0Y1RjciLz4KPHJlY3QgeD0iMTM4LjI0NyIgeT0iNDEuMzkxNSIgd2lkdGg9IjMuNTI2NjciIGhlaWdodD0iMy41MTczNyIgcng9IjEuNzU4NjgiIGZpbGw9IiNGM0Y1RjciLz4KPHJlY3QgeD0iMTQzLjU4IiB5PSI0MS4zOTE1IiB3aWR0aD0iMy41MjY2NyIgaGVpZ2h0PSIzLjUxNzM3IiByeD0iMS43NTg2OCIgZmlsbD0iI0YzRjVGNyIvPgo8L2c+CjxjaXJjbGUgY3g9IjE5MS42NjYiIGN5PSIxMDAuOTE1IiByPSIxNi44IiBmaWxsPSIjQUM0MjIwIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIuNjY2NjciLz4KPHBhdGggZD0iTTE5Mi45MTQgOTMuOTgxOEgxOTAuNDE4QzE5MC4wOTIgOTMuOTgxOCAxODkuODQzIDk0LjI3MTQgMTg5Ljg5MSA5NC41OTM2TDE5MS4xMzkgMTAyLjk3M0MxOTEuMjI5IDEwMy41OCAxOTIuMTA0IDEwMy41OCAxOTIuMTk0IDEwMi45NzNMMTkzLjQ0MiA5NC41OTM2QzE5My40OSA5NC4yNzE0IDE5My4yNCA5My45ODE4IDE5Mi45MTQgOTMuOTgxOFoiIGZpbGw9IiNGRkRFRDMiLz4KPGNpcmNsZSBjeD0iMTkxLjY2NiIgY3k9IjEwNi43ODIiIHI9IjEuNiIgZmlsbD0iI0ZGREVEMyIvPgo8ZGVmcz4KPGZpbHRlciBpZD0iZmlsdGVyMF9kXzI3MDVfMTc2MzMiIHg9IjExOS4xMzMiIHk9IjMxLjQ0MTEiIHdpZHRoPSIxNDUuMDY3IiBoZWlnaHQ9IjE0NS4yNjEiIGZpbHRlclVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIj4KPGZlRmxvb2QgZmxvb2Qtb3BhY2l0eT0iMCIgcmVzdWx0PSJCYWNrZ3JvdW5kSW1hZ2VGaXgiLz4KPGZlQ29sb3JNYXRyaXggaW49IlNvdXJjZUFscGhhIiB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiIHJlc3VsdD0iaGFyZEFscGhhIi8+CjxmZU9mZnNldCBkeT0iMi4xMzMzMyIvPgo8ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSI0LjI2NjY3Ii8+CjxmZUNvbXBvc2l0ZSBpbjI9ImhhcmRBbHBoYSIgb3BlcmF0b3I9Im91dCIvPgo8ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4xNSAwIi8+CjxmZUJsZW5kIG1vZGU9Im5vcm1hbCIgaW4yPSJCYWNrZ3JvdW5kSW1hZ2VGaXgiIHJlc3VsdD0iZWZmZWN0MV9kcm9wU2hhZG93XzI3MDVfMTc2MzMiLz4KPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJlZmZlY3QxX2Ryb3BTaGFkb3dfMjcwNV8xNzYzMyIgcmVzdWx0PSJzaGFwZSIvPgo8L2ZpbHRlcj4KPC9kZWZzPgo8L3N2Zz4K";var k=i(62540);const v={INFO:"info",ERROR:"error",WARNING:"warning"};function BannerNotification({notificationID:e,type:t=v.INFO,learnMoreLink:i,dismissButton:n,ctaButton:s,gaTrackingEventArgs:r,...g}){const u=(0,c.A)(e,r?.category),{dismissNotification:h}=(0,a.useDispatch)(l.D);let y=g?.svg;return y||t===v.INFO||(y={desktop:void 0,mobile:void 0,verticalPosition:"center"},t===v.WARNING&&(y.desktop=m),t===v.ERROR&&(y.desktop=f)),(0,k.jsx)("div",{className:o()("googlesitekit-banner-notification",`googlesitekit-banner-notification--${t}`),children:(0,k.jsx)(p.xA,{className:"googlesitekit-page-content",children:(0,k.jsx)(p.fI,{children:(0,k.jsx)(p.fh,{size:12,children:(0,k.jsx)(d.A,{learnMoreLink:i&&{...i,onClick:async function(e){u.clickLearnMore(r?.label,r?.value),await(i?.onClick?.(e))}},dismissButton:n&&{...n,onClick:async function(t){await(n?.onClick?.(t)),u.dismiss(r?.label,r?.value),h(e,{...n?.dismissOptions})}},ctaButton:s&&{...s,onClick:async function(t){u.confirm(r?.label,r?.value),await(s?.onClick?.(t)),s?.dismissOnClick&&h(e,{...s?.dismissOptions})}},svg:y,...g})})})})})}BannerNotification.propTypes={notificationID:r().string.isRequired,type:r().oneOf(Object.values(v)),titleIcon:r().node,title:r().string,description:r().oneOfType([r().string,r().node]),learnMoreLink:r().shape(g.A.propTypes),dismissButton:r().shape(h.A.propTypes),ctaButton:r().shape(u.A.propTypes),gaTrackingEventArgs:r().shape({category:r().string,label:r().string,value:r().number})}},68761:(e,t,i)=>{i.d(t,{A:()=>r});var n=i(63696),o=i(62659),s=i(13047);function r(e,t,{viewAction:i="view_notification",confirmAction:r="confirm_notification",dismissAction:a="dismiss_notification",clickLearnMoreAction:l="click_learn_more_link"}={}){const c=(0,o.A)(),d=null!=t?t:`${c}_${e}`;return{view:(0,n.useCallback)((...e)=>(0,s.sx)(d,i,...e),[d,i]),confirm:(0,n.useCallback)((...e)=>(0,s.sx)(d,r,...e),[d,r]),dismiss:(0,n.useCallback)((...e)=>(0,s.sx)(d,a,...e),[d,a]),clickLearnMore:(0,n.useCallback)((...e)=>(0,s.sx)(d,l,...e),[d,l])}}},68832:(e,t,i)=>{i.d(t,{A:()=>s});var n=i(35470),o=i(11999);function s(e,t){return(0,n.A)(i=>{const{getValue:n}=i(o.s);return n(e,t)},[e,t])}},70301:(e,t,i)=>{i.d(t,{M:()=>n});const n="core/location"},71189:(e,t,i)=>{i.d(t,{A:()=>CTAButton});var n=i(62688),o=i.n(n),s=i(49383),r=i(83366),a=i(62540);function CTAButton({label:e,ariaLabel:t,disabled:i,inProgress:n,onClick:o,href:l,external:c=!1,hideExternalIndicator:d=!1}){if(!e||!o&&!l)return null;let g;return c&&!d&&(g=(0,a.jsx)(r.A,{width:14,height:14})),(0,a.jsx)(s.SpinnerButton,{className:"googlesitekit-banner__cta","aria-label":t,disabled:i||n,isSaving:n,onClick:o,href:l,target:c?"_blank":void 0,trailingIcon:g,children:e})}CTAButton.propTypes={label:o().string,ariaLabel:o().string,disabled:o().bool,inProgress:o().bool,onClick:o().func,href:o().string,dismissOnClick:o().bool,dismissOptions:o().shape({expiresInSeconds:o().number,skipHidingFromQueue:o().bool})}},71264:(e,t,i)=>{i.d(t,{Ay:()=>TourTooltips,R0:()=>k,ei:()=>y});var n=i(15844),o=i(36703),s=i(62688),r=i.n(s),a=i(82871),l=i(50539),c=i(7972),d=i(97345),g=i(65054),u=i(83202),h=i(62659),p=i(84895),m=i(62540);const f=(0,p.G)("setupFlowRefresh"),k={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:f?"rgba(0, 0, 0, 0.25)":"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:f?"none":"2px solid #3c7251",backgroundColor:"#fff"}},v={back:(0,a.__)("Back","google-site-kit"),close:(0,a.__)("Close","google-site-kit"),last:(0,a.__)("Got it","google-site-kit"),next:(0,a.__)("Next","google-site-kit")},y={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)"}}},_={VIEW:"feature_tooltip_view",NEXT:"feature_tooltip_advance",PREV:"feature_tooltip_return",DISMISS:"feature_tooltip_dismiss",COMPLETE:"feature_tooltip_complete"};function TourTooltips({steps:e,tourID:t,gaEventCategory:s,isRepeatable:r,callback:a}){const p=`${t}-step`,x=`${t}-run`,{setValue:b}=(0,l.useDispatch)(c.n),{dismissTour:j,receiveCurrentTour:S}=(0,l.useDispatch)(d.oR),A=(0,l.useRegistry)(),N=(0,h.A)(),w=(0,l.useSelect)(e=>e(c.n).getValue(p)||0),M=(0,l.useSelect)(e=>{const i=r||!1===e(d.oR).isTourDismissed(t);return e(c.n).getValue(x)&&i});function C(i){return`googlesitekit-showing-feature-tour--${t}-${e[i].slug||i}`}(0,n.A)(function(){i.g.document.body.classList.add("googlesitekit-showing-feature-tour",`googlesitekit-showing-feature-tour--${t}`,C(w)),b(x,!0)});const I=e.map(e=>({disableBeacon:!0,isFixed:!0,placement:"auto",...e})),E=f?{...y,styles:{...y.styles,floater:{filter:"drop-shadow(rgba(0, 0, 0, 0.25) 0px 4px 16px)"}}}:y;return(0,m.jsx)(o.Ay,{callback:function(n){!function({index:e,action:t,lifecycle:i,size:n,status:r,type:a}){const l=e+1,c="function"==typeof s?s(N):s;a===o.qY.TOOLTIP&&i===o.VD.TOOLTIP?(0,g.sx)(c,_.VIEW,l):t===o.kl.CLOSE&&i===o.VD.COMPLETE?(0,g.sx)(c,_.DISMISS,l):t===o.kl.NEXT&&r===o.XQ.FINISHED&&a===o.qY.TOUR_END&&n===l&&(0,g.sx)(c,_.COMPLETE,l),i===o.VD.COMPLETE&&r!==o.XQ.FINISHED&&(t===o.kl.PREV&&(0,g.sx)(c,_.PREV,l),t===o.kl.NEXT&&(0,g.sx)(c,_.NEXT,l))}(n);const{action:l,index:c,status:d,step:u,type:h}=n,m=l===o.kl.CLOSE,f=!m&&[o.qY.STEP_AFTER,o.qY.TARGET_NOT_FOUND].includes(h),k=[o.XQ.FINISHED,o.XQ.SKIPPED].includes(d),v=m&&h===o.qY.STEP_AFTER,y=k||v;if(o.qY.STEP_BEFORE===h){let e=u.target;"string"==typeof u.target&&(e=i.g.document.querySelector(u.target)),e?.scrollIntoView?.({block:"center"})}f?function(t,n){const s=t+(n===o.kl.PREV?-1:1);i.g.document.body.classList.remove(C(t)),e[s]&&i.g.document.body.classList.add(C(s)),b(p,s)}(c,l):y&&(i.g.document.body.classList.remove("googlesitekit-showing-feature-tour",`googlesitekit-showing-feature-tour--${t}`),e[w]&&i.g.document.body.classList.remove(C(w)),r?(b(x,!1),b(p,null),S(null)):j(t)),a&&a(n,A)},floaterProps:E,locale:v,run:M,stepIndex:w,steps:I,styles:k,tooltipComponent:u.A,showProgress:!f,continuous:!0,disableOverlayClose:!0,disableScrolling:!0})}TourTooltips.propTypes={steps:r().arrayOf(r().object).isRequired,tourID:r().string.isRequired,gaEventCategory:r().oneOfType([r().string,r().func]).isRequired,isRepeatable:r().bool,callback:r().func}},72545:(e,t,i)=>{i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},e),n||(n=o.createElement("path",{fill:"currentColor",d:"M14 1.41 12.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 7z"})))},73198:(e,t,i)=>{i.d(t,{A:()=>ErrorNotice});var n=i(62688),o=i.n(n),s=i(63696),r=i(82871),a=i(84024),l=i(50539),c=i(13137),d=i(25797),g=i(13047),u=i(62540);function ErrorNotice({className:e,error:t,hasButton:i=!1,storeName:n,message:o=t.message,noPrefix:h=!1,skipRetryMessage:p,hideIcon:m=!1}){const f=(0,l.useDispatch)(),k=(0,l.useSelect)(e=>n?e(n).getSelectorDataForError(t):null),v=(0,s.useCallback)(()=>{f(k.storeName).invalidateResolution(k.name,k.args)},[f,k]);if(!o||(0,c.G)(t))return null;const y=i&&(0,c.vl)(t,k);let _=o;i||p||(_=(0,r.sprintf)(/* translators: %s: Error message from Google API. */ /* translators: %s: Error message from Google API. */ (0,r.__)("%s (Please try again.)","google-site-kit"),_)),h||(_=(0,r.sprintf)(/* translators: $%s: Error message */ /* translators: $%s: Error message */ (0,r.__)("Error: %s","google-site-kit"),_));const x=t?.data?.reconnectURL;x&&(0,a.m)(x)&&(_=(0,r.sprintf)(/* translators: 1: Original error message 2: Reconnect URL */ /* translators: 1: Original error message 2: Reconnect URL */ (0,r.__)('%1$s To fix this, <a href="%2$s">redo the plugin setup</a>.',"google-site-kit"),_,x));return(0,u.jsx)(d.A,{className:e,type:d.A.TYPES.ERROR,description:(0,u.jsx)("span",{dangerouslySetInnerHTML:(0,g.p9)(_,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}),ctaButton:y?{label:(0,r.__)("Retry","google-site-kit"),onClick:v}:void 0,hideIcon:m})}ErrorNotice.propTypes={className:o().string,error:o().shape({message:o().string}),hasButton:o().bool,storeName:o().string,message:o().string,noPrefix:o().bool,skipRetryMessage:o().bool,hideIcon:o().bool}},75662:(e,t,i)=>{i.d(t,{A:()=>m});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(63696),l=i(10740),c=i(38432),d=i(33052),g=i(62540);class LayoutHeader extends a.Component{render(){const{title:e,badge:t,ctaLabel:i,ctaLink:n}=this.props,o=n?{alignMiddle:!0,smSize:4,lgSize:6}:{alignMiddle:!0,smSize:4,mdSize:8,lgSize:12};return(0,g.jsx)("header",{className:"googlesitekit-layout__header",children:(0,g.jsx)(l.xA,{children:(0,g.jsxs)(l.fI,{children:[e&&(0,g.jsx)(l.fh,{...o,children:(0,g.jsxs)(d.A,{as:"h3",size:"small",type:"title",className:"googlesitekit-subheading-1 googlesitekit-layout__header-title",children:[e,t]})}),n&&(0,g.jsx)(l.fh,{smSize:4,lgSize:6,alignMiddle:!0,mdAlignRight:!0,children:(0,g.jsx)(c.A,{href:n,external:!0,children:i})})]})})})}}LayoutHeader.propTypes={title:o().string,badge:o().node,ctaLabel:o().string,ctaLink:o().string},LayoutHeader.defaultProps={title:"",badge:null,ctaLabel:"",ctaLink:""};const u=LayoutHeader;var h=i(44148);class LayoutFooter extends a.Component{render(){const{ctaLabel:e,ctaLink:t,footerContent:i}=this.props;return(0,g.jsx)("footer",{className:"googlesitekit-layout__footer",children:(0,g.jsx)(l.xA,{children:(0,g.jsx)(l.fI,{children:(0,g.jsxs)(l.fh,{size:12,children:[t&&e&&(0,g.jsx)(h.A,{className:"googlesitekit-data-block__source",name:e,href:t,external:!0}),i]})})})})}}LayoutFooter.propTypes={ctaLabel:o().string,ctaLink:o().string};const p=LayoutFooter;class Layout extends a.Component{render(){const{header:e,footer:t,children:i,title:n,badge:o,headerCTALabel:s,headerCTALink:a,footerCTALabel:l,footerCTALink:c,footerContent:d,className:h,fill:m,relative:f,rounded:k=!1,transparent:v=!1,...y}=this.props;return(0,g.jsxs)("div",{className:r()("googlesitekit-layout",h,{"googlesitekit-layout--fill":m,"googlesitekit-layout--relative":f,"googlesitekit-layout--rounded":k,"googlesitekit-layout--transparent":v}),...y,children:[e&&(0,g.jsx)(u,{title:n,badge:o,ctaLabel:s,ctaLink:a}),i,t&&(0,g.jsx)(p,{ctaLabel:l,ctaLink:c,footerContent:d})]})}}Layout.propTypes={header:o().bool,footer:o().bool,children:o().node.isRequired,title:o().string,badge:o().node,headerCTALabel:o().string,headerCTALink:o().string,footerCTALabel:o().string,footerCTALink:o().string,footerContent:o().node,className:o().string,fill:o().bool,relative:o().bool,rounded:o().bool,transparent:o().bool},Layout.defaultProps={header:!1,footer:!1,title:"",badge:null,headerCTALabel:"",headerCTALink:"",footerCTALabel:"",footerCTALink:"",footerContent:null,className:"",fill:!1,relative:!1};const m=Layout},76729:(e,t,i)=>{i.d(t,{Q:()=>n});const n="emailReportingUserSettingsSelectionPanelOpened"},76984:(e,t,i)=>{i.d(t,{Q:()=>n});const n={NEW:"new",SUCCESS:"success",WARNING:"warning",INFO:"info",INFO_ALT:"info-alt",INFO_ALT_2:"info-alt-2",ERROR:"error"}},78307:(e,t,i)=>{i.d(t,{A:()=>HelpMenu});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(21795),l=i(63696),c=i(19266),d=i(82871),g=i(50539),u=i(49383),h=i(13047),p=i(38432),m=i(62659),f=i(30805),k=i(62540);function HelpMenuLink({children:e,href:t,gaEventLabel:i,onClick:n,icon:o}){const s=(0,m.A)(),r=(0,f.i)("setupFlowRefresh"),a=(0,l.useCallback)(async()=>{n?.(),i&&await(0,h.sx)(`${s}_headerbar_helpmenu`,r?"click_menu_item":"click_outgoing_link",i)},[n,i,s,r]);return(0,k.jsx)("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none",children:(0,k.jsx)(p.A,{className:"mdc-list-item__text",href:t,role:"menuitem",onClick:a,leadingIcon:o,external:!0,hideExternalIndicator:!0,children:e})})}HelpMenuLink.propTypes={children:r().node.isRequired,href:r().string,gaEventLabel:r().string,onClick:r().func};const v=HelpMenuLink;var y,_,x=i(88273),b=i(29785),j=i(97345),S=i(58718),A=i(12896),N=i(40194);function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},w.apply(null,arguments)}const M=e=>l.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),y||(y=l.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"M5 5.75h14c.69 0 1.25.56 1.25 1.25v9.161c0 .69-.56 1.25-1.25 1.25H6.633l-.219.213-2.664 2.597V7c0-.69.56-1.25 1.25-1.25Z"})),_||(_=l.createElement("path",{fill:"currentColor",d:"M11.5 8.5H13v4h-1.5zM11.5 13.5H13V15h-1.5z"})));var C,I,E;function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},T.apply(null,arguments)}const R=e=>l.createElement("svg",T({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),C||(C=l.createElement("circle",{cx:12,cy:11,r:8.25,stroke:"currentColor",strokeWidth:1.5})),I||(I=l.createElement("path",{fill:"currentColor",d:"m10 9 7-3-2.953 7.047L7 16z"})),E||(E=l.createElement("circle",{cx:12,cy:11,r:1,fill:"#fff"})));var D,L,z;function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},O.apply(null,arguments)}const P=e=>l.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),D||(D=l.createElement("mask",{id:"support_svg__a",fill:"#fff"},l.createElement("path",{d:"M12 2a9 9 0 0 1 2.128 17.745C10.508 21.823 5 23 5 23c.023-.017 2.69-2.024 3.053-3.911A9 9 0 0 1 3 11a9 9 0 0 1 9-9"}))),L||(L=l.createElement("path",{fill:"currentColor",d:"M12 2V.5zm9.001 9h1.5zm-2.25 5.953 1.125.993zm-1.802 1.566.826 1.252zm-2.3 1.086.441 1.433zm-.521.14-.354-1.458-.207.05-.186.107zM5 23l-.901-1.2-5.441 4.089 6.655-1.422zm3.053-3.911 1.473.284.217-1.128-1.031-.504zm-1.001-.57-.826 1.252zm-1.704-1.457-1.109 1.01zM3 11H1.5zm9-9v1.5a7.5 7.5 0 0 1 7.501 7.5h3C22.501 5.2 17.799.5 12 .5zm9.001 9h-1.5a7.47 7.47 0 0 1-1.875 4.96l1.125.993 1.125.993A10.47 10.47 0 0 0 22.5 11zm-2.25 5.953-1.125-.992a7.6 7.6 0 0 1-1.503 1.305l.826 1.253.826 1.252a10.6 10.6 0 0 0 2.1-1.825zm-1.802 1.566-.826-1.253a7.5 7.5 0 0 1-1.915.905l.441 1.434.441 1.433a10.5 10.5 0 0 0 2.685-1.267zm-2.3 1.086-.44-1.434c-.131.04-.273.077-.434.116l.353 1.458.353 1.458c.19-.046.397-.1.61-.165zm-.521.14-.747-1.3c-1.661.953-3.814 1.728-5.609 2.271a47 47 0 0 1-2.864.767l-.17.039-.04.009-.01.002h-.002L5 23l.314 1.467h.002l.004-.002.015-.003.052-.011.193-.044a49.75 49.75 0 0 0 3.062-.82c1.864-.564 4.275-1.417 6.233-2.541zM5 23l.901 1.2c.041-.032.783-.592 1.576-1.412.735-.76 1.777-2.007 2.049-3.415l-1.473-.284-1.473-.284c-.092.478-.564 1.178-1.26 1.898-.637.659-1.239 1.111-1.221 1.098zm3.053-3.911.659-1.348q-.438-.213-.834-.475l-.826 1.253-.826 1.252q.565.37 1.168.665zm-1.001-.57.826-1.253c-.523-.344-1.001-.753-1.422-1.215l-1.108 1.01-1.109 1.011a10.5 10.5 0 0 0 1.987 1.699zm-1.704-1.457 1.108-1.011A7.47 7.47 0 0 1 4.5 11h-3c0 2.723 1.039 5.207 2.74 7.072zM3 11h1.5A7.5 7.5 0 0 1 12 3.5v-3C6.2.5 1.5 5.2 1.5 11z",mask:"url(#support_svg__a)"})),z||(z=l.createElement("path",{fill:"currentColor",d:"M11.796 16q.487 0 .818-.312.332-.31.332-.767 0-.456-.332-.767a1.15 1.15 0 0 0-.818-.312q-.486 0-.817.312a1 1 0 0 0-.332.768q0 .457.332.766.33.312.817.312m.11-8.527q.62 0 1.006.311.387.312.387.788 0 .333-.243.706-.243.374-.685.726-.707.58-1.028 1.069-.32.486-.32.965 0 .31.221.518a.8.8 0 0 0 .574.208q.333 0 .586-.208a.9.9 0 0 0 .32-.56q.066-.332.299-.633.231-.3.762-.778.707-.622.961-1.11T15 8.407q0-1.08-.839-1.743Q13.321 6 11.951 6q-.928 0-1.624.343-.696.342-1.204 1.026a.53.53 0 0 0-.1.498q.078.27.32.456a.8.8 0 0 0 .652.136q.365-.073.608-.385.243-.29.564-.445t.74-.156"})));var q,B,F;function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},H.apply(null,arguments)}const U=e=>l.createElement("svg",H({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),q||(q=l.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"M19 8v11a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7z"})),B||(B=l.createElement("path",{fill:"currentColor",d:"M13.5 9V3L19 9z"})),F||(F=l.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"M8.5 11.5h7M8.5 14.5h7M8.5 17.5H13"})));var G;function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},V.apply(null,arguments)}const W=e=>l.createElement("svg",V({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20"},e),G||(G=l.createElement("path",{fill:"currentColor",d:"M9 16h2v-2H9zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-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-4"})));var Z,Y;function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},$.apply(null,arguments)}const Q=e=>l.createElement("svg",$({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),Z||(Z=l.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"M15.244 10.59a2.156 2.156 0 0 1 2.95-.755 2.145 2.145 0 0 1 .76 2.935l-3.039 5.022-.004.006a2.153 2.153 0 0 1-2.95.756v-.001a2.144 2.144 0 0 1-.757-2.94v-.002l3.036-5.014zM8.854 5.635a2.157 2.157 0 0 1 2.95-.756 2.144 2.144 0 0 1 .756 2.94l-.003.005-5.8 9.977a2.153 2.153 0 0 1-2.95.756 2.145 2.145 0 0 1-.757-2.94l.003-.007z"})),Y||(Y=l.createElement("path",{fill:"currentColor",stroke:"currentColor",strokeWidth:1.5,d:"M4.887 14.595c1.18 0 2.135.955 2.135 2.13 0 1.176-.954 2.13-2.135 2.13a2.134 2.134 0 0 1-2.137-2.13c0-1.175.955-2.13 2.137-2.13Z"})));function HelpMenu({children:e}){const[t,i]=(0,l.useState)(!1),n=(0,l.useRef)(),s=(0,m.A)(),r=(0,f.i)("setupFlowRefresh");(0,a.A)(n,()=>i(!1)),(0,A.l)([c._f,c.wn],n,()=>i(!1));const p=(0,g.useSelect)(e=>e(x.i).isModuleActive(S.Py)),y=(0,l.useCallback)(()=>{t||(0,h.sx)(`${s}_headerbar`,"open_helpmenu"),i(!t)},[t,s]),_=(0,l.useCallback)(()=>{i(!1)},[]),w=(0,g.useSelect)(e=>e(b.O4).getDocumentationLinkURL("fix-common-issues")),{triggerOnDemandTour:C}=(0,g.useDispatch)(j.oR),I=(0,N.G)(),E=(0,l.useCallback)(()=>{C(I)},[C,I]),T=[{gaEventLabel:"fix_common_issues",href:w,children:(0,d.__)("Fix common issues","google-site-kit")},{gaEventLabel:"documentation",href:"https://sitekit.withgoogle.com/documentation/",children:(0,d.__)("Read help docs","google-site-kit")},{gaEventLabel:"support_forum",href:"https://wordpress.org/support/plugin/google-site-kit/",children:(0,d.__)("Get support","google-site-kit")},...p?[{gaEventLabel:"adsense_help",href:"https://support.google.com/adsense/",children:(0,d.__)("Get help with AdSense","google-site-kit")}]:[]],D=[{gaEventLabel:"browse_documentation",href:"https://sitekit.withgoogle.com/documentation/",icon:(0,k.jsx)(U,{width:24,height:24}),children:(0,d.__)("Browse documentation","google-site-kit")},{gaEventLabel:"get_support",href:"https://wordpress.org/support/plugin/google-site-kit/",icon:(0,k.jsx)(P,{width:24,height:24}),children:(0,d.__)("Get free support","google-site-kit")},{gaEventLabel:"start_tour",onClick:E,icon:(0,k.jsx)(R,{width:24,height:24}),children:(0,d.__)("Start a feature tour","google-site-kit")},{gaEventLabel:"send_feedback",href:"https://wordpress.org/support/plugin/google-site-kit/reviews/",icon:(0,k.jsx)(M,{width:24,height:24}),children:(0,d.__)("Send feedback","google-site-kit")},...p?[{gaEventLabel:"get_adsense_help",href:"https://support.google.com/adsense/",icon:(0,k.jsx)(Q,{width:24,height:24}),children:(0,d.__)("Get help with AdSense","google-site-kit")}]:[]];return(0,k.jsxs)("div",{ref:n,className:"googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor",children:[(0,k.jsx)(u.Button,{"aria-controls":"googlesitekit-help-menu","aria-expanded":t,"aria-label":(0,d.__)("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:(0,k.jsx)(W,{width:"20",height:"20"}),onClick:y,tooltipEnterDelayInMS:500,text:!0}),(0,k.jsxs)(u.Menu,{className:o()("googlesitekit-width-auto",{"googlesitekit-help-menu":r}),menuOpen:t,id:"googlesitekit-help-menu",onSelected:_,children:[e,(r?D:T).map((e,t)=>(0,k.jsx)(v,{...e},t))]})]})}HelpMenu.propTypes={children:r().node}},78990:(e,t,i)=>{i.d(t,{P9:()=>k,k:()=>p,mR:()=>f});var n=i(32091),o=i.n(n),s=i(17243),r=i(50539),a=i.n(r),l=i(49993),c=i(13047);const d="CREATE_SNAPSHOT",g="DELETE_SNAPSHOT",u="RESTORE_SNAPSHOT",h="SET_STATE_FROM_SNAPSHOT";function p(e,{keysToSnapshot:t}={}){o()(e,"storeName is required to create a snapshot store.");const i={},n={*deleteSnapshot(){return yield{payload:{},type:g}},*restoreSnapshot(e={}){const{clearAfterRestore:t=!0}=e,{cacheHit:i,value:n}=yield{payload:{},type:u};return i&&(yield{payload:{snapshot:n},type:h},t&&(yield{payload:{},type:g})),i},*createSnapshot(){return yield{payload:{},type:d}}},a={[g]:()=>(0,l.LD)(`datastore::cache::${e}`),[d]:(0,r.createRegistryControl)(i=>()=>{const n=i.stores[e].store.getState(),o=t?.length>0?(0,s.pick)(n,t):n;return(0,l.SO)(`datastore::cache::${e}`,o)}),[u]:()=>(0,l.Gq)(`datastore::cache::${e}`,c.Jg)};return{initialState:i,actions:n,controls:a,reducer:function(e=i,{type:n,payload:o}){if(n===h){const{snapshot:i}=o,{error:n,...s}=i;return t?.length>0?{...e,...s}:s}return e}}}function m(e=a()){return Object.values(e.stores).filter(e=>Object.keys(e.getActions()).includes("restoreSnapshot"))}function f(e=a()){return Promise.all(m(e).map(e=>e.getActions().createSnapshot()))}function k(e=a()){return Promise.all(m(e).map(e=>e.getActions().restoreSnapshot()))}},79961:(e,t,i)=>{i.d(t,{A:()=>s});var n=i(63696),o=i(84895);const s=(0,n.createContext)(o.t)},82246:(e,t,i)=>{i.d(t,{A:()=>g});var n=i(62688),o=i.n(n),s=i(63696),r=i(81276),a=i(49383),l=i(59865),c=i(62540);let d=null;function RefocusableModalDialog({dialogActive:e=!1,refocusQuerySelector:t=null,...i}){const n=(0,s.useCallback)(()=>{setTimeout(()=>{const e=t?document.querySelector(t):d;e&&document.body.contains(e)&&e.focus(),t||(d=null)})},[t]),o=(0,r.A)(e);return(0,s.useEffect)(()=>(!0===o&&!1===e&&n(),()=>{n()}),[o,e,n]),(0,c.jsx)(l.A,{dialogActive:e,...i})}!function(){function e(e){const t=e.target.closest("button, a, input");t&&!t.classList.contains("mdc-dialog__cancel-button")&&(d=t)}void 0!==i.g&&i.g.document&&!i.g._googlesitekitModalFocusTrackerInitialized&&(i.g.document.addEventListener("mousedown",e),i.g.document.addEventListener("keydown",t=>{"Enter"!==t.key&&" "!==t.key||e(t)}),i.g._googlesitekitModalFocusTrackerInitialized=!0)}(),RefocusableModalDialog.propTypes={dialogActive:o().bool,refocusQuerySelector:o().string,...a.Dialog.propTypes};const g=RefocusableModalDialog},82267:(e,t,i)=>{i.d(t,{A:()=>InfoTooltip});var n,o=i(4452),s=i.n(o),r=i(62688),a=i.n(r),l=i(49383),c=i(63696);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},d.apply(null,arguments)}const g=e=>c.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),n||(n=c.createElement("path",{fill:"currentColor",d:"M7.334 11.333h1.333v-4H7.334zM8.001 6a.658.658 0 0 0 .667-.667.6.6 0 0 0-.2-.467.6.6 0 0 0-.467-.2.66.66 0 0 0-.667.667q0 .284.183.483A.7.7 0 0 0 8.001 6m0 8.666a6.6 6.6 0 0 1-2.6-.516 6.9 6.9 0 0 1-2.117-1.434A6.9 6.9 0 0 1 1.851 10.6 6.6 6.6 0 0 1 1.334 8q0-1.385.517-2.6a6.9 6.9 0 0 1 1.433-2.117q.9-.9 2.117-1.417A6.4 6.4 0 0 1 8 1.333q1.383 0 2.6.533a6.6 6.6 0 0 1 2.116 1.417q.9.9 1.417 2.117.533 1.215.533 2.6 0 1.383-.533 2.6a6.6 6.6 0 0 1-1.417 2.116 6.9 6.9 0 0 1-2.116 1.434 6.6 6.6 0 0 1-2.6.516m0-1.333q2.233 0 3.783-1.55T13.334 8t-1.55-3.784-3.783-1.55-3.784 1.55T2.667 8t1.55 3.783 3.784 1.55"})));var u=i(62540);function InfoTooltip({onOpen:e,title:t,tooltipClassName:i}){return t?(0,u.jsx)(l.Tooltip,{className:"googlesitekit-info-tooltip",tooltipClassName:s()("googlesitekit-info-tooltip__content",i),title:t,placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,onOpen:e,interactive:!0,children:(0,u.jsx)("span",{tabIndex:"0",role:"tooltip",children:(0,u.jsx)(g,{width:"16",height:"16"})})}):null}InfoTooltip.propTypes={onOpen:a().func,title:a().oneOfType([a().string,a().element]),tooltipClassName:a().string}},82624:(e,t,i)=>{i.d(t,{A:()=>Ve});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(41814),l=i(82871),c=i(63696),d=i(50539),g=i(44436),u=i(21795),h=i(19266),p=i(49383),m=i(59865),f=i(62540);function Divider({className:e}){return(0,f.jsx)("li",{className:r()("mdc-list-divider",e),role:"separator"})}function MenuItem({id:e,className:t,role:i,isInteractive:n=!0,onClick:o,icon:s,label:a,description:l,trailing:c,children:d,itemClassName:g="googlesitekit-header-menu__item",iconClassName:u="googlesitekit-header-menu__item-icon",labelClassName:h="googlesitekit-header-menu__item-label",descriptionClassName:p="googlesitekit-header-menu__item-description",trailingClassName:m="googlesitekit-header-menu__item-trailing"}){const k=d||(0,f.jsxs)("div",{className:g,children:[s&&(0,f.jsx)("div",{className:u,children:s}),a&&(0,f.jsx)("span",{className:h,children:a}),l&&(0,f.jsx)("span",{className:p,children:l}),c&&(0,f.jsx)("span",{className:m,children:c})]}),v=void 0===i&&n?"menuitem":i,y=r()(t,{"mdc-list-item":n}),_="function"==typeof o;return(0,f.jsx)("li",{id:e,className:y||void 0,role:v,children:_?(0,f.jsx)("button",{type:"button",className:"googlesitekit-header-menu__item-button",onClick:o,children:k}):k})}function MenuSection({id:e,className:t,role:i,children:n}){return(0,f.jsx)("li",{id:e,className:t,role:i,children:n})}function MenuWithHeading({heading:e,className:t,children:i}){return(0,f.jsxs)(MenuSection,{className:t,children:[e,i]})}Divider.propTypes={className:o().string},MenuItem.propTypes={id:o().string,className:o().string,role:o().string,isInteractive:o().bool,onClick:o().func,icon:o().node,label:o().node,description:o().node,trailing:o().node,children:o().node,itemClassName:o().string,iconClassName:o().string,labelClassName:o().string,descriptionClassName:o().string,trailingClassName:o().string},MenuSection.propTypes={id:o().string,className:o().string,role:o().string,children:o().node},MenuWithHeading.propTypes={heading:o().node,className:o().string,children:o().node};var k,v,y=i(13047),_=i(49993),x=i(94656),b=i(97345);function Details(){const e=(0,d.useSelect)(e=>e(b.oR).getPicture()),t=(0,d.useSelect)(e=>e(b.oR).getFullName()),i=(0,d.useSelect)(e=>e(b.oR).getEmail());return(0,f.jsxs)("div",{className:"googlesitekit-user-menu__details","aria-label":(0,l.__)("Google account","google-site-kit"),children:[!!e&&(0,f.jsx)("img",{className:"googlesitekit-user-menu__details-avatar",src:e,alt:""}),(0,f.jsxs)("div",{className:"googlesitekit-user-menu__details-info",children:[(0,f.jsx)("p",{className:"googlesitekit-user-menu__details-info__name",children:t}),(0,f.jsx)("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":(0,l.__)("Email","google-site-kit"),children:i})]})]})}function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},j.apply(null,arguments)}const S=e=>c.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),k||(k=c.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.7,d:"m11.775 5.701.58-.58a4.547 4.547 0 0 1 6.43 0v0a4.547 4.547 0 0 1 0 6.43l-.598.599m-12.504-.357-.562.562a4.547 4.547 0 0 0 0 6.43v0a4.547 4.547 0 0 0 6.43 0l.58-.58"})),v||(v=c.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.5,d:"m8.543 15.363 1.118-1.118m5.684-5.684L14.226 9.68M5.107 5.134l13.664 13.664"})));var A,N,w,M,C;function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},I.apply(null,arguments)}const E=e=>c.createElement("svg",I({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),A||(A=c.createElement("rect",{width:18,height:13,x:3,y:4,stroke:"currentColor",strokeWidth:1.5,rx:2})),N||(N=c.createElement("path",{fill:"currentColor",d:"M9 17h6v3H9z"})),w||(w=c.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.5,d:"M10 9h7M10 12h7"})),M||(M=c.createElement("circle",{cx:7,cy:9,r:1,fill:"currentColor"})),C||(C=c.createElement("circle",{cx:7,cy:12,r:1,fill:"currentColor"})));var T=i(46467),R=i(29785),D=i(7972),L=i(70301),z=i(80),O=i(76729),P=i(12896),q=i(62659),B=i(68832),F=i(30805);function UserMenu(){const e=(0,F.i)("proactiveUserEngagement"),t=(0,d.useSelect)(e=>e(R.O4).getProxyPermissionsURL()),i=(0,d.useSelect)(e=>e(b.oR).getEmail()),n=(0,d.useSelect)(e=>e(b.oR).getPicture()),o=(0,d.useSelect)(e=>e(b.oR).getFullName()),s=(0,d.useSelect)(e=>e(R.O4).getAdminURL("googlesitekit-splash",{googlesitekit_context:"revoked"})),r=(0,B.A)(z.CV,"isAutoCreatingCustomDimensionsForAudience"),{isTooltipVisible:a=!1,className:g}=(0,d.useSelect)(e=>e(D.n).getValue("admin-screen-tooltip")||{isTooltipVisible:!1}),[k,v]=(0,c.useState)(!1),[j,A]=(0,c.useState)(!1),N=(0,c.useRef)(),w=(0,c.useRef)(),M=(0,q.A)(),{navigateTo:C}=(0,d.useDispatch)(L.M);(0,u.A)(N,()=>A(!1)),(0,P.l)([h._f,h.wn],N,()=>{A(!1),w.current?.focus()});const I=(0,c.useCallback)(()=>{v(!1),A(!1)},[v,A]),{setValue:H}=(0,d.useDispatch)(D.n),U=(0,c.useCallback)(()=>{j||((0,y.sx)(`${M}_headerbar`,"open_usermenu"),a&&g?.includes("googlesitekit-tour-tooltip--user-menu")&&H("admin-screen-tooltip",void 0)),A(!j)},[j,M,H,a,g]),G=(0,c.useCallback)(()=>{v(!k),A(!1)},[k]),V=(0,c.useCallback)(async(e,i)=>{const{detail:{item:n}}=i;switch(n?.id){case"manage-sites":t&&(await(0,y.sx)(`${M}_headerbar_usermenu`,"manage_sites"),C(t));break;case"disconnect":G();break;case"manage-email-reports":H(O.Q,!0);break;default:U()}},[t,U,G,C,H,M]),W=(0,c.useCallback)(async()=>{v(!1),await(0,_.IL)(),await(0,y.sx)(`${M}_headerbar_usermenu`,"disconnect_user"),C(s)},[s,C,M]);if(!i)return null;let Z;return o&&i&&(Z=(0,l.sprintf)(/* translators: Account info text. 1: User's (full) name 2: User's email address. */ /* translators: Account info text. 1: User's (full) name 2: User's email address. */ (0,l.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),o,i)),o&&!i&&(Z=(0,l.sprintf)(/* translators: Account info text. 1: User's (full) name. */ /* translators: Account info text. 1: User's (full) name. */ (0,l.__)("Google Account for %1$s","google-site-kit"),o)),!o&&i&&(Z=(0,l.sprintf)(/* translators: Account info text. 1: User's email address. */ /* translators: Account info text. 1: User's email address. */ (0,l.__)("Google Account (Email: %1$s)","google-site-kit"),i)),(0,f.jsxs)(c.Fragment,{children:[(0,f.jsxs)("div",{ref:N,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor",children:[(0,f.jsx)(p.Button,{disabled:r,ref:w,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",onClick:U,icon:!!n&&(0,f.jsx)("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true",children:(0,f.jsx)("img",{className:"mdc-button__icon--image",src:n,alt:(0,l.__)("User Avatar","google-site-kit")})}),"aria-haspopup":"menu","aria-expanded":j,"aria-controls":"user-menu","aria-label":r?void 0:(0,l.__)("Account","google-site-kit"),tooltipEnterDelayInMS:500,customizedTooltip:r?null:(0,f.jsxs)("span",{"aria-label":Z,children:[(0,f.jsx)("strong",{children:(0,l.__)("Google Account","google-site-kit")}),(0,f.jsx)("br",{}),(0,f.jsx)("br",{}),o,o&&(0,f.jsx)("br",{}),i]}),text:!0,tooltip:!0}),(0,f.jsxs)(p.Menu,{className:"googlesitekit-user-menu",menuOpen:j,onSelected:V,id:"user-menu",children:[(0,f.jsx)(MenuSection,{children:(0,f.jsx)(Details,{})}),e&&(0,f.jsx)(MenuItem,{id:"manage-email-reports",icon:(0,f.jsx)(T.A,{width:"24"}),label:(0,l.__)("Manage email reports","google-site-kit"),itemClassName:"googlesitekit-user-menu__item",iconClassName:"googlesitekit-user-menu__item-icon",labelClassName:"googlesitekit-user-menu__item-label"}),!!t&&(0,f.jsx)(MenuItem,{id:"manage-sites",icon:(0,f.jsx)(E,{width:"24"}),label:(0,l.__)("Manage Sites","google-site-kit"),itemClassName:"googlesitekit-user-menu__item",iconClassName:"googlesitekit-user-menu__item-icon",labelClassName:"googlesitekit-user-menu__item-label"}),(0,f.jsx)(MenuItem,{id:"disconnect",icon:(0,f.jsx)(S,{width:"24"}),label:(0,l.__)("Disconnect","google-site-kit"),itemClassName:"googlesitekit-user-menu__item",iconClassName:"googlesitekit-user-menu__item-icon",labelClassName:"googlesitekit-user-menu__item-label"})]})]}),(0,f.jsx)(x.A,{children:(0,f.jsx)(m.A,{dialogActive:k,handleConfirm:W,handleCancel:I,onClose:I,title:(0,l.__)("Disconnect","google-site-kit"),subtitle:(0,l.__)("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:(0,l.__)("Disconnect","google-site-kit"),danger:!0,small:!0})})]})}var H=i(10740),U=i(4124),G=i(45257),V=i(15844),W=i(31589),Z=i(39525),Y=i(30521),$=i(20697),Q=i(7551),K=i(11883),X=i(97513);var J=i(59352),ee=i(4169);const te={[Q.Oo]:{[$.SH]:J.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,[$.OT]:J.CONTEXT_MAIN_DASHBOARD_TRAFFIC,[$.en]:J.CONTEXT_MAIN_DASHBOARD_CONTENT,[$.Ej]:J.CONTEXT_MAIN_DASHBOARD_SPEED,[$.Gw]:J.CONTEXT_MAIN_DASHBOARD_MONETIZATION},[Q.oE]:{[$.OT]:J.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,[$.en]:J.CONTEXT_ENTITY_DASHBOARD_CONTENT,[$.Ej]:J.CONTEXT_ENTITY_DASHBOARD_SPEED,[$.Gw]:J.CONTEXT_ENTITY_DASHBOARD_MONETIZATION}};var ie;function ne(){return ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},ne.apply(null,arguments)}const oe=e=>c.createElement("svg",ne({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},e),ie||(ie=c.createElement("path",{fill:"currentColor",fillRule:"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 16M9 7h5V5H9zm7-5H2v14h14zM4 4h4v4H4zm10 7H9v2h5zM4 10h4v4H4z",clipRule:"evenodd"})));var se,re,ae,le;function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},ce.apply(null,arguments)}const de=e=>c.createElement("svg",ce({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 13 12"},e),se||(se=c.createElement("rect",{width:5,height:5,x:.5,fill:"currentColor",rx:1})),re||(re=c.createElement("rect",{width:5,height:5,x:7.5,fill:"currentColor",rx:1})),ae||(ae=c.createElement("rect",{width:5,height:5,x:.5,y:7,fill:"currentColor",rx:1})),le||(le=c.createElement("rect",{width:5,height:5,x:7.5,y:7,fill:"currentColor",rx:1})));var ge;function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},ue.apply(null,arguments)}const he=e=>c.createElement("svg",ue({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 23 12"},e),ge||(ge=c.createElement("path",{fill:"currentColor",d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.622 12l6.9-6 4.6 4L20.7 3.42V6H23V0z"})));var pe,me;function fe(){return fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},fe.apply(null,arguments)}const ke=e=>c.createElement("svg",fe({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 16"},e),pe||(pe=c.createElement("path",{fill:"currentColor",d:"m18.378 4.543-1.232 1.854a8.02 8.02 0 0 1-.22 7.598H3.043A8.02 8.02 0 0 1 4.154 4.49 8.01 8.01 0 0 1 13.57 2.82l1.853-1.233A10.01 10.01 0 0 0 3.117 2.758a10.026 10.026 0 0 0-1.797 12.24A2 2 0 0 0 3.043 16h13.873a2 2 0 0 0 1.742-1.002 10.03 10.03 0 0 0-.27-10.465z"})),me||(me=c.createElement("path",{fill:"currentColor",d:"M8.572 11.399a2.003 2.003 0 0 0 2.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 0 0 0 2.837"})));var ve;function ye(){return ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},ye.apply(null,arguments)}const _e=e=>c.createElement("svg",ye({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 16"},e),ve||(ve=c.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 0h3.971v16H7zM0 8h4v8H0zm18-3h-4v11h4z",clipRule:"evenodd"})));function Navigation(){const e=(0,Q.Ay)(),t=(0,c.useRef)(),n=(0,q.A)(),o=function(){const e=(0,Q.Ay)(),t=(0,U.A)();return(0,d.useSelect)(i=>{const n=t?i(b.oR).getViewableModules():null,o=i(b.oR).isKeyMetricsWidgetHidden(),s={modules:n||void 0};return Object.keys(te[e]).reduce((t,n)=>(n===$.SH&&o||i(ee.aO).isWidgetContextActive(te[e][n],s)&&t.push(n),t),[])})}(),{calculateScrollPosition:s,defaultChipID:a,findClosestSection:g,isValidChipID:u,scrollToChip:h,updateURLHash:p}=function({visibleSections:e}){const t=(0,X.dv)(),n=(0,U.A)(),o=(0,c.useCallback)(()=>e.includes($.SH)?$.SH:n?e[0]||"":$.OT,[n,e])(),s=(0,c.useCallback)(t=>e.includes(t),[e]),r=(0,c.useCallback)(e=>{i.g.history.replaceState({},"",`#${e}`)},[]),a=(0,c.useCallback)(e=>e!==o?(0,K.YJ)(`#${e}`,t):0,[t,o]),l=(0,c.useCallback)(e=>{i.g.scrollTo({top:a(e,t,o),behavior:"smooth"})},[t,a,o]),d=(0,c.useCallback)(t=>{var i;const n=document.querySelector(".googlesitekit-entity-header")?.getBoundingClientRect?.()?.bottom,{bottom:s}=null!==(i=t?.current?.getBoundingClientRect?.())&&void 0!==i?i:{};let r,a=o;for(const t of e){const e=document.getElementById(t);if(!e)continue;const i=e.getBoundingClientRect().top-20-(n||s||0);i<0&&(void 0===r||r<i)&&(r=i,a=t)}return a},[o,e]);return{calculateScrollPosition:a,defaultChipID:o,findClosestSection:d,isValidChipID:s,scrollToChip:l,updateURLHash:r}}({visibleSections:o}),m=i.g.location.hash?.substring(1),[k,v]=(0,c.useState)(m||void 0),[_,x]=(0,c.useState)(!1),[j,S]=(0,c.useState)(m),{setValue:A}=(0,d.useDispatch)(D.n),N=(0,c.useCallback)(({target:e})=>{const t=e.closest(".mdc-chip"),i=t?.dataset?.contextId;p(i),v(i),h(i),(0,y.sx)(`${n}_navigation`,"tab_select",i),setTimeout(()=>{A(D.F,i)},50)},[h,A,p,n]),w=(0,c.useCallback)(()=>{if(!t?.current)return;const{top:e}=t?.current?.getBoundingClientRect();if(0===i.g.scrollY)x(!1);else{const t=document.querySelector(".googlesitekit-header")?.getBoundingClientRect?.()?.bottom;x(e===t)}},[]),M=(0,c.useCallback)(e=>{function o(e){A(D.F,void 0),S(e),v(void 0)}const s=g(t);if(k)k===s&&o(s);else{const{hash:t}=i.g.location;s!==t?.substring(1)&&(e&&(0,y.sx)(`${n}_navigation`,"tab_scroll",s),p(s),o(s))}},[g,k,A,p,n]);(0,V.A)(()=>{if(!m)return S(a),void setTimeout(()=>p(a));const e=u(m)?m:a;S(e),A(D.F,e),setTimeout(()=>{const t=s(e);i.g.scrollY!==t?h(e):A(D.F,void 0)},50)});const C=(0,c.useCallback)(e=>{w(),M(e)},[M,w]),I=(0,Y.A)(C,150);(0,W.A)("scroll",I);const E={[$.SH]:{label:(0,l.__)("Key metrics","google-site-kit"),icon:(0,f.jsx)(de,{width:"18",height:"16"})},[$.OT]:{label:(0,l.__)("Traffic","google-site-kit"),icon:(0,f.jsx)(_e,{width:"18",height:"16"})},[$.en]:{label:(0,l.__)("Content","google-site-kit"),icon:(0,f.jsx)(oe,{width:"18",height:"18"})},[$.Ej]:{label:(0,l.__)("Speed","google-site-kit"),icon:(0,f.jsx)(ke,{width:"20",height:"16"})},[$.Gw]:{label:(0,l.__)("Monetization","google-site-kit"),icon:(0,f.jsx)(he,{width:"18",height:"16"})}};return(0,f.jsx)("nav",{className:r()("mdc-chip-set","googlesitekit-navigation",`googlesitekit-navigation--${e}`,{"googlesitekit-navigation--is-sticky":_}),ref:t,children:o.map(e=>(0,f.jsx)(Z.Chip,{id:e,label:E[e].label,leadingIcon:E[e].icon,onClick:N,selected:j===e,"data-context-id":e},e))})}function DashboardNavigation(){const e=(0,U.A)(),t=(0,d.useSelect)(t=>e?t(b.oR).getViewableModules():null),i=(0,d.useSelect)(e=>e(b.oR).getKeyMetrics());return(0,f.jsx)(G.A,{loading:void 0===t||void 0===i,width:"100%",smallHeight:"59px",height:"71px",children:(0,f.jsx)(Navigation,{})})}var xe,be;function je(){return je=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},je.apply(null,arguments)}const Se=e=>c.createElement("svg",je({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),xe||(xe=c.createElement("path",{fill:"none",d:"M0 0h24v24H0z"})),be||(be=c.createElement("path",{fill:"currentColor",d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"})));var Ae=i(38432),Ne=i(83880),we=i(48276);const Me=function EntityHeader(){const e=(0,q.A)(),t=(0,Q.Ay)(),n=(0,d.useSelect)(e=>e(R.O4).getCurrentEntityTitle()),o=(0,d.useSelect)(e=>e(R.O4).getCurrentEntityURL()),s=(0,c.useRef)(),[r,a]=(0,c.useState)(o),g=(0,c.useCallback)(()=>{if(!s.current)return;const e=s.current.clientWidth-40,t=i.g.getComputedStyle(s.current.lastChild,null).getPropertyValue("font-size"),n=2*e/parseFloat(t);a((0,we.r0)(o,n))},[o]),u=(0,Y.A)(g,150);(0,W.A)("resize",u);const{navigateTo:h}=(0,d.useDispatch)(L.M),m=(0,d.useSelect)(e=>e(R.O4).getAdminURL("googlesitekit-dashboard")),k=(0,c.useCallback)(()=>{(0,y.sx)(`${e}_navigation`,"return_to_dashboard"),h(m)},[m,h,e]);return Q.oE!==t||null===o||null===n?null:(0,f.jsxs)("div",{className:"googlesitekit-entity-header",children:[(0,f.jsx)("div",{className:"googlesitekit-entity-header__back",children:(0,f.jsx)(p.Button,{icon:(0,f.jsx)(Se,{width:24,height:24}),"aria-label":(0,l.__)("Back to dashboard","google-site-kit"),onClick:k,text:!0,tertiary:!0,children:(0,l.__)("Back to dashboard","google-site-kit")})}),(0,f.jsxs)("div",{ref:s,className:"googlesitekit-entity-header__details",children:[(0,f.jsx)(Ne.A,{children:n}),(0,f.jsx)(Ae.A,{href:o,"aria-label":o,secondary:!0,external:!0,children:r})]})]})};var Ce;function Ie(){return Ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},Ie.apply(null,arguments)}const Ee=e=>c.createElement("svg",Ie({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 10"},e),Ce||(Ce=c.createElement("path",{fill:"currentColor",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.667S2.785 7.247 1.585 5C2.785 2.753 5.244 1.333 8 1.333M8 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-5m0 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.333M8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8s3.273-1.347 3.273-3S9.803 2 8 2"})));var Te=i(13606);function Description(){const e=(0,q.A)(),t=(0,d.useSelect)(e=>e(b.oR).hasCapability(b.ej)),i=(0,d.useSelect)(e=>e(R.O4).getProxySetupURL()),n=(0,d.useSelect)(e=>e(R.O4).getDocumentationLinkURL("dashboard-sharing")),{navigateTo:o}=(0,d.useDispatch)(L.M),s=(0,c.useCallback)(async t=>{t.preventDefault(),await Promise.all([(0,_.SO)("start_user_setup",!0),(0,y.sx)(`${e}_headerbar_viewonly`,"start_user_setup",i?"proxy":"custom-oauth")]),o(i)},[i,o,e]),r=(0,c.useCallback)(()=>{(0,y.sx)(`${e}_headerbar_viewonly`,"click_learn_more_link")},[e]),a=t?(0,l.__)("You can see stats from all shared Google services, but you can't make any changes. Sign in to connect more services and control sharing access.","google-site-kit"):(0,Te.A)((0,l.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:(0,f.jsx)(Ae.A,{href:n,onClick:r,"aria-label":(0,l.__)("Learn more about dashboard sharing","google-site-kit"),external:!0})});return(0,f.jsxs)(c.Fragment,{children:[(0,f.jsx)(Ne.A,{className:"googlesitekit-view-only-menu__signin",children:a}),t&&(0,f.jsx)(p.Button,{onClick:s,children:(0,l._x)("Sign in with Google","Service name","google-site-kit")})]})}var Re=i(88273);function Service({module:e}){const t=(0,d.useSelect)(e=>e(b.oR).hasCapability(b.ej)),{name:i,owner:n}=(0,d.useSelect)(t=>t(Re.i).getModule(e)||{}),o=(0,d.useSelect)(t=>t(Re.i).getModuleIcon(e));return(0,f.jsxs)("li",{className:"googlesitekit-view-only-menu__service",children:[(0,f.jsx)("span",{className:"googlesitekit-view-only-menu__service--icon",children:(0,f.jsx)(o,{height:26})}),(0,f.jsx)("span",{className:"googlesitekit-view-only-menu__service--name",children:i}),t&&n?.login&&(0,f.jsx)("span",{className:"googlesitekit-view-only-menu__service--owner",children:n.login})]})}function SharedServices({viewableModules:e}){return Array.isArray(e)?(0,f.jsx)("ul",{children:e.map(e=>(0,f.jsx)(Service,{module:e},e))}):null}Service.propTypes={module:o().string.isRequired},SharedServices.propTypes={viewableModules:o().arrayOf(o().string)};var De=i(11974);function Tracking(){const e=(0,q.A)();return(0,f.jsx)(De.A,{title:(0,l.__)("Help us improve Site Kit","google-site-kit"),description:(0,Te.A)((0,l.__)("Share anonymous usage data. All collected data is treated in accordance with the <a>Google Privacy Policy</a>","google-site-kit"),{a:(0,f.jsx)(Ae.A,{href:"https://policies.google.com/privacy",external:!0})}),trackEventCategory:`${e}_headerbar_viewonly`,layout:"stacked"})}var Le=i(52696);function ManageEmailReports(){const{setValue:e}=(0,Le.wA)(D.n);return(0,Le.WM)(e=>{const t=e(b.oR).getViewableModules();if(void 0!==t)return t.includes("analytics-4")||t.includes("search-console")})?(0,f.jsxs)(c.Fragment,{children:[(0,f.jsx)(Divider,{}),(0,f.jsx)(MenuItem,{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__email-reporting",isInteractive:!1,children:(0,f.jsx)(p.Button,{className:"googlesitekit-view-only-menu__email-reporting-item",onClick:()=>e(O.Q,!0),icon:(0,f.jsx)("span",{className:"googlesitekit-view-only-menu__email-reporting-item--icon",children:(0,f.jsx)(T.A,{width:"24"})}),tertiary:!0,children:(0,f.jsx)("span",{className:"googlesitekit-view-only-menu__email-reporting-item--name",children:(0,l.__)("Manage email reports","google-site-kit")})})})]}):null}var ze=i(33052);function ViewOnlyMenu(){const e=(0,F.i)("proactiveUserEngagement"),[t,i]=(0,c.useState)(!1),n=(0,c.useRef)(),o=(0,q.A)();(0,u.A)(n,()=>i(!1)),(0,P.l)([h._f,h.wn],n,()=>i(!1));const s=(0,c.useCallback)(()=>{t||(0,y.sx)(`${o}_headerbar`,"open_viewonly"),i(!t)},[t,o]),a=(0,d.useSelect)(e=>e(b.oR).hasCapability(b.ej)),g=(0,d.useSelect)(e=>e(b.oR).getViewableModules());return(0,f.jsxs)("div",{ref:n,className:r()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":a}),children:[(0,f.jsx)(p.Button,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",onClick:s,icon:(0,f.jsx)("span",{className:"mdc-button__icon","aria-hidden":"true",children:(0,f.jsx)(Ee,{className:"mdc-button__icon--image"})}),"aria-haspopup":"menu","aria-expanded":t,"aria-controls":"view-only-menu","aria-label":(0,l.__)("View only","google-site-kit"),tooltipEnterDelayInMS:500,text:!0,tooltip:!0,children:(0,l.__)("View only","google-site-kit")}),(0,f.jsxs)(p.Menu,{menuOpen:t,onSelected:s,id:"view-only-menu",nonInteractive:!0,children:[(0,f.jsx)(MenuSection,{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description",children:(0,f.jsx)(Description,{})}),Array.isArray(g)&&(0,f.jsx)(MenuWithHeading,{className:"googlesitekit-view-only-menu__list-item",heading:(0,f.jsx)(ze.A,{as:"h4",size:"medium",type:"label",children:(0,l.__)("Shared services","google-site-kit")}),children:(0,f.jsx)(SharedServices,{viewableModules:g})}),e&&(0,f.jsx)(ManageEmailReports,{}),(0,f.jsx)(Divider,{}),(0,f.jsx)(MenuSection,{className:"googlesitekit-view-only-menu__list-item",children:(0,f.jsx)(Tracking,{})})]})]})}var Oe=i(8732),Pe=i(84730),qe=i(89766);function CoreSiteBannerNotification({id:e,...t}){const{dismissNotification:i,acceptNotification:n}=(0,d.useDispatch)(R.O4),o=(0,c.useCallback)(()=>{n(e)},[e,n]),s=(0,c.useCallback)(()=>{i(e)},[e,i]);return(0,f.jsx)(qe.A,{onCTAClick:o,onDismissClick:s,...t,id:e})}CoreSiteBannerNotification.propTypes={content:o().string,ctaLabel:o().string,ctaTarget:o().string,ctaURL:o().string,dismissLabel:o().string,dismissible:o().bool,gaTrackingEventArgs:o().object,id:o().string.isRequired,learnMoreLabel:o().string,learnMoreURL:o().string,title:o().string.isRequired},CoreSiteBannerNotification.defaultProps={content:"",ctaLabel:"",ctaTarget:"",ctaURL:"",dismissLabel:(0,l.__)("OK, Got it!","google-site-kit"),dismissible:!0,learnMoreLabel:"",learnMoreURL:""};const Be=CoreSiteBannerNotification;const Fe=function CoreSiteBannerNotifications(){const e=(0,q.A)(),[t,i]=(0,c.useState)(!1),[n,o]=(0,c.useState)(!1),s=(0,c.useRef)(Date.now()),r=(0,d.useSelect)(e=>e(R.O4).isUsingProxy()&&!1===e(b.oR).areSurveysOnCooldown()?e(b.oR).getCurrentSurvey():null),[a,l]=(0,c.useState)([]),{registerNotification:g}=(0,d.useDispatch)(Oe.D),u=(0,d.useSelect)(e=>e(R.O4).getNotifications());return(0,c.useEffect)(()=>{const e=setTimeout(()=>{n||i(!0)},5e3);return()=>{clearTimeout(e)}},[n]),(0,c.useEffect)(()=>{Math.floor((Date.now()-s.current)/1e3)<5&&r&&o(!0)},[s,r,o]),(0,c.useEffect)(()=>{t&&!n&&u?.forEach(t=>{if(a.includes(t.id))return;const i={category:`${e}_remote-site-notification`,label:t.id};g(t.id,{Component:({Notification:e})=>(0,f.jsx)(e,{gaTrackingEventArgs:i,children:(0,f.jsx)(Be,{...t,gaTrackingEventArgs:i})}),priority:t.priority,areaSlug:Pe.bI.HEADER,isDismissible:t.dismissible}),l(e=>(e.push(t.id),e))})},[e,n,u,g,a,t]),null};var He=i(67510),Ue=i(67438);function InternalServerError(){const e=(0,d.useSelect)(e=>e(R.O4).getInternalServerError());return e?(0,f.jsx)(Ue.A,{id:"internal-server-error",children:(0,f.jsx)(He.A,{notificationID:"internal-server-error",type:He.Q.ERROR,title:e.title,description:e.description})}):null}function LegacyNotifications(){const e=(0,U.A)(),t=(0,Q.Ay)(),i=(0,d.useSelect)(e=>e(b.oR).isAuthenticated());return(0,f.jsxs)(c.Fragment,{children:[(0,f.jsx)(InternalServerError,{}),!e&&t===Q.Oo&&i&&(0,f.jsx)(Fe,{})]})}var Ge=i(37834);function Header({children:e,subHeader:t,showNavigation:i}){const n=!!(0,Q.Ay)(),o=(0,U.A)();!function(){const e=(0,q.A)(),t=(0,d.useSelect)(e=>e(R.O4).isUsingProxy()),i=(0,d.useSelect)(e=>e(R.O4).getSetupErrorMessage()),n=(0,F.i)("setupFlowRefresh");(0,c.useEffect)(()=>{n||i||void 0===t||async function(){const i=await(0,_.Gq)("start_user_setup"),n=await(0,_.Gq)("start_site_setup");i.cacheHit&&(await(0,_.LD)("start_user_setup"),(0,y.sx)(`${e}_setup`,"complete_user_setup",t?"proxy":"custom-oauth")),n.cacheHit&&(await(0,_.LD)("start_site_setup"),(0,y.sx)(`${e}_setup`,"complete_site_setup",t?"proxy":"custom-oauth"))}()},[n,e,t,i])}();const s=(0,d.useSelect)(e=>e(R.O4).getAdminURL("googlesitekit-dashboard")),u=(0,d.useSelect)(e=>e(b.oR).isAuthenticated()),[h,p]=(0,a.A)({childList:!0}),m=!!p.target?.childElementCount;return(0,f.jsxs)(c.Fragment,{children:[(0,f.jsx)("header",{className:r()("googlesitekit-header",{"googlesitekit-header--has-subheader":m,"googlesitekit-header--has-navigation":i}),children:(0,f.jsx)(H.xA,{children:(0,f.jsxs)(H.fI,{children:[(0,f.jsx)(H.fh,{smSize:1,mdSize:2,lgSize:4,className:"googlesitekit-header__logo",alignMiddle:!0,children:(0,f.jsx)(Ae.A,{"aria-label":(0,l.__)("Go to dashboard","google-site-kit"),className:"googlesitekit-header__logo-link",href:s,children:(0,f.jsx)(g.A,{})})}),(0,f.jsxs)(H.fh,{smSize:3,mdSize:6,lgSize:8,className:"googlesitekit-header__children",alignMiddle:!0,children:[e,!u&&n&&o&&(0,f.jsx)(ViewOnlyMenu,{}),u&&!o&&(0,f.jsx)(UserMenu,{})]})]})})}),(0,f.jsx)("div",{className:"googlesitekit-subheader",ref:h,children:t}),i&&(0,f.jsx)(DashboardNavigation,{}),(0,f.jsx)(Me,{}),(0,f.jsx)(LegacyNotifications,{}),(0,f.jsx)(Ge.A,{areaSlug:Pe.bI.HEADER})]})}Header.displayName="Header",Header.propTypes={children:o().node,subHeader:o().element,showNavigation:o().bool},Header.defaultProps={children:null,subHeader:null};const Ve=Header},82871:e=>{e.exports=googlesitekit.i18n},83202:(e,t,i)=>{i.d(t,{A:()=>TourTooltip});var n=i(28056),o=i.n(n),s=i(4452),r=i.n(s),a=i(62688),l=i.n(a),c=i(82871),d=i(49383);var g=i(30805),u=i(72545),h=i(33052),p=i(62540);function TourTooltip({backProps:e,closeProps:t,index:i,primaryProps:s,size:a,step:l,tooltipProps:m}){const f=(0,g.i)("setupFlowRefresh"),k=a>1?function(e){return new Array(null!=e?e:0).fill().map((e,t)=>t)}(a):[];function v(e){return r()("googlesitekit-tooltip-indicator",{active:e===i})}const y=f?10:14;return(0,p.jsx)("div",{className:r()("googlesitekit-tour-tooltip",l.className,{"googlesitekit-tour-tooltip--setupFlowRefresh":f}),...m,children:(0,p.jsxs)(o(),{className:"googlesitekit-tooltip-card",children:[(0,p.jsxs)("div",{className:"googlesitekit-tooltip-body",children:[(0,p.jsx)(h.A,{as:"h2",className:"googlesitekit-tooltip-title",size:"medium",type:"title",children:l.title}),(0,p.jsx)("div",{className:"googlesitekit-tooltip-content",children:l.content})]}),(0,p.jsxs)(n.CardActions,{className:"googlesitekit-tooltip-actions",children:[!f&&(0,p.jsx)("ul",{className:"googlesitekit-tooltip-indicators",children:k.map(e=>(0,p.jsx)("li",{className:v(e)},`indicator-${e}`))}),f&&(0,p.jsxs)("p",{className:"googlesitekit-tooltip-steps",children:[i+1," / ",a]}),(0,p.jsxs)("div",{className:"googlesitekit-tooltip-buttons",children:[0!==i&&(0,p.jsx)(d.Button,{className:"googlesitekit-tooltip-button",text:!f,tertiary:f,...e,children:e.title}),l.cta,s.title&&(0,p.jsx)(d.Button,{className:r()("googlesitekit-tooltip-button",{"googlesitekit-tooltip-button--primary":f}),text:!f,...s,children:s.title})]})]}),(0,p.jsx)(d.Button,{className:"googlesitekit-tooltip-close",icon:(0,p.jsx)(u.A,{width:y,height:y}),onClick:t.onClick,"aria-label":(0,c.__)("Close","google-site-kit"),text:!0,hideTooltipTitle:!0})]})})}TourTooltip.propTypes={backProps:l().object.isRequired,closeProps:l().object.isRequired,index:l().number.isRequired,isLastStep:l().bool.isRequired,primaryProps:l().object.isRequired,size:l().number.isRequired,step:l().shape({content:l().node,title:l().node,cta:l().oneOfType([l().element,l().bool]),className:l().string}).isRequired,tooltipProps:l().object.isRequired}},83366:(e,t,i)=>{i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},e),n||(n=o.createElement("path",{d:"M5 21a2 2 0 0 1-1.425-.575A2 2 0 0 1 3 19V5q0-.825.575-1.4Q4.175 3 5 3h7v2H5v14h14v-7h2v7q0 .825-.6 1.425Q19.825 21 19 21zm4.7-5.3-1.4-1.4L17.6 5H14V3h7v7h-2V6.4z"})))},83880:(e,t,i)=>{i.d(t,{A:()=>c});var n=i(62688),o=i.n(n),s=i(97513),r=i(33052),a=i(8513),l=i(62540);function c({type:e=a.SZ,size:t,children:i,...n}){const o=(0,s.dv)();return(0,l.jsx)(r.A,{as:"p",type:e,size:t||(o===s.mp?a.Kk:a.Yw),...n,children:i})}c.propTypes={type:o().oneOf(a.tT),size:o().oneOf(a.oJ)}},83891:(e,t,i)=>{i.d(t,{A:()=>f});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(63696),l=i(97513),c=i(62540);function TitleIcon({className:e,children:t}){return(0,c.jsx)("div",{className:o()("googlesitekit-banner__title-icon",e),children:t})}function Title({className:e,children:t}){return(0,c.jsx)("p",{className:o()("googlesitekit-banner__title",e),children:t})}TitleIcon.propTypes={className:r().string,children:r().node},Title.propTypes={className:r().string,children:r().node};var d=i(13047),g=i(41671);function Description({className:e,description:t,learnMoreLink:i,additionalDescription:n,children:s}){return(0,c.jsxs)("div",{className:o()("googlesitekit-banner__description",e),children:[(0,a.isValidElement)(t)?t:"string"==typeof t?(0,c.jsx)("span",{dangerouslySetInnerHTML:(0,d.p9)(t,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}):t," ",i?.href&&(0,c.jsx)(g.A,{...i}),n&&(0,c.jsx)("div",{className:"googlesitekit-banner__additional-description",children:n}),s]})}function HelpText({className:e,children:t}){return(0,c.jsx)("p",{className:o()("googlesitekit-banner__help-text",e),children:t})}Description.propTypes={className:r().string,description:r().oneOfType([r().string,r().node]),learnMoreLink:r().shape(g.A.propTypes),additionalDescription:r().oneOfType([r().string,r().node]),children:r().node},HelpText.propTypes={className:r().string,children:r().node};var u=i(71189),h=i(61983);function Footer({className:e,children:t}){return(0,c.jsx)("div",{className:o()("googlesitekit-banner__footer",e),children:t})}Footer.propTypes={className:r().string,children:r().node};var p=i(25797);const m=(0,a.forwardRef)(({className:e,titleIcon:t,title:i,description:n,additionalDescription:s,errorText:r,helpText:a,learnMoreLink:d,dismissButton:g,ctaButton:m,svg:f,footer:k},v)=>{const y=(0,l.dv)(),_=y===l.mp||y===l.Lg;let x=null;_&&f?.mobile?x=f.mobile:!_&&f?.desktop&&(x=f.desktop);const b=f?.verticalPosition?f.verticalPosition:"center";return(0,c.jsxs)("div",{ref:v,className:o()("googlesitekit-banner",e),children:[(0,c.jsxs)("div",{className:"googlesitekit-banner__content",children:[t&&(0,c.jsx)(TitleIcon,{children:t}),(0,c.jsx)(Title,{children:i}),(0,c.jsx)(Description,{description:n,learnMoreLink:d,additionalDescription:s}),a&&(0,c.jsx)(HelpText,{children:a}),r&&(0,c.jsx)(p.A,{type:"error",description:r}),(0,c.jsxs)("div",{className:"googlesitekit-notice__action",children:[m&&(0,c.jsx)(u.A,{...m}),g?.onClick&&(0,c.jsx)(h.A,{...g})]})]}),x&&(0,c.jsx)("div",{className:o()("googlesitekit-banner__svg-wrapper",{[`googlesitekit-banner__svg-wrapper--${b}`]:b}),style:{backgroundImage:`url(${x})`}}),k&&(0,c.jsx)(Footer,{children:k})]})});m.propTypes={titleIcon:r().node,title:r().string,description:r().oneOfType([r().string,r().node]),additionalDescription:r().oneOfType([r().string,r().node]),errorText:r().string,helpText:r().string,learnMoreLink:r().shape(g.A.propTypes),dismissButton:r().shape(h.A.propTypes),ctaButton:r().shape(u.A.propTypes),svg:r().shape({desktop:r().elementType,mobile:r().elementType,verticalPosition:r().oneOf(["top","center","bottom"])}),footer:r().node};const f=m},84730:(e,t,i)=>{i.d(t,{Bp:()=>s,FQ:()=>r,He:()=>l,bI:()=>a,rq:()=>o,ui:()=>n});const n="warning-notification-gtg",o="gtg-setup-cta",s="setup-success-notification-site-kit",r={ERROR_HIGH:30,ERROR_LOW:60,WARNING:100,INFO:150,SETUP_CTA_HIGH:150,SETUP_CTA_LOW:200},a={HEADER:"notification-area-header",DASHBOARD_TOP:"notification-area-dashboard-top",OVERLAYS:"notification-area-overlays"},l={DEFAULT:"default",SETUP_CTAS:"setup-ctas"}},84895:(e,t,i)=>{i.d(t,{G:()=>o,t:()=>n});const n=new Set(i.g?._googlesitekitBaseData?.enabledFeatures||[]);function o(e,t=n){return t instanceof Set&&t.has(e)}},84984:(e,t,i)=>{i.d(t,{fh:()=>Cell,xA:()=>u,fI:()=>d});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(62540);function Cell(e){const{className:t,alignTop:i,alignMiddle:n,alignBottom:o,alignRight:s,alignLeft:l,smAlignRight:c,mdAlignRight:d,lgAlignRight:g,smSize:u,smStart:h,smOrder:p,mdSize:m,mdStart:f,mdOrder:k,lgSize:v,lgStart:y,lgOrder:_,size:x,children:b,...j}=e;return(0,a.jsx)("div",{...j,className:r()(t,"mdc-layout-grid__cell",{"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":n,"mdc-layout-grid__cell--align-bottom":o,"mdc-layout-grid__cell--align-right":s,"mdc-layout-grid__cell--align-left":l,"mdc-layout-grid__cell--align-right-phone":c,"mdc-layout-grid__cell--align-right-tablet":d,"mdc-layout-grid__cell--align-right-desktop":g,[`mdc-layout-grid__cell--span-${x}`]:12>=x&&x>0,[`mdc-layout-grid__cell--span-${v}-desktop`]:12>=v&&v>0,[`mdc-layout-grid__cell--start-${y}-desktop`]:12>=y&&y>0,[`mdc-layout-grid__cell--order-${_}-desktop`]:12>=_&&_>0,[`mdc-layout-grid__cell--span-${m}-tablet`]:8>=m&&m>0,[`mdc-layout-grid__cell--start-${f}-tablet`]:8>=f&&f>0,[`mdc-layout-grid__cell--order-${k}-tablet`]:8>=k&&k>0,[`mdc-layout-grid__cell--span-${u}-phone`]:4>=u&&u>0,[`mdc-layout-grid__cell--start-${h}-phone`]:4>=h&&h>0,[`mdc-layout-grid__cell--order-${p}-phone`]:4>=p&&p>0}),children:b})}Cell.propTypes={smSize:o().number,smStart:o().number,smOrder:o().number,mdSize:o().number,mdStart:o().number,mdOrder:o().number,lgSize:o().number,lgStart:o().number,lgOrder:o().number,size:o().number,alignTop:o().bool,alignMiddle:o().bool,alignBottom:o().bool,alignRight:o().bool,alignLeft:o().bool,smAlignRight:o().bool,mdAlignRight:o().bool,lgAlignRight:o().bool,className:o().string,children:o().node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0};var l=i(63696);const c=(0,l.forwardRef)(({className:e,children:t,...i},n)=>(0,a.jsx)("div",{ref:n,className:r()("mdc-layout-grid__inner",e),...i,children:t}));c.displayName="Row",c.propTypes={className:o().string,children:o().node},c.defaultProps={className:""};const d=c,g=(0,l.forwardRef)(({alignLeft:e,fill:t,className:i,children:n,collapsed:o,...s},l)=>(0,a.jsx)("div",{className:r()("mdc-layout-grid",i,{"mdc-layout-grid--align-left":e,"mdc-layout-grid--collapsed":o,"mdc-layout-grid--fill":t}),...s,ref:l,children:n}));g.displayName="Grid",g.propTypes={alignLeft:o().bool,fill:o().bool,className:o().string,collapsed:o().bool,children:o().node},g.defaultProps={className:""};const u=g},85097:(e,t,i)=>{i.d(t,{W:()=>l});var n=i(79257),o=i(35470),s=i(63696),r=i(52735),a=i(7972);function l({sticky:e=!1}={}){const t=(0,s.useContext)(r.A),[i,l]=(0,s.useState)(!1),c=(0,o.A)(e=>e(a.n).getInViewResetCount()),d=(0,o.A)(e=>e(a.n).getValue("forceInView"));return(0,s.useEffect)(()=>{t.value&&!i&&l(!0)},[i,t,l]),(0,s.useEffect)(()=>{d&&l(!0)},[d]),(0,n.A)(()=>{l(!1)},[c]),!(!e||!i)||!!t.value}},85135:(e,t,i)=>{i.d(t,{A:()=>f});var n=i(62688),o=i.n(n),s=i(47485),r=i(63696),a=i(82871),l=i(10740),c=i(4452),d=i.n(c),g=i(62540);const u=(0,r.forwardRef)(({children:e,href:t,text:i,className:n,danger:o,disabled:s,target:r,"aria-label":a,inverse:l,tertiary:c,callout:u,calloutStyle:h,...p},m)=>{const f=t&&!s?"a":"button";return(0,g.jsx)(f,{className:d()("mdc-button",n,{"mdc-button--raised":!i&&!c&&!u,"mdc-button--danger":o,"mdc-button--inverse":l,"mdc-button--tertiary":c,"mdc-button--callout":u,"mdc-button--callout-primary":u||"primary"===h,"mdc-button--callout-warning":"warning"===h,"mdc-button--callout-error":"error"===h}),href:s?void 0:t,ref:m,disabled:!!s,"aria-label":a,target:r||"_self",role:"a"===f?"button":void 0,...p,children:e})});u.propTypes={children:o().node,href:o().string,text:o().bool,className:o().string,danger:o().bool,disabled:o().bool,target:o().string,"aria-label":o().string,inverse:o().bool,tertiary:o().bool,callout:o().bool,calloutStyle:o().oneOf(["primary","warning","error"])};const h=u;var p=i(99573);function MaybeTooltip({children:e,disabled:t=!1,tooltip:i=!1,tooltipTitle:n=null,hasIconOnly:o=!1,tooltipEnterDelayInMS:s=100}){return!t&&(i&&n||o&&n)?(0,g.jsx)(p.A,{title:n,enterDelay:s,children:e}):e}MaybeTooltip.propTypes={children:o().node.isRequired,disabled:o().bool,tooltip:o().bool,tooltipTitle:o().oneOfType([o().string,o().element]),hasIconOnly:o().bool,tooltipEnterDelayInMS:o().number};const m=(0,r.forwardRef)(({children:e,href:t=null,text:i=!1,className:n="",danger:o=!1,disabled:c=!1,target:d,icon:u=null,trailingIcon:p=null,"aria-label":m,title:f=null,customizedTooltip:k=null,tooltip:v=!1,inverse:y=!1,hideTooltipTitle:_=!1,tooltipEnterDelayInMS:x=100,tertiary:b=!1,callout:j=!1,calloutStyle:S=null,...A},N)=>{const w=(0,r.useCallback)(e=>{null!==e&&l.Nv.attachTo(e)},[]),M=(0,s.A)(N,w);const C=_?null:f||k||m;return(0,g.jsx)(MaybeTooltip,{disabled:c,tooltip:v,tooltipTitle:C,hasIconOnly:!!u&&void 0===e,tooltipEnterDelayInMS:x,children:(0,g.jsxs)(h,{href:t,disabled:c,className:n,danger:o,text:i,tertiary:b,inverse:y,callout:j,calloutStyle:S,ref:M,"aria-label":function(){let t=m;if("_blank"!==d)return t;const i=(0,a._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof e&&(t=t||e),t?`${t} ${i}`:i}(),target:d||"_self",...A,children:[u,e&&(0,g.jsx)("span",{className:"mdc-button__label",children:e}),p]})})});m.propTypes={onClick:o().func,children:o().node,href:o().string,text:o().bool,className:o().string,danger:o().bool,disabled:o().bool,icon:o().element,trailingIcon:o().element,title:o().string,customizedTooltip:o().element,tooltip:o().bool,inverse:o().bool,hideTooltipTitle:o().bool,callout:o().bool,calloutStyle:o().oneOf(["primary","warning","error"])};const f=m},85149:(e,t,i)=>{i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o,s=i(63696);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},r.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>s.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor","aria-labelledby":"warning-title warning-desc",viewBox:"0 0 24 24"},e),n||(n=s.createElement("path",{fill:"none",d:"M0 0h24v24H0z"})),o||(o=s.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"})))},86582:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(20697);function o(e){return n.kz.includes(e)}},88273:(e,t,i)=>{i.d(t,{U:()=>o,i:()=>n});const n="core/modules",o="insufficient_module_dependencies"},88288:(e,t,i)=>{i.d(t,{A:()=>ProgressIndicator});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(62540);function ProgressIndicator({currentSegment:e=0,totalSegments:t=0,className:i}){return(0,a.jsxs)("div",{style:{gridTemplateColumns:`46px repeat(${t||1}, 1fr)`},className:o()("googlesitekit-progress-indicator",i),children:[(0,a.jsx)("div",{className:o()("googlesitekit-progress-indicator__segment")}),t>0&&Array.from(Array(e+1).keys()).map(i=>(0,a.jsx)("div",{className:o()("googlesitekit-progress-indicator__segment",{"googlesitekit-progress-indicator__segment--final":e+1===t})},i))]})}ProgressIndicator.propTypes={currentSegment:r().number,totalSegments:r().number,className:r().string}},88933:(e,t,i)=>{i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 44"},e),n||(n=o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("path",{fill:"#FBBC05",d:"m2.253 12.252 7.399 5.658A13 13 0 0 0 9 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22 22 0 0 1 0 22c0-3.506.81-6.814 2.253-9.748"}),o.createElement("path",{fill:"#EA4335",d:"m9.652 17.91-7.4-5.658A21.94 21.94 0 0 1 22 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.91"}),o.createElement("path",{fill:"#34A853",d:"m2.25 31.742 7.396-5.67A12.975 12.975 0 0 0 22 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.94 21.94 0 0 1 2.25 31.742"}),o.createElement("path",{fill:"#4285F4",d:"m36.34 38.52-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.52"}))))},89766:(e,t,i)=>{i.d(t,{A:()=>l});var n=i(62688),o=i.n(n),s=i(67510),r=i(13047),a=i(62540);function NotificationFromServer({id:e,titleIcon:t,title:i,content:n,ctaLabel:o,ctaTarget:l,ctaURL:c,dismissible:d,dismissLabel:g,learnMoreLabel:u,learnMoreURL:h,onCTAClick:p,onDismissClick:m,gaTrackingEventArgs:f}){const k={expiresInSeconds:r.Jg};return(0,a.jsx)(s.A,{notificationID:e,type:s.Q.WARNING,titleIcon:t||void 0,title:i,description:n,learnMoreLink:h?{label:u,href:h}:void 0,ctaButton:{label:o,href:c,onClick:p,dismissOptions:k,external:"_blank"===l},dismissButton:d?{label:g,onClick:m,dismissOptions:k}:void 0,gaTrackingEventArgs:f})}NotificationFromServer.propTypes={id:o().string.isRequired,title:o().string.isRequired,content:o().node,ctaLabel:o().string,ctaTarget:o().string,ctaURL:o().string,dismissible:o().bool,dismissLabel:o().string,learnMoreLabel:o().string,learnMoreURL:o().string,onCTAClick:o().func,onDismissClick:o().func,gaTrackingEventArgs:o().object};const l=NotificationFromServer},90559:(e,t,i)=>{i.d(t,{$n:()=>z});var n=i(12786),o=i.n(n),s=i(91310),r=i.n(s),a=i(26805),l=i.n(a),c=i(65165),d=i.n(c),g=i(85135),u=i(32885),h=i(39525),p=i(4452),m=i.n(p),f=i(62688),k=i.n(f),v=i(62540);function Chip({id:e,label:t,onClick:i,selected:n,className:o,CheckMark:s=h.ChipCheckmark,disabled:r,...a}){return(0,v.jsx)(h.Chip,{chipCheckmark:(0,v.jsx)(s,{}),"data-chip-id":e,id:e,label:t,onClick:e=>{r||i?.(e)},selected:n,className:m()("googlesitekit-chip",o,{"googlesitekit-chip--disabled":r}),...a})}Chip.propTypes={id:k().string.isRequired,label:k().string.isRequired,onClick:k().func,selected:k().bool,className:k().string,CheckMark:k().elementType};var y=i(99578),_=i(47485),x=i(63696),b=i(10740);const j=(0,x.forwardRef)(({children:e,className:t,menuOpen:i,menuItems:n,onSelected:o,nonInteractive:s,id:r},a)=>{const[l,c]=(0,x.useState)(null),d=(0,x.useRef)(null),g=(0,_.A)(a,d),u=(0,x.useCallback)(e=>{const{detail:{index:t}}=e;o(t,e)},[o]);return(0,x.useEffect)(()=>{if(!d?.current)return()=>{};const e=new b.CR(d.current);return e.listen("MDCMenu:selected",u),e.quickOpen=!0,c(e),()=>{e.unlisten("MDCMenu:selected",u),e.destroy()}},[d,u,s]),(0,x.useEffect)(()=>{l&&(l.open=i,l.setDefaultFocusState(1))},[l,i]),(0,v.jsx)("div",{className:m()("mdc-menu","mdc-menu-surface",t),ref:g,children:(0,v.jsxs)("ul",{"aria-hidden":!i,"aria-orientation":"vertical",className:m()("mdc-list",{"mdc-list--non-interactive":s}),id:r,role:"menu",tabIndex:"-1",children:[!e&&n.map((e,t)=>(0,v.jsx)("li",{className:"mdc-list-item",role:"menuitem",children:(0,v.jsx)("span",{className:"mdc-list-item__text",children:e})},t)),e]})})});j.displayName="Menu",j.propTypes={className:k().string,children:k().node,menuOpen:k().bool.isRequired,menuItems:k().array,id:k().string.isRequired,onSelected:k().func,nonInteractive:k().bool},j.defaultProps={onSelected:()=>{},nonInteractive:!1};const S=j;var A=i(97513);function ProgressBar({className:e,small:t,compress:i,indeterminate:n,height:o,verticalSpacing:s,mobileVerticalSpacing:r,tabletVerticalSpacing:a,desktopVerticalSpacing:l,progress:c}){const d=(0,A.dv)();let g,u=s;A.mp===d&&void 0!==r?u=r:A.Lg===d&&void 0!==a?u=a:A.Qb!==d&&A.Fo!==d||void 0===l||(u=l),void 0!==u&&(g=0===u?0:Math.round(u/2));const h=c?`scaleX(${c})`:void 0;return(0,v.jsxs)("div",{role:"progressbar",style:{marginTop:g,marginBottom:g,...o&&{height:`${o}px`}},className:m()("mdc-linear-progress",e,{"mdc-linear-progress--indeterminate":n,"mdc-linear-progress--small":t,"mdc-linear-progress--compress":i}),children:[(0,v.jsx)("div",{className:"mdc-linear-progress__buffering-dots"}),(0,v.jsx)("div",{className:"mdc-linear-progress__buffer"}),(0,v.jsx)("div",{className:"mdc-linear-progress__bar mdc-linear-progress__primary-bar",style:{transform:h},children:(0,v.jsx)("span",{className:"mdc-linear-progress__bar-inner"})}),(0,v.jsx)("div",{className:"mdc-linear-progress__bar mdc-linear-progress__secondary-bar",children:(0,v.jsx)("span",{className:"mdc-linear-progress__bar-inner"})})]})}function Radio(e){const{id:t,name:i,value:n,checked:o=!1,disabled:s=!1,children:r,tabIndex:a,onKeyDown:l=null,onClick:c=null,onChange:d=null,alignLeft:g=!1,description:u}=e,h=(0,x.useCallback)(e=>{if(null!==e){const t=new b.$z(e),i=e.querySelector(".mdc-radio");i&&(t.input=new b.Si(i))}},[]);return(0,v.jsxs)("div",{className:"mdc-form-field",ref:h,children:[(0,v.jsxs)("div",{className:m()("mdc-radio",{"mdc-radio--disabled":s,"mdc-radio--align-left":g}),children:[(0,v.jsx)("input",{className:"mdc-radio__native-control",onClick:c,onKeyDown:l,type:"radio",id:t,name:i,value:n,checked:o,disabled:s,tabIndex:a,onChange:d,readOnly:!0}),(0,v.jsxs)("div",{className:"mdc-radio__background",children:[(0,v.jsx)("div",{className:"mdc-radio__outer-circle"}),(0,v.jsx)("div",{className:"mdc-radio__inner-circle"})]})]}),!u&&(0,v.jsx)("label",{htmlFor:t,children:r}),u&&(0,v.jsxs)("div",{className:"mdc-radio__content",children:[(0,v.jsx)("label",{htmlFor:t,children:r}),(0,v.jsx)("div",{className:"mdc-radio__description",children:u})]})]})}ProgressBar.propTypes={className:k().string,small:k().bool,compress:k().bool,indeterminate:k().bool,progress:k().number,height:k().number,verticalSpacing:k().number,mobileVerticalSpacing:k().number,tabletVerticalSpacing:k().number,desktopVerticalSpacing:k().number},ProgressBar.defaultProps={className:"",small:!1,compress:!1,indeterminate:!0,progress:0,height:4},Radio.propTypes={onClick:k().func,onKeyDown:k().func,onChange:k().func,id:k().string.isRequired,name:k().string.isRequired,value:k().string.isRequired,checked:k().bool,disabled:k().bool,children:k().string.isRequired,tabIndex:k().oneOfType([k().number,k().string]),description:k().node};var N=i(52684);var w=i(11763),M=i(19266);function Switch({onClick:e,label:t,checked:i,disabled:n,hideLabel:o}){const s=(0,N.A)(Switch),r=(0,x.useCallback)(e=>{null!==e&&b.P3.attachTo(e)},[]),a=(0,x.useCallback)(t=>{"function"==typeof e&&M.Fm===t.keyCode&&e(t)},[e]),l=`googlesitekit-switch-${s}`;return(0,v.jsxs)(x.Fragment,{children:[(0,v.jsxs)("div",{"aria-checked":i?"true":"false",className:m()("mdc-switch",{"mdc-switch--checked":i,"mdc-switch--disabled":n}),onClick:e,onKeyDown:a,role:"switch",ref:r,tabIndex:0,children:[(0,v.jsx)("div",{className:"mdc-switch__track",children:" "}),(0,v.jsx)("div",{className:"mdc-switch__thumb-underlay",children:(0,v.jsx)("div",{className:"mdc-switch__thumb",children:(0,v.jsx)("input",{type:"checkbox",id:l,className:"mdc-switch__native-control",role:"switch",checked:i,disabled:n,readOnly:!0})})})]}),(0,v.jsx)("label",{className:m()({"screen-reader-only":o}),htmlFor:l,children:t})]})}Switch.propTypes={id:k().string,onClick:k().func,label:k().node.isRequired,checked:k().bool,disabled:k().bool,hideLabel:k().bool},Switch.defaultProps={checked:!1,disabled:!1,hideLabel:!0};const C=Switch;var I=i(38748),E=i.n(I);function TextField({className:e,name:t,label:i,noLabel:n,outlined:o,textarea:s,leadingIcon:r,trailingIcon:a,helperText:l,id:c,inputType:d,value:g,size:u,maxLength:h,tabIndex:p,disabled:m,onChange:f,onKeyDown:k}){const y=(0,N.A)(TextField,"googlesitekit-textfield");return(0,v.jsx)(E(),{className:e,name:t,label:i,noLabel:n,outlined:o,textarea:s,leadingIcon:r,trailingIcon:a,helperText:l&&(0,v.jsx)(I.HelperText,{persistent:!0,children:l}),children:(0,v.jsx)(I.Input,{id:c||y,inputType:d,value:g,size:u,maxLength:h,tabIndex:p,disabled:m,onChange:f,onKeyDown:k})})}TextField.propTypes={className:k().string,name:k().string,label:k().string,noLabel:k().bool,outlined:k().bool,textarea:k().bool,leadingIcon:k().element,trailingIcon:k().oneOfType([k().bool,k().element]),helperText:k().oneOfType([k().bool,k().string]),id:k().string,inputType:k().string,value:k().oneOfType([k().string,k().number]),size:k().number,maxLength:k().number,tabIndex:k().oneOfType([k().number,k().string]),disabled:k().bool,onChange:k().func,onKeyDown:k().func};const T=TextField;var R=i(99573);const D={Button:g.A,Checkbox:u.A,Chip,CircularProgress:y.A,Dialog:o(),DialogTitle:n.DialogTitle,DialogContent:n.DialogContent,DialogFooter:n.DialogFooter,HelperText:I.HelperText,Menu:S,Option:s.Option,ProgressBar,Radio,Select:function Select({id:e,helperText:t,...i}){const n=(0,N.A)(Select,"googlesitekit-select");return(0,v.jsx)(r(),{id:e||n,helperText:t?(0,v.jsx)(s.SelectHelperText,{children:t}):void 0,...i})},SpinnerButton:w.A,SPINNER_POSITION:w.k,Switch:C,Tab:l(),TabBar:d(),TextField:T,Tooltip:R.A},L=D;void 0===i.g.googlesitekit&&(i.g.googlesitekit={}),i.g.googlesitekit.components=L;const{Button:z,Checkbox:O,Chip:P,CircularProgress:q,Dialog:B,DialogTitle:F,DialogContent:H,DialogFooter:U,Menu:G,Option:V,ProgressBar:W,Radio:Z,Select:Y,SpinnerButton:$,Switch:Q,Tab:K,TabBar:X,TextField:J,HelperText:ee,Tooltip:te}=L},91013:(e,t,i)=>{i.d(t,{A:()=>c});var n=i(62688),o=i.n(n),s=i(63696),r=i(82871),a=i(73198),l=i(62540);class MediaErrorHandler extends s.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e,t){i.g.console.error("Caught an error:",e,t),this.setState({error:e})}render(){const{children:e,errorMessage:t}=this.props,{error:i}=this.state;return i?(0,l.jsx)(a.A,{message:t}):e}}MediaErrorHandler.defaultProps={errorMessage:(0,r.__)("Failed to load media","google-site-kit")},MediaErrorHandler.propTypes={children:o().node.isRequired,errorMessage:o().string.isRequired};const c=MediaErrorHandler},92449:(e,t,i)=>{i.d(t,{Ay:()=>r,Kq:()=>s});const n=(0,i(63696).createContext)({}),{Consumer:o,Provider:s}=n,r=n},94656:(e,t,i)=>{i.d(t,{A:()=>l});var n=i(47209),o=i(62688),s=i.n(o),r=i(63696),a=i(78325);function Portal({children:e,slug:t}){const[i]=(0,r.useState)(document.createElement("div"));return(0,n.A)(()=>{t&&i.classList.add(`googlesitekit-portal-${t}`);const e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(i),()=>e.removeChild(i)}),(0,a.createPortal)(e,i)}Portal.propTypes={slug:s().string,children:s().node},Portal.defaultProps={slug:"",children:null};const l=Portal},97345:(e,t,i)=>{i.d(t,{$8:()=>r,$Q:()=>h,BT:()=>R,CQ:()=>N,D1:()=>Z,DF:()=>W,GM:()=>A,GT:()=>v,GU:()=>Y,HA:()=>O,HD:()=>u,HP:()=>T,J5:()=>q,JF:()=>M,JK:()=>f,Ml:()=>m,SS:()=>D,UF:()=>d,UY:()=>U,Vl:()=>L,W6:()=>V,Xq:()=>w,YQ:()=>C,Yw:()=>H,dV:()=>E,dX:()=>S,ej:()=>c,em:()=>s,ep:()=>b,fu:()=>_,gC:()=>y,hz:()=>p,jx:()=>g,lV:()=>l,nH:()=>P,oR:()=>n,od:()=>a,p3:()=>k,pG:()=>j,qv:()=>o,qy:()=>I,t1:()=>G,t7:()=>F,tB:()=>x,tK:()=>B,u_:()=>z});const n="core/user",o="connected_url_mismatch",s="__global",r="temporary_persist_permission_error",a="adblocker_active",l=["weekly","monthly","quarterly"],c="googlesitekit_authenticate",d="googlesitekit_setup",g="googlesitekit_view_dashboard",u="googlesitekit_manage_options",h="googlesitekit_read_shared_module_data",p="googlesitekit_manage_module_sharing_options",m="googlesitekit_delegate_module_sharing_management",f="googlesitekit_update_plugins",k="kmAnalyticsAdSenseTopEarningContent",v="kmAnalyticsEngagedTrafficSource",y="kmAnalyticsLeastEngagingPages",_="kmAnalyticsNewVisitors",x="kmAnalyticsPopularAuthors",b="kmAnalyticsPopularContent",j="kmAnalyticsPopularProducts",S="kmAnalyticsReturningVisitors",A="kmAnalyticsTopCities",N="kmAnalyticsTopCitiesDrivingLeads",w="kmAnalyticsTopCitiesDrivingAddToCart",M="kmAnalyticsTopCitiesDrivingPurchases",C="kmAnalyticsTopDeviceDrivingPurchases",I="kmAnalyticsTopConvertingTrafficSource",E="kmAnalyticsTopCountries",T="kmAnalyticsTopPagesDrivingLeads",R="kmAnalyticsTopRecentTrendingPages",D="kmAnalyticsTopTrafficSource",L="kmAnalyticsTopTrafficSourceDrivingAddToCart",z="kmAnalyticsTopTrafficSourceDrivingLeads",O="kmAnalyticsTopTrafficSourceDrivingPurchases",P="kmAnalyticsPagesPerVisit",q="kmAnalyticsVisitLength",B="kmAnalyticsTopReturningVisitorPages",F="kmSearchConsolePopularKeywords",H="kmAnalyticsVisitsPerVisitor",U="kmAnalyticsMostEngagingPages",G="kmAnalyticsTopCategories",V=[k,v,y,_,x,b,j,S,G,A,N,w,M,C,I,E,R,D,L,P,q,B,H,U,G],W=[...V,F],Z="welcome-modal-with-tour",Y="welcome-modal-gathering-data"},97513:(e,t,i)=>{i.d(t,{Fo:()=>s,Lg:()=>r,Qb:()=>o,dv:()=>l,mp:()=>a});var n=i(24355);const o="xlarge",s="desktop",r="tablet",a="small";function l(){const e=(0,n.SO)();return e>1280?o:e>960?s:e>600?r:a}},99573:(e,t,i)=>{i.d(t,{A:()=>Tooltip});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(90295),l=i(63696),c=i(62540);function Tooltip({children:e,popperClassName:t,tooltipClassName:i,onOpen:n,onClose:o,...s}){const d=(0,l.useRef)(!1),g=n?()=>{d.current||(d.current=!0,n?.())}:void 0,u=n?()=>{d.current=!1,o?.()}:o;return(0,c.jsx)(a.Ay,{classes:{popper:r()("googlesitekit-tooltip-popper",t),tooltip:r()("googlesitekit-tooltip",i)},onOpen:g,onClose:u,...s,arrow:!0,children:e})}Tooltip.propTypes={children:o().node,popperClassName:o().string,tooltipClassName:o().string,onOpen:o().func,onClose:o().func}},99578:(e,t,i)=>{i.d(t,{A:()=>CircularProgress});var n=i(75762),o=i(62540);function CircularProgress(e){return(0,o.jsx)(n.A,{...e})}}},e=>{e.O(0,[660],()=>{return t=46718,e(e.s=t);var t});e.O()}]);
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка