"use strict";(globalThis.__googlesitekit_webpackJsonp=globalThis.__googlesitekit_webpackJsonp||[]).push([[101],{38017(t,e,n){n.d(e,{A:()=>c});var r=n(62688),i=n.n(r),o=n(4452),s=n.n(o),a=n(62540);function ChangeArrow({direction:t,invertColor:e,width:n,height:r}){return(0,a.jsx)("svg",{className:s()("googlesitekit-change-arrow",`googlesitekit-change-arrow--${t}`,{"googlesitekit-change-arrow--inverted-color":e}),width:n,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:i().string,invertColor:i().bool,width:i().number,height:i().number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9};const c=ChangeArrow},84895(t,e,n){n.d(e,{G:()=>i,t:()=>r});const r=new Set(globalThis?._googlesitekitBaseData?.enabledFeatures||[]);function i(t,e=r){return e instanceof Set&&e.has(t)}},22061(t,e,n){var r=n(13047),i=n(50539),o=n(20697);!function(t){const e=function(t){const e=new Map,n=(0,i.subscribe)(()=>{(0,i.select)("core/block-editor").getInserterItems().filter(({id:e})=>t.includes(e)).forEach(({id:t,title:n})=>e.set(t,n)),e.size===t.length&&n()});return function(t){return e.get(t)}}(t),n=new Set((0,i.select)("core/block-editor").getBlocks().map(t=>t.clientId));(0,i.subscribe)(()=>{(0,i.select)("core/block-editor").getBlocks().forEach(s=>{const{clientId:a,name:c}=s;t.includes(c)&&!n.has(a)&&(0,i.select)("core/block-editor").isBlockSelected(a)&&(0,r.sx)(`${o.k$}_rrm`,"insert_block",e(c)),n.add(a)})})}(["google-site-kit/rrm-subscribe-with-google","google-site-kit/rrm-contribute-with-google"])},20697(t,e,n){n.d(e,{Ax:()=>o,CZ:()=>l,Ej:()=>D,Gw:()=>S,Is:()=>s,KK:()=>f,Nn:()=>$,OT:()=>v,SH:()=>w,Y$:()=>d,ZS:()=>a,bg:()=>h,en:()=>N,ep:()=>p,f7:()=>i,hi:()=>m,jU:()=>r,k$:()=>y,kz:()=>I,ly:()=>c,mo:()=>b,s3:()=>k,uR:()=>u,x2:()=>_,zx:()=>g});const r="mainDashboard",i="entityDashboard",o="mainDashboardViewOnly",s="entityDashboardViewOnly",a="userInput",c="activation",u="splash",l="adminBar",g="adminBarViewOnly",f="settings",d="adBlockingRecovery",m="wpDashboard",p="wpDashboardViewOnly",h="moduleSetup",b="metricSelection",y="wpBlockEditor",k="keyMetricsSetup",w="key-metrics",v="traffic",_="site-goals",N="content",D="speed",S="monetization",I=[r,i,o,s,a,u,f,h,b],$=[o,s,g,p]},51193(t,e,n){n.d(e,{Du:()=>f,GH:()=>a,Gp:()=>c,IS:()=>b,Jg:()=>l,N_:()=>k,O5:()=>y,Ql:()=>d,Qr:()=>m,XH:()=>h,r0:()=>u,sq:()=>p,tt:()=>g});var r=n(32091),i=n.n(r),o=n(17243),s=n(82871);const a="Invalid dateString parameter, it must be a string.",c='Invalid date range, it must be a string with the format "last-x-days".',u=60,l=60*u,g=24*l,f=7*g;function d(){function t(t){return(0,s.sprintf)(/* translators: %s: number of days */ /* translators: %s: number of days */
(0,s._n)("Last %s day","Last %s days",t,"google-site-kit"),t)}return{"last-7-days":{slug:"last-7-days",label:t(7),days:7},"last-14-days":{slug:"last-14-days",label:t(14),days:14},"last-28-days":{slug:"last-28-days",label:t(28),days:28},"last-90-days":{slug:"last-90-days",label:t(90),days:90}}}function m(t=""){if(!(0,o.isString)(t))return!1;if(3!==t.split("-").length)return!1;const e=new Date(t);return(0,o.isDate)(e)&&!isNaN(e)}function p(t){i()((0,o.isDate)(t)&&!isNaN(t),"Date param must construct to a valid date instance or be a valid date instance itself.");const e=`${t.getMonth()+1}`,n=`${t.getDate()}`;return[t.getFullYear(),e.length<2?`0${e}`:e,n.length<2?`0${n}`:n].join("-")}function h(t){i()(m(t),a);const[e,n,r]=t.split("-");return new Date(e,n-1,r)}function b(t,e){return p(k(t,e*g))}function y(t){const e=t.split("-");return 3===e.length&&"last"===e[0]&&!Number.isNaN(e[1])&&!Number.isNaN(parseFloat(e[1]))&&"days"===e[2]}function k(t,e){i()(m(t)||(0,o.isDate)(t)&&!isNaN(t),a);const n=m(t)?h(t).getTime():t.getTime();return new Date(n-1e3*e)}},49746(t,e,n){n.d(e,{Eo:()=>g,JK:()=>p,K5:()=>m,jq:()=>d,mK:()=>l});var r=n(17243),i=n(50532),o=n.n(i),s=n(82871);function a(t,e={}){const{formatUnit:n,formatDecimal:r}=function(t,e={}){const{hours:n,minutes:r,seconds:i}=c(t);return{hours:n,minutes:r,seconds:i,formatUnit(){const{unitDisplay:o="short",...a}=e,c={unitDisplay:o,...a,style:"unit"};return 0===t?d(i,{...c,unit:"second"}):(0,s.sprintf)(/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
(0,s._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?d(i,{...c,unit:"second"}):"",r?d(r,{...c,unit:"minute"}):"",n?d(n,{...c,unit:"hour"}):"").trim()},formatDecimal(){const e=(0,s.sprintf)(
// translators: %s: number of seconds with "s" as the abbreviated unit.
// translators: %s: number of seconds with "s" as the abbreviated unit.
(0,s.__)("%ds","google-site-kit"),i);if(0===t)return e;const o=(0,s.sprintf)(
// translators: %s: number of minutes with "m" as the abbreviated unit.
// translators: %s: number of minutes with "m" as the abbreviated unit.
(0,s.__)("%dm","google-site-kit"),r),a=(0,s.sprintf)(
// translators: %s: number of hours with "h" as the abbreviated unit.
// translators: %s: number of hours with "h" as the abbreviated unit.
(0,s.__)("%dh","google-site-kit"),n);return(0,s.sprintf)(/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
(0,s._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?e:"",r?o:"",n?a:"").trim()}}}(t,e);try{return n()}catch{return r()}}function c(t){t=parseInt(t,10),Number.isNaN(t)&&(t=0);return{hours:Math.floor(t/60/60),minutes:Math.floor(t/60%60),seconds:Math.floor(t%60)}}function u(t){return 1e6<=t?Math.round(t/1e5)/10:1e4<=t?Math.round(t/1e3):1e3<=t?Math.round(t/100)/10:t}function l(t){let e={};return"%"===t?e={style:"percent",maximumFractionDigits:2}:"s"===t?e={style:"duration",unitDisplay:"narrow"}:t&&"string"==typeof t?e={style:"currency",currency:t}:(0,r.isPlainObject)(t)&&(e={...t}),e}function g(t,e={}){t=(0,r.isFinite)(t)?t:Number(t),(0,r.isFinite)(t)||(console.warn("Invalid number",t,typeof t),t=0);const n=l(e),{style:i="metric"}=n;return"metric"===i?function(t){const e={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=t?(0,s.sprintf)(
// translators: %s: an abbreviated number in millions.
// translators: %s: an abbreviated number in millions.
(0,s.__)("%sM","google-site-kit"),d(u(t),t%10==0?{}:e)):1e4<=t?(0,s.sprintf)(
// translators: %s: an abbreviated number in thousands.
// translators: %s: an abbreviated number in thousands.
(0,s.__)("%sK","google-site-kit"),d(u(t))):1e3<=t?(0,s.sprintf)(
// translators: %s: an abbreviated number in thousands.
// translators: %s: an abbreviated number in thousands.
(0,s.__)("%sK","google-site-kit"),d(u(t),t%10==0?{}:e)):d(t,{signDisplay:"never",maximumFractionDigits:1})}(t):"duration"===i?a(t,n):"durationISO"===i?function(t){let{hours:e,minutes:n,seconds:r}=c(t);return r=("0"+r).slice(-2),n=("0"+n).slice(-2),e=("0"+e).slice(-2),"00"===e?`${n}:${r}`:`${e}:${n}:${r}`}(t):d(t,n)}const f=o()(console.warn);function d(t,e={}){const{locale:n=p(),...r}=e;try{return new Intl.NumberFormat(n,r).format(t)}catch(e){f(`Site Kit numberFormat error: Intl.NumberFormat( ${JSON.stringify(n)}, ${JSON.stringify(r)} ).format( ${typeof t} )`,e.message)}const i={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},o=["signDisplay","compactDisplay"],s={};for(const[t,e]of Object.entries(r))i[t]&&e===i[t]||o.includes(t)||(s[t]=e);try{return new Intl.NumberFormat(n,s).format(t)}catch{return new Intl.NumberFormat(n).format(t)}}function m(t,e={}){const{locale:n=p(),style:r="long",type:i="conjunction"}=e;if(Intl.ListFormat){return new Intl.ListFormat(n,{style:r,type:i}).format(t)}
/* translators: used between list items, there is a space after the comma. */const o=(0,s.__)(", ","google-site-kit");return t.join(o)}function p(t=globalThis){const e=(0,r.get)(t,["_googlesitekitLegacyData","locale"]);if(e){const t=e.match(/^(\w{2})?(_)?(\w{2})/);if(t&&t[0])return t[0].replace(/_/g,"-")}return t.navigator.language}},13047(t,e,n){n.d(e,{tt:()=>b.tt,Jg:()=>b.Jg,Gp:()=>b.Gp,GH:()=>b.GH,r0:()=>b.r0,Du:()=>b.Du,Zf:()=>L,Cn:()=>_,G7:()=>h,vH:()=>p,N_:()=>b.N_,zh:()=>E,mK:()=>l.mK,Ql:()=>b.Ql,vY:()=>v,sq:()=>b.sq,VZ:()=>N.VZ,JK:()=>l.JK,IS:()=>b.IS,pH:()=>N.pH,kf:()=>S,O5:()=>b.O5,Qr:()=>b.Qr,x6:()=>D,K5:()=>l.K5,S_:()=>m,dc:()=>N.dc,Eo:()=>l.Eo,jq:()=>l.jq,DK:()=>$.D,N9:()=>I,p9:()=>o.p,XH:()=>b.XH,Zm:()=>c,sx:()=>i.sx,BI:()=>i.BI,CZ:()=>o.C,BG:()=>T});var r=n(17243),i=n(65054),o=n(50477),s=n(10523),a=n.n(s);function c(t){return a()(JSON.stringify(u(t)))}function u(t){const e={};return Object.keys(t).sort().forEach(n=>{let r=t[n];r&&"object"==typeof r&&!Array.isArray(r)&&(r=u(r)),e[n]=r}),e}var l=n(49746);function g(t){return t.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function f(t){return`<p>${t.replace(/\n{2,}/g,"</p><p>")}</p>`}function d(t){return t.replace(/\n/gi,"<br>")}function m(t){const e=[g,f,d];let n=t;for(const t of e)n=t(n);return n}function p(t){return t=parseFloat(t),isNaN(t)||0===t?[0,0,0,0]:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60),Math.floor(1e3*t)-1e3*Math.floor(t)]}function h(t){const e=t&&!Number.isInteger(t)?new Date(t).getTime():t;return isNaN(e)||!e?0:e}var b=n(51193),y=n(30908),k=n(38017),w=n(62540);function v(t,e={}){if(Number.isNaN(Number(t)))return"";const{invertColor:n=!1}=e;return(0,y.Ay)((0,w.jsx)(k.A,{direction:t>0?"up":"down",invertColor:n}))}function _(t,e){return t>0&&e>0?t/e-1:t>0?1:e>0?-1:0}var N=n(48276);function D(t){const e=parseFloat(t)||0;return!!Number.isInteger(e)&&e>0}function S(t){if("number"==typeof t)return!0;const e=(t||"").toString();return!!e&&!isNaN(e)}function I(t){return Array.isArray(t)?[...t].sort():t}var $=n(11193);function L(t,e){function n(t){return"0"===t||0===t}if(n(t)&&n(e))return 0;if(n(t)||Number.isNaN(t))return null;const r=(e-t)/t;return Number.isNaN(r)||!Number.isFinite(r)?null:r}function T(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}}function E(t){if(!t)return"";const e=t.replace(/&#(\d+);/g,(t,e)=>String.fromCharCode(e)).replace(/(\\)/g,"");return(0,r.unescape)(e)}},11193(t,e,n){n.d(e,{D:()=>o});var r=n(32091),i=n.n(r);function o(t,{dateRangeLength:e}){i()(Array.isArray(t),"report must be an array to partition."),i()(Number.isInteger(e)&&e>0,"dateRangeLength must be a positive integer.");const n=-1*e;return{currentRange:t.slice(n),compareRange:t.slice(2*n,n)}}},55465(t,e,n){n.d(e,{O:()=>i});var r=n(31234);const i=n.n(r)()(globalThis)},50477(t,e,n){n.d(e,{C:()=>o,p:()=>i});var r=n(55465);function i(t,e={}){return{__html:r.O.sanitize(t,e)}}function o(t){const e="object"==typeof t?t.toString():t;return e?.replace?.(/\/+$/,"")}},65054(t,e,n){n.d(e,{M9:()=>D,sx:()=>_,BI:()=>N});var r=n(17243);const i="_googlesitekitDataLayer",o="data-googlesitekit-gtag";function s(t){return function(){t[i]=t[i]||[],t[i].push(arguments)}}var a=n(84895);const c={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};const{activeModules:u=[],isSiteKitScreen:l,trackingEnabled:g,trackingID:f,referenceSiteURL:d,userIDHash:m,isAuthenticated:p,userRoles:h}=globalThis._googlesitekitTrackingData||{},b={activeModules:u,trackingEnabled:g,trackingID:f,referenceSiteURL:d,userIDHash:m,isSiteKitScreen:l,userRoles:h,isAuthenticated:p,pluginVersion:"1.178.0"},{enableTracking:y,disableTracking:k,isTrackingEnabled:w,initializeSnippet:v,trackEvent:_,trackEventOnce:N}=function(t,e=globalThis,n=globalThis){const u={...c,...t};u.referenceSiteURL&&(u.referenceSiteURL=u.referenceSiteURL.toString().replace(/\/+$/,""));const l=function(t,e){const n=s(e);let r;const{activeModules:c,referenceSiteURL:u,userIDHash:l,userRoles:g=[],isAuthenticated:f,pluginVersion:d}=t;return function(){const{document:e}=globalThis;if(void 0===r&&(r=!!e.querySelector(`script[${o}]`)),r)return!1;r=!0;const s=g?.length?g.join(","):"";n("js",new Date),n("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:u,plugin_version:d||"",enabled_features:Array.from(a.t).join(","),active_modules:c.join(","),authenticated:f?"1":"0",user_properties:{user_roles:s,user_identifier:l}});const m=e.createElement("script");return m.setAttribute(o,""),m.async=!0,m.src=`https://www.googletagmanager.com/gtag/js?id=${t.trackingID}&l=${i}`,e.head.appendChild(m),{scriptTagSrc:`https://www.googletagmanager.com/gtag/js?id=${t.trackingID}&l=${i}`}}}(u,e),g=function(t,e,n,r){const i=s(e);return async function(e,o,s,a){const{trackingEnabled:c}=t;if(!c)return null;n();const u={send_to:"site_kit",event_category:e,event_label:s,value:a};return new Promise(t=>{const n=setTimeout(function(){r.console.warn(`Tracking event "${o}" (category "${e}") took too long to fire.`),t()},1e3);function s(){clearTimeout(n),t()}i("event",o,{...u,event_callback:s}),r._gaUserPrefs?.ioo?.()&&s()})}}(u,e,l,n),f={};return{enableTracking:function(){u.trackingEnabled=!0},disableTracking:function(){u.trackingEnabled=!1},initializeSnippet:l,isTrackingEnabled:function(){return!!u.trackingEnabled},trackEvent:g,trackEventOnce:function(...t){const e=JSON.stringify(t);f[e]||(f[e]=(0,r.once)(g)),f[e](...t)}}}(b);function D(t){t?y():k()}l&&g&&v()},48276(t,e,n){n.d(e,{VZ:()=>o,dc:()=>s,pH:()=>i,r0:()=>a});var r=n(84024);function i(t){try{return new URL(t).pathname}catch{}return null}function o(t,e){try{return new URL(e,t).href}catch{}return("string"==typeof t?t:"")+("string"==typeof e?e:"")}function s(t){return"string"!=typeof t?t:t.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function a(t,e){if(!(0,r.m)(t))return t;if(t.length<=e)return t;const n=new URL(t),i=t.replace(n.origin,"");if(i.length<e)return i;const o=i.length-Math.floor(e)+1;return"…"+i.substr(o)}},50539(t){t.exports=googlesitekit.data},82871(t){t.exports=googlesitekit.i18n}},t=>{t.O(0,[660],()=>{return e=22061,t(t.s=e);var e});t.O()}]);