"use strict";(globalThis.__googlesitekit_webpackJsonp=globalThis.__googlesitekit_webpackJsonp||[]).push([[40],{38017(t,e,n){n.d(e,{A:()=>c});var r=n(4452),i=n.n(r),o=n(62688),s=n.n(o),a=n(62540);function ChangeArrow({direction:t,invertColor:e,width:n,height:r}){return(0,a.jsx)("svg",{className:i()("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:s().string,invertColor:s().bool,width:s().number,height:s().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)}},30580(t,e,n){var r=n(13047);const i=["view","click","dismiss"];window.googlesitekitAdminPointersTracking=window.googlesitekitAdminPointersTracking||{},window.googlesitekitAdminPointersTracking.register=function(t,e){if(!e||!Object.keys(e).length)return{onDismiss:null};const n=i.reduce((t,e)=>({...t,[e]:!1}),{});function o(t){return n[t]||!e[t]?null:(n[t]=!0,function(t){if(!t||!t.category||!t.action)return null;const{category:e,action:n,label:i}=t;return void 0!==i?(0,r.sx)(e,n,i):(0,r.sx)(e,n)}(e[t]))}o("view");const s=document.querySelector(`.${t}`),a=s&&s.ownerDocument||document.documentElement.ownerDocument,c=`.${t} .googlesitekit-pointer-cta`;function u(t){const e=t.target instanceof Element?t.target:null;if(!e||!e.closest(c))return;const n=e.closest("a"),r=n&&n.getAttribute("href"),i=r&&!n.getAttribute("target");i&&t.preventDefault();const s=Promise.resolve(o("click"));i&&s.finally(()=>{a.defaultView.location.assign(r)})}return a.addEventListener("click",u,!0),{onDismiss:()=>{n.click||o("dismiss"),a.removeEventListener("click",u,!0)}}}},51193(t,e,n){n.d(e,{Du:()=>f,GH:()=>a,Gp:()=>c,IS:()=>y,Jg:()=>l,N_:()=>k,O5:()=>b,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 y(t,e){return p(k(t,e*g))}function b(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:()=>y.tt,Jg:()=>y.Jg,Gp:()=>y.Gp,GH:()=>y.GH,r0:()=>y.r0,Du:()=>y.Du,Zf:()=>L,Cn:()=>_,G7:()=>h,vH:()=>p,N_:()=>y.N_,zh:()=>A,mK:()=>l.mK,Ql:()=>y.Ql,vY:()=>v,sq:()=>y.sq,VZ:()=>N.VZ,JK:()=>l.JK,IS:()=>y.IS,pH:()=>N.pH,kf:()=>S,O5:()=>y.O5,Qr:()=>y.Qr,x6:()=>D,K5:()=>l.K5,S_:()=>m,dc:()=>N.dc,Eo:()=>l.Eo,jq:()=>l.jq,DK:()=>I.D,N9:()=>$,p9:()=>o.p,XH:()=>y.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 y=n(51193),b=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,b.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 $(t){return Array.isArray(t)?[...t].sort():t}var I=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 A(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),i=n(84895);const o="_googlesitekitDataLayer",s="data-googlesitekit-gtag";function a(t){return function(){t[o]=t[o]||[],t[o].push(arguments)}}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||{},y={activeModules:u,trackingEnabled:g,trackingID:f,referenceSiteURL:d,userIDHash:m,isSiteKitScreen:l,userRoles:h,isAuthenticated:p,pluginVersion:"1.180.0"},{enableTracking:b,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=a(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[${s}]`)),r)return!1;r=!0;const a=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(i.t).join(","),active_modules:c.join(","),authenticated:f?"1":"0",user_properties:{user_roles:a,user_identifier:l}});const m=e.createElement("script");return m.setAttribute(s,""),m.async=!0,m.src=`https://www.googletagmanager.com/gtag/js?id=${t.trackingID}&l=${o}`,e.head.appendChild(m),{scriptTagSrc:`https://www.googletagmanager.com/gtag/js?id=${t.trackingID}&l=${o}`}}}(u,e),g=function(t,e,n,r){const i=a(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)}}}(y);function D(t){t?b():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)}},82871(t){t.exports=googlesitekit.i18n}},t=>{t.O(0,[660],()=>{return e=30580,t(t.s=e);var e});t.O()}]);