PATH:
home
/
centosnipponia
/
public_html
/
nipponiacar
/
wp-content
/
plugins
/
google-site-kit
/
dist
/
assets
/
js
"use strict";(globalThis.__googlesitekit_webpackJsonp=globalThis.__googlesitekit_webpackJsonp||[]).push([[474],{19793(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var r,n=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 r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>n.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),r||(r=n.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"})))},2478(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var r,n=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 r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>n.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 8"},e),r||(r=n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.6.6 12 2 6 8 0 2 1.4.6 6 5.2z"})))},83366(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var r,n=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 r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>n.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},e),r||(r=n.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"})))},42343(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var r,n=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 r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>n.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),r||(r=n.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"})))},3749(e,t,i){i.d(t,{Q:()=>r});let r=function(e){return e.NEW="new",e.SUCCESS="success",e.WARNING="warning",e.INFO="info",e.INFO_ALT="info-alt",e.INFO_ALT_2="info-alt-2",e.ERROR="error",e}({})},92917(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var r=i(68102),n=i(25797),s=i(68761),o=i(50539),a=i(8732),l=i(10740),c=i(97015);const __WEBPACK_DEFAULT_EXPORT__=({notificationID:e,children:t,dismissButton:i,ctaButton:d,gaTrackingEventArgs:g,...p})=>{const u=(0,s.A)(e,g?.category),{dismissNotification:h}=(0,o.useDispatch)(a.D);return c.createElement(l.xA,null,c.createElement(l.fI,null,c.createElement(l.fh,{size:12,alignMiddle:!0},c.createElement(n.A,(0,r.A)({dismissButton:{...i,onClick:async function(t){await(i?.onClick?.(t)),u.dismiss(g?.label,g?.value),h(e,{...i?.dismissOptions||{}})}},ctaButton:{...d,onClick:async function(t){u.confirm(g?.label,g?.value),await(d?.onClick?.(t)),d?.dismissOnClick&&h(e,{...d?.dismissOptions})}}},p),t))))}},97513(e,t,i){i.d(t,{Fo:()=>s,Lg:()=>o,Qb:()=>n,dv:()=>l,mp:()=>a});var r=i(24355);const n="xlarge",s="desktop",o="tablet",a="small";function l(){const e=(0,r.SO)();return e>1280?n:e>960?s:e>600?o:a}},24355(e,t,i){i.d(t,{SO:()=>l,xJ:()=>a});var r=i(55620),n=i(99123);function s(){return[globalThis.innerWidth,globalThis.innerHeight]}function o({fps:e=60,leading:t=!1,initialWidth:i=0,initialHeight:o=0}={}){const[a,l]=(0,r._)("undefined"==typeof document?[i,o]:s,e,t);function c(){return l(s)}return(0,n.A)(window,"resize",c),(0,n.A)(window,"orientationchange",c),a}function a(e={}){return o(e)[1]}function l(e={}){return o(e)[0]}},5855(e,t,i){i.d(t,{A:()=>d});var r=i(4452),n=i.n(r),s=i(62688),o=i.n(s),a=i(63696),l=i(62540);const c=(0,a.forwardRef)(({label:e,className:t,hasLeftSpacing:i=!1,...r},s)=>(0,l.jsx)("span",{ref:s,...r,className:n()("googlesitekit-badge",t,{"googlesitekit-badge--has-left-spacing":i}),children:e}));c.displayName="Badge",c.propTypes={label:o().string.isRequired,hasLeftSpacing:o().bool};const d=c},38017(e,t,i){i.d(t,{A:()=>l});var r=i(62688),n=i.n(r),s=i(4452),o=i.n(s),a=i(62540);function ChangeArrow({direction:e,invertColor:t,width:i,height:r}){return(0,a.jsx)("svg",{className:o()("googlesitekit-change-arrow",`googlesitekit-change-arrow--${e}`,{"googlesitekit-change-arrow--inverted-color":t}),width:i,height:r,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:n().string,invertColor:n().bool,width:n().number,height:n().number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9};const l=ChangeArrow},73198(e,t,i){i.d(t,{A:()=>ErrorNotice});var r=i(62688),n=i.n(r),s=i(63696),o=i(82871),a=i(84024),l=i(50539),c=i(13137),d=i(25797),g=i(13047),p=i(62540);function ErrorNotice({className:e,error:t,hasButton:i=!1,storeName:r,message:n=t.message,noPrefix:u=!1,skipRetryMessage:h,hideIcon:m=!1}){const f=(0,l.useDispatch)(),_=(0,l.useSelect)(e=>r?e(r).getSelectorDataForError(t):null),b=(0,s.useCallback)(()=>{f(_.storeName).invalidateResolution(_.name,_.args)},[f,_]);if(!n||(0,c.G)(t))return null;const v=i&&(0,c.vl)(t,_);let y=n;i||h||(y=(0,o.sprintf)(/* translators: %s: Error message from Google API. */ /* translators: %s: Error message from Google API. */ (0,o.__)("%s (Please try again.)","google-site-kit"),y)),u||(y=(0,o.sprintf)(/* translators: $%s: Error message */ /* translators: $%s: Error message */ (0,o.__)("Error: %s","google-site-kit"),y));const k=t?.data?.reconnectURL;k&&(0,a.m)(k)&&(y=(0,o.sprintf)(/* translators: 1: Original error message 2: Reconnect URL */ /* translators: 1: Original error message 2: Reconnect URL */ (0,o.__)('%1$s To fix this, <a href="%2$s">redo the plugin setup</a>.',"google-site-kit"),y,k));return(0,p.jsx)(d.A,{className:e,type:d.A.TYPES.ERROR,description:(0,p.jsx)("span",{dangerouslySetInnerHTML:(0,g.p9)(y,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}),ctaButton:v?{label:(0,o.__)("Retry","google-site-kit"),onClick:b}:void 0,hideIcon:m})}ErrorNotice.propTypes={className:n().string,error:n().shape({message:n().string}),hasButton:n().bool,storeName:n().string,message:n().string,noPrefix:n().bool,skipRetryMessage:n().bool,hideIcon:n().bool}},50304(e,t,i){i.d(t,{A:()=>IconWrapper});var r=i(62688),n=i.n(r),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:n().node.isRequired,marginLeft:n().number,marginRight:n().number}},82267(e,t,i){i.d(t,{A:()=>InfoTooltip});var r,n=i(4452),s=i.n(n),o=i(62688),a=i.n(o),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 r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}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),r||(r=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 p=i(62540);function InfoTooltip({onOpen:e,title:t,tooltipClassName:i}){return t?(0,p.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,p.jsx)("span",{tabIndex:"0",role:"tooltip",children:(0,p.jsx)(g,{width:"16",height:"16"})})}):null}InfoTooltip.propTypes={onOpen:a().func,title:a().oneOfType([a().string,a().element]),tooltipClassName:a().string}},38432(e,t,i){i.d(t,{A:()=>E});var r,n=i(4452),s=i.n(n),o=i(62688),a=i.n(o),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 r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},g.apply(null,arguments)}const p=e=>c.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 13"},e),r||(r=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 u;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 r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},h.apply(null,arguments)}const m=e=>c.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 13"},e),u||(u=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 _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},_.apply(null,arguments)}const b=e=>c.createElement("svg",_({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 v=i(83366),y=i(50304),k=i(62540);const A="BUTTON",x="BUTTON_DISABLED",w="EXTERNAL_LINK",R="LINK",N="ROUTER_LINK",S=(0,c.forwardRef)((e,t)=>{const{"aria-label":i,secondary:r=!1,arrow:n=!1,back:o=!1,caps:a=!1,children:c,className:g="",danger:u=!1,disabled:h=!1,external:f=!1,hideExternalIndicator:_=!1,href:S="",inverse:E=!1,noFlex:j=!1,onClick:T,small:O=!1,standalone:D=!1,linkButton:I=!1,to:C,leadingIcon:L,trailingIcon:M,...P}=e;const H=S||C||!T?C?N:f?w:R:h?x:A;const B=H===A||H===x?"button":H===N?l.N_:"a",F=function(){let e;return H===w&&(e=(0,d._x)("(opens in a new tab)","screen reader text","google-site-kit")),H===x&&(e=(0,d._x)("(disabled)","screen reader text","google-site-kit")),e?i?`${i} ${e}`:"string"==typeof c?`${c} ${e}`:void 0:i}();let $=L,U=M;return o&&($=(0,k.jsx)(b,{width:14,height:14})),f&&!_&&(U=(0,k.jsx)(v.A,{width:14,height:14})),n&&!E&&(U=(0,k.jsx)(p,{width:14,height:14})),n&&E&&(U=(0,k.jsx)(m,{width:14,height:14})),(0,k.jsxs)(B,{"aria-label":F,className:s()("googlesitekit-cta-link",g,{"googlesitekit-cta-link--secondary":r,"googlesitekit-cta-link--inverse":E,"googlesitekit-cta-link--small":O,"googlesitekit-cta-link--caps":a,"googlesitekit-cta-link--danger":u,"googlesitekit-cta-link--disabled":h,"googlesitekit-cta-link--standalone":D,"googlesitekit-cta-link--link-button":I,"googlesitekit-cta-link--no-flex":!!j}),disabled:h,href:H!==R&&H!==w||h?void 0:S,onClick:T,rel:H===w?"noopener noreferrer":void 0,ref:t,target:H===w?"_blank":void 0,to:C,...P,children:[!!$&&(0,k.jsx)(y.A,{marginRight:5,children:$}),(0,k.jsx)("span",{className:"googlesitekit-cta-link__contents",children:c}),!!U&&(0,k.jsx)(y.A,{marginLeft:5,children:U})]})});S.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 E=S},25797(e,t,i){i.d(t,{A:()=>v});var r,n=i(62688),s=i.n(n),o=i(4452),a=i.n(o),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 r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}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),r||(r=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),p=i(3749),u=i(62540);const h={[p.Q.NEW]:g.A,[p.Q.SUCCESS]:c.A,[p.Q.INFO]:warning_notice,[p.Q.WARNING]:warning_notice,[p.Q.ERROR]:warning_notice};function Icon({type:e}){const t=h[e]||warning_notice;return(0,u.jsx)(t,{width:24,height:24})}function Title({className:e,children:t}){return(0,u.jsx)("p",{className:a()("googlesitekit-notice__title",e),children:t})}function Description({className:e,children:t}){return(0,u.jsx)("p",{className:a()("googlesitekit-notice__description",e),children:t})}Icon.propTypes={type:s().oneOf(Object.values(p.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:r,href:n,external:s=!1,hideExternalIndicator:o=!1}){let l;return s&&!o&&(l=(0,u.jsx)(f.A,{width:14,height:14})),(0,u.jsx)(m.SpinnerButton,{className:a()("googlesitekit-notice__cta",{"googlesitekit-notice__cta--spinner__running":i}),disabled:t,isSaving:i,onClick:r,href:n,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 _=i(82871);function DismissButton({label:e=(0,_.__)("Got it","google-site-kit"),onClick:t,disabled:i,href:r,external:n=!1}){return(0,u.jsx)(m.Button,{onClick:t,disabled:i,href:r,target:n?"_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 b=(0,l.forwardRef)(({className:e,title:t,description:i,dismissButton:r,ctaButton:n,type:s=p.Q.INFO,children:o,hideIcon:l},c)=>(0,u.jsx)("div",{className:"googlesitekit-notice-container",ref:c,children:(0,u.jsxs)("div",{className:a()("googlesitekit-notice",`googlesitekit-notice--${s}`,e),role:"status",children:[!l&&(0,u.jsx)("div",{className:"googlesitekit-notice__icon",children:(0,u.jsx)(Icon,{type:s})}),(0,u.jsxs)("div",{className:"googlesitekit-notice__content",children:[t&&(0,u.jsx)(Title,{children:t}),i&&(0,u.jsx)(Description,{children:i})]}),(r?.label||r?.onClick||n?.label&&(n?.onClick||n?.href)||o)&&(0,u.jsxs)("div",{className:"googlesitekit-notice__action",children:[o,(r?.label||r?.onClick)&&(0,u.jsx)(DismissButton,{label:r.label,onClick:r.onClick,disabled:r.disabled,href:r.href,external:r.external}),n?.label&&(n?.onClick||n?.href)&&(0,u.jsx)(CTAButton,{label:n.label,onClick:n.onClick,inProgress:n.inProgress,disabled:n.disabled,href:n.href,external:n.external,hideExternalIndicator:n.hideExternalIndicator})]})]})}));b.TYPES=p.Q,b.propTypes={className:s().string,title:s().oneOfType([s().string,s().object]),description:s().node,type:s().oneOf(Object.values(p.Q)),dismissButton:s().shape(DismissButton.propTypes),ctaButton:s().shape({...CTAButton.propTypes,label:s().string}),children:s().node,hideIcon:s().bool};const v=b},4751(e,t,i){i.d(t,{A:()=>c});var r=i(62688),n=i.n(r),s=i(4452),o=i.n(s),a=i(97513),l=i(62540);function PreviewBlock({className:e,width:t,height:i,shape:r,padding:n,smallWidth:s,smallHeight:c,tabletWidth:d,tabletHeight:g,desktopWidth:p,desktopHeight:u}){const h=(0,a.dv)(),m={width:{[a.mp]:s,[a.Lg]:d,[a.Fo]:p,[a.Qb]:p},height:{[a.mp]:c,[a.Lg]:g,[a.Fo]:u,[a.Qb]:p}};return(0,l.jsx)("div",{className:o()("googlesitekit-preview-block",e,{"googlesitekit-preview-block--padding":n}),style:{width:m.width[h]||t,height:m.height[h]||i},children:(0,l.jsx)("div",{className:o()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===r})})})}PreviewBlock.propTypes={className:n().string,width:n().string,height:n().string,shape:n().string,padding:n().bool,smallWidth:n().string,smallHeight:n().string,tabletWidth:n().string,tabletHeight:n().string,desktopWidth:n().string,desktopHeight:n().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},82218(e,t,i){i.d(t,{A:()=>a});var r=i(62688),n=i.n(r),s=i(4751),o=i(62540);function PreviewBlocks({width:e,height:t,shape:i,count:r,smallWidth:n,smallHeight:a,tabletWidth:l,tabletHeight:c,desktopWidth:d,desktopHeight:g}){const p=[];let u=0;for(;u++<r;)p.push((0,o.jsx)(s.A,{width:e,height:t,shape:i,smallWidth:n,smallHeight:a,tabletWidth:l,tabletHeight:c,desktopWidth:d,desktopHeight:g},u));return p}PreviewBlocks.propTypes={width:n().string,height:n().string,shape:n().string,count:n().number,smallWidth:n().string,smallHeight:n().string,tabletWidth:n().string,tabletHeight:n().string,desktopWidth:n().string,desktopHeight:n().string},PreviewBlocks.defaultProps={width:"100px",height:"100px",shape:"square",count:1};const a=PreviewBlocks},1641(e,t,i){i.d(t,{A:()=>ReportErrorActions});var r=i(62688),n=i.n(r),s=i(63696),o=i(13606),a=i(82871),l=i(50539),c=i(49383),d=i(29785),g=i(88273),p=i(13137),u=i(4124),h=i(38432),m=i(62540);function ReportErrorActions(e){const{moduleSlug:t,error:i,GetHelpLink:r,hideGetHelpLink:n,buttonVariant:f,onRetry:_,onRequestAccess:b,getHelpClassName:v,RequestAccessButton:y,RetryButton:k}=e,A=(0,u.A)(),x=(0,l.useSelect)(e=>e(g.i).getModuleStoreName(t)),w=(0,l.useSelect)(e=>"function"==typeof e(x)?.getServiceEntityAccessURL?e(x).getServiceEntityAccessURL():null),R=Array.isArray(i)?i:[i],N=(0,l.useSelect)(e=>R.map(t=>{const i=e(x)?.getSelectorDataForError(t);return{...t,selectorData:i}})),S=N?.filter(e=>(0,p.vl)(e,e.selectorData)&&"getReport"===e.selectorData.name),E=!!S.length,j=(0,l.useSelect)(e=>{const i={...E?S[0]:R[0]};return(0,p.SG)(i)&&(i.code=`${t}_insufficient_permissions`),e(d.O4).getErrorTroubleshootingLinkURL(i)}),T=(0,l.useDispatch)(),O=R.some(e=>(0,p.SG)(e)),D=(0,s.useCallback)(()=>{S.forEach(e=>{const{selectorData:t}=e;T(t.storeName).invalidateResolution(t.name,t.args)}),_?.()},[T,S,_]),I=w&&O&&!A;return(0,m.jsxs)("div",{className:"googlesitekit-report-error-actions",children:[I&&("function"==typeof y?(0,m.jsx)(y,{requestAccessURL:w}):(0,m.jsx)(c.Button,{onClick:b,href:w,target:"_blank",danger:"danger"===f,tertiary:"tertiary"===f,children:(0,a.__)("Request access","google-site-kit")})),E&&(0,m.jsxs)(s.Fragment,{children:["function"==typeof k?(0,m.jsx)(k,{handleRetry:D}):(0,m.jsx)(c.Button,{onClick:D,danger:"danger"===f,tertiary:"tertiary"===f,children:(0,a.__)("Retry","google-site-kit")}),!n&&(0,m.jsx)("span",{className:"googlesitekit-error-retry-text",children:(0,o.A)((0,a.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:(0,m.jsx)(h.A,{href:j,external:!0,hideExternalIndicator:!0,children:(0,a.__)("Get help","google-site-kit")})})})]}),!E&&!n&&(0,m.jsx)("div",{className:v,children:"function"==typeof r?(0,m.jsx)(r,{linkURL:j}):(0,m.jsx)(h.A,{href:j,external:!0,hideExternalIndicator:!0,children:(0,a.__)("Get help","google-site-kit")})})]})}ReportErrorActions.propTypes={moduleSlug:n().string.isRequired,error:n().oneOfType([n().arrayOf(n().object),n().object]).isRequired,GetHelpLink:n().elementType,hideGetHelpLink:n().bool,buttonVariant:n().string,onRetry:n().func,onRequestAccess:n().func,getHelpClassName:n().string,RequestAccessButton:n().elementType,RetryButton:n().elementType}},19826(e,t,i){i.d(t,{Ay:()=>o,Kq:()=>s});const r=(0,i(63696).createContext)(""),{Consumer:n,Provider:s}=r,o=r},62457(e,t,i){i.d(t,{A:()=>o});var r=i(62688),n=i.n(r),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:n().bool,style:n().object};const o=Spinner},83880(e,t,i){i.d(t,{A:()=>c});var r=i(62688),n=i.n(r),s=i(97513),o=i(33052),a=i(8513),l=i(62540);function c({type:e=a.SZ,size:t,children:i,...r}){const n=(0,s.dv)();return(0,l.jsx)(o.A,{as:"p",type:e,size:t||(n===s.mp?a.Kk:a.Yw),...r,children:i})}c.propTypes={type:n().oneOf(a.tT),size:n().oneOf(a.oJ)}},8513(e,t,i){i.d(t,{Kk:()=>s,SZ:()=>r,Yw:()=>o,oJ:()=>a,tT:()=>n});const r="body",n=[r,"display","headline","label","title"],s="small",o="medium",a=[s,o,"large"]},33052(e,t,i){i.d(t,{A:()=>Typography});var r=i(62688),n=i.n(r),s=i(4452),o=i.n(s),a=i(8513),l=i(62540);function Typography({className:e,type:t,size:i,as:r="span",children:n,...s}){return(0,l.jsx)(r,{className:o()("googlesitekit-typography",e,{[`googlesitekit-typography--${t}`]:t&&a.tT.includes(t),[`googlesitekit-typography--${i}`]:i&&a.oJ.includes(i)}),...s,children:n})}Typography.propTypes={className:n().string,type:n().oneOf(a.tT),size:n().oneOf(a.oJ),as:n().oneOfType([n().string,n().elementType])}},84895(e,t,i){i.d(t,{G:()=>n,t:()=>r});const r=new Set(globalThis?._googlesitekitBaseData?.enabledFeatures||[]);function n(e,t=r){return t instanceof Set&&t.has(e)}},81583(e,t,i){var r=i(50539),n=i.n(r),s=i(13620),o=i.n(s),a=i(88176),l=i.n(a),c=i(46935),d=i.n(c),g=i(82871),p=i(13047);const u="modules/pagespeed-insights",h="mobile",m="desktop",f="data_lab",_="data_field",b="data_recommendations",v="dashboardPageSpeedWidgetStrategy",y="dashboardPageSpeedWidgetDataSource";var k=i(62540);function SettingsView(){const e=(0,r.useSelect)(e=>e(u).getAdminScreenURL()),t=(0,g.sprintf)(/* translators: %s: is the URL to the Site Kit dashboard. */ /* translators: %s: is the URL to the Site Kit dashboard. */ (0,g.__)('To view insights, <a href="%s">visit the dashboard</a>',"google-site-kit"),`${e}#speed`);return(0,k.jsx)("p",{dangerouslySetInnerHTML:(0,p.p9)(t,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})})}var A,x,w,R,N,S,E,j,T,O,D,I,C,L=i(63696);function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},M.apply(null,arguments)}const P=e=>L.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 183.95 158.81"},e),A||(A=L.createElement("defs",null,L.createElement("radialGradient",{id:"pagespeed-insights_svg__b",cx:1360.51,cy:10958.05,r:458.83,gradientTransform:"matrix(.5 0 0 .5 -675.69 -5476.24)",gradientUnits:"userSpaceOnUse"},L.createElement("stop",{offset:0,stopColor:"#fff",stopOpacity:.1}),L.createElement("stop",{offset:1,stopColor:"#fff",stopOpacity:0})),L.createElement("linearGradient",{id:"pagespeed-insights_svg__a",x1:1572.36,x2:1691.74,y1:11164.11,y2:11283.49,gradientTransform:"matrix(.5 0 0 .5 -675.69 -5476.24)",gradientUnits:"userSpaceOnUse"},L.createElement("stop",{offset:0,stopColor:"#212121",stopOpacity:.2}),L.createElement("stop",{offset:1,stopColor:"#212121",stopOpacity:0})))),x||(x=L.createElement("path",{fill:"#e1e1e1",d:"M183.93 25.08v121.19a12.53 12.53 0 0 1-12.54 12.54H12.58A12.53 12.53 0 0 1 0 146.27V25.08z"})),w||(w=L.createElement("path",{fill:"#c2c2c2",d:"M12.58 0h158.81a12.53 12.53 0 0 1 12.54 12.54v12.54H0V12.54A12.53 12.53 0 0 1 12.58 0"})),R||(R=L.createElement("path",{fill:"#fff",fillOpacity:.2,d:"M171.39 0H12.58A12.57 12.57 0 0 0 0 12.54v1A12.58 12.58 0 0 1 12.58 1h158.81a12.59 12.59 0 0 1 12.54 12.54v-1A12.58 12.58 0 0 0 171.39 0"})),N||(N=L.createElement("path",{fill:"#212121",fillOpacity:.1,d:"M0 25.08h183.93v1H0z"})),S||(S=L.createElement("path",{fill:"#4285f4",d:"M91.91 62.69a66.76 66.76 0 0 0-66.76 66.86c0 1.4-.09 3.14 0 4.18h29.13a36 36 0 0 1 0-4.18 37.64 37.64 0 0 1 57.36-32l21-21a66.62 66.62 0 0 0-40.73-13.86"})),E||(E=L.createElement("path",{fill:"#f44336",d:"m132.64 76.52-21 21a37.59 37.59 0 0 1 17.9 32 36 36 0 0 1 0 4.18h29.27c.08-1 0-2.78 0-4.18a66.73 66.73 0 0 0-26.17-53"})),j||(j=L.createElement("circle",{cx:16.76,cy:12.54,r:4.18,fill:"#eee"})),T||(T=L.createElement("circle",{cx:33.48,cy:12.54,r:4.18,fill:"#eee"})),O||(O=L.createElement("path",{fill:"#212121",fillOpacity:.1,d:"M171.41 157.76H12.54A12.57 12.57 0 0 1 0 145.23v1a12.57 12.57 0 0 0 12.54 12.54h158.87a12.58 12.58 0 0 0 12.59-12.5v-1a12.58 12.58 0 0 1-12.54 12.53z"})),D||(D=L.createElement("path",{fill:"#9e9e9e",d:"M132.86 79.06a2.06 2.06 0 0 0 .39-1.22 2.1 2.1 0 0 0-2.09-2.09 2 2 0 0 0-1.28.46l-45.57 35.07a12.53 12.53 0 1 0 18.37 16.41l30.17-48.65z"})),L.createElement("path",{fill:"#fff",d:"m84.31 112.33 45.57-35.09a2.06 2.06 0 0 1 1.28-.46 2.09 2.09 0 0 1 2 1.55 2 2 0 0 0-2-2.59 2 2 0 0 0-1.28.46l-45.57 35.07a12.5 12.5 0 0 0-4.87 9.92v.56a12.49 12.49 0 0 1 4.87-9.42",opacity:.2,style:{isolation:"isolate"}}),L.createElement("path",{fill:"#212121",d:"m132.86 79.06-30.17 48.65a12.51 12.51 0 0 1-23.21-5.93v.48a12.52 12.52 0 0 0 23.24 6.5l30.14-48.66a2 2 0 0 0 .39-1.22 2 2 0 0 0-.08-.54 2.3 2.3 0 0 1-.31.72",opacity:.2,style:{isolation:"isolate"}}),I||(I=L.createElement("path",{fill:"url(#pagespeed-insights_svg__a)",d:"M132.82 76.58a2 2 0 0 1 .43 1.26 2.06 2.06 0 0 1-.39 1.22l-30.17 48.65a12.53 12.53 0 0 1-18.84 3.05l28.08 28.07h59.47a12.53 12.53 0 0 0 12.54-12.54v-18.61z"})),C||(C=L.createElement("path",{fill:"url(#pagespeed-insights_svg__b)",d:"M183.93 12.54A12.53 12.53 0 0 0 171.39 0H12.58A12.53 12.53 0 0 0 0 12.54v133.73a12.53 12.53 0 0 0 12.54 12.54h158.85a12.53 12.53 0 0 0 12.54-12.54z"}))),H="pagespeed-insights";var B=i(32091),F=i.n(B),$=i(84024),U=i(54419);const q=(0,i(35812).U)({baseName:"getReport",controlCallback:({strategy:e,url:t})=>(0,U.get)("modules",H,"pagespeed",{strategy:e,url:t}),reducerCallback:(0,r.createReducer)((e,t,{strategy:i,url:r})=>{e.reports=e.reports||{},e.reports[`${i}::${r}`]=t}),argsToParams:(e,t)=>({strategy:t,url:e}),validateParams:({strategy:e,url:t}={})=>{F()((0,$.m)(t),"a valid url is required to fetch a report."),F()("string"==typeof e,"a valid strategy is required to fetch a report.")}}),z={*getReport(e,t){e&&t&&(yield q.actions.fetchGetReport(e,t))}},W={getReport(e,t,i){const{reports:r}=e;return r[`${i}::${t}`]},getAudits:(0,r.createRegistrySelector)(e=>(t,i,r)=>{const n=e(u).getReport(i,r);if(void 0===n)return;const{lighthouseResult:s}=n||{},{audits:o}=s||{};return o||{}}),getAuditsWithStackPack:(0,r.createRegistrySelector)(e=>(t,i,r,n)=>{const s=e(u).getAudits(i,r);if(!s)return{};const o={};return Object.keys(s).forEach(t=>{e(u).getStackPackDescription(i,r,t,n)&&(o[t]=s[t])}),o}),getStackPackDescription:(0,r.createRegistrySelector)(e=>(t,i,r,n,s)=>{const o=e(u).getReport(i,r);if(void 0===o)return;const{lighthouseResult:a}=o||{},{stackPacks:l}=a||[];if(!Array.isArray(l))return null;const c=l.find(({id:e,descriptions:t})=>e===s&&!!t[n]);return c?{id:c.id,icon:c.iconDataURL,title:c.title,description:c.descriptions[n]}:null})},V=(0,r.combineStores)(q,{initialState:{reports:{}},resolvers:z,selectors:W}),Y=(V.initialState,V.actions,V.controls,V.reducer,V.resolvers,V.selectors,V);var G=i(51568);const K={selectors:{getServiceURL:(e,{path:t,query:i}={})=>{let r="https://pagespeed.web.dev";if(t){r=`${r}${t.match(/^\//)?t:`/${t}`}`}return(0,G.F)(r,{...i,utm_source:"sitekit"})}}},Q=o().createModuleStore(H,{storeName:u,requiresSetup:!1,settingSlugs:["ownerID"]}),J=(0,r.combineStores)(Q,Y,K);var Z=i(69908),X=i(4452),ee=i.n(X),te=i(63560),ie=i(49383),re=i(65054),ne=i(29785),se=i(7972),oe=i(62659),ae=i(82218),le=i(4751);function Loading(){return(0,k.jsxs)("div",{className:"googlesitekit-pagespeed-widget__content",children:[(0,k.jsxs)("header",{className:"googlesitekit-pagespeed-widget__header",children:[(0,k.jsx)("div",{className:"googlesitekit-pagespeed-widget__data-src-tabs",children:(0,k.jsx)(ae.A,{count:3,smallWidth:"70px",smallHeight:"48px",width:"120px",height:"48px"})}),(0,k.jsx)("div",{className:"googlesitekit-pagespeed-widget__device-size-tab-bar-wrapper",children:(0,k.jsx)(ae.A,{count:2,width:"56px",height:"32px"})})]}),(0,k.jsx)("section",{className:"googlesitekit-pagespeed-widget__values",children:(0,k.jsx)(ae.A,{count:5,smallWidth:"100%",smallHeight:"90px",width:"100%",height:"78px"})}),(0,k.jsx)("div",{className:"googlesitekit-pagespeed-report__row",children:(0,k.jsx)(le.A,{width:"130px",height:"40px"})}),(0,k.jsx)("div",{className:"googlesitekit-pagespeed-report__footer",children:(0,k.jsx)(le.A,{width:"224px",height:"40px"})})]})}var ce,de,ge=i(62688),pe=i.n(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 r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},ue.apply(null,arguments)}const he=e=>L.createElement("svg",ue({xmlns:"http://www.w3.org/2000/svg",viewBox:"5 1 14 22"},e),ce||(ce=L.createElement("path",{fill:"none",d:"M0 0h24v24H0z"})),de||(de=L.createElement("path",{fill:"currentColor",d:"M17 1.01 7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99M17 19H7V5h10z"})));var me,fe;function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},_e.apply(null,arguments)}const be=e=>L.createElement("svg",_e({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 4 24 16"},e),me||(me=L.createElement("path",{fill:"none",d:"M0 0h24v24H0z"})),fe||(fe=L.createElement("path",{fill:"currentColor",d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2zM4 6h16v10H4z"})));function DeviceSizeTabBar({activeTab:e,disabled:t=!1,handleDeviceSizeUpdate:i,deviceSizes:r=[{slug:"mobile",label:(0,g.__)("Mobile","google-site-kit"),icon:(0,k.jsx)(he,{width:"15",height:"22"})},{slug:"desktop",label:(0,g.__)("Desktop","google-site-kit"),icon:(0,k.jsx)(be,{width:"23",height:"17"})}]}){const n=(0,L.useCallback)(e=>{const t=r[e];i(t,e)},[r,i]);if(!r?.length)return null;const s=r.findIndex(({slug:t})=>t===e);return(0,k.jsx)(ie.TabBar,{className:"googlesitekit-device-size-tab-bar",activeIndex:s,handleActiveIndexUpdate:n,children:r.map(({icon:e,label:i},r)=>(0,k.jsx)(ie.Tab,{"aria-label":i,disabled:t,focusOnActivate:!1,children:e},`google-sitekit-device-size-tab-key-${r}`))})}DeviceSizeTabBar.propTypes={activeTab:pe().string,disabled:pe().bool,deviceSizes:pe().arrayOf(pe().shape({label:pe().string,slug:pe().string,icon:pe().node})),handleDeviceSizeUpdate:pe().func},DeviceSizeTabBar.defaultProps={handleDeviceSizeUpdate:()=>{}};const ve=DeviceSizeTabBar,ye=(0,L.forwardRef)(({isFetching:e,updateActiveTab:t,recommendations:i=[]},n)=>{const s=(0,r.useSelect)(e=>e(se.n).getValue(v))||h,o=(0,r.useSelect)(e=>e(se.n).getValue(y))||f,{setValues:a}=(0,r.useDispatch)(se.n),l=[{name:f,label:(0,g.__)("In the Lab","google-site-kit"),ariaLabelledby:`googlesitekit-pagespeed-widget__data-src-tab-${f}`,id:`googlesitekit-pagespeed-widget__data-src-tab-${f}`},{name:_,label:(0,g.__)("In the Field","google-site-kit"),ariaLabelledby:`googlesitekit-pagespeed-widget__data-src-tab-${_}`,id:`googlesitekit-pagespeed-widget__data-src-tab-${_}`}];i.length>0&&l.push({name:b,label:(0,g.__)("How to improve","google-site-kit"),ariaLabelledby:`googlesitekit-pagespeed-widget__data-src-tab-${b}`,id:`googlesitekit-pagespeed-widget__data-src-tab-${b}`});const c=l.map(({name:e})=>e),d=(0,L.useCallback)(({slug:e})=>{a(e===m?{[v]:m}:{[v]:h})},[a]);return(0,k.jsxs)("header",{className:"googlesitekit-pagespeed-widget__header",ref:n,children:[(0,k.jsx)("div",{className:"googlesitekit-pagespeed-widget__data-src-tabs",children:(0,k.jsx)(ie.TabBar,{activeIndex:c.indexOf(o),handleActiveIndexUpdate:t,children:l.map(t=>(0,k.jsx)(ie.Tab,{focusOnActivate:!1,"aria-labelledby":t.ariaLabelledby,disabled:e,children:(0,k.jsx)("span",{id:t.id,className:"mdc-tab__text-label",children:t.label})},t.name))})}),(0,k.jsx)("div",{className:"googlesitekit-pagespeed-widget__device-size-tab-bar-wrapper",children:(0,k.jsx)(ve,{activeTab:s,disabled:e,handleDeviceSizeUpdate:d})})]})});var ke=i(38432),Ae=i(13606),xe=i(83880);function ReportDetailsLink(){const e=(0,r.useSelect)(e=>e(ne.O4).getCurrentReferenceURL()),t=(0,r.useSelect)(t=>t(u).getServiceURL({path:"report",query:{url:e}}));return(0,k.jsx)(xe.A,{size:"small",type:"label",children:(0,Ae.A)((0,g.sprintf)(/* translators: %s: link with translated service name */ /* translators: %s: link with translated service name */ (0,g.__)("View details at %s","google-site-kit"),`<a>${(0,g._x)("PageSpeed Insights","Service name","google-site-kit")}</a>`),{a:(0,k.jsx)(ke.A,{href:t,external:!0})})})}var we=i(62457);function Footer({isFetching:e}){const t=(0,r.useSelect)(e=>e(ne.O4).getCurrentReferenceURL()),i=(0,r.useSelect)(e=>e(se.n).getValue(y))||f,{invalidateResolution:n}=(0,r.useDispatch)(u),s=(0,L.useCallback)(async e=>{e.preventDefault(),await(0,U.invalidateCache)("modules",H,"pagespeed"),n("getReport",[t,m]),n("getReport",[t,h])},[n,t]);return(0,k.jsxs)("div",{className:ee()("googlesitekit-pagespeed-report__footer",{"googlesitekit-pagespeed-report__footer--with-action":i===f}),children:[i===f&&(0,k.jsxs)("div",{children:[(0,k.jsx)(ke.A,{onClick:s,disabled:e,children:(0,g.__)("Run test again","google-site-kit")}),(0,k.jsx)(we.A,{isSaving:e})]}),(0,k.jsx)(ReportDetailsLink,{})]})}const Re="fast",Ne="average",Se="slow";var Ee=i(5855),je=i(82267);function ReportMetric({title:e,description:t,displayValue:i,category:r,experimental:n,isLast:s,isHidden:o,isUnavailable:a,hintText:l}){return r=r?.toLowerCase(),(0,k.jsxs)("tr",{className:ee()("googlesitekit-pagespeed-report__row","googlesitekit-pagespeed-report-metric",{"googlesitekit-pagespeed-report__row--last":s,"googlesitekit-pagespeed-report__row--hidden":o,"googlesitekit-pagespeed-report__row--unavailable":a}),children:[(0,k.jsxs)("td",{children:[(0,k.jsxs)("div",{className:"googlesitekit-pagespeed-report-metric__title",children:[e,!!n&&(0,k.jsx)(Ee.A,{label:(0,g.__)("Experimental","google-site-kit"),className:"googlesitekit-pagespeed-report-metric__badge"}),a&&(0,k.jsx)(je.A,{title:(0,g.__)("Field data is still being gathered for this metric and will become available once your site gets sufficient traffic","google-site-kit")})]}),(0,k.jsx)("div",{className:"googlesitekit-pagespeed-report-metric__description",children:t}),l&&(0,k.jsx)("div",{className:"googlesitekit-pagespeed-report-metric__hint-text",children:l})]}),(0,k.jsx)("td",{className:ee()("googlesitekit-pagespeed-report-metric-value",{[`googlesitekit-pagespeed-report-metric--${r}`]:!!r}),children:(0,k.jsxs)("div",{className:"googlesitekit-pagespeed-report-metric-value-container",children:[(0,k.jsx)("div",{className:"googlesitekit-pagespeed-report-metric-value__display-value",children:a?"—":i}),(0,k.jsxs)("div",{className:"googlesitekit-pagespeed-report-metric-value__rating",children:[a&&(0,k.jsx)("span",{children:(0,g.__)("gathering data","google-site-kit")}),!a&&r===Re&&(0,k.jsx)("span",{children:(0,g._x)("Good","Performance rating","google-site-kit")}),!a&&r===Ne&&(0,k.jsx)("span",{children:(0,g._x)("Needs improvement","Performance rating","google-site-kit")}),!a&&r===Se&&(0,k.jsx)("span",{children:(0,g._x)("Poor","Performance rating","google-site-kit")})]})]})})]})}function MetricsLearnMoreLink(){return(0,k.jsx)(ke.A,{href:"https://web.dev/user-centric-performance-metrics/#how-metrics-are-measured","aria-label":(0,g.__)("Learn more how metrics are measured.","google-site-kit"),external:!0,children:(0,g.__)("Learn more","google-site-kit")})}function Te(e){return.9<=e?Re:.5<=e?Ne:Se}ReportMetric.propTypes={title:pe().string.isRequired,description:pe().string.isRequired,displayValue:pe().string.isRequired,category:pe().string,experimental:pe().bool,isLast:pe().bool,isHidden:pe().bool,hintText:pe().node};var Oe=i(13137),De=i(1641),Ie=i(73198);function LabReportMetrics({data:e,error:t}){const i=e?.lighthouseResult?.audits?.["largest-contentful-paint"],r=e?.lighthouseResult?.audits?.["cumulative-layout-shift"],n=e?.lighthouseResult?.audits?.["total-blocking-time"];if(t){const e=(0,Oe.e4)(t);return(0,k.jsx)("div",{className:"googlesitekit-pagespeed-insights-web-vitals-metrics",children:(0,k.jsxs)("div",{className:"googlesitekit-pagespeed-report__row googlesitekit-pagespeed-report__row--error",children:[(0,k.jsx)(Ie.A,{error:t,message:e,hasButton:!0}),(0,k.jsx)(De.A,{moduleSlug:"pagespeed-insights",error:t})]})})}return(0,k.jsxs)("div",{className:"googlesitekit-pagespeed-insights-web-vitals-metrics",children:[(0,k.jsx)("div",{className:"googlesitekit-pagespeed-report__row googlesitekit-pagespeed-report__row--first",children:(0,k.jsx)(xe.A,{children:(0,Ae.A)((0,g.__)("Lab data is a snapshot of how your page performs right now, measured in tests we run in a controlled environment. <LearnMoreLink />","google-site-kit"),{LearnMoreLink:(0,k.jsx)(MetricsLearnMoreLink,{})})})}),(0,k.jsxs)("table",{className:"googlesitekit-table googlesitekit-table--with-list",children:[(0,k.jsx)("thead",{children:(0,k.jsxs)("tr",{children:[(0,k.jsx)("th",{children:(0,g.__)("Metric Name","google-site-kit")}),(0,k.jsx)("th",{children:(0,g.__)("Metric Value","google-site-kit")})]})}),(0,k.jsxs)("tbody",{children:[(0,k.jsx)(ReportMetric,{title:(0,g._x)("Largest Contentful Paint","core web vitals name","google-site-kit"),description:(0,g.__)("Time it takes for the page to load","google-site-kit"),displayValue:i?.displayValue||"0",category:Te(i?.score||0)}),(0,k.jsx)(ReportMetric,{title:(0,g._x)("Cumulative Layout Shift","core web vitals name","google-site-kit"),description:(0,g.__)("How stable the elements on the page are","google-site-kit"),displayValue:r?.displayValue||"0",category:Te(r?.score||0)}),(0,k.jsx)(ReportMetric,{title:(0,g.__)("Total Blocking Time","google-site-kit"),description:(0,g.__)("How long people had to wait after the page loaded before they could click something","google-site-kit"),displayValue:n?.displayValue||"0",category:Te(n?.score||0),hintText:(0,k.jsx)("br",{}),isLast:!0})]})]})]})}function INPLearnMoreLink(){return(0,k.jsx)(ke.A,{href:"https://web.dev/inp-cwv/","aria-label":(0,g.__)("Learn more about INP replacing FID.","google-site-kit"),external:!0,children:(0,g.__)("Learn more","google-site-kit")})}LabReportMetrics.propTypes={data:pe().object,error:pe().object};var Ce=i(33052);function FieldReportMetrics({data:e,error:t}){const{LARGEST_CONTENTFUL_PAINT_MS:i,CUMULATIVE_LAYOUT_SHIFT_SCORE:r,INTERACTION_TO_NEXT_PAINT:n}=e?.loadingExperience?.metrics||{};if(t){const e=(0,Oe.e4)(t);return(0,k.jsx)("div",{className:"googlesitekit-pagespeed-insights-web-vitals-metrics",children:(0,k.jsxs)("div",{className:"googlesitekit-pagespeed-report__row googlesitekit-pagespeed-report__row--error",children:[(0,k.jsx)(Ie.A,{message:e}),(0,k.jsx)(De.A,{moduleSlug:"pagespeed-insights",error:t})]})})}if(!i&&!r&&!n)return(0,k.jsx)("div",{className:"googlesitekit-pagespeed-insights-web-vitals-metrics googlesitekit-pagespeed-insights-web-vitals-metrics--field-data-unavailable",children:(0,k.jsxs)("div",{className:"googlesitekit-pagespeed-insights-web-vitals-metrics__field-data-unavailable-content",children:[(0,k.jsx)(Ce.A,{as:"h3",type:"headline",size:"small",children:(0,g.__)("Field data unavailable","google-site-kit")}),(0,k.jsx)(xe.A,{children:(0,g.__)("Field data shows how real users actually loaded and interacted with your page. We don’t have enough real-world experience and speed data for this page. It may be new, or not enough users with Chrome browsers have visited it yet.","google-site-kit")})]})});const s=(Math.round(i?.percentile/100)/10).toFixed(1),o=(r?.percentile/100).toFixed(2);return(0,k.jsxs)("div",{className:"googlesitekit-pagespeed-insights-web-vitals-metrics",children:[(0,k.jsx)("div",{className:"googlesitekit-pagespeed-report__row googlesitekit-pagespeed-report__row--first",children:(0,k.jsx)(xe.A,{children:(0,Ae.A)((0,g.__)("Field data shows how real users actually loaded and interacted with your page over time. <LearnMoreLink />","google-site-kit"),{LearnMoreLink:(0,k.jsx)(MetricsLearnMoreLink,{})})})}),(0,k.jsxs)("table",{className:ee()("googlesitekit-table","googlesitekit-table--with-list"),children:[(0,k.jsx)("thead",{children:(0,k.jsxs)("tr",{children:[(0,k.jsx)("th",{children:(0,g.__)("Metric Name","google-site-kit")}),(0,k.jsx)("th",{children:(0,g.__)("Metric Value","google-site-kit")})]})}),(0,k.jsxs)("tbody",{children:[(0,k.jsx)(ReportMetric,{title:(0,g._x)("Largest Contentful Paint","core web vitals name","google-site-kit"),description:(0,g.__)("Time it takes for the page to load","google-site-kit"),displayValue:(0,g.sprintf)(/* translators: %s: number of seconds */ /* translators: %s: number of seconds */ (0,g._x)("%s s","duration","google-site-kit"),s),category:i?.category,isUnavailable:!i}),(0,k.jsx)(ReportMetric,{title:(0,g._x)("Cumulative Layout Shift","core web vitals name","google-site-kit"),description:(0,g.__)("How stable the elements on the page are","google-site-kit"),displayValue:o,category:r?.category,isUnavailable:!r}),(0,k.jsx)(ReportMetric,{title:(0,g._x)("Interaction to Next Paint","core web vitals name","google-site-kit"),description:(0,g.__)("How quickly your page responds when people interact with it","google-site-kit"),displayValue:(0,g.sprintf)(/* translators: %s: number of milliseconds */ /* translators: %s: number of milliseconds */ (0,g._x)("%s ms","duration","google-site-kit"),n?.percentile),category:n?.category||Ne,isUnavailable:!n,hintText:(0,Ae.A)((0,g.__)("INP is a new Core Web Vital that replaced FID in March 2024. <LearnMoreLink />","google-site-kit"),{LearnMoreLink:(0,k.jsx)(INPLearnMoreLink,{})}),isLast:!0})]})]})]})}FieldReportMetrics.propTypes={data:pe().object,error:pe().object};var Le=i(19266),Me=i(2478),Pe=i(50304);function Accordion({title:e,children:t,initialOpen:i,onOpen:r,onClose:n,disabled:s}){const[o,a]=(0,L.useState)(!!i);(0,L.useEffect)(()=>{o&&r&&"function"==typeof r?r():!o&&n&&"function"==typeof n&&n()},[o,n,r]),(0,L.useEffect)(()=>{s&&o&&a(!1)},[s,o]);const l=(0,L.useCallback)(e=>{("keydown"!==e.type||[Le.Fm,Le.t6].includes(e.keyCode))&&(e.preventDefault(),a(!o))},[o]);return(0,k.jsxs)("div",{className:ee()("googlesitekit-accordion",{"googlesitekit-accordion--disabled":s}),children:[(0,k.jsxs)("div",{className:ee()("googlesitekit-accordion__header",{"is-active":o}),onClick:l,onKeyDown:l,tabIndex:s?-1:0,role:"button",children:[e,(0,k.jsx)(Pe.A,{children:(0,k.jsx)(Me.A,{width:12,height:12})})]}),(0,k.jsx)("div",{className:ee()("googlesitekit-accordion__content",{"is-active":o}),children:t})]})}function Recommendation(e){const{auditID:t,title:i,referenceURL:n,strategy:s}=e,o=(0,oe.A)(),a=(0,L.useCallback)(()=>{(0,p.sx)(`${o}_pagespeed-widget`,"stack_pack_expand",t)},[t,o]),l=(0,r.useSelect)(e=>e(u).getStackPackDescription(n,s,t,"wordpress"));if(!l)return null;const c=(0,p.S_)(l.description);return(0,k.jsx)(Accordion,{id:t,title:i,onOpen:a,children:(0,k.jsx)("div",{dangerouslySetInnerHTML:(0,p.p9)(c,{ALLOWED_TAGS:["a","p"],ALLOWED_ATTR:["href","rel","target"]})})})}function Recommendations({className:e,recommendations:t,referenceURL:i,strategy:r}){return(0,k.jsxs)("div",{className:ee()("googlesitekit-pagespeed--recommendations",e),children:[(0,k.jsx)("div",{className:"googlesitekit-pagespeed-recommendations__title",children:(0,g.__)("Recommendations on how to improve your site","google-site-kit")}),t.map(({id:e,title:t})=>(0,k.jsx)(Recommendation,{auditID:e,title:t,referenceURL:i,strategy:r},e))]})}function Content({isFetching:e,recommendations:t,reportData:i,reportError:n}){const s=(0,r.useSelect)(e=>e(ne.O4).getCurrentReferenceURL()),o=(0,r.useSelect)(e=>e(se.n).getValue(v))||h,a=(0,r.useSelect)(e=>e(se.n).getValue(y))||f;return(0,k.jsxs)("section",{className:ee()({"googlesitekit-pagespeed-widget__refreshing":e}),children:[a===f&&(0,k.jsx)(LabReportMetrics,{data:i,error:n}),a===_&&(0,k.jsx)(FieldReportMetrics,{data:i,error:n}),a===b&&t.length>0&&(0,k.jsx)(Recommendations,{className:ee()({"googlesitekit-pagespeed-widget__refreshing":e}),recommendations:t,referenceURL:s,strategy:o})]})}Accordion.propTypes={title:pe().node.isRequired,children:pe().node.isRequired,initialOpen:pe().bool,onOpen:pe().func,onClose:pe().func,disabled:pe().bool},Recommendation.propTypes={auditID:pe().string.isRequired,title:pe().string.isRequired,referenceURL:pe().string.isRequired,strategy:pe().oneOf([h,m]).isRequired},Recommendations.propTypes={className:pe().string,recommendations:pe().arrayOf(pe().object),referenceURL:pe().string.isRequired,strategy:pe().oneOf([h,m]).isRequired},Recommendations.defaultProps={className:""};function DashboardPageSpeed(){const e=(0,L.useRef)(),[t,i]=(0,L.useState)(!1),n=(0,oe.A)(),s=(0,r.useSelect)(e=>e(ne.O4).getCurrentReferenceURL()),o=(0,r.useSelect)(e=>e(se.n).getValue(v))||h,a=(0,r.useSelect)(e=>e(se.n).getValue(y)),l=a??f,{isFetchingMobile:c,isFetchingDesktop:d,errorMobile:p,errorDesktop:A}=(0,r.useSelect)(e=>{const t=e(u);return{isFetchingMobile:!t.hasFinishedResolution("getReport",[s,h]),errorMobile:t.getErrorForSelector("getReport",[s,h]),isFetchingDesktop:!t.hasFinishedResolution("getReport",[s,m]),errorDesktop:t.getErrorForSelector("getReport",[s,m])}}),x=(0,r.useInViewSelect)(e=>e(u).getReport(s,h),[s]),w=(0,r.useInViewSelect)(e=>e(u).getReport(s,m),[s]),{setValues:R}=(0,r.useDispatch)(se.n),N=(0,te.A)(e,{threshold:.25}),S=!!N?.intersectionRatio,E=o===h?c:d;(0,L.useEffect)(()=>{S&&!t&&((0,re.sx)(`${n}_pagespeed-widget`,"widget_view"),(0,re.sx)(`${n}_pagespeed-widget`,"default_tab_view",l.replace("data_","")),i(!0))},[S,l,n,t]);const j=(0,L.useCallback)(e=>{let t;switch(e){case 0:R({[y]:f}),t="lab";break;case 1:R({[y]:_}),t="field";break;case 2:R({[y]:b}),t="recommendations"}(0,re.sx)(`${n}_pagespeed-widget`,"tab_select",t)},[R,n]),T=o===h?x:w,O=o===h?p:A,D=(0,r.useSelect)(e=>e(u).hasFinishedResolution("getReport",[s,o])),I=(0,r.useInViewSelect)(e=>{if(O)return[];const t=e(u).getAuditsWithStackPack(s,o,"wordpress");return t&&Object.keys(t).length?Object.values(t).filter(({scoreDisplayMode:e,score:t})=>"metricSavings"===e&&t<1).sort((e,t)=>e.score===t.score?e.id<t.id?-1:1:e.score-t.score).map(({id:e,title:t})=>({id:e,title:t})):[]},[s,o,D]);(0,L.useEffect)(()=>{void 0===a&&T?.loadingExperience?.metrics&&R({[y]:_})},[T,a,R]);const C=!s||E&&!T||!l,M=l===_&&["LARGEST_CONTENTFUL_PAINT_MS","CUMULATIVE_LAYOUT_SHIFT_SCORE","FIRST_INPUT_DELAY_MS"].every(e=>T?.loadingExperience?.metrics?.[e]);return C?(0,k.jsx)("div",{id:"googlesitekit-pagespeed-header",className:"googlesitekit-pagespeed-widget__content-wrapper googlesitekit-pagespeed-widget__content-wrapper--loading",children:(0,k.jsx)(Loading,{})}):(0,k.jsx)("div",{id:"googlesitekit-pagespeed-header",className:"googlesitekit-pagespeed-widget__content-wrapper",children:(0,k.jsxs)("div",{className:"googlesitekit-pagespeed-widget__content",children:[(0,k.jsx)(ye,{ref:e,isFetching:E,updateActiveTab:j,recommendations:I}),E&&(0,k.jsx)("div",{className:"googlesitekit-pagespeed-widget__refreshing-progress-bar-wrapper",children:(0,k.jsx)(ie.ProgressBar,{compress:!0})}),(0,k.jsx)(Content,{isFetching:E,recommendations:I,reportData:T,reportError:O}),(l===f||M)&&(0,k.jsx)("div",{className:"googlesitekit-pagespeed-report__row",children:(0,k.jsx)(ie.Button,{className:ee()({"googlesitekit-pagespeed__recommendations-cta--hidden":!I?.length}),disabled:E,onClick:()=>j(2),children:(0,g.__)("How to improve","google-site-kit")})}),(0,k.jsx)(Footer,{isFetching:E})]})})}const He=(0,i(65385).A)({moduleName:H})(function DashboardPageSpeedWidget({Widget:e}){return(0,k.jsx)(e,{className:"googlesitekit-pagespeed-widget",noPadding:!0,children:(0,k.jsx)(DashboardPageSpeed,{})})});var Be=i(82286),Fe=i(84730),$e=i(20697),Ue=i(8732),qe=i(92917),ze=i(3749),We=i(37467),Ve=i(97513),Ye=i(11883);function SetupSuccessNotification({id:e,Notification:t}){const i=(0,Ve.dv)(),[,n]=(0,We.A)("notification"),[,s]=(0,We.A)("slug"),{dismissNotification:o}=(0,r.useDispatch)(Ue.D);function a(){n(void 0),s(void 0)}const l=`#${$e.Ej}`;return(0,k.jsx)(t,{children:(0,k.jsx)(qe.A,{notificationID:e,type:ze.Q.SUCCESS,title:(0,g.__)("Congrats on completing the setup for PageSpeed Insights!","google-site-kit"),description:(0,g.__)("Jump to the bottom of the dashboard to see how fast your home page is","google-site-kit"),dismissButton:{onClick:a},ctaButton:{label:(0,g.__)("Show me","google-site-kit"),onClick:function(t){t.preventDefault(),o(e),a(),globalThis.history.replaceState({},"",l),globalThis.scrollTo({top:(0,Ye.YJ)(l,i),behavior:"smooth"})}}})})}SetupSuccessNotification.propTypes={id:pe().string.isRequired,Notification:pe().elementType.isRequired};var Ge=i(54519);const Ke={"setup-success-notification-psi":{Component:SetupSuccessNotification,areaSlug:Fe.bI.DASHBOARD_TOP,viewContexts:[$e.jU],checkRequirements:()=>{const e=(0,Be.d)(location.href,"notification"),t=(0,Be.d)(location.href,"slug");return"authentication_success"===e&&t===H}}};var Qe,Je;n().registerStore(u,J),o().registerModule(H,{storeName:u,SettingsViewComponent:SettingsView,Icon:P,features:[(0,g.__)("Website performance reports for mobile and desktop will be disabled","google-site-kit")],overrideSetupSuccessNotification:!0}),(Qe=l()).registerWidget("pagespeedInsightsWebVitals",{Component:He,width:Qe.WIDGET_WIDTHS.FULL,wrapWidget:!1,modules:[H]},[Z.AREA_MAIN_DASHBOARD_SPEED_PRIMARY,Z.AREA_ENTITY_DASHBOARD_SPEED_PRIMARY]),Je=d(),(0,Ge.U)(Je,Ke)},20697(e,t,i){i.d(t,{Ax:()=>s,CZ:()=>d,Ej:()=>w,Gw:()=>R,Is:()=>o,KK:()=>p,Nn:()=>S,OT:()=>k,SH:()=>y,Y$:()=>u,ZS:()=>a,bg:()=>f,en:()=>x,ep:()=>m,f7:()=>n,hi:()=>h,jU:()=>r,k$:()=>b,kz:()=>N,ly:()=>l,mo:()=>_,s3:()=>v,uR:()=>c,x2:()=>A,zx:()=>g});const r="mainDashboard",n="entityDashboard",s="mainDashboardViewOnly",o="entityDashboardViewOnly",a="userInput",l="activation",c="splash",d="adminBar",g="adminBarViewOnly",p="settings",u="adBlockingRecovery",h="wpDashboard",m="wpDashboardViewOnly",f="moduleSetup",_="metricSelection",b="wpBlockEditor",v="keyMetricsSetup",y="key-metrics",k="traffic",A="site-goals",x="content",w="speed",R="monetization",N=[r,n,s,o,a,c,p,f,_],S=[s,o,g,m]},73866(e,t,i){i.d(t,{g4:()=>m,o1:()=>h});var r=i(78913),n=i(32091),s=i.n(n),o=i(10523),a=i.n(o),l=i(13047),c=i(50539);const d="RECEIVE_ERROR",g="CLEAR_ERROR",p="CLEAR_ERRORS";function u(e,t){if(t&&Array.isArray(t)){const i=t.map(e=>"object"==typeof e?(0,l.Zm)(e):e);return`${e}::${a()(JSON.stringify(i))}`}return e}const h={receiveError:(e,t,i=[])=>(s()(e,"error is required."),s()(t,"baseName is required."),s()(i&&Array.isArray(i),"args must be an array."),{type:d,payload:{error:e,baseName:t,args:i}}),clearError:(e,t=[])=>(s()(e,"baseName is required."),s()(t&&Array.isArray(t),"args must be an array."),{type:g,payload:{baseName:e,args:t}}),clearErrors:e=>({type:p,payload:{baseName:e}})};function m(e){s()(e,"storeName must be defined.");const t=(0,c.createReducer)((e,{type:t,payload:i})=>{switch(t){case d:{const{baseName:t,args:r,error:n}=i,s=u(t,r);e.errors=e.errors||{},e.errorArgs=e.errorArgs||{},e.errors[s]=n,e.errorArgs[s]=r;break}case g:{const{baseName:t,args:r}=i,n=u(t,r);e.errors=e.errors||{},e.errorArgs=e.errorArgs||{},delete e.errors[n],delete e.errorArgs[n];break}case p:{const{baseName:t}=i;if(t){e.errors=e.errors||{},e.errorArgs=e.errorArgs||{};for(const i in e.errors)(i===t||i.startsWith(`${t}::`))&&(delete e.errors[i],delete e.errorArgs[i])}else e.errors={},e.errorArgs={};break}}}),i={getErrorForSelector:(e,t,r=[])=>(s()(t,"selectorName is required."),i.getError(e,t,r)),getErrorForAction:(e,t,r=[])=>(s()(t,"actionName is required."),i.getError(e,t,r)),getError(e,t,i){const{errors:r}=e;return s()(t,"baseName is required."),r[u(t,i)]},getErrors(e){const t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError(e,t){const i=Object.keys(e.errors).find(i=>e.errors[i]===t);if(i){return{baseName:i.substring(0,i.indexOf("::")),args:e.errorArgs[i]}}return null},getSelectorDataForError:(0,r.N)(t=>function(i,r){const n=t(e).getMetaDataForError(r);if(n){const{baseName:i,args:r}=n;if(!!t(e)[i])return{storeName:e,name:i,args:r}}return null}),hasErrors:e=>i.getErrors(e).length>0};return{initialState:{errors:{},errorArgs:{}},actions:h,controls:{},reducer:t,resolvers:{},selectors:i}}},35812(e,t,i){i.d(t,{U:()=>m});var r=i(32091),n=i.n(r),s=i(17243),o=i(73866),a=i(74426),l=i(13047),c=i(50539);function d(e){return e}function g(){return{}}function p(){}const{clearError:u,receiveError:h}=o.o1;function m({baseName:e,controlCallback:t,reducerCallback:i=d,argsToParams:r=g,validateParams:o=p}){let m;n()(e,"baseName is required."),n()("function"==typeof t,"controlCallback is required and must be a function."),n()("function"==typeof i,"reducerCallback must be a function."),n()("function"==typeof r,"argsToParams must be a function."),n()("function"==typeof o,"validateParams must be a function.");try{o(r()),m=!1}catch(e){m=!0}const f=(0,a.m2)(e),_=(0,a.sP)(e),b=`FETCH_${_}`,v=`START_${b}`,y=`FINISH_${b}`,k=`CATCH_${b}`,A=`RECEIVE_${_}`,x=`fetch${f}`,w=`receive${f}`,R=`isFetching${f}`,N={[R]:{}};const S={[x](...t){const i=r(...t);return o(i),function*(t,i){let r,n;yield{payload:{params:t},type:v},yield u(e,i);try{r=yield{payload:{params:t},type:b},yield S[w](r,t),yield{payload:{params:t},type:y}}catch(r){n=r,yield h(n,e,i),yield{payload:{params:t},type:k}}return{response:r,error:n}}(i,t)},[w]:(e,t)=>(n()(void 0!==e,"response is required."),m?(n()((0,s.isPlainObject)(t),"params is required."),o(t)):t={},{payload:{response:e,params:t},type:A})},E={[b]:({payload:e})=>t(e.params)},j=(0,c.createReducer)((e,{type:t,payload:r})=>{switch(t){case v:{const{params:t}=r;return e[R]=e[R]||{},e[R][(0,l.Zm)(t)]=!0,e}case A:{const{response:t,params:n}=r;return i(e,t,n)}case y:{const{params:t}=r;return e[R]=e[R]||{},e[R][(0,l.Zm)(t)]=!1,e}case k:{const{params:t}=r;return e[R]=e[R]||{},e[R][(0,l.Zm)(t)]=!1,e}default:return e}});return{initialState:N,actions:S,controls:E,reducer:j,resolvers:{},selectors:{[R]:(e,...t)=>{if(void 0===e[R])return!1;let i;try{i=r(...t),o(i)}catch(e){return!1}return!!e[R][(0,l.Zm)(i)]}}}}},74426(e,t,i){function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function n(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()}function s(e){return e.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join("")}i.d(t,{Uf:()=>s,m2:()=>r,sP:()=>n})},29785(e,t,i){i.d(t,{O4:()=>r,OQ:()=>s,qc:()=>n});const r="core/site",n="primary",s="secondary"},7972(e,t,i){i.d(t,{F:()=>n,n:()=>r});const r="core/ui",n="activeContextID"},88273(e,t,i){i.d(t,{U:()=>n,i:()=>r});const r="core/modules",n="insufficient_module_dependencies"},84730(e,t,i){i.d(t,{Bp:()=>s,FQ:()=>o,He:()=>l,bI:()=>a,rq:()=>n,ui:()=>r});const r="warning-notification-gtg",n="gtg-setup-cta",s="setup-success-notification-site-kit",o={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"}},8732(e,t,i){i.d(t,{$:()=>s,D:()=>n});var r=i(20697);const n="core/notifications",s=[r.uR,r.jU,r.f7,r.Ax,r.Is]},68761(e,t,i){i.d(t,{A:()=>o});var r=i(63696),n=i(62659),s=i(13047);function o(e,t,{viewAction:i="view_notification",confirmAction:o="confirm_notification",dismissAction:a="dismiss_notification",clickLearnMoreAction:l="click_learn_more_link"}={}){const c=(0,n.A)(),d=t??`${c}_${e}`;return{view:(0,r.useCallback)((...e)=>(0,s.sx)(d,i,...e),[d,i]),confirm:(0,r.useCallback)((...e)=>(0,s.sx)(d,o,...e),[d,o]),dismiss:(0,r.useCallback)((...e)=>(0,s.sx)(d,a,...e),[d,a]),clickLearnMore:(0,r.useCallback)((...e)=>(0,s.sx)(d,l,...e),[d,l])}}},54519(e,t,i){function r(e,t){for(const[i,r]of Object.entries(t))e.registerNotification(i,r)}i.d(t,{U:()=>r})},69908(e,t,i){i.r(t),i.d(t,{AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:()=>g,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:()=>u,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:()=>p,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:()=>d,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:()=>a,AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY:()=>r,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:()=>c,AREA_MAIN_DASHBOARD_SITE_GOALS_PRIMARY:()=>n,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:()=>l,AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION:()=>o,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:()=>s,default:()=>h});const r="mainDashboardKeyMetricsPrimary",n="mainDashboardSiteGoalsPrimary",s="mainDashboardTrafficPrimary",o="mainDashboardTrafficAudienceSegmentation",a="mainDashboardContentPrimary",l="mainDashboardSpeedPrimary",c="mainDashboardMonetizationPrimary",d="entityDashboardTrafficPrimary",g="entityDashboardContentPrimary",p="entityDashboardSpeedPrimary",u="entityDashboardMonetizationPrimary",h={AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY:r,AREA_MAIN_DASHBOARD_SITE_GOALS_PRIMARY:n,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:s,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:a,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:l,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:c,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:d,AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:g,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:p,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:u}},37467(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var r=i(63696),n=i(51568),s=i(82286);const __WEBPACK_DEFAULT_EXPORT__=function(e,t,i=globalThis){const[o,a]=(0,r.useState)((0,s.d)(i.location.href,e)||t);return[o,function(t){a(t);const r=(0,n.F)(i.location.href,{[e]:t});i.history.replaceState(null,"",r)}]}},62659(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var r=i(63696),n=i(19826);const __WEBPACK_DEFAULT_EXPORT__=function(){return(0,r.useContext)(n.Ay)}},4124(e,t,i){i.d(t,{A:()=>s});var r=i(20697),n=i(62659);function s(){const e=(0,n.A)();return r.Nn.includes(e)}},10740(e,t,i){i.d(t,{$z:()=>n.$,CR:()=>a.C,Cf:()=>l.DialogContent,Es:()=>l.DialogFooter,Nv:()=>r.N,P3:()=>o.P,Si:()=>s.S,fI:()=>d.fI,fh:()=>d.fh,lG:()=>c.a,xA:()=>d.xA});var r=i(91046),n=i(3412),s=i(30454),o=i(26569),a=i(56655),l=i(12786),c=i.n(l),d=i(84984)},84984(e,t,i){i.d(t,{fh:()=>Cell,xA:()=>p,fI:()=>d});var r=i(62688),n=i.n(r),s=i(4452),o=i.n(s),a=i(62540);function Cell(e){const{className:t,alignTop:i,alignMiddle:r,alignBottom:n,alignRight:s,alignLeft:l,smAlignRight:c,mdAlignRight:d,lgAlignRight:g,smSize:p,smStart:u,smOrder:h,mdSize:m,mdStart:f,mdOrder:_,lgSize:b,lgStart:v,lgOrder:y,size:k,children:A,...x}=e;return(0,a.jsx)("div",{...x,className:o()(t,"mdc-layout-grid__cell",{"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":r,"mdc-layout-grid__cell--align-bottom":n,"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-${k}`]:12>=k&&k>0,[`mdc-layout-grid__cell--span-${b}-desktop`]:12>=b&&b>0,[`mdc-layout-grid__cell--start-${v}-desktop`]:12>=v&&v>0,[`mdc-layout-grid__cell--order-${y}-desktop`]:12>=y&&y>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-${_}-tablet`]:8>=_&&_>0,[`mdc-layout-grid__cell--span-${p}-phone`]:4>=p&&p>0,[`mdc-layout-grid__cell--start-${u}-phone`]:4>=u&&u>0,[`mdc-layout-grid__cell--order-${h}-phone`]:4>=h&&h>0}),children:A})}Cell.propTypes={smSize:n().number,smStart:n().number,smOrder:n().number,mdSize:n().number,mdStart:n().number,mdOrder:n().number,lgSize:n().number,lgStart:n().number,lgOrder:n().number,size:n().number,alignTop:n().bool,alignMiddle:n().bool,alignBottom:n().bool,alignRight:n().bool,alignLeft:n().bool,smAlignRight:n().bool,mdAlignRight:n().bool,lgAlignRight:n().bool,className:n().string,children:n().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},r)=>(0,a.jsx)("div",{ref:r,className:o()("mdc-layout-grid__inner",e),...i,children:t}));c.displayName="Row",c.propTypes={className:n().string,children:n().node},c.defaultProps={className:""};const d=c,g=(0,l.forwardRef)(({alignLeft:e,fill:t,className:i,children:r,collapsed:n,...s},l)=>(0,a.jsx)("div",{className:o()("mdc-layout-grid",i,{"mdc-layout-grid--align-left":e,"mdc-layout-grid--collapsed":n,"mdc-layout-grid--fill":t}),...s,ref:l,children:r}));g.displayName="Grid",g.propTypes={alignLeft:n().bool,fill:n().bool,className:n().string,collapsed:n().bool,children:n().node},g.defaultProps={className:""};const p=g},51193(e,t,i){i.d(t,{Du:()=>p,GH:()=>a,Gp:()=>l,IS:()=>_,Jg:()=>d,N_:()=>v,O5:()=>b,Ql:()=>u,Qr:()=>h,XH:()=>f,r0:()=>c,sq:()=>m,tt:()=>g});var r=i(32091),n=i.n(r),s=i(17243),o=i(82871);const a="Invalid dateString parameter, it must be a string.",l='Invalid date range, it must be a string with the format "last-x-days".',c=60,d=60*c,g=24*d,p=7*g;function u(){function e(e){return(0,o.sprintf)(/* translators: %s: number of days */ /* translators: %s: number of days */ (0,o._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 h(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 m(e){n()((0,s.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");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 f(e){n()(h(e),a);const[t,i,r]=e.split("-");return new Date(t,i-1,r)}function _(e,t){return m(v(e,t*g))}function b(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 v(e,t){n()(h(e)||(0,s.isDate)(e)&&!isNaN(e),a);const i=h(e)?f(e).getTime():e.getTime();return new Date(i-1e3*t)}},13137(e,t,i){i.d(t,{G:()=>a,HY:()=>c,SG:()=>l,db:()=>n,e4:()=>g,vl:()=>d});i(17243);var r=i(82871);const n="missing_required_scopes",s="insufficientPermissions",o="forbidden";function a(e){return e?.code===n}function l(e){return[s,o].includes(e?.data?.reason)}function c(e){return!!e?.data?.reconnectURL}function d(e,t){return!(!t?.storeName||l(e)||a(e)||c(e))}function g(e){return"internal_server_error"===e?.code?(0,r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===e?.code?(0,r.__)("The server provided an invalid response","google-site-kit"):e?.message}},49746(e,t,i){i.d(t,{Eo:()=>g,JK:()=>m,K5:()=>h,jq:()=>u,mK:()=>d});var r=i(17243),n=i(50532),s=i.n(n),o=i(82871);function a(e,t={}){const{formatUnit:i,formatDecimal:r}=function(e,t={}){const{hours:i,minutes:r,seconds:n}=l(e);return{hours:i,minutes:r,seconds:n,formatUnit(){const{unitDisplay:s="short",...a}=t,l={unitDisplay:s,...a,style:"unit"};return 0===e?u(n,{...l,unit:"second"}):(0,o.sprintf)(/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ (0,o._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),n?u(n,{...l,unit:"second"}):"",r?u(r,{...l,unit:"minute"}):"",i?u(i,{...l,unit:"hour"}):"").trim()},formatDecimal(){const t=(0,o.sprintf)( // translators: %s: number of seconds with "s" as the abbreviated unit. // translators: %s: number of seconds with "s" as the abbreviated unit. (0,o.__)("%ds","google-site-kit"),n);if(0===e)return t;const s=(0,o.sprintf)( // translators: %s: number of minutes with "m" as the abbreviated unit. // translators: %s: number of minutes with "m" as the abbreviated unit. (0,o.__)("%dm","google-site-kit"),r),a=(0,o.sprintf)( // translators: %s: number of hours with "h" as the abbreviated unit. // translators: %s: number of hours with "h" as the abbreviated unit. (0,o.__)("%dh","google-site-kit"),i);return(0,o.sprintf)(/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ (0,o._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),n?t:"",r?s:"",i?a:"").trim()}}}(e,t);try{return i()}catch{return r()}}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,r.isPlainObject)(e)&&(t={...e}),t}function g(e,t={}){e=(0,r.isFinite)(e)?e:Number(e),(0,r.isFinite)(e)||(console.warn("Invalid number",e,typeof e),e=0);const i=d(t),{style:n="metric"}=i;return"metric"===n?function(e){const t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?(0,o.sprintf)( // translators: %s: an abbreviated number in millions. // translators: %s: an abbreviated number in millions. (0,o.__)("%sM","google-site-kit"),u(c(e),e%10==0?{}:t)):1e4<=e?(0,o.sprintf)( // translators: %s: an abbreviated number in thousands. // translators: %s: an abbreviated number in thousands. (0,o.__)("%sK","google-site-kit"),u(c(e))):1e3<=e?(0,o.sprintf)( // translators: %s: an abbreviated number in thousands. // translators: %s: an abbreviated number in thousands. (0,o.__)("%sK","google-site-kit"),u(c(e),e%10==0?{}:t)):u(e,{signDisplay:"never",maximumFractionDigits:1})}(e):"duration"===n?a(e,i):"durationISO"===n?function(e){let{hours:t,minutes:i,seconds:r}=l(e);return r=("0"+r).slice(-2),i=("0"+i).slice(-2),t=("0"+t).slice(-2),"00"===t?`${i}:${r}`:`${t}:${i}:${r}`}(e):u(e,i)}const p=s()(console.warn);function u(e,t={}){const{locale:i=m(),...r}=t;try{return new Intl.NumberFormat(i,r).format(e)}catch(t){p(`Site Kit numberFormat error: Intl.NumberFormat( ${JSON.stringify(i)}, ${JSON.stringify(r)} ).format( ${typeof e} )`,t.message)}const n={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],o={};for(const[e,t]of Object.entries(r))n[e]&&t===n[e]||s.includes(e)||(o[e]=t);try{return new Intl.NumberFormat(i,o).format(e)}catch{return new Intl.NumberFormat(i).format(e)}}function h(e,t={}){const{locale:i=m(),style:r="long",type:n="conjunction"}=t;if(Intl.ListFormat){return new Intl.ListFormat(i,{style:r,type:n}).format(e)} /* translators: used between list items, there is a space after the comma. */const s=(0,o.__)(", ","google-site-kit");return e.join(s)}function m(e=globalThis){const t=(0,r.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}},13047(e,t,i){i.d(t,{tt:()=>_.tt,Jg:()=>_.Jg,Gp:()=>_.Gp,GH:()=>_.GH,r0:()=>_.r0,Du:()=>_.Du,Zf:()=>E,Cn:()=>A,G7:()=>f,vH:()=>m,N_:()=>_.N_,zh:()=>T,mK:()=>d.mK,Ql:()=>_.Ql,vY:()=>k,sq:()=>_.sq,VZ:()=>x.VZ,JK:()=>d.JK,IS:()=>_.IS,pH:()=>x.pH,kf:()=>R,O5:()=>_.O5,Qr:()=>_.Qr,x6:()=>w,K5:()=>d.K5,S_:()=>h,dc:()=>x.dc,Eo:()=>d.Eo,jq:()=>d.jq,DK:()=>S.D,N9:()=>N,p9:()=>s.p,XH:()=>_.XH,Zm:()=>l,sx:()=>n.sx,BI:()=>n.BI,CZ:()=>s.C,BG:()=>j});var r=i(17243),n=i(65054),s=i(50477),o=i(10523),a=i.n(o);function l(e){return a()(JSON.stringify(c(e)))}function c(e){const t={};return Object.keys(e).sort().forEach(i=>{let r=e[i];r&&"object"==typeof r&&!Array.isArray(r)&&(r=c(r)),t[i]=r}),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 p(e){return`<p>${e.replace(/\n{2,}/g,"</p><p>")}</p>`}function u(e){return e.replace(/\n/gi,"<br>")}function h(e){const t=[g,p,u];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 _=i(51193),b=i(30908),v=i(38017),y=i(62540);function k(e,t={}){if(Number.isNaN(Number(e)))return"";const{invertColor:i=!1}=t;return(0,b.Ay)((0,y.jsx)(v.A,{direction:e>0?"up":"down",invertColor:i}))}function A(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}var x=i(48276);function w(e){const t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function R(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 S=i(11193);function E(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 r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}function j(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}}function T(e){if(!e)return"";const t=e.replace(/&#(\d+);/g,(e,t)=>String.fromCharCode(t)).replace(/(\\)/g,"");return(0,r.unescape)(t)}},11193(e,t,i){i.d(t,{D:()=>s});var r=i(32091),n=i.n(r);function s(e,{dateRangeLength:t}){n()(Array.isArray(e),"report must be an array to partition."),n()(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)}}},55465(e,t,i){i.d(t,{O:()=>n});var r=i(31234);const n=i.n(r)()(globalThis)},50477(e,t,i){i.d(t,{C:()=>s,p:()=>n});var r=i(55465);function n(e,t={}){return{__html:r.O.sanitize(e,t)}}function s(e){const t="object"==typeof e?e.toString():e;return t?.replace?.(/\/+$/,"")}},11883(e,t,i){i.d(t,{YJ:()=>s,Eq:()=>o});var r=i(97513),n=i(17243);function s(e,t){const i=document.querySelector(e);if(!i)return 0;const r=i.getBoundingClientRect().top,n=o(t);return r+globalThis.scrollY-n}function o(e){let t=function(e){let t=0;const i=document.querySelector(".googlesitekit-header");t=i&&"sticky"===globalThis.getComputedStyle(i).position?function(e){const t=document.querySelector(".googlesitekit-header");if(t){if(e===r.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!==r.mp)return t.offsetHeight;return 0}(e);return t=function(e){return(0,n.isFinite)(e)?e:0}(t),t<0?0:t}(e);const i=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(i).reduce((e,t)=>e+t.offsetHeight,0),t}},65054(e,t,i){i.d(t,{M9:()=>w,sx:()=>A,BI:()=>x});var r=i(17243);const n="_googlesitekitDataLayer",s="data-googlesitekit-gtag";function o(e){return function(){e[n]=e[n]||[],e[n].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:p,referenceSiteURL:u,userIDHash:h,isAuthenticated:m,userRoles:f}=globalThis._googlesitekitTrackingData||{},_={activeModules:c,trackingEnabled:g,trackingID:p,referenceSiteURL:u,userIDHash:h,isSiteKitScreen:d,userRoles:f,isAuthenticated:m,pluginVersion:"1.178.0"},{enableTracking:b,disableTracking:v,isTrackingEnabled:y,initializeSnippet:k,trackEvent:A,trackEventOnce:x}=function(e,t=globalThis,i=globalThis){const c={...l,...e};c.referenceSiteURL&&(c.referenceSiteURL=c.referenceSiteURL.toString().replace(/\/+$/,""));const d=function(e,t){const i=o(t);let r;const{activeModules:l,referenceSiteURL:c,userIDHash:d,userRoles:g=[],isAuthenticated:p,pluginVersion:u}=e;return function(){const{document:t}=globalThis;if(void 0===r&&(r=!!t.querySelector(`script[${s}]`)),r)return!1;r=!0;const o=g?.length?g.join(","):"";i("js",new Date),i("config",e.trackingID,{groups:"site_kit",send_page_view:e.isSiteKitScreen,domain:c,plugin_version:u||"",enabled_features:Array.from(a.t).join(","),active_modules:l.join(","),authenticated:p?"1":"0",user_properties:{user_roles:o,user_identifier:d}});const h=t.createElement("script");return h.setAttribute(s,""),h.async=!0,h.src=`https://www.googletagmanager.com/gtag/js?id=${e.trackingID}&l=${n}`,t.head.appendChild(h),{scriptTagSrc:`https://www.googletagmanager.com/gtag/js?id=${e.trackingID}&l=${n}`}}}(c,t),g=function(e,t,i,r){const n=o(t);return async function(t,s,o,a){const{trackingEnabled:l}=e;if(!l)return null;i();const c={send_to:"site_kit",event_category:t,event_label:o,value:a};return new Promise(e=>{const i=setTimeout(function(){r.console.warn(`Tracking event "${s}" (category "${t}") took too long to fire.`),e()},1e3);function o(){clearTimeout(i),e()}n("event",s,{...c,event_callback:o}),r._gaUserPrefs?.ioo?.()&&o()})}}(c,t,d,i),p={};return{enableTracking:function(){c.trackingEnabled=!0},disableTracking:function(){c.trackingEnabled=!1},initializeSnippet:d,isTrackingEnabled:function(){return!!c.trackingEnabled},trackEvent:g,trackEventOnce:function(...e){const t=JSON.stringify(e);p[t]||(p[t]=(0,r.once)(g)),p[t](...e)}}}(_);function w(e){e?b():v()}d&&g&&k()},48276(e,t,i){i.d(t,{VZ:()=>s,dc:()=>o,pH:()=>n,r0:()=>a});var r=i(84024);function n(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 o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function a(e,t){if(!(0,r.m)(e))return e;if(e.length<=t)return e;const i=new URL(e),n=e.replace(i.origin,"");if(n.length<t)return n;const s=n.length-Math.floor(t)+1;return"…"+n.substr(s)}},65385(e,t,i){i.d(t,{A:()=>a});var r=i(50539),n=i(88273),s=i(74426),o=i(62540);function a({moduleName:e,FallbackComponent:t,IncompleteComponent:i}){return a=>{function WhenActiveComponent(s){const l=(0,r.useSelect)(t=>t(n.i).getModule(e),[e]);if(!l)return null;const c=t||s.WidgetNull||null;if(!1===l.active)return c&&(0,o.jsx)(c,{...s});if(!1===l.connected){const e=i||c;return e&&(0,o.jsx)(e,{...s})}return(0,o.jsx)(a,{...s})}return WhenActiveComponent.displayName=`When${(0,s.Uf)(e)}Active`,(a.displayName||a.name)&&(WhenActiveComponent.displayName+=`(${a.displayName||a.name})`),WhenActiveComponent}}},54419(e){e.exports=googlesitekit.api},49383(e){e.exports=googlesitekit.components},50539(e){e.exports=googlesitekit.data},82871(e){e.exports=googlesitekit.i18n},13620(e){e.exports=googlesitekit.modules},46935(e){e.exports=googlesitekit.notifications},88176(e){e.exports=googlesitekit.widgets}},e=>{e.O(0,[660],()=>{return t=81583,e(e.s=t);var t});e.O()}]);
[+]
..
[-] 146-14c7e7fb4aa4ac50c311.js
[edit]
[-] 201-7f07b1f8a0c4733a0bd0.js
[edit]
[-] 314-78f708ec738779090f84.js
[edit]
[-] 315-10999111229d771cddc1.js
[edit]
[-] 379-77d19562846b6965319b.js
[edit]
[-] 590-695fc35f575d0203c096.js
[edit]
[-] 640-655cdd40c3e8e7242506.js
[edit]
[-] 909-f07466539fcb2ede760d.js
[edit]
[-] analytics-advanced-tracking-ec3ddfb411217bce5803.js
[edit]
[-] googlesitekit-activation-6df0e8c5a2092f0f0076.js
[edit]
[-] googlesitekit-ad-blocking-recovery-fbe06a609e35f0a4a683.js
[edit]
[-] googlesitekit-adminbar-a42543058a7c1e5d4d6f.js
[edit]
[-] googlesitekit-admin-pointers-tracking-24a7aef2b1109643baa9.js
[edit]
[-] googlesitekit-api-f6a1d481af25858dd1a0.js
[edit]
[-] googlesitekit-block-tracking-71bfaaa3cb1e1f902d0b.js
[edit]
[-] googlesitekit-components-e28e0fbf88266edd3ab6.js
[edit]
[-] googlesitekit-consent-mode-da15714e8829855bb7ce.js
[edit]
[-] googlesitekit-data-af9e836fbf5b0b1b11a8.js
[edit]
[-] googlesitekit-datastore-forms-e0bcc0f0a06d22145463.js
[edit]
[-] googlesitekit-datastore-location-66b28bc5667a350bb2f3.js
[edit]
[-] googlesitekit-datastore-site-7d1747c351e5b163e859.js
[edit]
[-] googlesitekit-datastore-ui-357c68935c4996893af3.js
[edit]
[-] googlesitekit-datastore-user-1f24e8e62a9152442ce3.js
[edit]
[-] googlesitekit-entity-dashboard-c34afee632c35a5b0b21.js
[edit]
[-] googlesitekit-events-provider-contact-form-7-08e8756782316cb65854.js
[edit]
[-] googlesitekit-events-provider-easy-digital-downloads-6f3a830f4e84342b04f0.js
[edit]
[-] googlesitekit-events-provider-mailchimp-55e506112a29131ad26e.js
[edit]
[-] googlesitekit-events-provider-ninja-forms-de64a20f79b99aba5219.js
[edit]
[-] googlesitekit-events-provider-optin-monster-fad3d5a89e2883db0a1d.js
[edit]
[-] googlesitekit-events-provider-popup-maker-4b3ee78127e8b950c3b3.js
[edit]
[-] googlesitekit-events-provider-woocommerce-a5f72561d6cdf416147d.js
[edit]
[-] googlesitekit-events-provider-wpforms-087b09462076035a76b2.js
[edit]
[-] googlesitekit-i18n-5a1db658648cbdfa2e58.js
[edit]
[-] googlesitekit-key-metrics-setup-c0401d7c1c273dd36caf.js
[edit]
[-] googlesitekit-main-dashboard-83ea9b01130ce90a42b7.js
[edit]
[-] googlesitekit-metric-selection-2291417eb95dd5d3383f.js
[edit]
[-] googlesitekit-modules-4fdf5676befa5951f97c.js
[edit]
[-] googlesitekit-modules-ads-093f9d5e5342dc4061d6.js
[edit]
[-] googlesitekit-modules-adsense-458f9484731f9afaa339.js
[edit]
[-] googlesitekit-modules-analytics-4-684176c25e524ba1ca3c.js
[edit]
[-] googlesitekit-modules-pagespeed-insights-bf5ad9a362afcd17e6cb.js
[edit]
[-] googlesitekit-modules-reader-revenue-manager-a92db641855ad478c976.js
[edit]
[-] googlesitekit-modules-search-console-c86628495c4d004d3c37.js
[edit]
[-] googlesitekit-modules-sign-in-with-google-98cc95d6cd994427ea10.js
[edit]
[-] googlesitekit-modules-tagmanager-eb2231c15cfa5990c0c5.js
[edit]
[-] googlesitekit-notifications-7499c54458036e1fff87.js
[edit]
[-] googlesitekit-polyfills-ce157741379ba7fef764.js
[edit]
[-] googlesitekit-settings-f234e3fa0b61ae33b799.js
[edit]
[-] googlesitekit-splash-a8526eec3f4205842388.js
[edit]
[-] googlesitekit-user-input-487f73f57e951262d1cf.js
[edit]
[-] googlesitekit-vendor-1604b65be3112b8dac04.js
[edit]
[-] googlesitekit-widgets-74df70ce2693396cc6cf.js
[edit]
[-] googlesitekit-wp-dashboard-844ce60b28c746d9db10.js
[edit]
[-] runtime-a3f442b3975b8a33d9bb.js
[edit]
[-] .htaccess.disabled
[edit]